/base/startup/appspawn/lite/ |
D | appspawn_service.c | 31 static const int INVALID_PID = -1; variable 126 APPSPAWN_LOGE("[appspawn] invoke, funcId %d invalid, reply %d.", funcId, INVALID_PID); in Invoke() 127 WriteInt64(reply, INVALID_PID); in Invoke() 136 APPSPAWN_LOGE("[appspawn] invoke, parse failed! reply %d.", INVALID_PID); in Invoke() 137 WriteInt64(reply, INVALID_PID); in Invoke() 146 WriteInt64(reply, INVALID_PID); in Invoke()
|
/base/inputmethod/imf/services/include/ |
D | bundle_checker.h | 26 …atic bool IsFocused(int64_t callingPid, uint32_t callingTokenId, int64_t focusedPid = INVALID_PID); 32 static constexpr int64_t INVALID_PID = -1;
|
/base/sensors/sensor/services/sensor/src/ |
D | client_info.cpp | 35 constexpr int32_t INVALID_PID = -1; variable 102 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in OnlyCurPidSensorEnabled() 128 if ((uid == INVALID_UID) || (pid <= INVALID_PID)) { in UpdateAppThreadInfo() 150 if (pid == INVALID_PID) { in DestroyAppThreadInfo() 189 if (pid == INVALID_PID) { in GetSensorChannelByPid() 232 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID) || (!sensorInfo.GetSensorState())) { in UpdateSensorInfo() 271 if (pid <= INVALID_PID) { in UpdateSensorChannel() 309 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in ClearCurPidSensorInfo() 333 if (pid <= INVALID_PID) { in DestroySensorChannel() 369 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in GetCurPidSensorInfo() [all …]
|
D | stream_server.cpp | 28 constexpr int32_t INVALID_PID = -1; variable 54 return it == sessionsMap_.end() ? INVALID_PID : it->second->GetPid(); in GetClientPid()
|
D | sensor_service.cpp | 39 constexpr int32_t INVALID_PID = -1; variable 384 if (pid == INVALID_PID) { in ProcessDeathObserver() 416 if (pid == INVALID_PID) { in UnregisterClientDeathRecipient()
|
/base/startup/init/interfaces/innerkits/include/ |
D | service_watcher.h | 29 #define INVALID_PID 0 macro
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
D | client_info.cpp | 33 constexpr int32_t INVALID_PID = -1; variable 99 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in OnlyCurPidSensorEnabled() 127 if ((uid == INVALID_UID) || (pid <= INVALID_PID)) { in UpdateUid() 151 if (pid == INVALID_PID) { in DestroyUid() 195 if (pid == INVALID_PID) { in GetSensorChannelByPid() 237 …if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID) || (sensorInfo.GetSensorState() != SEN… in UpdateSensorInfo() 275 if (pid <= INVALID_PID || channel == nullptr) { in UpdateSensorChannel() 315 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in ClearCurPidSensorInfo() 339 if (pid <= INVALID_PID) { in DestroySensorChannel() 377 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in GetCurPidSensorInfo() [all …]
|
D | medical_service.cpp | 45 constexpr int32_t INVALID_PID = -1; variable 441 if (pid == INVALID_PID) { in ProcessDeathObserver()
|
/base/msdp/device_status/utils/common/include/ |
D | proto.h | 29 static constexpr int32_t INVALID_PID { 7 };
|
/base/hiviewdfx/hidumper/frameworks/native/ |
D | dump_utils.h | 57 static const int INVALID_PID = -1; variable
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_manager_cpu_service.cpp | 54 static constexpr int INVALID_PID = -1; variable 242 if (cpuUsagePid_ != INVALID_PID) { in InitParam() 257 if (cpuUsagePid_ != INVALID_PID) { in ResetParam() 274 if (cpuUsagePid_ != INVALID_PID) { in DumpCpuUsageData() 391 if (cpuUsagePid_ != INVALID_PID) { in CreateCPUStatString() 456 if (cpuUsagePid_ != INVALID_PID) { in DumpProcInfo()
|
/base/startup/init/interfaces/innerkits/service_watcher/ |
D | service_watcher.c | 42 info.pid = (pid_t)GetUintParameter(paramName, INVALID_PID); in ServiceStateChange()
|
/base/inputmethod/imf/services/src/ |
D | bundle_checker.cpp | 32 if (realFocusedPid == INVALID_PID) { in IsFocused()
|
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
D | medical_proxy_test.cpp | 42 constexpr pid_t INVALID_PID = -1; variable 83 pid_t pid = INVALID_PID; in GetSensorServicePid()
|
/base/msdp/device_status/services/native/src/ |
D | stream_server.cpp | 67 return INVALID_PID; in GetClientPid()
|