Home
last modified time | relevance | path

Searched refs:curUid (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_test.cpp175 pid_t curUid = getuid(); variable
177 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
180 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
196 pid_t curUid = getuid(); variable
202 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
205 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
222 pid_t curUid = getuid(); variable
229 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(true, curPid, curUid));
234 EXPECT_TRUE(powerMgrClient.ProxyRunningLock(false, curPid, curUid));
252 pid_t curUid = getuid(); variable
[all …]
Drunning_lock_mock_test.cpp482 pid_t curUid = getuid(); variable
507 EXPECT_TRUE(g_powerService->ProxyRunningLock(true, curPid, curUid));
508 EXPECT_TRUE(g_powerService->ProxyRunningLocks(true, {std::make_pair(curPid, curUid)}));
512 EXPECT_TRUE(g_powerService->ProxyRunningLock(false, curPid, curUid));
513 EXPECT_TRUE(g_powerService->ProxyRunningLocks(false, {std::make_pair(curPid, curUid)}));
536 pid_t curUid = getuid(); variable
567 EXPECT_TRUE(g_powerService->ProxyRunningLock(true, curPid, curUid));
568 EXPECT_TRUE(g_powerService->ProxyRunningLocks(true, {std::make_pair(curPid, curUid)}));
579 EXPECT_TRUE(g_powerService->ProxyRunningLock(false, curPid, curUid));
580 EXPECT_TRUE(g_powerService->ProxyRunningLocks(false, {std::make_pair(curPid, curUid)}));
[all …]