/base/powermgr/power_manager/services/native/include/ |
D | running_lock_inner.h | 28 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/ |
D | appspawn_service.c | 34 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/ |
D | appspawn_service.c | 36 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/ |
D | work_trigger.h | 26 constexpr int32_t INVALID_PID = -1; variable 79 int32_t pid_{INVALID_PID};
|
/base/sensors/sensor/services/sensor/src/ |
D | client_info.cpp | 33 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 …]
|
D | sensor_service.cpp | 39 constexpr int32_t INVALID_PID = -1; variable 346 if (pid == INVALID_PID) { in ProcessDeathObserver()
|
/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/hiviewdfx/hidumper/frameworks/native/ |
D | dump_utils.h | 57 static const int INVALID_PID = -1; variable
|
/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/powermgr/power_manager/services/native/test/unittest/src/ |
D | running_lock_test.cpp | 458 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/ |
D | running_lock_mgr.cpp | 501 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()
|