Searched refs:g_powerMgrServiceProxy (Results 1 – 2 of 2) sorted by relevance
48 if (g_powerMgrServiceProxy == nullptr) { in SetUpTestCase()300 g_powerMgrServiceProxy->Lock(token);305 g_powerMgrServiceProxy->UnLock(token);333 g_powerMgrServiceProxy->Lock(token);339 g_powerMgrServiceProxy->UnLock(token);367 g_powerMgrServiceProxy->Lock(token);373 g_powerMgrServiceProxy->UnLock(token);391 g_powerMgrServiceProxy->SetDisplaySuspend(true);529 g_powerMgrServiceProxy->SuspendDevice(547 g_powerMgrServiceProxy->SuspendDevice([all …]
44 if (g_powerMgrServiceProxy == nullptr) { in SetUpTestCase()78 ASSERT_NE(g_powerMgrServiceProxy, nullptr);89 EXPECT_FALSE(g_powerMgrServiceProxy->Lock(token));90 EXPECT_FALSE(g_powerMgrServiceProxy->UnLock(token));91 EXPECT_FALSE(g_powerMgrServiceProxy->IsUsed(token));94 EXPECT_FALSE(g_powerMgrServiceProxy->ResetRunningLocks());105 ASSERT_NE(g_powerMgrServiceProxy, nullptr);117 EXPECT_FALSE(g_powerMgrServiceProxy->IsScreenOn());118 g_powerMgrServiceProxy->SetDisplaySuspend(true);121 PowerMode getMode = g_powerMgrServiceProxy->GetDeviceMode();[all …]