Home
last modified time | relevance | path

Searched refs:DeviceChangeType (Results 1 – 25 of 36) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/
H A Dcommunicator_test.cpp180 softBusAdapter.NotifyAll(deviceInfo, DeviceChangeType::DEVICE_ONLINE);
199 softBusAdapter.NotifyAll(deviceInfo, DeviceChangeType::DEVICE_ONLINE);
218 softBusAdapter.NotifyAll(deviceInfo, DeviceChangeType::DEVICE_ONLINE);
369 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_ONLINE);
372 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_OFFLINE);
385 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_ONLINE);
386 softBusAdapter.UpdateRelationship(networdId02, DeviceChangeType::DEVICE_ONLINE);
403 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_ONLINE);
404 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_ONLINE);
420 softBusAdapter.UpdateRelationship(networdId01, DeviceChangeType::DEVICE_ONLINE);
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/
H A Dkvstore_device_listener.cpp24 const AppDistributedKv::DeviceInfo &info, const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
26 if (type == AppDistributedKv::DeviceChangeType::DEVICE_ONLINE) { in OnDeviceChanged()
29 } else if (type == AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE) { in OnDeviceChanged()
31 } else if (type == AppDistributedKv::DeviceChangeType::DEVICE_ONREADY) { in OnDeviceChanged()
H A Dkvstore_meta_manager.h47 const AppDistributedKv::DeviceChangeType &type) const override;
115 const AppDistributedKv::DeviceChangeType &type) const override;
H A Dkvstore_meta_manager.cpp404 const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
410 case AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE: in OnDeviceChanged()
413 case AppDistributedKv::DeviceChangeType::DEVICE_ONLINE: in OnDeviceChanged()
516 const DeviceChangeType& type) const in OnDeviceChanged()
518 if (type != DeviceChangeType::DEVICE_ONLINE) { in OnDeviceChanged()
H A Dkvstore_device_listener.h27 …const AppDistributedKv::DeviceInfo &info, const AppDistributedKv::DeviceChangeType &type) const ov…
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Ddev_manager.cpp43 void NotifyAll(const DmDeviceInfo &deviceInfo, DeviceChangeType type);
51 NotifyAll(deviceInfo, DeviceChangeType::DEVICE_ONLINE); in OnDeviceOnline()
59 NotifyAll(deviceInfo, DeviceChangeType::DEVICE_OFFLINE); in OnDeviceOffline()
88 void DMStateCallback::NotifyAll(const DmDeviceInfo &deviceInfo, DeviceChangeType type) in NotifyAll()
H A Dprocess_communicator_impl.cpp179 void ProcessCommunicatorImpl::OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type)… in OnDeviceChanged()
190 onDeviceChangeHandler_(devInfo, (type == DeviceChangeType::DEVICE_ONLINE)); in OnDeviceChanged()
H A Dsoftbus_adapter_standard.cpp104 void SoftBusAdapter::NotifyAll(const DeviceInfo &deviceInfo, const DeviceChangeType &type) in NotifyAll()
136 device->OnDeviceChanged(di, DeviceChangeType::DEVICE_OFFLINE); in NotifyAll()
247 void SoftBusAdapter::UpdateRelationship(const std::string &networkId, const DeviceChangeType &type) in UpdateRelationship()
252 case DeviceChangeType::DEVICE_OFFLINE: { in UpdateRelationship()
259 case DeviceChangeType::DEVICE_ONLINE: { in UpdateRelationship()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddevice_manager_adapter.cpp259 SaveDeviceInfo(dvInfo, DeviceChangeType::DEVICE_ONLINE); in Online()
267 item->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_OFFLINE); in Online()
268 item->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_ONLINE); in Online()
276 item->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_ONLINE); in Online()
284 item->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_ONLINE); in Online()
326 SaveDeviceInfo(dvInfo, DeviceChangeType::DEVICE_OFFLINE); in Offline()
330 value->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_OFFLINE); in Offline()
362 value->OnDeviceChanged(dvInfo, DeviceChangeType::DEVICE_ONREADY); in OnReady()
397 void DeviceManagerAdapter::SaveDeviceInfo(const DeviceInfo &dvInfo, const DeviceChangeType &type) in SaveDeviceInfo()
403 case DeviceChangeType::DEVICE_ONLINE: { in SaveDeviceInfo()
[all …]
H A Dprocess_communicator_impl.cpp213 void ProcessCommunicatorImpl::OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type)… in OnDeviceChanged()
215 if (type == DeviceChangeType::DEVICE_ONREADY || info.uuid == DmAdapter::CLOUD_DEVICE_UUID) { in OnDeviceChanged()
225 onDeviceChangeHandler_(devInfo, (type == DeviceChangeType::DEVICE_ONLINE)); in OnDeviceChanged()
H A Dsoftbus_adapter.h86 const AppDistributedKv::DeviceChangeType &type) const override;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/
H A Dsecurity.cpp137 const AppDistributedKv::DeviceChangeType &type) const in OnDeviceChanged()
150 case AppDistributedKv::DeviceChangeType::DEVICE_OFFLINE: in OnDeviceChanged()
154 case AppDistributedKv::DeviceChangeType::DEVICE_ONLINE: in OnDeviceChanged()
H A Dsecurity.h57 const AppDistributedKv::DeviceChangeType &type) const override;
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/
H A Dsoftbus_adapter.h45 void NotifyAll(const DeviceInfo &deviceInfo, const DeviceChangeType &type);
70 void UpdateRelationship(const std::string &networkId, const DeviceChangeType &type);
H A Dapp_device_status_change_listener.h31 …KVSTORE_API virtual void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) con…
H A Dapp_types.h47 enum class DeviceChangeType { enum
H A Dprocess_communicator_impl.h55 void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) const override;
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/
H A Dapp_device_change_listener.h30 …API_EXPORT virtual void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) cons…
H A Dcommu_types.h66 enum class API_EXPORT DeviceChangeType { enum
H A Dprocess_communicator_impl.h59 void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) const override;
H A Ddevice_manager_adapter.h92 … void SaveDeviceInfo(const DeviceInfo &deviceInfo, const AppDistributedKv::DeviceChangeType &type);
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/include/
H A Dmock_app_device_change_listener.h31 void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) const override in OnDeviceChanged()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/client/src/
H A Daudio_policy_manager_listener_stub.cpp60 devChange.type = static_cast<DeviceChangeType>(type); in ReadAudioDeviceChangeData()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/
H A Daudio_policy_server_handler.cpp166 …ntContextObj->deviceChangeAction.type = isConnected ? DeviceChangeType::CONNECT : DeviceChangeType in SendDeviceChangedCallback()
195 …ntContextObj->deviceChangeAction.type = isConnected ? DeviceChangeType::CONNECT : DeviceChangeType in SendAvailableDeviceChange()
/ohos5.0/foundation/multimedia/av_session/services/session/server/test/fuzztest/avsessionservice_fuzzer/
H A Davsessionservice_fuzzer.cpp599 deviceChange.type = static_cast<DeviceChangeType>(0); in HandleDeviceChange001()
612 deviceChange.type = static_cast<DeviceChangeType>(0); in HandleDeviceChange002()

12