Home
last modified time | relevance | path

Searched refs:INVALID_PID (Results 1 – 15 of 15) sorted by relevance

/base/startup/appspawn/lite/
Dappspawn_service.c31 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/
Dbundle_checker.h26 …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/
Dclient_info.cpp35 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 …]
Dstream_server.cpp28 constexpr int32_t INVALID_PID = -1; variable
54 return it == sessionsMap_.end() ? INVALID_PID : it->second->GetPid(); in GetClientPid()
Dsensor_service.cpp39 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/
Dservice_watcher.h29 #define INVALID_PID 0 macro
/base/sensors/medical_sensor/services/medical_sensor/src/
Dclient_info.cpp33 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 …]
Dmedical_service.cpp45 constexpr int32_t INVALID_PID = -1; variable
441 if (pid == INVALID_PID) { in ProcessDeathObserver()
/base/msdp/device_status/utils/common/include/
Dproto.h29 static constexpr int32_t INVALID_PID { 7 };
/base/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.h57 static const int INVALID_PID = -1; variable
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_cpu_service.cpp54 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/
Dservice_watcher.c42 info.pid = (pid_t)GetUintParameter(paramName, INVALID_PID); in ServiceStateChange()
/base/inputmethod/imf/services/src/
Dbundle_checker.cpp32 if (realFocusedPid == INVALID_PID) { in IsFocused()
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/
Dmedical_proxy_test.cpp42 constexpr pid_t INVALID_PID = -1; variable
83 pid_t pid = INVALID_PID; in GetSensorServicePid()
/base/msdp/device_status/services/native/src/
Dstream_server.cpp67 return INVALID_PID; in GetClientPid()