/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_powersavemode_test.cpp | 207 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 208 powerMgrClient.RegisterPowerModeCallback(cb1); 230 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 231 powerMgrClient.RegisterPowerModeCallback(cb1); 253 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 255 powerMgrClient.RegisterPowerModeCallback(cb1); 277 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 278 powerMgrClient.UnRegisterPowerModeCallback(cb1); 299 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 300 powerMgrClient.UnRegisterPowerModeCallback(cb1); [all …]
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_register_callback_mode_test.cpp | 50 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 51 powerMgrClient.RegisterPowerModeCallback(cb1);
|
D | power_device_mode_test.cpp | 57 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 58 ret = powerMgrClient.RegisterPowerModeCallback(cb1); 77 ret = powerMgrClient.UnRegisterPowerModeCallback(cb1);
|
D | power_state_machine_test.cpp | 217 sptr<IPowerStateCallback> cb1 = new PowerStateTest1Callback(); variable 218 powerMgrClient.RegisterPowerStateCallback(cb1); 229 EXPECT_TRUE(powerMgrClient.UnRegisterPowerStateCallback(cb1));
|
D | native_power_state_machine_test.cpp | 101 sptr<IPowerStateCallback> cb1 = new PowerStateTest2Callback(); variable 102 stateMachine->UnRegisterPowerStateCallback(cb1);
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_interface_test.cpp | 275 const sptr<IThermalTempCallback> cb1 = new ThermalTempTest1Callback(); variable 278 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 290 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 308 const sptr<IThermalTempCallback> cb1 = new ThermalTempTest1Callback(); variable 311 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 322 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 328 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 338 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 514 const sptr<IThermalLevelCallback> cb1 = new ThermalLevelTest1Callback(); variable 515 thermalMgrClient.SubscribeThermalLevelCallback(cb1); [all …]
|
/base/powermgr/power_manager/test/unittest/src/mock/ |
D | power_mock_object_test.cpp | 115 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 117 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 118 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_proxy_test.cpp | 109 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 111 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 112 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_peer_test.cpp | 147 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 149 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 150 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_parcel_test.cpp | 151 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 153 ret = sptrProxy->RegisterPowerStateCallback(cb1); 155 sptrProxy->UnRegisterPowerStateCallback(cb1);
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_action_hub_test.cpp | 234 const sptr<IThermalActionCallback> cb1 = new ThermalActionTest1Callback(); variable 237 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb1); 243 thermalMgrClient.UnSubscribeThermalActionCallback(cb1);
|