/foundation/ability/dmsfwk/services/base/include/adapter/ |
D | dnetwork_adapter.h | 48 virtual void OnDeviceOnline(const DistributedHardware::DmDeviceInfo& deviceInfo) = 0; 49 virtual void OnDeviceOffline(const DistributedHardware::DmDeviceInfo& deviceInfo) = 0; 50 virtual void OnDeviceInfoChanged(const DistributedHardware::DmDeviceInfo& deviceInfo) = 0; 63 bool GetLocalBasicInfo(DistributedHardware::DmDeviceInfo& dmDeviceInfo); 75 std::shared_ptr<DistributedHardware::DeviceStateCallback> stateCallback_; 76 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_; 77 class DeviceInitCallBack : public DistributedHardware::DmInitCallback { 81 class DmsDeviceStateCallback : public DistributedHardware::DeviceStateCallback { 82 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo& deviceInfo) override; 83 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo& deviceInfo) override; [all …]
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
D | bms_device_manager.h | 40 bool GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceList); 44 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_; 45 std::shared_ptr<DistributedHardware::DeviceStateCallback> stateCallback_; 47 class DeviceInitCallBack : public DistributedHardware::DmInitCallback { 51 class BmsDeviceStateCallback : public DistributedHardware::DeviceStateCallback { 52 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 53 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 54 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 55 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
D | bms_device_manager.cpp | 46 … DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(BUNDLE_NAME, initCallback_); in InitDeviceManager() 53 …DistributedHardware::DeviceManager::GetInstance().RegisterDevStateCallback(BUNDLE_NAME, "", stateC… in InitDeviceManager() 68 std::vector<DistributedHardware::DmDeviceInfo> deviceList; in OnAddSystemAbility() 83 std::vector<DistributedHardware::DmDeviceInfo> deviceList; in OnRemoveSystemAbility() 96 std::vector<DistributedHardware::DmDeviceInfo> deviceList; in GetAllDeviceList() 106 DistributedHardware::DmDeviceInfo dmDeviceInfo; in GetAllDeviceList() 108 … DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(BUNDLE_NAME, dmDeviceInfo); in GetAllDeviceList() 117 bool BmsDeviceManager::GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceL… in GetTrustedDeviceList() 123 …DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(BUNDLE_NAME, "", deviceList… in GetTrustedDeviceList() 156 …return DistributedHardware::DeviceManager::GetInstance().GetUdidByNetworkId(BUNDLE_NAME, netWorkId… in GetUdidByNetworkId() [all …]
|
/foundation/deviceprofile/device_info_manager/services/core/include/devicemanager/ |
D | dp_device_manager.h | 65 std::shared_ptr<DistributedHardware::DeviceStateCallback> stateCallback_; 66 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_; 70 class DeviceInitCallBack : public DistributedHardware::DmInitCallback { 74 class DpDeviceStateCallback : public DistributedHardware::DeviceStateCallback { 75 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 76 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 77 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 78 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
|
/foundation/distributedhardware/device_manager/interfaces/kits/js_mini/include/ |
D | native_devicemanager_js.h | 60 class DmJSIInitCallback : public OHOS::DistributedHardware::DmInitCallback { 70 class DmJSIDeviceStateCallback : public OHOS::DistributedHardware::DeviceStateCallback { 74 void OnDeviceOnline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 75 void OnDeviceReady(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 76 void OnDeviceOffline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 77 void OnDeviceChanged(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 83 class DmJSIDiscoverCallback : public OHOS::DistributedHardware::DiscoveryCallback { 87 …void OnDeviceFound(uint16_t subscribeId, const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo… 100 class DmJSIAuthenticateCallback : public OHOS::DistributedHardware::AuthenticateCallback { 110 class DmJSICheckAuthCallback : public OHOS::DistributedHardware::VerifyAuthCallback { [all …]
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/distributed_media_library/device_manage/ |
D | medialibrary_device.h | 40 class MediaLibraryDevice : public DistributedHardware::DeviceStateCallback, 41 public DistributedHardware::DmInitCallback, 52 void OnDeviceOnline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 53 void OnDeviceReady(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 54 void OnDeviceOffline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 55 void OnDeviceChanged(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 58 void GetAllDeviceId(std::vector<OHOS::DistributedHardware::DmDeviceInfo> &deviceList); 74 void GetMediaLibraryDeviceInfo(const OHOS::DistributedHardware::DmDeviceInfo &dmInfo, 81 void DevOnlineProcess(const DistributedHardware::DmDeviceInfo &devInfo);
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/eventbus/ |
D | event_bus_test.h | 28 namespace DistributedHardware { 47 class FakeEvent : public OHOS::DistributedHardware::Event { 50 FakeEvent(OHOS::DistributedHardware::EventSender &sender, FakeObject &object) in TYPEINDENT() 53 FakeEvent(OHOS::DistributedHardware::EventSender &sender, FakeObject &object, int32_t action) in FakeEvent() 72 class FakeListener : public OHOS::DistributedHardware::EventBusHandler<FakeEvent> { 84 class FakeSender : public OHOS::DistributedHardware::EventSender {
|
/foundation/multimodalinput/input/service/input_device_cooperate/include/ |
D | distributed_input_adapter.h | 49 const DistributedHardware::DistributedInput::BusinessEvent &event); 94 …class StartDInputCallback final : public DistributedHardware::DistributedInput::StartDInputCallbac… 99 …class StopDInputCallback final : public DistributedHardware::DistributedInput::StopDInputCallbackS… 105 public DistributedHardware::DistributedInput::StartStopDInputsCallbackStub { 111 public DistributedHardware::DistributedInput::StartStopDInputsCallbackStub { 117 public DistributedHardware::DistributedInput::StartStopDInputsCallbackStub { 123 public DistributedHardware::DistributedInput::StartStopDInputsCallbackStub { 129 public DistributedHardware::DistributedInput::PrepareDInputCallbackStub { 135 public DistributedHardware::DistributedInput::UnprepareDInputCallbackStub { 141 public DistributedHardware::DistributedInput::PrepareDInputCallbackStub { [all …]
|
D | input_device_cooperate_sm.h | 53 class DeviceInitCallBack : public DistributedHardware::DmInitCallback { 57 class MmiDeviceStateCallback : public DistributedHardware::DeviceStateCallback { 58 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 59 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 60 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 61 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 111 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_ { nullptr }; 112 std::shared_ptr<DistributedHardware::DeviceStateCallback> stateCallback_ { nullptr }; 121 #define DisHardware DistributedHardware::DeviceManager::GetInstance()
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/ |
D | device_manager_agent.h | 51 class DeviceManagerAgent final : public DistributedHardware::DmInitCallback, 52 public DistributedHardware::DeviceStateCallback, 65 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 66 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 67 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override; 68 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override {} in OnDeviceReady()
|
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/ |
D | native_devicemanager_js.h | 53 OHOS::DistributedHardware::DmDeviceInfo deviceInfo; 69 std::vector<OHOS::DistributedHardware::DmDeviceInfo> devList; 93 OHOS::DistributedHardware::DmDeviceInfo deviceInfo_; 96 OHOS::DistributedHardware::DmDeviceInfo deviceInfo) in DmNapiStateJsCallback() 133 class DmNapiInitCallback : public OHOS::DistributedHardware::DmInitCallback { 148 class DmNapiDeviceStateCallback : public OHOS::DistributedHardware::DeviceStateCallback { 154 void OnDeviceOnline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 155 void OnDeviceReady(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 156 void OnDeviceOffline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; 157 void OnDeviceChanged(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) override; [all …]
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/fuzztest/utils_fuzzer/ |
D | utils_fuzzer.cpp | 26 namespace DistributedHardware { namespace 65 OHOS::DistributedHardware::GetAnonyStringTest(data, size); in LLVMFuzzerTestOneInput() 66 OHOS::DistributedHardware::GetAnonyInt32Test(data, size); in LLVMFuzzerTestOneInput() 67 OHOS::DistributedHardware::UtilsToolTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/ability/dmsfwk/services/base/include/ |
D | distributed_device_node_listener.h | 30 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo& deviceInfo) override; 31 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo& deviceInfo) override; 32 void OnDeviceInfoChanged(const DistributedHardware::DmDeviceInfo& deviceInfo) override;
|
/foundation/ability/dmsfwk/services/base/src/ |
D | distributed_device_node_listener.cpp | 30 void DistributedDeviceNodeListener::OnDeviceOnline(const DistributedHardware::DmDeviceInfo& deviceI… in OnDeviceOnline() 37 void DistributedDeviceNodeListener::OnDeviceOffline(const DistributedHardware::DmDeviceInfo& device… in OnDeviceOffline() 42 void DistributedDeviceNodeListener::OnDeviceInfoChanged(const DistributedHardware::DmDeviceInfo& de… in OnDeviceInfoChanged()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ipc/standard/ |
D | ipc_client_stub.h | 26 namespace OHOS::DistributedHardware { class IpcReq; } 27 namespace OHOS::DistributedHardware { class IpcRsp; } 30 namespace DistributedHardware {
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/ |
D | device_info.cpp | 25 DeviceInfo::DeviceInfo(const DistributedHardware::DmDeviceInfo &nodeInfo) in DeviceInfo() 30 auto &deviceManager = DistributedHardware::DeviceManager::GetInstance(); in DeviceInfo() 34 DeviceInfo &DeviceInfo::operator=(const DistributedHardware::DmDeviceInfo &nodeInfo) in operator =()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ipc/ |
D | ipc_client_proxy.h | 23 namespace OHOS::DistributedHardware { class IpcReq; } 24 namespace OHOS::DistributedHardware { class IpcRsp; } 27 namespace DistributedHardware {
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/ |
D | mock_dcamera_sink_data_process.h | 36 namespace DistributedHardware { 38 public DistributedHardware::EventBusHandler<DCameraPhotoOutputEvent>, 39 public DistributedHardware::EventBusHandler<DCameraVideoOutputEvent>,
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/ |
D | ipc_client_proxy.cpp | 20 namespace OHOS::DistributedHardware { class IpcReq; } namespace 21 namespace OHOS::DistributedHardware { class IpcRsp; } namespace 24 namespace DistributedHardware { namespace
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/distributed_media_library/device_manage/ |
D | medialibrary_device.cpp | 86 std::vector<OHOS::DistributedHardware::DmDeviceInfo> &deviceList) in GetAllDeviceId() 89 auto &deviceManager = OHOS::DistributedHardware::DeviceManager::GetInstance(); in GetAllDeviceId() 186 void MediaLibraryDevice::DevOnlineProcess(const DistributedHardware::DmDeviceInfo &devInfo) in DevOnlineProcess() 211 void MediaLibraryDevice::OnDeviceOnline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceOnline() 216 void MediaLibraryDevice::OnDeviceOffline(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceOffline() 244 void MediaLibraryDevice::OnDeviceChanged(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceChanged() 249 void MediaLibraryDevice::OnDeviceReady(const OHOS::DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceReady() 304 std::vector<OHOS::DistributedHardware::DmDeviceInfo> deviceList; in InitDeviceRdbStore() 355 auto &deviceManager = DistributedHardware::DeviceManager::GetInstance(); in GetUdidByNetworkId() 357 OHOS::DistributedHardware::DmDeviceInfo deviceInfo; in GetUdidByNetworkId() [all …]
|
/foundation/distributedhardware/device_manager/test/fuzztest/softbussession_fuzzer/ |
D | softbus_session_fuzzer.cpp | 25 namespace DistributedHardware { namespace 43 OHOS::DistributedHardware::SoftBusSessionFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/distributedhardware/device_manager/test/fuzztest/softbusconnectorstatic_fuzzer/ |
D | softbus_connector_static_fuzzer.cpp | 28 namespace DistributedHardware { namespace 47 OHOS::DistributedHardware::SoftBusConnectorStaticFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/ |
D | ipc_client_stub.cpp | 24 namespace OHOS::DistributedHardware { class IpcReq; } namespace 25 namespace OHOS::DistributedHardware { class IpcRsp; } namespace 28 namespace DistributedHardware { namespace
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/fuzztest/sinkhandlerinitsink_fuzzer/ |
D | sinkhandlerinitsink_fuzzer.cpp | 28 namespace DistributedHardware { namespace 45 OHOS::DistributedHardware::SinkHandlerInitSinkFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/ |
D | sourcehandlerinitsource_fuzzer.cpp | 25 namespace DistributedHardware { namespace 42 OHOS::DistributedHardware::SourceHandlerInitSourceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|