Home
last modified time | relevance | path

Searched refs:curPid (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Drunning_lock_test.cpp177 pid_t curPid = getpid(); variable
199 pid_t curPid = getpid(); variable
226 pid_t curPid = getpid(); variable
251 pid_t curPid = getpid(); variable
279 pid_t curPid = getpid(); variable
302 pid_t curPid = -1; variable
369 pid_t curPid = getpid(); variable
416 pid_t curPid = getpid(); variable
440 pid_t curPid = getpid(); variable
448 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, 0));
[all …]
H A Dpower_mgr_client_test.cpp1209 pid_t curPid = getpid(); variable
1210 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
1212 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
/ohos5.0/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp47 pid_t curPid = getpid(); variable
73 pid_t curPid = getpid(); variable
85 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, app0Uid));
88 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, app0Uid));
111 pid_t curPid = getpid(); variable
129 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, app0Uid));
132 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, app1Uid));
135 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, app0Uid));
138 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, app1Uid));
162 pid_t curPid = getpid(); variable
[all …]
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_mock_test.cpp492 pid_t curPid = getpid(); variable
516 EXPECT_TRUE(g_powerService->ProxyRunningLock(true, curPid, curUid));
521 EXPECT_TRUE(g_powerService->ProxyRunningLock(false, curPid, curUid));
547 pid_t curPid = getpid(); variable
682 pid_t curPid = getpid(); variable
706 EXPECT_TRUE(g_powerService->ProxyRunningLock(true, curPid, curUid));
711 EXPECT_TRUE(g_powerService->ProxyRunningLock(false, curPid, curUid));
737 pid_t curPid = getpid(); variable
792 pid_t curPid = getpid(); variable
816 EXPECT_TRUE(g_powerService->ProxyRunningLock(true, curPid, curUid));
[all …]
H A Dpower_coordination_lock_test.cpp249 pid_t curPid = getpid(); variable
253 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
254 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
258 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
260 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
286 pid_t curPid = getpid(); variable
292 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
294 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
318 pid_t curPid = getpid(); variable
324 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
[all …]
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_manager_service.cpp67 uint32_t curPid = static_cast<uint32_t>(getpid()); in JudgePassThrouth() local
68 return remotePid == curPid; in JudgePassThrouth()
/ohos5.0/base/hiviewdfx/faultloggerd/test/systemtest/
H A Ddumpcatcher_system_test.cpp163 pid_t curPid = 0; in LaunchCrasher() local
179 curPid = g_loopRootPid; in LaunchCrasher()
183 curPid = g_loopSysPid; in LaunchCrasher()
191 curPid = g_loopAppPid; in LaunchCrasher()
195 GetCrasherThreads(curPid, uid); in LaunchCrasher()
/ohos5.0/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp182 int curPid = getpid(); variable
183 EXPECT_NE(curPid, eventhandler1->pid_);
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_inner.cpp7995 pid_t curPid = appRecord->GetPriorityObject()->GetPid(); in NotifyAppFaultBySA() local
7997 foregroundPids.push_back(curPid); in NotifyAppFaultBySA()
8000 pids.push_back(curPid); in NotifyAppFaultBySA()