Searched refs:DevicestatusClient (Results 1 – 8 of 8) sorted by relevance
29 DevicestatusClient::DevicestatusClient() {} in DevicestatusClient() function in OHOS::Msdp::DevicestatusClient30 DevicestatusClient::~DevicestatusClient() in ~DevicestatusClient()40 ErrCode DevicestatusClient::Connect() in Connect()76 void DevicestatusClient::ResetProxy(const wptr<IRemoteObject>& remote) in ResetProxy()88 void DevicestatusClient::DevicestatusDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()95 DevicestatusClient::GetInstance().ResetProxy(remote); in OnRemoteDied()99 void DevicestatusClient::SubscribeCallback(const DevicestatusDataUtils::DevicestatusType& type, \ in SubscribeCallback()116 void DevicestatusClient::UnSubscribeCallback(const DevicestatusDataUtils::DevicestatusType& type, \ in UnSubscribeCallback()133 DevicestatusDataUtils::DevicestatusData DevicestatusClient::GetDevicestatusData(const \ in GetDevicestatusData()
71 DevicestatusClient::GetInstance().SubscribeCallback(type, callback_); in RegisterServiceEvent()77 DevicestatusClient::GetInstance().UnSubscribeCallback(type, callback_); in UnRegisterServiceEvent()
70 auto& client = DevicestatusClient::GetInstance();73 sptr<IRemoteObject::DeathRecipient>(new DevicestatusClient::DevicestatusDeathRecipient());120 auto& client = DevicestatusClient::GetInstance();138 auto& client = DevicestatusClient::GetInstance();154 auto& client = DevicestatusClient::GetInstance();172 DevicestatusClient* client1 = new(std::nothrow) DevicestatusClient();176 DevicestatusClient* client2 = new(std::nothrow) DevicestatusClient();193 sptr<IRemoteObject::DeathRecipient>(new DevicestatusClient::DevicestatusDeathRecipient());196 auto& client = DevicestatusClient::GetInstance();211 auto& client = DevicestatusClient::GetInstance();
54 auto& devicestatusClient = DevicestatusClient::GetInstance();71 auto& devicestatusClient = DevicestatusClient::GetInstance();89 auto& devicestatusClient = DevicestatusClient::GetInstance();107 auto& devicestatusClient = DevicestatusClient::GetInstance();120 auto& devicestatusClient = DevicestatusClient::GetInstance();133 auto& devicestatusClient = DevicestatusClient::GetInstance();146 auto& devicestatusClient = DevicestatusClient::GetInstance();
28 class DevicestatusClient final : public DelayedRefSingleton<DevicestatusClient> {29 DECLARE_DELAYED_REF_SINGLETON(DevicestatusClient)32 DISALLOW_COPY_AND_MOVE(DevicestatusClient);
52 auto& devicestatusClient = DevicestatusClient::GetInstance();69 auto& devicestatusClient = DevicestatusClient::GetInstance();86 auto& devicestatusClient = DevicestatusClient::GetInstance();103 auto& devicestatusClient = DevicestatusClient::GetInstance();
24 auto &client_ = DevicestatusClient::GetInstance();
261 …DevicestatusClient::GetInstance().SubscribeCallback(DevicestatusDataUtils::DevicestatusType(type),… in SubscribeDeviceStatusCallback()361 …DevicestatusClient::GetInstance().UnSubscribeCallback(DevicestatusDataUtils::DevicestatusType(type… in UnsubscribeDeviceStatus()418 …DevicestatusClient::GetInstance().GetDevicestatusData(DevicestatusDataUtils::DevicestatusType(type… in GetDeviceStatus()