Home
last modified time | relevance | path

Searched refs:SuspendPowerStateCallback (Results 1 - 2 of 2) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dpower_suspend_controller_test.cpp53 class SuspendPowerStateCallback : public PowerStateCallbackStub { class
55 explicit SuspendPowerStateCallback(std::shared_ptr<SuspendController> controller) : controller_(controller) {}; in SuspendPowerStateCallback() function in SuspendPowerStateCallback
56 virtual ~SuspendPowerStateCallback() = default;
86 sptr<SuspendPowerStateCallback> callback = new SuspendPowerStateCallback(g_service->suspendController_); in HWTEST_F()
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_controller.cpp121 class SuspendPowerStateCallback : public PowerStateCallbackStub { class
123 explicit SuspendPowerStateCallback(std::shared_ptr<SuspendController> controller) : controller_(controller) {}; in SuspendPowerStateCallback() function in OHOS::PowerMgr::SuspendPowerStateCallback
124 virtual ~SuspendPowerStateCallback() = default;
166 sptr<SuspendPowerStateCallback> callback = new SuspendPowerStateCallback(shared_from_this()); in Init()

Completed in 3 milliseconds