/base/powermgr/power_manager/test/systemtest/src/ |
D | power_mgr_powersavemode_test.cpp | 210 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 211 powerMgrClient.RegisterPowerModeCallback(cb1); 233 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 234 powerMgrClient.RegisterPowerModeCallback(cb1); 255 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 257 powerMgrClient.RegisterPowerModeCallback(cb1); 279 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 280 powerMgrClient.UnRegisterPowerModeCallback(cb1); 301 const sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 302 powerMgrClient.UnRegisterPowerModeCallback(cb1); [all …]
|
/base/powermgr/power_manager/services/native/test/unittest/src/ |
D | power_shutdown_test.cpp | 55 sptr<IShutdownCallback> cb1 = new PowerShutdownTest1Callback(); variable 56 powerMgrClient.RegisterShutdownCallback(cb1); 67 powerMgrClient.UnRegisterShutdownCallback(cb1);
|
D | power_device_mode_test.cpp | 56 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 57 powerMgrClient.RegisterPowerModeCallback(cb1); 68 powerMgrClient.UnRegisterPowerModeCallback(cb1);
|
D | power_shutdown_callback_test.cpp | 55 sptr<IShutdownCallback> cb1 = new PowerShutdownTest1Callback(); variable 56 powerMgrClient.RegisterShutdownCallback(cb1);
|
D | power_register_callback_mode_test.cpp | 50 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable 51 powerMgrClient.RegisterPowerModeCallback(cb1);
|
D | power_state_machine_test.cpp | 217 sptr<IPowerStateCallback> cb1 = new PowerStateTest1Callback(); variable 218 powerMgrClient.RegisterPowerStateCallback(cb1); 229 powerMgrClient.UnRegisterPowerStateCallback(cb1);
|
/base/powermgr/thermal_manager/test/systemtest/src/ |
D | thermal_mgr_interface_test.cpp | 305 const sptr<IThermalTempCallback> cb1 = new ThermalTempTest1Callback(); variable 308 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 320 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 341 const sptr<IThermalTempCallback> cb1 = new ThermalTempTest1Callback(); variable 343 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 355 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 359 thermalMgrClient.SubscribeThermalTempCallback(typelist, cb1); 370 thermalMgrClient.UnSubscribeThermalTempCallback(cb1); 601 const sptr<IThermalLevelCallback> cb1 = new ThermalLevelTest1Callback(); variable 602 thermalMgrClient.SubscribeThermalLevelCallback(cb1); [all …]
|
/base/powermgr/power_manager/services/native/test/unittest/src/mock/ |
D | power_mock_proxy_test.cpp | 119 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 123 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 124 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_object_test.cpp | 125 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 129 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 130 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_peer_test.cpp | 164 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 168 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1)); 169 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
|
D | power_mock_parcel_test.cpp | 172 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable 176 sptrProxy->RegisterPowerStateCallback(cb1); 177 sptrProxy->UnRegisterPowerStateCallback(cb1);
|
/base/powermgr/thermal_manager/services/native/test/unittest/src/ |
D | thermal_action_hub_test.cpp | 217 const sptr<IThermalActionCallback> cb1 = new ThermalActionTest1Callback(); variable 220 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb1); 228 thermalMgrClient.UnSubscribeThermalActionCallback(cb1);
|