Home
last modified time | relevance | path

Searched refs:cb5 (Results 1 - 7 of 7) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/mock/
H A Dpower_mock_proxy_test.cpp116 sptr<IPowerRunninglockCallback> cb5 =new PowerRunningLockTestCallback(); in HWTEST_F() local
125 EXPECT_FALSE(sptrProxy->RegisterRunningLockCallback(cb5)); in HWTEST_F()
126 EXPECT_FALSE(sptrProxy->UnRegisterRunningLockCallback(cb5)); in HWTEST_F()
H A Dpower_mock_parcel_test.cpp163 sptr<IPowerRunninglockCallback> cb5 =new PowerRunningLockTestCallback(); in HWTEST_F() local
173 EXPECT_FALSE(sptrProxy->RegisterRunningLockCallback(cb5)); in HWTEST_F()
174 EXPECT_FALSE(sptrProxy->UnRegisterRunningLockCallback(cb5)); in HWTEST_F()
H A Dpower_mock_peer_test.cpp160 sptr<IPowerRunninglockCallback> cb5 =new PowerRunningLockTestCallback(); in HWTEST_F() local
169 EXPECT_FALSE(sptrProxy->RegisterRunningLockCallback(cb5)); in HWTEST_F()
170 EXPECT_FALSE(sptrProxy->UnRegisterRunningLockCallback(cb5)); in HWTEST_F()
H A Dpower_mock_object_test.cpp146 sptr<IPowerRunninglockCallback> cb5 =new PowerRunningLockTestCallback(); in HWTEST_F() local
155 EXPECT_FALSE(sptrProxy->RegisterRunningLockCallback(cb5)); in HWTEST_F()
156 EXPECT_FALSE(sptrProxy->UnRegisterRunningLockCallback(cb5)); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/
H A Dnative_power_state_machine_test.cpp131 sptr<IPowerStateCallback> cb5 = nullptr; in HWTEST_F() local
133 stateMachine->RegisterPowerStateCallback(cb5, false); in HWTEST_F()
137 stateMachine->UnRegisterPowerStateCallback(cb5); in HWTEST_F()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_hub_test.cpp368 const sptr<IThermalActionCallback> cb5 = new ThermalActionTest5Callback(); in HWTEST_F() local
378 g_service->SubscribeThermalActionCallback(actionList, desc, cb5); in HWTEST_F()
380 g_service->UnSubscribeThermalActionCallback(cb5); in HWTEST_F()
/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_interface_test.cpp339 const sptr<IThermalLevelCallback> cb5 = new ThermalLevelTest5Callback(); in HWTEST_F() local
342 g_thermalMgrClient.SubscribeThermalLevelCallback(cb5); in HWTEST_F()
343 g_service->SubscribeThermalLevelCallback(cb5); in HWTEST_F()
363 g_thermalMgrClient.UnSubscribeThermalLevelCallback(cb5); in HWTEST_F()
364 g_service->UnSubscribeThermalLevelCallback(cb5); in HWTEST_F()

Completed in 6 milliseconds