Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 205) sorted by relevance

123456789

/base/hiviewdfx/hidumper/test/innerkits_test/
Dmain.cpp22 static uint64_t GetPss(const int &pid) in GetPss()
28 static uint64_t GetPrivateDirty(const int &pid) in GetPrivateDirty()
34 static uint64_t GetSharedDirty(const int &pid) in GetSharedDirty()
40 static bool GetMemInfo(const int &pid, OHOS::HiviewDFX::MemInfoData::MemInfo &data) in GetMemInfo()
46 static float GetCpuUsage(const int &pid) in GetCpuUsage()
54 int pid; in main() local
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/common/
Dclient_info_test.cpp63 int32_t pid = 1000; variable
83 int32_t pid = 1067; variable
103 int32_t pid = 1000; variable
123 int32_t pid = 1000; variable
143 int32_t pid = -1; variable
163 int32_t pid = 1067; variable
209 int32_t pid = 1067; variable
225 int32_t pid = -1; variable
241 int32_t pid = 1000; variable
256 int32_t pid = -1; variable
[all …]
/base/hiviewdfx/hidumper/interfaces/innerkits/
Ddump_usage.cpp43 bool DumpUsage::GetMemInfo(const int &pid, MemInfoData::MemInfo &info) in GetMemInfo()
50 uint64_t DumpUsage::GetPss(const int &pid) in GetPss()
56 uint64_t DumpUsage::GetPrivateDirty(const int &pid) in GetPrivateDirty()
62 uint64_t DumpUsage::GetSharedDirty(const int &pid) in GetSharedDirty()
68 float DumpUsage::GetCpuUsage(const int &pid) in GetCpuUsage()
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_innerkits_test.cpp48 void HiDumperInnerkitsTest::StartTestProcess(int& pid) in StartTestProcess()
82 int pid = -1; variable
103 int pid = -1; variable
122 int pid = getpid(); variable
135 int pid = getpid(); variable
148 int pid = -1; variable
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_bluetooth_test.cpp29 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent()
97 int32_t pid = 3458; variable
127 int32_t pid = 3458; variable
159 int32_t pid = 3458; variable
189 int32_t pid = 3458; variable
226 int32_t pid = 3458; variable
265 int32_t pid = 3458; variable
299 int32_t pid = 3458; variable
329 int32_t pid = 3458; variable
367 int32_t pid = 3458; variable
[all …]
Dstats_camera_test.cpp63 int32_t pid = 3458; variable
92 int32_t pid = 3458; variable
120 int32_t pid = 3458; variable
146 int32_t pid = 3458; variable
180 int32_t pid = 3458; variable
213 int32_t pid = 3458; variable
244 int32_t pid = 3458; variable
279 int32_t pid = 3458; variable
313 int32_t pid = 3458; variable
347 int32_t pid = 3458; variable
[all …]
Dstats_location_test.cpp65 int32_t pid = 3458; variable
96 int32_t pid = 3458; variable
126 int32_t pid = 3458; variable
156 int32_t pid = 3458; variable
192 int32_t pid = 3458; variable
222 int32_t pid = 3458; variable
262 int32_t pid = 3458; variable
336 int32_t pid = 3458; variable
367 int32_t pid = 3458; variable
Dstats_alarm_test.cpp63 int32_t pid = 3458; variable
93 int32_t pid = 3458; variable
122 int32_t pid = 3458; variable
150 int32_t pid = 3458; variable
Dstats_audio_test.cpp62 int32_t pid = 3458; variable
92 int32_t pid = 3458; variable
121 int32_t pid = 3458; variable
150 int32_t pid = 3458; variable
194 int32_t pid = 3458; variable
232 int32_t pid = 3458; variable
Dstats_powermgr_test.cpp70 int32_t pid = 3458; variable
97 int32_t pid = 3458; variable
126 int32_t pid = 3458; variable
154 int32_t pid = 3458; variable
201 int32_t pid = 3458; variable
228 int32_t pid = 3458; variable
257 int32_t pid = 3458; variable
285 int32_t pid = 3458; variable
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
Dsignal_handler_test.cpp86 static string GetCppCrashFileName(pid_t pid) in GetCppCrashFileName()
136 static bool CheckLocalCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckLocalCrashKeyWords()
167 pid_t pid = fork(); variable
192 pid_t pid = fork(); variable
217 pid_t pid = fork(); variable
242 pid_t pid = fork(); variable
/base/hiviewdfx/faultloggerd/example/
Ddump_catcher_demo.cpp41 static NOINLINE int TestFuncRemote(int32_t pid, int32_t tid) in TestFuncRemote()
64 static bool ParseParameters(int argc, char *argv[], int32_t &pid, int32_t &tid) in ParseParameters()
98 int32_t pid = 0; in main() local
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dopen_stacktrace_catcher.cpp37 bool OpenStacktraceCatcher::Initialize(const std::string& packageNam, int pid, int intParam) in Initialize()
76 inline void OpenStacktraceCatcher::WaitChildPid(pid_t pid) in WaitChildPid()
90 int pid = -1; in ForkAndDumpStackTrace() local
/base/hiviewdfx/hiview/adapter/utility/platform/ohos/
Dcommon_utils.cpp38 pid_t pid = fork(); in ExecCommand() local
75 std::string GetProcNameByPid(pid_t pid) in GetProcNameByPid()
91 pid_t pid = -1; in GetPidByName() local
105 bool IsTheProcessExist(pid_t pid) in IsTheProcessExist()
/base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/
Dlog_catcher_utils.cpp35 bool GetDump(int pid, std::string& msg) in GetDump()
58 void FinshDump(int pid, const std::string& msg) in FinshDump()
72 int DumpStacktrace(int fd, int pid) in DumpStacktrace()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dprocess_dfx_test.cpp95 pid_t pid = accountmgrPid; variable
126 pid_t pid = 1; variable
143 pid_t pid = 164; variable
160 pid_t pid = 10000; variable
256 pid_t pid = 100; variable
/base/sensors/sensor/services/sensor/src/
Dclient_info.cpp93 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled()
119 bool ClientInfo::UpdateAppThreadInfo(int32_t pid, int32_t uid, AccessTokenID callerToken) in UpdateAppThreadInfo()
141 void ClientInfo::DestroyAppThreadInfo(int32_t pid) in DestroyAppThreadInfo()
180 sptr<SensorBasicDataChannel> ClientInfo::GetSensorChannelByPid(int32_t pid) in GetSensorChannelByPid()
220 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo()
244 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
258 bool ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel) in UpdateSensorChannel()
297 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
321 bool ClientInfo::DestroySensorChannel(int32_t pid) in DestroySensorChannel()
353 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
[all …]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
Ddfx_dump_catcher.cpp82 DfxDumpCatcher::DfxDumpCatcher(int32_t pid) : frameCatcherPid_(pid) in DfxDumpCatcher()
127 bool DfxDumpCatcher::DoDumpLocalPid(int pid, std::string& msg) in DoDumpLocalPid()
175 bool DfxDumpCatcher::DoDumpRemoteLocked(int pid, int tid, std::string& msg) in DoDumpRemoteLocked()
181 bool DfxDumpCatcher::DoDumpLocalLocked(int pid, int tid, std::string& msg) in DoDumpLocalLocked()
207 bool DfxDumpCatcher::DumpCatchMix(int pid, int tid, std::string& msg) in DumpCatchMix()
213 bool DfxDumpCatcher::DumpCatch(int pid, int tid, std::string& msg) in DumpCatch()
235 bool DfxDumpCatcher::DumpCatchFd(int pid, int tid, std::string& msg, int fd) in DumpCatchFd()
245 static int SignalTargetProcess(const int type, int pid, int tid) in SignalTargetProcess()
291 static void LoadPidStat(const int pid, std::string& msg) in LoadPidStat()
299 bool DfxDumpCatcher::DoDumpCatchRemote(const int type, int pid, int tid, std::string& msg) in DoDumpCatchRemote()
[all …]
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp501 pid_t pid = IPCSkeleton::GetCallingPid(); in RebootDeviceForDeprecated() local
522 pid_t pid = IPCSkeleton::GetCallingPid(); in ShutDownDevice() local
545 pid_t pid = IPCSkeleton::GetCallingPid(); in SuspendDevice() local
564 pid_t pid = IPCSkeleton::GetCallingPid(); in WakeupDevice() local
582 pid_t pid = IPCSkeleton::GetCallingPid(); in RefreshActivity() local
632 pid_t pid = IPCSkeleton::GetCallingPid(); in ForceSuspendDevice() local
762 bool PowerMgrService::ProxyRunningLock(bool proxyLock, pid_t uid, pid_t pid) in ProxyRunningLock()
775 pid_t pid = IPCSkeleton::GetCallingPid(); in RegisterPowerStateCallback() local
788 pid_t pid = IPCSkeleton::GetCallingPid(); in UnRegisterPowerStateCallback() local
802 pid_t pid = IPCSkeleton::GetCallingPid(); in RegisterShutdownCallback() local
[all …]
/base/startup/appspawn/test/moduletest/
Dappspawn_module_test.cpp70 bool readFileInfo(char *buffer, const int32_t &pid, const char *fileName) in readFileInfo()
102 bool checkUid(const int32_t &pid, const AppSpawnStartMsg &params) in checkUid()
123 bool checkGid(const int32_t &pid, const AppSpawnStartMsg &params) in checkGid()
147 std::size_t getGids(const int32_t &pid, std::vector<int32_t> &gids) in getGids()
181 bool checkGids(const int32_t &pid, const AppSpawnStartMsg &params) in checkGids()
193 bool checkGidsCount(const int32_t &pid, const AppSpawnStartMsg &params) in checkGidsCount()
205 bool checkProcName(const int32_t &pid, const AppSpawnStartMsg &params) in checkProcName()
245 bool checkProcessIsDestroyed(const int32_t &pid) in checkProcessIsDestroyed()
269 char pid[BUFFER_SIZE]; in checkAppspawnPID() local
/base/hiviewdfx/hiview/test/moduletest/common/
Dhiview_plugin_platform_module_test.cpp50 int32_t pid = 0; in GetServicePid() local
58 int pid = GetServicePid(serviceName); in WaitForServiceReady() local
/base/sensors/medical_sensor/services/medical_sensor/src/
Dclient_info.cpp96 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()
234 bool ClientInfo::UpdateSensorInfo(uint32_t sensorId, int32_t pid, const MedicalSensorBasicInfo &sen… in UpdateSensorInfo()
258 void ClientInfo::RemoveSubscriber(uint32_t sensorId, uint32_t pid) in RemoveSubscriber()
272 bool ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<MedicalSensorBasicDataChannel> &channe… in UpdateSensorChannel()
312 void ClientInfo::ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) in ClearCurPidSensorInfo()
336 bool ClientInfo::DestroySensorChannel(int32_t pid) in DestroySensorChannel()
369 MedicalSensorBasicInfo ClientInfo::GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) in GetCurPidSensorInfo()
[all …]
/base/hiviewdfx/faultloggerd/test/funchook/
Ddfx_func_hook_unittest.cpp56 pid_t pid = fork(); variable
84 pid_t pid = fork(); variable
/base/hiviewdfx/faultloggerd/tools/dump_catcher/
Dmain.cpp55 static int ParseParamters(int argc, char *argv[], int &type, int32_t &pid, int32_t &tid) in ParseParamters()
121 int32_t pid = 0; in main() local
/base/startup/appspawn/adapter/sysevent/
Devent_reporter.cpp30 void ReportProcessExitInfo(const char* processName, int pid, int uid, int status) in ReportProcessExitInfo()
43 void ReportProcessExitInfo(const char* processName, int pid, int uid, int status) in ReportProcessExitInfo()

123456789