Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/include/
Drunning_lock_inner.h28 pid_t pid = INVALID_PID;
33 ((uid == other.uid) && (other.pid == INVALID_PID)) ||
34 ((other.uid == INVALID_PID) && (pid == other.pid)) ||
35 ((other.uid == INVALID_PID) && (other.pid == INVALID_PID)));
/base/startup/appspawn/lite/
Dappspawn_service.c34 static const int INVALID_PID = -1; variable
129 APPSPAWN_LOGE("[appspawn] invoke, funcId %d invalid, reply %d.", funcId, INVALID_PID); in Invoke()
130 WriteInt64(reply, INVALID_PID); in Invoke()
139 APPSPAWN_LOGE("[appspawn] invoke, parse failed! reply %d.", INVALID_PID); in Invoke()
140 WriteInt64(reply, INVALID_PID); in Invoke()
149 WriteInt64(reply, INVALID_PID); in Invoke()
/base/startup/appspawn_lite/services/src/
Dappspawn_service.c36 static const int INVALID_PID = -1; variable
125 funcId, INVALID_PID); in Invoke()
126 WriteInt64(reply, INVALID_PID); in Invoke()
132 …ILOG_ERROR(HILOG_MODULE_HIVIEW, "[appspawn] invoke, parse failed! reply %{public}d.", INVALID_PID); in Invoke()
133 WriteInt64(reply, INVALID_PID); in Invoke()
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dwork_trigger.h26 constexpr int32_t INVALID_PID = -1; variable
79 int32_t pid_{INVALID_PID};
/base/sensors/sensor/services/sensor/src/
Dclient_info.cpp33 constexpr int32_t INVALID_PID = -1; variable
96 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in OnlyCurPidSensorEnabled()
122 if ((uid == INVALID_UID) || (pid <= INVALID_PID)) { in UpdateAppThreadInfo()
144 if (pid == INVALID_PID) { in DestroyAppThreadInfo()
183 if (pid == INVALID_PID) { in GetSensorChannelByPid()
223 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID) || (!sensorInfo.GetSensorState())) { in UpdateSensorInfo()
262 if (pid <= INVALID_PID) { in UpdateSensorChannel()
300 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in ClearCurPidSensorInfo()
324 if (pid <= INVALID_PID) { in DestroySensorChannel()
360 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in GetCurPidSensorInfo()
[all …]
Dsensor_service.cpp39 constexpr int32_t INVALID_PID = -1; variable
346 if (pid == INVALID_PID) { in ProcessDeathObserver()
/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/hiviewdfx/hidumper/frameworks/native/
Ddump_utils.h57 static const int INVALID_PID = -1; variable
/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/powermgr/power_manager/services/native/test/unittest/src/
Drunning_lock_test.cpp458 runningLockMgr_->ProxyRunningLock(false, userIPCinfo3.uid, INVALID_PID);
511 runningLockMgr_->ProxyRunningLock(false, workeripc3.uid, INVALID_PID);
516 runningLockMgr_->ProxyRunningLock(true, workeripc1.uid, INVALID_PID);
519 ASSERT_TRUE((pidset.size() == 1) && (pidset.count(INVALID_PID) == 1));
520 runningLockMgr_->ProxyRunningLock(false, workeripc1.uid, INVALID_PID);
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp501 static_cast<unsigned int>(pidset.count(INVALID_PID)), userIPCinfo.uid, userIPCinfo.pid); in MatchProxyMap()
503 return (pidset.count(INVALID_PID) > 0); in MatchProxyMap()
628 if (pid == INVALID_PID) { in ProxyRunningLock()
649 if (pid == INVALID_PID) { in ProxyRunningLock()