/base/inputmethod/imf/services/identity_checker/include/ |
H A D | identity_checker.h | 26 static constexpr int64_t INVALID_PID = -1; member in OHOS::MiscServices::IdentityChecker 28 virtual bool IsFocused(int64_t callingPid, uint32_t callingTokenId, int64_t focusedPid = INVALID_PID) = 0;
|
H A D | identity_checker_impl.h | 25 bool IsFocused(int64_t callingPid, uint32_t callingTokenId, int64_t focusedPid = INVALID_PID) override;
|
/base/startup/appspawn/lite/ |
H A D | appspawn_service.c | 31 static const int INVALID_PID = -1; variable 139 APPSPAWN_LOGE("[appspawn] invoke, funcId %d invalid, reply %d.", funcId, INVALID_PID); in Invoke() 140 WriteInt64(reply, INVALID_PID); in Invoke() 148 APPSPAWN_LOGE("[appspawn] invoke, parse failed! reply %d.", INVALID_PID); in Invoke() 149 WriteInt64(reply, INVALID_PID); in Invoke()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | hidumper_memory_test.cpp | 35 const uint64_t INVALID_PID = 0; member 127 ASSERT_FALSE(smapsMemoryInfo->ShowMemorySmapsByPid(INVALID_PID, result, true)); in HWTEST_F() 157 int value = static_cast<int>(memoryInfo->GetProcValue(INVALID_PID, NULL_STR)); in HWTEST_F() 159 value = static_cast<int>(memoryInfo->GetVss(INVALID_PID)); in HWTEST_F() 163 ASSERT_FALSE(memoryInfo->GetMemByProcessPid(INVALID_PID, usage)); in HWTEST_F() 165 memoryInfo->GetProcessAdjLabel(INVALID_PID); in HWTEST_F()
|
/base/sensors/sensor/services/src/ |
H A D | client_info.cpp | 37 constexpr int32_t INVALID_PID = -1; member 104 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in OnlyCurPidSensorEnabled() 131 if ((uid == INVALID_UID) || (pid <= INVALID_PID)) { in UpdateAppThreadInfo() 153 if (pid == INVALID_PID) { in DestroyAppThreadInfo() 192 if (pid == INVALID_PID) { in GetSensorChannelByPid() 235 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID) || (!sensorInfo.GetSensorState())) { in UpdateSensorInfo() 274 if (pid <= INVALID_PID) { in UpdateSensorChannel() 312 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in ClearCurPidSensorInfo() 336 if (pid <= INVALID_PID) { in DestroySensorChannel() 372 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in GetCurPidSensorInfo() [all...] |
H A D | stream_server.cpp | 30 constexpr int32_t INVALID_PID = -1; member 56 return it == sessionsMap_.end() ? INVALID_PID : it->second->GetPid(); in GetClientPid()
|
H A D | sensor_service.cpp | 48 constexpr int32_t INVALID_PID = -1; member 425 if (pid == INVALID_PID) { in ProcessDeathObserver() 462 if (pid == INVALID_PID) { in UnregisterClientDeathRecipient()
|
/base/startup/init/interfaces/innerkits/include/ |
H A D | service_watcher.h | 29 #define INVALID_PID 0 macro
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/ |
H A D | process_state_info_collector.h | 30 constexpr int32_t INVALID_PID = 0; member 57 std::shared_ptr<ProcessCpuData> FetchProcessCpuData(int32_t pid = INVALID_PID);
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | client_info.cpp | 33 constexpr int32_t INVALID_PID = -1; member 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() != SENSOR_ENABLED)) { 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...] |
H A D | medical_service.cpp | 45 constexpr int32_t INVALID_PID = -1; member 441 if (pid == INVALID_PID) { in ProcessDeathObserver()
|
/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | dump_utils.h | 60 static const int INVALID_PID = -1; member in OHOS::HiviewDFX::DumpUtils
|
/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_manager_cpu_service.cpp | 48 static constexpr int INVALID_PID = -1; member 93 if (cpuUsagePid_ != INVALID_PID) { in InitParam() 104 if (cpuUsagePid_ != INVALID_PID) { in ResetParam() 115 if (cpuUsagePid_ != INVALID_PID) { in DumpCpuUsageData() 153 if (pid != INVALID_PID) { in GetCpuUsageByPid() 351 if (cpuUsagePid_ != INVALID_PID) { in DumpProcInfo()
|
/base/msdp/device_status/utils/common/include/ |
H A D | proto.h | 32 inline constexpr int32_t INVALID_PID { 7 };
|
/base/inputmethod/imf/services/identity_checker/src/ |
H A D | identity_checker_impl.cpp | 36 if (realFocusedPid == INVALID_PID) { in IsFocused()
|
/base/inputmethod/imf/test/unittest/cpp_test/common/include/ |
H A D | identity_checker_mock.h | 27 bool IsFocused(int64_t callingPid, uint32_t callingTokenId, int64_t focusedPid = INVALID_PID) override
|
/base/startup/init/interfaces/innerkits/service_watcher/ |
H A D | service_watcher.c | 42 info.pid = (pid_t)GetUintParameter(paramName, INVALID_PID); in ServiceStateChange()
|
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
H A D | medical_proxy_test.cpp | 42 constexpr pid_t INVALID_PID = -1; member 83 pid_t pid = INVALID_PID; in GetSensorServicePid()
|
/base/web/webview/ohos_adapter/res_sched_adapter/src/ |
H A D | res_sched_client_adapter_impl.cpp | 88 const pid_t INVALID_PID = -1; member 104 pid_t g_lastPid = INVALID_PID; 108 pid_t g_lastRenderPid = INVALID_PID;
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
H A D | miscdevice_service.cpp | 63 constexpr int32_t INVALID_PID = -1; member 787 if ((clientPid != INVALID_PID) && (clientPid == vibratePid)) { in ProcessDeathObserver() 818 if (clientPid == INVALID_PID) { in UnregisterClientDeathRecipient() 841 return INVALID_PID; in FindClientPid() 847 return INVALID_PID; in FindClientPid()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
H A D | process_state_info_collector.cpp | 64 return (pid == INVALID_PID) in FetchProcessCpuData()
|
/base/msdp/device_status/services/native/src/ |
H A D | stream_server.cpp | 67 return INVALID_PID;
in GetClientPid()
|
/base/inputmethod/imf/services/src/ |
H A D | peruser_session.cpp | 48 constexpr int64_t INVALID_PID = -1; 1094 return INVALID_PID; in GetCurrentClientPid() 1098 return INVALID_PID; in GetCurrentClientPid() 1107 return INVALID_PID; in GetInactiveClientPid() 1111 return INVALID_PID; in GetInactiveClientPid()
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | identity_checker_test.cpp | 41 bool IsFocused(int64_t callingPid, uint32_t callingTokenId, int64_t focusedPid = INVALID_PID) override
|