Searched refs:g_pmsTest (Results 1 – 3 of 3) sorted by relevance
44 sptr<PowerMgrService> g_pmsTest; variable51 g_pmsTest->OnStart(); in SetUp()70 g_pmsTest->OnStop(); in TearDown()92 g_pmsTest->HandleKeyEvent(keyCode);94 g_pmsTest->HandlePointEvent(type);100 g_pmsTest->monitorId_ = UNCANCELID;113 g_pmsTest->HandleKeyEvent(keyCode);115 g_pmsTest->HandleKeyEvent(keyCode);121 g_pmsTest->HandlePointEvent(type);123 g_pmsTest->HandlePointEvent(type);[all …]
36 auto g_pmsTest = DelayedSpSingleton<PowerMgrService>::GetInstance(); variable41 g_pmsTest->isBootCompleted_ = true; in SetUpTestCase()64 EXPECT_TRUE(g_pmsTest != nullptr) << "PowerMgrDumpNative001 fail to get PowerMgrService";69 EXPECT_TRUE(g_pmsTest->Dump(fd, args) == ERR_OK);79 EXPECT_TRUE(g_pmsTest != nullptr) << "PowerMgrDumpNative002 fail to get PowerMgrService";84 EXPECT_TRUE(g_pmsTest->Dump(fd, args) == ERR_OK);94 EXPECT_TRUE(g_pmsTest != nullptr) << "PowerMgrDumpNative003 fail to get PowerMgrService";103 EXPECT_TRUE(g_pmsTest->Dump(fd, args) == ERR_OK);113 EXPECT_TRUE(g_pmsTest != nullptr) << "PowerMgrDumpNative004 fail to get PowerMgrService";118 EXPECT_TRUE(g_pmsTest->Dump(fd, args) == ERR_OK);
33 sptr<PowerMgrService> g_pmsTest; variable39 g_pmsTest = DelayedSpSingleton<PowerMgrService>::GetInstance(); in SetUpTestCase()40 EXPECT_TRUE(g_pmsTest != nullptr) << "PowerMgrService02 fail to get PowerMgrService"; in SetUpTestCase()41 g_pmsTest->OnStart(); in SetUpTestCase()42 g_stateMachineTest = g_pmsTest->GetPowerStateMachine(); in SetUpTestCase()