Home
last modified time | relevance | path

Searched refs:DistributedHardware (Results 1 - 25 of 2046) sorted by relevance

12345678910>>...82

/foundation/ability/dmsfwk/services/dtbschedmgr/include/adapter/
H A 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::DevTrustChangeCallback> devTrustChangeCallback_;
77 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_;
78 class DeviceInitCallBack : public DistributedHardware::DmInitCallback {
82 class DmsDeviceStateCallback : public DistributedHardware::DeviceStateCallback {
83 void OnDeviceOnline(const DistributedHardware
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/include/devicemanager/
H A Ddp_device_manager.h57 std::shared_ptr<DistributedHardware::DmInitCallback> GetInitCallback();
58 std::shared_ptr<DistributedHardware::DeviceStateCallback> GetStateCallback();
59 std::shared_ptr<DistributedHardware::DevTrustChangeCallback> GetDevTrustChangeCallback();
77 std::shared_ptr<DistributedHardware::DeviceStateCallback> stateCallback_;
78 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_;
81 std::shared_ptr<DistributedHardware::DevTrustChangeCallback> devTrustChangeCallback_;
83 class DeviceInitCallBack : public DistributedHardware::DmInitCallback {
87 class DpDeviceStateCallback : public DistributedHardware::DeviceStateCallback {
88 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
89 void OnDeviceOffline(const DistributedHardware
[all...]
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/
H A Ddistributed_input_sourcemanager_test.h45 namespace DistributedHardware { namespace
55 OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
63 OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub {
71 OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
79 OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
87 : public OHOS::DistributedHardware::DistributedInput::StartStopDInputsCallbackStub {
94 class TestRegisterDInputCb : public OHOS::DistributedHardware::DistributedInput::RegisterDInputCallbackStub {
101 class TestUnregisterDInputCb : public OHOS::DistributedHardware::DistributedInput::UnregisterDInputCallbackStub {
108 class TestAddWhiteListInfosCb : public OHOS::DistributedHardware::DistributedInput::AddWhiteListInfosCallbackStub {
115 class TestDelWhiteListInfosCb : public OHOS::DistributedHardware
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Ddevice_init_callback.h28 class DeviceInitCallBack : public DistributedHardware::DmInitCallback {
37 class DeviceStatusCallbackImpl : public DistributedHardware::DeviceStatusCallback {
41 void OnDeviceChanged(const DistributedHardware::DmDeviceBasicInfo &dmDeviceBasicInfo) override;
42 void OnDeviceOnline(const DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override {};
43 void OnDeviceOffline(const DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override {};
44 void OnDeviceReady(const DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override {};
/foundation/deviceprofile/device_info_manager/services/core/include/dm_adapter/
H A Ddm_adapter.h38 std::shared_ptr<DistributedHardware::DeviceStateCallback> deviceStateCallback_;
39 class DpDeviceStateCallback : public DistributedHardware::DeviceStateCallback {
40 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
41 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
42 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
43 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
/foundation/CastEngine/castengine_wifi_display/services/interaction/device_kit/
H A Ddm_kit.cpp22 OHOS::DistributedHardware::DmDeviceInfo DmKit::localDeviceInfo_ = {};
23 std::vector<OHOS::DistributedHardware::DmDeviceInfo> DmKit::trustedDeviceInfos_ = {};
35 int32_t ret = OHOS::DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, callback); in InitDeviceManager()
43 OHOS::DistributedHardware::DmDeviceInfo &DmKit::GetLocalDevicesInfo() in GetLocalDevicesInfo()
51 int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo_); in GetLocalDevicesInfo()
57 std::vector<OHOS::DistributedHardware::DmDeviceInfo> &DmKit::GetTrustedDevicesInfo() in GetTrustedDevicesInfo()
66 DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", trustedDeviceInfos_); in GetTrustedDevicesInfo()
H A Ddm_kit.h27 class DmKitInitDMCallback : public OHOS::DistributedHardware::DmInitCallback {
39 static std::vector<OHOS::DistributedHardware::DmDeviceInfo> &GetTrustedDevicesInfo();
41 static OHOS::DistributedHardware::DmDeviceInfo &GetLocalDevicesInfo();
45 static std::vector<OHOS::DistributedHardware::DmDeviceInfo> trustedDeviceInfos_;
47 static OHOS::DistributedHardware::DmDeviceInfo localDeviceInfo_;
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/clientunittest/
H A Ddistributed_input_client_test.h39 namespace DistributedHardware { namespace
48 class TestRegisterDInputCallback : public OHOS::DistributedHardware::RegisterCallback {
56 class TestUnregisterDInputCallback : public OHOS::DistributedHardware::UnregisterCallback {
65 OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
73 OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub {
81 OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
89 OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
97 OHOS::DistributedHardware::DistributedInput::StartStopDInputsCallbackStub {
105 OHOS::DistributedHardware::DistributedInput::InputNodeListenerStub {
117 OHOS::DistributedHardware
[all...]
/foundation/deviceprofile/device_info_manager/services/core/src/dm_adapter/
H A Ddm_adapter.cpp38 errCode = DistributedHardware::DeviceManager::GetInstance() in Init()
52 errCode = DistributedHardware::DeviceManager::GetInstance().UnRegisterDevStateCallback(DP_PKG_NAME); in UnInit()
67 void DMAdapter::DpDeviceStateCallback::OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceOnline()
72 void DMAdapter::DpDeviceStateCallback::OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceOffline()
77 void DMAdapter::DpDeviceStateCallback::OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceChanged()
82 void DMAdapter::DpDeviceStateCallback::OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) in OnDeviceReady()
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/test/unittest/
H A Ddistributed_input_inner_test.h43 namespace DistributedHardware { namespace
55 OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
63 OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub {
71 OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
79 OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
87 OHOS::DistributedHardware::DistributedInput::StartStopDInputsCallbackStub {
95 OHOS::DistributedHardware::DistributedInput::InputNodeListenerStub {
107 OHOS::DistributedHardware::DistributedInput::SimulationEventListenerStub {
115 OHOS::DistributedHardware::DistributedInput::RegisterSessionStateCallbackStub {
123 } // namespace DistributedHardware
[all...]
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/addwhitelistinfoscallbackunittest/
H A Dadd_white_list_infos_call_back_test.h47 namespace DistributedHardware { namespace
57 OHOS::DistributedHardware::DistributedInput::AddWhiteListInfosCallbackStub {
67 OHOS::DistributedHardware::DistributedInput::GetSinkScreenInfosCallbackStub {
76 OHOS::DistributedHardware::DistributedInput::InputNodeListenerStub {
92 OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
102 OHOS::DistributedHardware::DistributedInput::RegisterDInputCallbackStub {
113 OHOS::DistributedHardware::DistributedInput::SharingDhIdListenerStub {
123 OHOS::DistributedHardware::DistributedInput::SimulationEventListenerStub {
134 OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
145 OHOS::DistributedHardware
[all...]
/foundation/distributedhardware/device_manager/interfaces/kits/js/include/
H A Dnative_devicemanager_js.h68 OHOS::DistributedHardware::DmDeviceInfo deviceInfo;
70 // OHOS::DistributedHardware::DmFilterOptions filter;
85 OHOS::DistributedHardware::DmDeviceInfo deviceInfo;
100 std::vector<OHOS::DistributedHardware::DmDeviceInfo> devList;
102 // OHOS::DistributedHardware::DmFilterOptions filter;
124 OHOS::DistributedHardware::DmDeviceInfo deviceInfo_;
127 OHOS::DistributedHardware::DmDeviceInfo deviceInfo) in DmNapiStateJsCallback()
163 class DmNapiInitCallback : public OHOS::DistributedHardware::DmInitCallback {
176 class DmNapiDeviceStateCallback : public OHOS::DistributedHardware::DeviceStateCallback {
182 void OnDeviceOnline(const OHOS::DistributedHardware
[all...]
/foundation/multimedia/media_library/frameworks/services/media_distributed/include/device_manage/
H A 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 GetAllNetworkId(std::vector<OHOS::DistributedHardware::DmDeviceInfo> &deviceList);
76 void GetMediaLibraryDeviceInfo(const OHOS::DistributedHardware::DmDeviceInfo &dmInfo,
83 void DevOnlineProcess(const DistributedHardware::DmDeviceInfo &devInfo);
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/test/fuzztest/distributedhardwarefwkkit_fuzzer/
H A Ddistributedhardwarefwkkit_fuzzer.cpp32 namespace DistributedHardware { namespace
172 } // namespace DistributedHardware
179 OHOS::DistributedHardware::RegisterPublisherListenerFuzzTest(data, size); in LLVMFuzzerTestOneInput()
180 OHOS::DistributedHardware::PublishMessageFuzzTest(data, size); in LLVMFuzzerTestOneInput()
181 OHOS::DistributedHardware::UnregisterPublisherListenerFuzzTest(data, size); in LLVMFuzzerTestOneInput()
182 OHOS::DistributedHardware::InitializeAVCenterFuzzTest(data, size); in LLVMFuzzerTestOneInput()
183 OHOS::DistributedHardware::ReleaseAVCenterFuzzTest(data, size); in LLVMFuzzerTestOneInput()
184 OHOS::DistributedHardware::CreateControlChannelFuzzTest(data, size); in LLVMFuzzerTestOneInput()
185 OHOS::DistributedHardware::NotifyAVCenterFuzzTest(data, size); in LLVMFuzzerTestOneInput()
186 OHOS::DistributedHardware in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_input/test/fuzztest/distributedinputkit_fuzzer/
H A Ddistributed_input_kit_fuzzer.cpp39 namespace DistributedHardware { namespace
41 public OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
53 public OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub {
65 public OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
76 public OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
88 class TestIStartStopDInputsCallback : public OHOS::DistributedHardware
186 } // namespace DistributedHardware
193 OHOS::DistributedHardware::PrepareInputFuzzTest(data, size); in LLVMFuzzerTestOneInput()
194 OHOS::DistributedHardware::StartRemoteInputFuzzTest(data, size); in LLVMFuzzerTestOneInput()
195 OHOS::DistributedHardware in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/fuzztest/utils_fuzzer/
H A 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/multimodalinput/input/intention/adapters/ddm_adapter/include/
H A Dddm_adapter_impl.h44 int32_t GetTrustedDeviceList(std::vector<DistributedHardware::DmDeviceInfo> &deviceList);
70 class DmInitCb final : public DistributedHardware::DmInitCallback {
79 class DmBoardStateCb final : public DistributedHardware::DeviceStateCallback {
85 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override
93 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override
101 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override {}
102 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override {}
/foundation/systemabilitymgr/samgr/services/samgr/native/include/collect/
H A Ddevice_networking_collect.h27 class DeviceStateCallback : public DistributedHardware::DeviceStateCallback {
31 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo& deviceInfo) override;
32 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo& deviceInfo) override;
33 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo& deviceInfo) override;
34 void OnDeviceReady(const DistributedHardware::DmDeviceInfo& deviceInfo) override;
45 class DeviceInitCallBack : public DistributedHardware::DmInitCallback {
67 std::shared_ptr<DistributedHardware::DmInitCallback> initCallback_;
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/device/
H A Ddevice_manager_agent.h55 class DeviceManagerAgent final : public DistributedHardware::DmInitCallback,
56 public DistributedHardware::DeviceStateCallback,
74 int32_t IsSupportedDevice(const DistributedHardware::DmDeviceInfo &deviceInfo);
76 void OnDeviceReady(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
77 void OnDeviceOffline(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
78 void OnDeviceChanged(const DistributedHardware::DmDeviceInfo &deviceInfo) override;
79 void OnDeviceOnline(const DistributedHardware::DmDeviceInfo &deviceInfo) override {}
81 void ClearCount(const DistributedHardware::DmDeviceInfo &deviceInfo);
82 int32_t OnDeviceP2POnline(const DistributedHardware::DmDeviceInfo &deviceInfo);
83 int32_t OnDeviceP2POffline(const DistributedHardware
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/dhtransport_fuzzer/
H A Ddhtransport_fuzzer.cpp32 namespace DistributedHardware { namespace
164 OHOS::DistributedHardware::DhTransportOnBytesReceivedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
165 OHOS::DistributedHardware::DhTransportCreateClientSocketFuzzTest(data, size); in LLVMFuzzerTestOneInput()
166 OHOS::DistributedHardware::DhTransportIsDeviceSessionOpenedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
167 OHOS::DistributedHardware::DhTransportClearDeviceSocketOpenedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
168 OHOS::DistributedHardware::DhTransportStartSocketFuzzTest(data, size); in LLVMFuzzerTestOneInput()
169 OHOS::DistributedHardware::DhTransportStopSocketFuzzTest(data, size); in LLVMFuzzerTestOneInput()
170 OHOS::DistributedHardware::DhTransportSendFuzzTest(data, size); in LLVMFuzzerTestOneInput()
171 OHOS::DistributedHardware::DhTransportOnSocketOpenedFuzzTest(data, size); in LLVMFuzzerTestOneInput()
172 OHOS::DistributedHardware in LLVMFuzzerTestOneInput()
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A 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/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/
H A Dmetainfomgr_fuzzer.cpp27 namespace DistributedHardware { namespace
79 OHOS::DistributedHardware::SyncMetaInfoFromDBFuzzTest(data, size); in LLVMFuzzerTestOneInput()
80 OHOS::DistributedHardware::GetDataByKeyPrefixFuzzTest(data, size); in LLVMFuzzerTestOneInput()
81 OHOS::DistributedHardware::RemoveMetaInfoByKeyFuzzTest(data, size); in LLVMFuzzerTestOneInput()
82 OHOS::DistributedHardware::GetMetaCapInfoFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/dinputsourcecallbackunittest/
H A Ddinput_source_callback_unittest.h39 namespace DistributedHardware { namespace
49 OHOS::DistributedHardware::DistributedInput::DistributedInputSourceStub {
112 OHOS::DistributedHardware::DistributedInput::RegisterDInputCallbackStub {
120 OHOS::DistributedHardware::DistributedInput::UnregisterDInputCallbackStub {
128 OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
136 OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub {
144 OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
152 OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
160 : public OHOS::DistributedHardware::DistributedInput::StartStopDInputsCallbackStub {
168 OHOS::DistributedHardware
[all...]
/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/
H A Dnative_devicemanager_js.h54 std::vector<OHOS::DistributedHardware::DmDeviceBasicInfo> devList;
56 // OHOS::DistributedHardware::DmFilterOptions filter;
78 OHOS::DistributedHardware::DmDeviceBasicInfo deviceBasicInfo_;
81 OHOS::DistributedHardware::DmDeviceBasicInfo deviceBasicInfo_) in DmNapiStatusJsCallback()
108 class DmNapiInitCallback : public OHOS::DistributedHardware::DmInitCallback {
121 class DmNapiDeviceStatusCallback : public OHOS::DistributedHardware::DeviceStatusCallback {
127 void OnDeviceOnline(const OHOS::DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override;
128 void OnDeviceReady(const OHOS::DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override;
129 void OnDeviceOffline(const OHOS::DistributedHardware::DmDeviceBasicInfo &deviceBasicInfo) override;
130 void OnDeviceChanged(const OHOS::DistributedHardware
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/
H A Ddistributedfwkservices_fuzzer.cpp29 namespace DistributedHardware { namespace
129 OHOS::DistributedHardware::FwkServicesQueryLocalSysSpecFuzzTest(data, size); in LLVMFuzzerTestOneInput()
130 OHOS::DistributedHardware::FwkServicesQueryDhSysSpecFuzzTest(data, size); in LLVMFuzzerTestOneInput()
131 OHOS::DistributedHardware::FwkServicesPauseDistributedHardwareFuzzTest(data, size); in LLVMFuzzerTestOneInput()
132 OHOS::DistributedHardware::FwkServicesResumeDistributedHardwareFuzzTest(data, size); in LLVMFuzzerTestOneInput()
133 OHOS::DistributedHardware::FwkServicesStopDistributedHardwareFuzzTest(data, size); in LLVMFuzzerTestOneInput()

Completed in 12 milliseconds

12345678910>>...82