Home
last modified time | relevance | path

Searched refs:DistributedHardware (Results 1 – 25 of 1023) sorted by relevance

12345678910>>...41

/foundation/ability/dmsfwk/services/base/include/adapter/
Ddnetwork_adapter.h48 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/
Dbms_device_manager.h40 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/
Dbms_device_manager.cpp46DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(BUNDLE_NAME, initCallback_); in InitDeviceManager()
53DistributedHardware::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()
108DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(BUNDLE_NAME, dmDeviceInfo); in GetAllDeviceList()
117 bool BmsDeviceManager::GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceL… in GetTrustedDeviceList()
123DistributedHardware::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/
Ddp_device_manager.h65 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/
Dnative_devicemanager_js.h60 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/
Dmedialibrary_device.h40 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/
Devent_bus_test.h28 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/
Ddistributed_input_adapter.h49 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 …]
Dinput_device_cooperate_sm.h53 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/
Ddevice_manager_agent.h51 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/
Dnative_devicemanager_js.h53 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/
Dutils_fuzzer.cpp26 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/
Ddistributed_device_node_listener.h30 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/
Ddistributed_device_node_listener.cpp30 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/
Dipc_client_stub.h26 namespace OHOS::DistributedHardware { class IpcReq; }
27 namespace OHOS::DistributedHardware { class IpcRsp; }
30 namespace DistributedHardware {
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/device/
Ddevice_info.cpp25 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/
Dipc_client_proxy.h23 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/
Dmock_dcamera_sink_data_process.h36 namespace DistributedHardware {
38 public DistributedHardware::EventBusHandler<DCameraPhotoOutputEvent>,
39 public DistributedHardware::EventBusHandler<DCameraVideoOutputEvent>,
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/
Dipc_client_proxy.cpp20 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/
Dmedialibrary_device.cpp86 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/
Dsoftbus_session_fuzzer.cpp25 namespace DistributedHardware { namespace
43 OHOS::DistributedHardware::SoftBusSessionFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/device_manager/test/fuzztest/softbusconnectorstatic_fuzzer/
Dsoftbus_connector_static_fuzzer.cpp28 namespace DistributedHardware { namespace
47 OHOS::DistributedHardware::SoftBusConnectorStaticFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/
Dipc_client_stub.cpp24 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/
Dsinkhandlerinitsink_fuzzer.cpp28 namespace DistributedHardware { namespace
45 OHOS::DistributedHardware::SinkHandlerInitSinkFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/fuzztest/sourcehandlerinitsource_fuzzer/
Dsourcehandlerinitsource_fuzzer.cpp25 namespace DistributedHardware { namespace
42 OHOS::DistributedHardware::SourceHandlerInitSourceFuzzTest(data, size); in LLVMFuzzerTestOneInput()

12345678910>>...41