/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | ipc_test_helper.cpp | 95 pid_t pid = INVALID_PID; in GetPidByName() 117 return INVALID_PID; in GetPidByName() 228 if (pid != INVALID_PID) { in StopExecutable() 239 if (pid != INVALID_PID) { in StopExecutable() 250 if (pid == INVALID_PID) { in PrepareTestSuite() 256 return (pid != INVALID_PID); in PrepareTestSuite() 286 int pid = INVALID_PID; in StartTestApp() 296 if (pid != INVALID_PID) { in StartTestApp() 313 if (pid != INVALID_PID) { in StopTestApp() 326 int pid = INVALID_PID; in GetTestAppPid() [all …]
|
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_payload_statistics_unittest.cpp | 26 constexpr int32_t INVALID_PID = -1; variable 103 EXPECT_EQ(IPCPayloadStatistics::GetCount(INVALID_PID), 0); 123 EXPECT_EQ(IPCPayloadStatistics::GetCost(INVALID_PID), 0); 144 std::vector<IPCInterfaceInfo> info = IPCPayloadStatistics::GetDescriptorCodes(INVALID_PID); 165 EXPECT_EQ(IPCPayloadStatistics::GetDescriptorCodeCount(INVALID_PID, u"string1", CODE), 0); 209 … IPCPayloadCost cost = IPCPayloadStatistics::GetDescriptorCodeCost(INVALID_PID, u"string1", CODE);
|
/ohos5.0/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()
|
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/ |
H A D | hidumper_memory_test.cpp | 35 const uint64_t INVALID_PID = 0; variable 130 ASSERT_FALSE(smapsMemoryInfo->ShowMemorySmapsByPid(INVALID_PID, result, true)); 160 int value = static_cast<int>(memoryInfo->GetProcValue(INVALID_PID, NULL_STR)); 162 value = static_cast<int>(memoryInfo->GetVss(INVALID_PID)); 166 ASSERT_FALSE(memoryInfo->GetMemByProcessPid(INVALID_PID, usage)); 167 memoryInfo->GetProcessAdjLabel(INVALID_PID);
|
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_service_test_helper.cpp | 43 pid_t pid = INVALID_PID; in GetPidByName() 60 return INVALID_PID; in GetPidByName() 124 if (pid != INVALID_PID) { in StartExecutable() 141 while (pid == INVALID_PID && res < 10) { // 10:try-time to wait for exe start in StartExecutable() 162 if (pid != INVALID_PID) { in StopExecutable()
|
/ohos5.0/base/sensors/sensor/services/src/ |
H A D | client_info.cpp | 37 constexpr int32_t INVALID_PID = -1; variable 155 if (pid == INVALID_PID) { in DestroyAppThreadInfo() 196 if (pid == INVALID_PID) { in GetSensorChannelByPid() 282 if (pid <= INVALID_PID) { in UpdateSensorChannel() 347 if (pid <= INVALID_PID) { in DestroySensorChannel() 409 int32_t pid = INVALID_PID; in ComputeBestPeriodCount() 434 int32_t pid = INVALID_PID; in ComputeBestFifoCount() 522 CHKPR(sensorClient, INVALID_PID); in FindClientPid() 527 return INVALID_PID; in FindClientPid() 772 int32_t pid = INVALID_PID; in GetPidByTokenId() [all …]
|
H A D | stream_server.cpp | 30 constexpr int32_t INVALID_PID = -1; variable 56 return it == sessionsMap_.end() ? INVALID_PID : it->second->GetPid(); in GetClientPid()
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A 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() 275 if (pid <= INVALID_PID || channel == nullptr) { in UpdateSensorChannel() 339 if (pid <= INVALID_PID) { in DestroySensorChannel() 404 int32_t pid = INVALID_PID; in ComputeBestPeriodCount() 430 int32_t pid = INVALID_PID; in ComputeBestFifoCount() 524 return INVALID_PID; in FindClientPid() [all …]
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_service_full.c | 26 #define INVALID_PID (-1) macro 35 hostClnt->hostPid = INVALID_PID; in CleanupDiedHostResources() 75 if (ret == INVALID_PID) { in DevmgrServiceFullOnDeviceHostDied()
|
/ohos5.0/base/inputmethod/imf/services/identity_checker/include/ |
H A D | identity_checker.h | 26 static constexpr int64_t INVALID_PID = -1; 28 … 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) over…
|
/ohos5.0/foundation/multimodalinput/input/service/message_handle/src/ |
H A D | client_death_handler.cpp | 77 if (pid == INVALID_PID) { in OnDeath() 136 CHKPR(binderClientSrv, INVALID_PID); in FindClientPid() 151 return INVALID_PID; in FindClientPid()
|
/ohos5.0/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; variable 57 std::shared_ptr<ProcessCpuData> FetchProcessCpuData(int32_t pid = INVALID_PID);
|
/ohos5.0/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_manager_cpu_service.cpp | 48 static constexpr int INVALID_PID = -1; variable 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()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/ |
H A D | trans_udp_negotiation_test.cpp | 39 #define INVALID_PID (-1) macro 210 appInfo->myData.pid = INVALID_PID; 328 newChannel->info.myData.pid = INVALID_PID; 332 TransUdpDeathCallback(g_pkgName, INVALID_PID);
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | service_watcher.h | 29 #define INVALID_PID 0 macro
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/ |
H A D | medical_proxy_test.cpp | 42 constexpr pid_t INVALID_PID = -1; variable 83 pid_t pid = INVALID_PID; in GetSensorServicePid()
|
/ohos5.0/foundation/window/window_manager_lite/interfaces/innerkits/ |
H A D | lite_wm_type.h | 86 const int INVALID_PID = -1; variable
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | dump_utils.h | 59 static const int INVALID_PID = -1; variable
|
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/include/ |
H A D | ipc_test_helper.h | 29 const static int INVALID_PID = -1; variable
|
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/include/ |
H A D | dbinder_service_test_helper.h | 30 const static int INVALID_PID = -1; variable
|
/ohos5.0/base/startup/init/interfaces/innerkits/service_watcher/ |
H A D | service_watcher.c | 42 info.pid = (pid_t)GetUintParameter(paramName, INVALID_PID); in ServiceStateChange()
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | proto.h | 32 inline constexpr int32_t INVALID_PID { 7 };
|
/ohos5.0/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) over…
|
/ohos5.0/base/sensors/miscdevice/services/miscdevice_service/src/ |
H A D | miscdevice_service.cpp | 63 constexpr int32_t INVALID_PID = -1; variable 769 if ((clientPid != INVALID_PID) && (clientPid == vibratePid)) { in ProcessDeathObserver() 800 if (clientPid == INVALID_PID) { in UnregisterClientDeathRecipient() 823 return INVALID_PID; in FindClientPid() 829 return INVALID_PID; in FindClientPid()
|