/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/memory/ |
H A D | rs_memory_snapshot.cpp | 26 void MemorySnapshot::AddCpuMemory(const pid_t pid, const size_t size) in AddCpuMemory() 45 void MemorySnapshot::RemoveCpuMemory(const pid_t pid, const size_t size) in RemoveCpuMemory() 55 bool MemorySnapshot::GetMemorySnapshotInfoByPid(const pid_t pid, MemorySnapshotInfo& info) in GetMemorySnapshotInfoByPid() 89 for (auto pid : exitedPidSet) { in EraseSnapshotInfoByPid() local
|
H A D | rs_memory_graphic.cpp | 19 MemoryGraphic::MemoryGraphic(int32_t pid, float cpuMemSize, float gpuMemSize) in MemoryGraphic() 43 void MemoryGraphic::SetPid(int32_t pid) in SetPid() 66 int32_t pid; in Unmarshalling() local
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_exit_reason_helper.cpp | 50 …int32_t pid = (exitReason.reason == Reason::REASON_CPP_CRASH) ? NO_PID : IPCSkeleton::GetCallingPi… in RecordAppExitReason() local 88 int32_t AppExitReasonHelper::RecordProcessExitReason(const int32_t pid, const ExitReason &exitReaso… in RecordProcessExitReason() 120 int32_t AppExitReasonHelper::RecordProcessExitReason(const int32_t pid, const std::string bundleNam… in RecordProcessExitReason() 156 const int32_t pid, const std::string &bundleName, const ExitReason &exitReason) in RecordProcessExtensionExitReason() 189 const int32_t pid) in GetActiveAbilityList() 217 const int32_t pid) in GetActiveAbilityListFromUIAbilityManager()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/cgroup_sched/test/fuzztest/cgroupsched_fuzzer/ |
H A D | cgroupsched_fuzzer.cpp | 111 int32_t pid = GetData<int32_t>(); in TransientTaskStartFuzzTest() local 386 pid_t pid = GetData<pid_t>(); in HandleProcessDiedFuzzTest() local 412 pid_t pid = GetData<pid_t>(); in HandleTransientTaskStartFuzzTest() local 437 pid_t pid = GetData<pid_t>(); in HandleTransientTaskEndFuzzTest() local 462 pid_t pid = GetData<pid_t>(); in HandleContinuousTaskUpdateFuzzTest() local 488 pid_t pid = GetData<pid_t>(); in HandleContinuousTaskCancelFuzzTest() local 674 pid_t pid = GetData<pid_t>(); in HandleReportHisysEventFuzzTest() local 703 pid_t pid = GetData<pid_t>(); in HandleReportScreenCaptureEventFuzzTest() local 731 pid_t pid = GetData<pid_t>(); in CheckVisibilityForRenderProcessFuzzTest() local 947 pid_t pid = GetData<pid_t>(); in HandleApplicationStateChangedFuzzTest() local [all …]
|
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | reclaim_priority_manager_test.cpp | 85 int pid; member 129 int pid = 10001; variable 150 int pid = 10002; variable 201 int pid = 10006; variable 223 int pid = 10007; variable 257 int pid = 10008; variable 299 int pid = 10009; variable 328 int pid = 10010; variable 361 int pid = 10011; variable 388 int pid = 10012; variable [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/standard/src/ |
H A D | bus_center_client_proxy.cpp | 28 static sptr<BusCenterClientProxy> GetClientProxy(const char *pkgName, int32_t pid) in GetClientProxy() 51 const char *pkgName, int32_t pid, const char *networkId, int32_t retCode) in ClientOnLeaveLNNResult() 148 int32_t ClientOnTimeSyncResult(const char *pkgName, int32_t pid, const void *info, in ClientOnTimeSyncResult() 163 int32_t ClientOnPublishLNNResult(const char *pkgName, int32_t pid, int32_t publishId, in ClientOnPublishLNNResult() 179 int32_t ClientOnRefreshLNNResult(const char *pkgName, int32_t pid, int32_t refreshId, in ClientOnRefreshLNNResult() 196 const char *pkgName, int32_t pid, const void *device, uint32_t deviceLen) in ClientOnRefreshDeviceFound() 211 int32_t ClientOnDataLevelChanged(const char *pkgName, int32_t pid, const char *networkId, in ClientOnDataLevelChanged()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/device_client/ |
H A D | process_cpu_data.cpp | 23 ProcessCpuData::ProcessCpuData(int magic, int pid, unsigned int count): entry_(nullptr), current_(0) in ProcessCpuData() 28 void ProcessCpuData::Init(int magic, unsigned int totalCount, int pid) in Init()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/ |
H A D | rs_message_processor.cpp | 36 void RSMessageProcessor::AddUIMessage(uint32_t pid, std::unique_ptr<RSCommand>& command) in AddUIMessage() 46 void RSMessageProcessor::AddUIMessage(uint32_t pid, std::unique_ptr<RSCommand>&& command) in AddUIMessage() 69 std::shared_ptr<RSTransactionData> RSMessageProcessor::GetTransaction(uint32_t pid) in GetTransaction()
|
/ohos5.0/base/sensors/sensor/utils/common/src/ |
H A D | active_info.cpp | 27 ActiveInfo::ActiveInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, int64_t maxReportDe… in ActiveInfo() 36 void ActiveInfo::SetPid(int32_t pid) in SetPid() 94 int32_t pid = -1; in Unmarshalling() local
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_hap.cpp | 43 bool DfxHap::ParseHapInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> map, in ParseHapInfo() 92 bool DfxHap::ParseHapMemInfo(pid_t pid, uint64_t pc, uintptr_t methodid, std::shared_ptr<DfxMap> ma… in ParseHapMemInfo() 142 bool DfxHap::ParseHapMemData(const pid_t pid, std::shared_ptr<DfxMap> map) in ParseHapMemData()
|
H A D | dfx_maps.cpp | 42 inline const std::string GetMapsFile(pid_t pid) in GetMapsFile() 54 std::shared_ptr<DfxMaps> DfxMaps::Create(pid_t pid, bool crash) in Create() 71 std::shared_ptr<DfxMaps> DfxMaps::Create(const pid_t pid, const std::string& path) in Create() 80 bool DfxMaps::Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>&… in Create() 96 bool DfxMaps::Parse(const pid_t pid, const std::string& path) in Parse() 147 void DfxMaps::FormatMapName(pid_t pid, std::string& mapName) in FormatMapName()
|
/ohos5.0/base/security/access_token/services/privacymanager/src/seccomp/ |
H A D | privacy_sec_comp_enhance_agent.cpp | 101 void PrivacySecCompEnhanceAgent::RemoveSecCompEnhance(int pid) in RemoveSecCompEnhance() 119 int pid = IPCSkeleton::GetCallingPid(); in RegisterSecCompEnhance() local 141 int32_t PrivacySecCompEnhanceAgent::UpdateSecCompEnhance(int32_t pid, uint32_t seqNum) in UpdateSecCompEnhance() 155 int32_t PrivacySecCompEnhanceAgent::GetSecCompEnhance(int32_t pid, SecCompEnhanceData& enhanceData) in GetSecCompEnhance()
|
/ohos5.0/commonlibrary/memory_utils/libmeminfo/src/ |
H A D | meminfo.cpp | 39 uint64_t GetRssByPid(const int pid) in GetRssByPid() 61 uint64_t GetPssByPid(const int pid) in GetPssByPid() 89 uint64_t GetSwapPssByPid(const int pid) in GetSwapPssByPid() 117 bool GetGraphicsMemory(const int pid, uint64_t &gl, uint64_t &graph) in GetGraphicsMemory()
|
/ohos5.0/base/startup/appspawn/standard/ |
H A D | appspawn_appmgr.c | 123 pid_t pid = *(pid_t *)data; in AppInfoPidComparePro() local 140 AppSpawnedProcess *AddSpawnedProcess(pid_t pid, const char *processName, bool isDebuggable) in AddSpawnedProcess() 186 AppSpawnedProcess *GetSpawnedProcess(pid_t pid) in GetSpawnedProcess() 204 static void DumpProcessSpawnStack(pid_t pid) in DumpProcessSpawnStack() 214 int KillAndWaitStatus(pid_t pid, int sig, int *exitStatus) in KillAndWaitStatus() 244 static int GetProcessTerminationStatus(pid_t pid) in GetProcessTerminationStatus() 342 AppSpawningCtx *GetAppSpawningCtxByPid(pid_t pid) in GetAppSpawningCtxByPid() 440 pid_t *pid = (pid_t *)GetAppSpawnMsgInfo(message, TLV_RENDER_TERMINATION_INFO); in ProcessTerminationStatusMsg() local
|
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/ |
H A D | log_catcher_utils.cpp | 44 bool GetDump(int pid, std::string& msg) in GetDump() 67 void FinshDump(int pid, const std::string& msg) in FinshDump() 81 int WriteKernelStackToFd(int originFd, const std::string& msg, int pid) in WriteKernelStackToFd() 119 int DumpStacktrace(int fd, int pid) in DumpStacktrace() 149 FFRT_TYPE GetFfrtDumpType(int pid) in GetFfrtDumpType()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | mem_profiler_collector_impl.cpp | 52 static int GetUid(int pid) in GetUid() 95 int pid, int duration, int sampleInterval) in Start() 111 int MemProfilerCollectorImpl::StartPrintNmd(int fd, int pid, int type) in StartPrintNmd() 126 int MemProfilerCollectorImpl::Stop(int pid) in Stop() 139 int pid, int duration, int sampleInterval) in Start()
|
/ohos5.0/foundation/ability/ability_runtime/services/common/src/ |
H A D | res_sched_util.cpp | 52 void ResSchedUtil::ReportAbilityStartInfoToRSS(const AbilityInfo &abilityInfo, int32_t pid, bool is… in ReportAbilityStartInfoToRSS() 104 const int32_t pid, const int32_t callerPid) in ReportEventToRSS() 144 int32_t pid = pidObj["pid"].get<int32_t>(); in GetAllFrozenPidsFromRSS() local 157 bool ResSchedUtil::CheckShouldForceKillProcess(int32_t pid) in CheckShouldForceKillProcess() 174 void ResSchedUtil::ReportLoadingEventToRss(LoadingStage stage, int32_t pid, int32_t uid, in ReportLoadingEventToRss()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_listener_test.cpp | 61 int32_t TestOnDataReceived(const char *pkgName, int32_t pid, int32_t channelId, int32_t channelType, in TestOnDataReceived() 73 int32_t TestOnChannelOpened(const char *pkgName, int32_t pid, const char *sessionName, const Channe… in TestOnChannelOpened() 83 int32_t TestOnChannelClosed(const char *pkgName, int32_t pid, in TestOnChannelClosed() 95 int32_t TestOnChannelOpenFailed(const char *pkgName, int32_t pid, int32_t channelId, in TestOnChannelOpenFailed() 107 int32_t TestGetUidAndPidBySessionName(const char *sessionName, int32_t *uid, int32_t *pid) in TestGetUidAndPidBySessionName() 125 static int32_t TestOnChannelBind(const char *pkgName, int32_t pid, int32_t channelId, int32_t chann… in TestOnChannelBind()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/ |
H A D | dfx_dump_catcher.cpp | 124 bool DfxDumpCatcher::DoDumpLocalPid(int pid, std::string& msg, size_t maxFrameNums) in DoDumpLocalPid() 157 bool DfxDumpCatcher::DoDumpRemoteLocked(int pid, int tid, std::string& msg, bool isJson, int timeou… in DoDumpRemoteLocked() 162 bool DfxDumpCatcher::DoDumpLocalLocked(int pid, int tid, std::string& msg, size_t maxFrameNums) in DoDumpLocalLocked() 182 bool DfxDumpCatcher::DumpCatchMix(int pid, int tid, std::string& msg) in DumpCatchMix() 187 static void ReportDumpCatcherStats(int32_t pid, in ReportDumpCatcherStats() 240 int DfxDumpCatcher::DumpCatchProcess(int pid, std::string& msg, size_t maxFrameNums, bool isJson) in DumpCatchProcess() 299 bool DfxDumpCatcher::DumpCatchFd(int pid, int tid, std::string& msg, int fd, size_t maxFrameNums) in DumpCatchFd() 358 int DfxDumpCatcher::DoDumpRemotePid(int pid, std::string& msg, bool isJson, int32_t timeout) in DoDumpRemotePid() 386 void DfxDumpCatcher::CollectKernelStack(pid_t pid, int waitMilliSeconds) in CollectKernelStack() 426 void DfxDumpCatcher::AsyncGetAllTidKernelStack(pid_t pid, int waitMilliSeconds) in AsyncGetAllTidKernelStack() [all …]
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
H A D | memory_info_wrapper.cpp | 27 int GetMemoryInfoByPid(int pid, StringMatrix data) in GetMemoryInfoByPid() 44 int ShowMemorySmapsByPid(int pid, StringMatrix data, bool isShowSmapsInfo) in ShowMemorySmapsByPid()
|
/ohos5.0/foundation/multimedia/player_framework/services/services/monitor/server/ |
H A D | monitor_server_object.cpp | 26 int32_t MonitorServerObject::RegisterMonitor(int32_t pid) in RegisterMonitor() 32 int32_t MonitorServerObject::CancellationMonitor(int32_t pid) in CancellationMonitor()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/ |
H A D | unwind_remote_benchmark.cpp | 64 static size_t UnwindRemote(pid_t pid, unw_addr_space_t as) in UnwindRemote() 104 pid_t pid = fork(); in Run() local 133 static void GetCacheUnwind(pid_t pid, unw_addr_space_t& as) in GetCacheUnwind() 147 pid_t pid = fork(); in RunCache() local
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | client_info.cpp | 96 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled() 124 bool ClientInfo::UpdateUid(int32_t pid, int32_t uid, AccessTokenID callerToken) in UpdateUid() 148 bool ClientInfo::DestroyUid(int32_t pid) in DestroyUid() 192 sptr<MedicalSensorBasicDataChannel> ClientInfo::GetSensorChannelByPid(int32_t pid) in GetSensorChannelByPid() 258 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber() 312 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo() 336 bool ClientInfo::DestroySensorChannel(int32_t pid) in DestroySensorChannel() 404 int32_t pid = INVALID_PID; in ComputeBestPeriodCount() local 430 int32_t pid = INVALID_PID; in ComputeBestFifoCount() local 559 std::vector<uint32_t> ClientInfo::GetSensorIdByPid(int32_t pid) in GetSensorIdByPid() [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/module_loader/test/ |
H A D | uds_server_test.cpp | 193 const int32_t pid = 10; variable 217 const int32_t pid = 10; variable 240 const int32_t pid = 10; variable 266 const int32_t pid = 10; variable 290 const int32_t pid = 10; variable 315 const int32_t pid = 10; variable 338 const int32_t pid = 10; variable 361 const int32_t pid = 10; variable 385 const int32_t pid = 10; variable 586 int32_t pid = 10; variable [all …]
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | pointer_drawing_manager_ex_test.cpp | 166 int32_t pid = 1; variable 514 int32_t pid = 1; variable 540 int32_t pid = 1; variable 582 int32_t pid = -1; variable 600 int32_t pid = 1; variable 618 int32_t pid = -1; variable 635 int32_t pid = 1; variable 652 int32_t pid = 1; variable 884 int32_t pid = 1; variable 1239 int32_t pid = 1; variable [all …]
|