/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/src/ |
H A D | communicator_test.cpp | 180 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 D | kvstore_device_listener.cpp | 24 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 D | kvstore_meta_manager.h | 47 const AppDistributedKv::DeviceChangeType &type) const override; 115 const AppDistributedKv::DeviceChangeType &type) const override;
|
H A D | kvstore_meta_manager.cpp | 404 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 D | kvstore_device_listener.h | 27 …const AppDistributedKv::DeviceInfo &info, const AppDistributedKv::DeviceChangeType &type) const ov…
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | dev_manager.cpp | 43 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 D | process_communicator_impl.cpp | 179 void ProcessCommunicatorImpl::OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type)… in OnDeviceChanged() 190 onDeviceChangeHandler_(devInfo, (type == DeviceChangeType::DEVICE_ONLINE)); in OnDeviceChanged()
|
H A D | softbus_adapter_standard.cpp | 104 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 D | device_manager_adapter.cpp | 259 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 D | process_communicator_impl.cpp | 213 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 D | softbus_adapter.h | 86 const AppDistributedKv::DeviceChangeType &type) const override;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/ |
H A D | security.cpp | 137 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 D | security.h | 57 const AppDistributedKv::DeviceChangeType &type) const override;
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/ |
H A D | softbus_adapter.h | 45 void NotifyAll(const DeviceInfo &deviceInfo, const DeviceChangeType &type); 70 void UpdateRelationship(const std::string &networkId, const DeviceChangeType &type);
|
H A D | app_device_status_change_listener.h | 31 …KVSTORE_API virtual void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) con…
|
H A D | app_types.h | 47 enum class DeviceChangeType { enum
|
H A D | process_communicator_impl.h | 55 void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) const override;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/include/communicator/ |
H A D | app_device_change_listener.h | 30 …API_EXPORT virtual void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) cons…
|
H A D | commu_types.h | 66 enum class API_EXPORT DeviceChangeType { enum
|
H A D | process_communicator_impl.h | 59 void OnDeviceChanged(const DeviceInfo &info, const DeviceChangeType &type) const override;
|
H A D | device_manager_adapter.h | 92 … void SaveDeviceInfo(const DeviceInfo &deviceInfo, const AppDistributedKv::DeviceChangeType &type);
|
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/include/ |
H A D | mock_app_device_change_listener.h | 31 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 D | audio_policy_manager_listener_stub.cpp | 60 devChange.type = static_cast<DeviceChangeType>(type); in ReadAudioDeviceChangeData()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_server_handler.cpp | 166 …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 D | avsessionservice_fuzzer.cpp | 599 deviceChange.type = static_cast<DeviceChangeType>(0); in HandleDeviceChange001() 612 deviceChange.type = static_cast<DeviceChangeType>(0); in HandleDeviceChange002()
|