| /base/hiviewdfx/faultloggerd/test/systemtest/ |
| D | faultloggerd_system_test.cpp | 73 pid_t pid = fork(); in ForkAndExecuteCrasher() local 105 auto pid = ForkAndExecuteCrasher(option, type); in TriggerCrasherAndGetFileName() local 111 static bool CheckCountNum(const string& filePath, const pid_t& pid, const string& option) in CheckCountNum() 141 static bool CheckCountNumAbort(const string& filePath, const pid_t& pid) in CheckCountNumAbort() 152 static bool CheckCountNumPCZero(const string& filePath, const pid_t& pid) in CheckCountNumPCZero() 163 static bool CheckCountNumOverStack(const string& filePath, const pid_t& pid) in CheckCountNumOverStack() 174 static bool CheckCountNumMultiThread(const string& filePath, const pid_t& pid) in CheckCountNumMultiThread() 218 string pid; in ReadRealPid() local 230 static bool CheckCountNumStackTop(const string& filePath, const pid_t& pid) in CheckCountNumStackTop() 247 static bool CheckCppCrashAllLabelKeywords(const string& filePath, const pid_t& pid) in CheckCppCrashAllLabelKeywords() [all …]
|
| /base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
| D | signal_handler_test.cpp | 57 static bool CheckLocalCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckLocalCrashKeyWords() 90 static bool CheckThreadCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckThreadCrashKeyWords() 113 static bool CheckCrashKeyWords(const string& filePath, pid_t pid, int sig) in CheckCrashKeyWords() 169 pid_t pid = fork(); variable 194 pid_t pid = fork(); variable 219 pid_t pid = fork(); variable 244 pid_t pid = fork(); variable 269 pid_t pid = fork(); variable 294 pid_t pid = fork(); variable 319 pid_t pid = fork(); variable [all …]
|
| D | signal_chain_test.cpp | 221 static int KillAndWaitPid(int pid) in KillAndWaitPid() 242 pid_t pid = fork(); variable 267 pid_t pid = fork(); variable 295 pid_t pid = fork(); variable 333 pid_t pid = fork(); variable 374 pid_t pid = fork(); variable 430 pid_t pid = fork(); variable 479 pid_t pid = fork(); variable 535 pid_t pid = fork(); variable 596 pid_t pid = fork(); variable
|
| /base/startup/appspawn/test/moduletest/ |
| D | appspawn_client_test.cpp | 46 pid_t pid = 0; variable 69 pid_t pid = 0; variable 133 pid_t pid = 0; variable 171 pid_t pid = 0; variable 208 pid_t pid = 0; variable 233 pid_t pid = 0; variable 259 pid_t pid = 0; variable 286 pid_t pid = 0; variable 307 pid_t pid = 0; variable 327 pid_t pid = 0; variable
|
| /base/hiviewdfx/hidumper/test/innerkits_test/ |
| D | main.cpp | 22 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/hiviewdfx/hidumper/interfaces/innerkits/ |
| D | dump_usage.cpp | 32 bool DumpUsage::GetMemInfo(const int &pid, MemInfoData::MemInfo &info) in GetMemInfo() 39 uint64_t DumpUsage::GetPss(const int &pid) in GetPss() 45 uint64_t DumpUsage::GetPrivateDirty(const int &pid) in GetPrivateDirty() 51 uint64_t DumpUsage::GetSharedDirty(const int &pid) in GetSharedDirty() 57 float DumpUsage::GetCpuUsage(const int &pid) in GetCpuUsage()
|
| /base/sensors/medical_sensor/services/medical_sensor/test/unittest/common/ |
| D | client_info_test.cpp | 63 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/powermgr/power_manager/services/native/src/ |
| D | running_lock_proxy.cpp | 23 void RunningLockProxy::AddRunningLock(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj) in AddRunningLock() 43 void RunningLockProxy::RemoveRunningLock(pid_t pid, pid_t uid, const sptr<IRemoteObject>& remoteObj) in RemoveRunningLock() 65 std::vector<sptr<IRemoteObject>> RunningLockProxy::GetRemoteObjectList(pid_t pid, pid_t uid) in GetRemoteObjectList() 75 bool RunningLockProxy::IsProxied(pid_t pid, pid_t uid) in IsProxied() 85 bool RunningLockProxy::IncreaseProxyCnt(pid_t pid, pid_t uid, const std::function<void(void)>& prox… in IncreaseProxyCnt() 103 bool RunningLockProxy::DecreaseProxyCnt(pid_t pid, pid_t uid, const std::function<void(void)>& unPr… in DecreaseProxyCnt() 155 std::string RunningLockProxy::AssembleProxyKey(pid_t pid, pid_t uid) in AssembleProxyKey()
|
| /base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
| D | stats_bluetooth_test.cpp | 30 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent() 98 int32_t pid = 3458; variable 128 int32_t pid = 3458; variable 160 int32_t pid = 3458; variable 190 int32_t pid = 3458; variable 227 int32_t pid = 3458; variable 266 int32_t pid = 3458; variable 300 int32_t pid = 3458; variable 330 int32_t pid = 3458; variable 368 int32_t pid = 3458; variable [all …]
|
| D | stats_camera_test.cpp | 64 int32_t pid = 3458; variable 93 int32_t pid = 3458; variable 121 int32_t pid = 3458; variable 147 int32_t pid = 3458; variable 181 int32_t pid = 3458; variable 214 int32_t pid = 3458; variable 245 int32_t pid = 3458; variable 280 int32_t pid = 3458; variable 314 int32_t pid = 3458; variable 348 int32_t pid = 3458; variable [all …]
|
| D | stats_location_test.cpp | 66 int32_t pid = 3458; variable 97 int32_t pid = 3458; variable 127 int32_t pid = 3458; variable 157 int32_t pid = 3458; variable 193 int32_t pid = 3458; variable 223 int32_t pid = 3458; variable 263 int32_t pid = 3458; variable 337 int32_t pid = 3458; variable 368 int32_t pid = 3458; variable
|
| /base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
| D | stats_service_bluetooth_test.cpp | 39 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent() 127 int32_t pid = 3458; variable 160 int32_t pid = 3458; variable 195 int32_t pid = 3458; variable 228 int32_t pid = 3458; variable 268 int32_t pid = 3458; variable 312 int32_t pid = 3458; variable 351 int32_t pid = 3458; variable 384 int32_t pid = 3458; variable 427 int32_t pid = 3458; variable [all …]
|
| D | stats_service_camera_test.cpp | 85 int32_t pid = 3458; variable 118 int32_t pid = 3458; variable 150 int32_t pid = 3458; variable 180 int32_t pid = 3458; variable 220 int32_t pid = 3458; variable 259 int32_t pid = 3458; variable 296 int32_t pid = 3458; variable 337 int32_t pid = 3458; variable 377 int32_t pid = 3458; variable 417 int32_t pid = 3458; variable [all …]
|
| D | stats_service_location_test.cpp | 85 int32_t pid = 3458; variable 119 int32_t pid = 3458; variable 152 int32_t pid = 3458; variable 185 int32_t pid = 3458; variable 226 int32_t pid = 3458; variable 259 int32_t pid = 3458; variable 304 int32_t pid = 3458; variable 386 int32_t pid = 3458; variable 420 int32_t pid = 3458; variable 458 int32_t pid = 3458; variable
|
| D | stats_service_powermgr_test.cpp | 90 int32_t pid = 3458; variable 121 int32_t pid = 3458; variable 154 int32_t pid = 3458; variable 186 int32_t pid = 3458; variable 239 int32_t pid = 3458; variable 270 int32_t pid = 3458; variable 303 int32_t pid = 3458; variable 335 int32_t pid = 3458; variable 388 int32_t pid = 3458; variable 441 int32_t pid = 3456; variable
|
| /base/sensors/sensor/services/sensor/src/ |
| D | sensor_power_policy.cpp | 44 ErrCode SensorPowerPolicy::SuspendSensors(int32_t pid) in SuspendSensors() 74 bool SensorPowerPolicy::Suspend(int32_t pid, std::vector<int32_t> &sensorIdList, in Suspend() 103 ErrCode SensorPowerPolicy::ResumeSensors(int32_t pid) in ResumeSensors() 135 bool SensorPowerPolicy::Resume(int32_t pid, int32_t sensorId, int64_t samplingPeriodNs, in Resume() 169 ErrCode SensorPowerPolicy::RestoreSensorInfo(int32_t pid, int32_t sensorId, int64_t samplingPeriodN… in RestoreSensorInfo() 194 int32_t pid = pidSensorInfo.first; in GetSuspendPidList() local 205 for (const auto &pid : suspendPidList) { in ResetSensors() local 218 std::vector<ActiveInfo> SensorPowerPolicy::GetActiveInfoList(int32_t pid) in GetActiveInfoList()
|
| D | stream_server.cpp | 43 int32_t StreamServer::GetClientFd(int32_t pid) in GetClientFd() 69 SessionPtr StreamServer::GetSessionByPid(int32_t pid) in GetSessionByPid() 79 int32_t StreamServer::AddSocketPairInfo(int32_t uid, int32_t pid, int32_t tokenType, in AddSocketPairInfo() 135 auto pid = sess->GetPid(); in AddSession() local 150 void StreamServer::DelSession(int32_t pid) in DelSession()
|
| D | sensor_service.cpp | 165 void SensorService::ReportSensorSysEvent(int32_t sensorId, bool enable, int32_t pid) in ReportSensorSysEvent() 244 int32_t pid = GetCallingPid(); in EnableSensor() local 287 ErrCode SensorService::DisableSensor(int32_t sensorId, int32_t pid) in DisableSensor() 343 auto pid = GetCallingPid(); in TransferDataChannel() local 383 int32_t pid = clientInfo_.FindClientPid(client); in ProcessDeathObserver() local 403 void SensorService::RegisterClientDeathRecipient(sptr<IRemoteObject> sensorClient, int32_t pid) in RegisterClientDeathRecipient() 415 int32_t pid = clientInfo_.FindClientPid(sensorClient); in UnregisterClientDeathRecipient() local 451 ErrCode SensorService::SuspendSensors(int32_t pid) in SuspendSensors() 461 ErrCode SensorService::ResumeSensors(int32_t pid) in ResumeSensors() 471 ErrCode SensorService::GetActiveInfoList(int32_t pid, std::vector<ActiveInfo> &activeInfoList) in GetActiveInfoList() [all …]
|
| D | client_info.cpp | 99 bool ClientInfo::OnlyCurPidSensorEnabled(int32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled() 125 bool ClientInfo::UpdateAppThreadInfo(int32_t pid, int32_t uid, AccessTokenID callerToken) in UpdateAppThreadInfo() 147 void ClientInfo::DestroyAppThreadInfo(int32_t pid) in DestroyAppThreadInfo() 186 sptr<SensorBasicDataChannel> ClientInfo::GetSensorChannelByPid(int32_t pid) in GetSensorChannelByPid() 229 bool ClientInfo::UpdateSensorInfo(int32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo) in UpdateSensorInfo() 253 void ClientInfo::RemoveSubscriber(int32_t sensorId, uint32_t pid) in RemoveSubscriber() 267 bool ClientInfo::UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel) in UpdateSensorChannel() 306 void ClientInfo::ClearCurPidSensorInfo(int32_t sensorId, int32_t pid) in ClearCurPidSensorInfo() 330 bool ClientInfo::DestroySensorChannel(int32_t pid) in DestroySensorChannel() 362 SensorBasicInfo ClientInfo::GetCurPidSensorInfo(int32_t sensorId, int32_t pid) in GetCurPidSensorInfo() [all …]
|
| /base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
| D | process_dump_test.cpp | 71 pid_t pid = accountmgrPid; variable 141 int32_t pid = 1, tid = 1; variable 155 int32_t pid = 243, tid = 243; variable 172 pid_t pid = GetProcessPid(ACCOUNTMGR_NAME); variable 192 pid_t pid = GetProcessPid(FOUNDATION_NAME); variable 212 pid_t pid = GetProcessPid(FOUNDATION_NAME); variable
|
| /base/powermgr/power_manager/utils/permission/src/ |
| D | permission.cpp | 32 pid_t pid = IPCSkeleton::GetCallingPid(); in IsHap() local 54 pid_t pid = IPCSkeleton::GetCallingPid(); in IsSystem() local 85 pid_t pid = IPCSkeleton::GetCallingPid(); in IsPermissionGranted() local
|
| /base/hiviewdfx/faultloggerd/example/ |
| D | dump_catcher_demo.cpp | 41 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() 103 int32_t pid = 0; in main() local
|
| /base/msdp/device_status/services/native/src/ |
| D | devicestatus_service.cpp | 303 int32_t pid = GetCallingPid(); in AllocSocketFd() local 521 int32_t pid = GetCallingPid(); in RegisterCoordinationListener() local 536 int32_t pid = GetCallingPid(); in UnregisterCoordinationListener() local 551 int32_t pid = GetCallingPid(); in PrepareCoordination() local 569 int32_t pid = GetCallingPid(); in UnprepareCoordination() local 587 int32_t pid = GetCallingPid(); in ActivateCoordination() local 607 int32_t pid = GetCallingPid(); in DeactivateCoordination() local 625 int32_t pid = GetCallingPid(); in GetCoordinationState() local 643 int32_t pid = GetCallingPid(); in AddDraglistener() local 657 int32_t pid = GetCallingPid(); in RemoveDraglistener() local [all …]
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | open_stacktrace_catcher.cpp | 37 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/base/utility/ |
| D | common_utils.cpp | 38 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() 143 pid_t pid = fork(); in WriteCommandResultToFile() local
|