Home
last modified time | relevance | path

Searched refs:ShutdownClient (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/power_manager/frameworks/native/shutdown/
Dshutdown_client.cpp23 ShutdownClient::ShutdownClient() {} in ShutdownClient() function in OHOS::PowerMgr::ShutdownClient
24 ShutdownClient::~ShutdownClient() {} in ~ShutdownClient()
26 ErrCode ShutdownClient::Connect() in Connect()
32 void ShutdownClient::RegisterShutdownCallback( in RegisterShutdownCallback()
39 void ShutdownClient::UnRegisterShutdownCallback(const sptr<ITakeOverShutdownCallback>& callback) in UnRegisterShutdownCallback()
45 void ShutdownClient::RegisterShutdownCallback( in RegisterShutdownCallback()
52 void ShutdownClient::UnRegisterShutdownCallback(const sptr<IAsyncShutdownCallback>& callback) in UnRegisterShutdownCallback()
58 void ShutdownClient::RegisterShutdownCallback( in RegisterShutdownCallback()
65 void ShutdownClient::UnRegisterShutdownCallback(const sptr<ISyncShutdownCallback>& callback) in UnRegisterShutdownCallback()
/base/powermgr/power_manager/interfaces/inner_api/native/include/shutdown/
Dshutdown_client.h33 class ShutdownClient final : public DelayedRefSingleton<ShutdownClient> {
34 DECLARE_DELAYED_REF_SINGLETON(ShutdownClient)
37 DISALLOW_COPY_AND_MOVE(ShutdownClient);
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dtakeover_shutdown_callback_test.cpp104 auto& shutdownClient = ShutdownClient::GetInstance();
128 auto& shutdownClient = ShutdownClient::GetInstance();
150 auto& shutdownClient = ShutdownClient::GetInstance();
172 auto& shutdownClient = ShutdownClient::GetInstance();
194 auto& shutdownClient = ShutdownClient::GetInstance();
/base/powermgr/power_manager/test/unittest/src/
Dshutdown_client_test.cpp83 auto& shutdownClient = ShutdownClient::GetInstance();
112 auto& shutdownClient = ShutdownClient::GetInstance();
/base/hiviewdfx/hiview/plugins/usage_event_report/
Dusage_event_report.cpp69 PowerMgr::ShutdownClient::GetInstance().UnRegisterShutdownCallback(callback_); in OnUnload()
124 PowerMgr::ShutdownClient::GetInstance().RegisterShutdownCallback(callback_, in InitCallback()
/base/security/access_token/services/privacymanager/src/service/
Dprivacy_manager_service.cpp89 PowerMgr::ShutdownClient::GetInstance().UnRegisterShutdownCallback(powerShutDownCallback_); in OnStop()
265 PowerMgr::ShutdownClient::GetInstance().RegisterShutdownCallback(powerShutDownCallback_, in OnAddSystemAbility()
/base/powermgr/power_manager/test/fuzztest/power_fuzzer/
Dpower_fuzzer.cpp82 auto& g_shutdownClient = ShutdownClient::GetInstance();