Home
last modified time | relevance | path

Searched refs:DevicestatusClient (Results 1 – 8 of 8) sorted by relevance

/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_client.cpp29 DevicestatusClient::DevicestatusClient() {} in DevicestatusClient() function in OHOS::Msdp::DevicestatusClient
30 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()
Ddevicestatus_agent.cpp71 DevicestatusClient::GetInstance().SubscribeCallback(type, callback_); in RegisterServiceEvent()
77 DevicestatusClient::GetInstance().UnSubscribeCallback(type, callback_); in UnRegisterServiceEvent()
/base/msdp/device_status/services/native/test/unittest/src/
Ddevicestatus_client_test.cpp70 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();
Ddevicestatus_service_test.cpp54 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();
/base/msdp/device_status/interfaces/innerkits/include/
Ddevicestatus_client.h28 class DevicestatusClient final : public DelayedRefSingleton<DevicestatusClient> {
29 DECLARE_DELAYED_REF_SINGLETON(DevicestatusClient)
32 DISALLOW_COPY_AND_MOVE(DevicestatusClient);
/base/msdp/device_status/services/native/test/moduletest/src/
Ddevicestatus_module_test.cpp52 auto& devicestatusClient = DevicestatusClient::GetInstance();
69 auto& devicestatusClient = DevicestatusClient::GetInstance();
86 auto& devicestatusClient = DevicestatusClient::GetInstance();
103 auto& devicestatusClient = DevicestatusClient::GetInstance();
/base/msdp/device_status/test/fuzztest/devicestatusclient_fuzzer/
Ddevicestatusclient_fuzzer.cpp24 auto &client_ = DevicestatusClient::GetInstance();
/base/msdp/device_status/frameworks/js/napi/src/
Ddevicestatus_napi.cpp261DevicestatusClient::GetInstance().SubscribeCallback(DevicestatusDataUtils::DevicestatusType(type),… in SubscribeDeviceStatusCallback()
361DevicestatusClient::GetInstance().UnSubscribeCallback(DevicestatusDataUtils::DevicestatusType(type… in UnsubscribeDeviceStatus()
418DevicestatusClient::GetInstance().GetDevicestatusData(DevicestatusDataUtils::DevicestatusType(type… in GetDeviceStatus()