Home
last modified time | relevance | path

Searched refs:cb1 (Results 1 – 12 of 12) sorted by relevance

/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_powersavemode_test.cpp210 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/
Dpower_shutdown_test.cpp55 sptr<IShutdownCallback> cb1 = new PowerShutdownTest1Callback(); variable
56 powerMgrClient.RegisterShutdownCallback(cb1);
67 powerMgrClient.UnRegisterShutdownCallback(cb1);
Dpower_device_mode_test.cpp56 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable
57 powerMgrClient.RegisterPowerModeCallback(cb1);
68 powerMgrClient.UnRegisterPowerModeCallback(cb1);
Dpower_shutdown_callback_test.cpp55 sptr<IShutdownCallback> cb1 = new PowerShutdownTest1Callback(); variable
56 powerMgrClient.RegisterShutdownCallback(cb1);
Dpower_register_callback_mode_test.cpp50 sptr<IPowerModeCallback> cb1 = new PowerModeTest1Callback(); variable
51 powerMgrClient.RegisterPowerModeCallback(cb1);
Dpower_state_machine_test.cpp217 sptr<IPowerStateCallback> cb1 = new PowerStateTest1Callback(); variable
218 powerMgrClient.RegisterPowerStateCallback(cb1);
229 powerMgrClient.UnRegisterPowerStateCallback(cb1);
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_mgr_interface_test.cpp305 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/
Dpower_mock_proxy_test.cpp119 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable
123 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1));
124 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
Dpower_mock_object_test.cpp125 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable
129 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1));
130 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
Dpower_mock_peer_test.cpp164 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable
168 EXPECT_FALSE(sptrProxy->RegisterPowerStateCallback(cb1));
169 EXPECT_FALSE(sptrProxy->UnRegisterPowerStateCallback(cb1));
Dpower_mock_parcel_test.cpp172 sptr<IPowerStateCallback> cb1 = new PowerStateTestCallback(); variable
176 sptrProxy->RegisterPowerStateCallback(cb1);
177 sptrProxy->UnRegisterPowerStateCallback(cb1);
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_action_hub_test.cpp217 const sptr<IThermalActionCallback> cb1 = new ThermalActionTest1Callback(); variable
220 thermalMgrClient.SubscribeThermalActionCallback(actionList, desc, cb1);
228 thermalMgrClient.UnSubscribeThermalActionCallback(cb1);