Searched refs:ShutdownClient (Results 1 – 7 of 7) sorted by relevance
23 ShutdownClient::ShutdownClient() {} in ShutdownClient() function in OHOS::PowerMgr::ShutdownClient24 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()
33 class ShutdownClient final : public DelayedRefSingleton<ShutdownClient> {34 DECLARE_DELAYED_REF_SINGLETON(ShutdownClient)37 DISALLOW_COPY_AND_MOVE(ShutdownClient);
104 auto& shutdownClient = ShutdownClient::GetInstance();128 auto& shutdownClient = ShutdownClient::GetInstance();150 auto& shutdownClient = ShutdownClient::GetInstance();172 auto& shutdownClient = ShutdownClient::GetInstance();194 auto& shutdownClient = ShutdownClient::GetInstance();
83 auto& shutdownClient = ShutdownClient::GetInstance();112 auto& shutdownClient = ShutdownClient::GetInstance();
69 PowerMgr::ShutdownClient::GetInstance().UnRegisterShutdownCallback(callback_); in OnUnload()124 PowerMgr::ShutdownClient::GetInstance().RegisterShutdownCallback(callback_, in InitCallback()
89 PowerMgr::ShutdownClient::GetInstance().UnRegisterShutdownCallback(powerShutDownCallback_); in OnStop()265 PowerMgr::ShutdownClient::GetInstance().RegisterShutdownCallback(powerShutDownCallback_, in OnAddSystemAbility()
82 auto& g_shutdownClient = ShutdownClient::GetInstance();