Home
last modified time | relevance | path

Searched refs:dhId (Results 126 - 150 of 448) sorted by relevance

12345678910>>...18

/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesource/include/
H A Ddaudio_source_service.h39 int32_t RegisterDistributedHardware(const std::string &devId, const std::string &dhId, const EnableParam &param,
41 int32_t UnregisterDistributedHardware(const std::string &devId, const std::string &dhId,
43 int32_t ConfigDistributedHardware(const std::string &devId, const std::string &dhId, const std::string &key,
45 void DAudioNotify(const std::string &devId, const std::string &dhId, const int32_t eventType,
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/hidumphelper/
H A Denabled_comps_dump.h33 HidumpCompInfo(std::string networkId, DHType dhType, std::string dhId) in HidumpCompInfo()
34 : networkId_(networkId), dhId_(dhId), dhType_(dhType) {} in HidumpCompInfo()
46 void DumpEnabledComp(const std::string &networkId, const DHType dhType, const std::string &dhId);
47 void DumpDisabledComp(const std::string &networkId, const DHType dhType, const std::string &dhId);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/hidumphelper/enabledcompsdump/src/
H A Denabled_comps_dump_test.cpp45 std::string dhId; in HWTEST_F() local
46 EnabledCompsDump::GetInstance().DumpEnabledComp(networkId, dhType, dhId); in HWTEST_F()
60 std::string dhId; in HWTEST_F() local
61 EnabledCompsDump::GetInstance().DumpDisabledComp(networkId, dhType, dhId); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/pluginlistenerimpl/src/
H A Dmock_hardware_handler.cpp61 int32_t MockHardwareHandler::PluginHardware(const std::string &dhId, const std::string &attr, in PluginHardware() argument
65 listener_->PluginHardware(dhId, attr, subtype); in PluginHardware()
70 int32_t MockHardwareHandler::UnPluginHardware(const std::string &dhId) in UnPluginHardware() argument
73 listener_->UnPluginHardware(dhId); in UnPluginHardware()
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/unittest/screensourcetest/include/
H A Ddscreen_source_common.h52 int32_t OnNotifyRegResult(const std::string &devId, const std::string &dhId, in OnNotifyRegResult() argument
58 int32_t OnNotifyUnregResult(const std::string &devId, const std::string &dhId, in OnNotifyUnregResult() argument
70 int32_t OnRegisterResult(const std::string &uuid, const std::string &dhId, in OnRegisterResult() argument
83 int32_t OnUnregisterResult(const std::string &uuid, const std::string &dhId, in OnUnregisterResult() argument
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/addwhitelistinfoscallbackunittest/
H A Dadd_white_list_infos_call_back_test.cpp104 const std::string &dhId, const int32_t &status) in OnResult()
107 dhId_ = dhId; in OnResult()
111 int32_t AddWhiteListInfosCallbackTest::TestSharingDhIdListenerStub::OnSharing(const std::string &dhId) in OnSharing() argument
113 dhId_ = dhId; in OnSharing()
117 int32_t AddWhiteListInfosCallbackTest::TestSharingDhIdListenerStub::OnNoSharing(const std::string &dhId) in OnNoSharing() argument
119 dhId_ = dhId; in OnNoSharing()
277 std::string dhId = "dhId_test"; in HWTEST_F() local
279 callBackProxy.OnResult(devId, dhId, status); in HWTEST_F()
281 EXPECT_STREQ(dhId.c_str(), ((sptr<TestRegisterDInputCallbackStub> &)callBackStubPtr)->dhId_.c_str()); in HWTEST_F()
289 std::string dhId in HWTEST_F() local
103 OnResult(const std::string &devId, const std::string &dhId, const int32_t &status) OnResult() argument
299 std::string dhId = "dhId_test"; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/src/
H A Ddcamera_sink_handler.cpp135 int32_t DCameraSinkHandler::SubscribeLocalHardware(const std::string& dhId, const std::string& parameters) in SubscribeLocalHardware() argument
137 DHLOGI("dhId: %{public}s", GetAnonyString(dhId).c_str()); in SubscribeLocalHardware()
143 return dCameraSinkSrv->SubscribeLocalHardware(dhId, parameters); in SubscribeLocalHardware()
146 int32_t DCameraSinkHandler::UnsubscribeLocalHardware(const std::string& dhId) in UnsubscribeLocalHardware() argument
148 DHLOGI("dhId: %{public}s", GetAnonyString(dhId).c_str()); in UnsubscribeLocalHardware()
154 return dCameraSinkSrv->UnsubscribeLocalHardware(dhId); in UnsubscribeLocalHardware()
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_sink/src/
H A Ddscreen_sink_handler.cpp146 int32_t DScreenSinkHandler::SubscribeLocalHardware(const std::string &dhId, const std::string &param) in SubscribeLocalHardware() argument
148 DHLOGI("DScreenSinkHandler SubscribeLocalHardware dhId: %{public}s", GetAnonyString(dhId).c_str()); in SubscribeLocalHardware()
155 return dScreenSinkProxy_->SubscribeLocalHardware(dhId, param); in SubscribeLocalHardware()
158 int32_t DScreenSinkHandler::UnsubscribeLocalHardware(const std::string &dhId) in UnsubscribeLocalHardware() argument
160 DHLOGI("DScreenSinkHandler UnsubscribeLocalHardware dhId: %{public}s", GetAnonyString(dhId).c_str()); in UnsubscribeLocalHardware()
167 return dScreenSinkProxy_->UnsubscribeLocalHardware(dhId); in UnsubscribeLocalHardware()
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/include/
H A Ddistributed_input_source_manager.h95 std::string dhId; member
101 return (srcId == node.srcId) && (dhId == node.dhId) && (nodeDesc == node.nodeDesc); in operator ==()
106 return (srcId + dhId + nodeDesc).compare(node.srcId + node.dhId + node.nodeDesc) < 0; in operator <()
115 std::string dhId; member
120 return (devId == inputId.devId) && (dhId == inputId.dhId) && (nodeDesc == inputId.nodeDesc); in operator ==()
136 int32_t RegisterDistributedHardware(const std::string &devId, const std::string &dhId,
139 int32_t UnregisterDistributedHardware(const std::string &devId, const std::string &dhId,
294 std::string dhId; global() member
300 std::string dhId; global() member
[all...]
/foundation/distributedhardware/distributed_input/interfaces/ipc/include/
H A Ddistributed_input_client.h60 int32_t RegisterDistributedHardware(const std::string &devId, const std::string &dhId,
63 int32_t UnregisterDistributedHardware(const std::string &devId, const std::string &dhId,
100 bool IsStartDistributedInput(const std::string &dhId);
125 void OnResult(const std::string &devId, const std::string &dhId, const int32_t &status) override;
132 void OnResult(const std::string &devId, const std::string &dhId, const int32_t &status) override;
153 int32_t OnSharing(const std::string &dhId) override;
154 int32_t OnNoSharing(const std::string &dhId) override;
205 std::string dhId; member
211 std::string dhId; member
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_event_cmd.cpp34 cJSON_AddStringToObject(rootValue, "dhId", dhId_.c_str()); in Marshal()
65 cJSON *dhId = cJSON_GetObjectItemCaseSensitive(rootValue, "dhId"); in Unmarshal() local
67 dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal()
72 dhId_ = dhId->valuestring; in Unmarshal()
H A Ddcamera_info_cmd.cpp35 cJSON_AddStringToObject(rootValue, "dhId", dhId_.c_str()); in Marshal()
69 cJSON *dhId = cJSON_GetObjectItemCaseSensitive(rootValue, "dhId"); in Unmarshal() local
70 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal()
74 dhId_ = dhId->valuestring; in Unmarshal()
H A Ddcamera_metadata_setting_cmd.cpp32 cJSON_AddStringToObject(rootValue, "dhId", dhId_.c_str()); in Marshal()
79 cJSON *dhId = cJSON_GetObjectItemCaseSensitive(rootValue, "dhId"); in Unmarshal() local
80 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal()
84 dhId_ = dhId->valuestring; in Unmarshal()
H A Ddcamera_open_info_cmd.cpp35 cJSON_AddStringToObject(rootValue, "dhId", dhId_.c_str()); in Marshal()
69 cJSON *dhId = cJSON_GetObjectItemCaseSensitive(rootValue, "dhId"); in Unmarshal() local
70 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal()
74 dhId_ = dhId->valuestring; in Unmarshal()
/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesink/src/
H A Ddaudio_sink_service.cpp97 int32_t DAudioSinkService::SubscribeLocalHardware(const std::string &dhId, const std::string &param) in SubscribeLocalHardware() argument
103 int32_t DAudioSinkService::UnsubscribeLocalHardware(const std::string &dhId) in UnsubscribeLocalHardware() argument
109 void DAudioSinkService::DAudioNotify(const std::string &devId, const std::string &dhId, const int32_t eventType, in DAudioNotify() argument
112 DHLOGI("DAudioNotify devId:%{public}s, dhId:%{public}s, eventType:%{public}d.", GetAnonyString(devId).c_str(), in DAudioNotify()
113 dhId.c_str(), eventType); in DAudioNotify()
114 DAudioSinkManager::GetInstance().HandleDAudioNotify(devId, dhId, eventType, eventContent); in DAudioNotify()
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/
H A Ddcamera_protocol_test.cpp47 "dhId": "camrea_0",
58 "dhId": "camrea_0",
65 "dhId": "camrea_0",
72 "dhId": "camrea_0",
79 "dhId": "camrea_0",
/foundation/distributedhardware/distributed_screen/screenhandler/test/unittest/screenhandler/src/
H A Ddscreen_handler_test.cpp48 const std::string dhId = "dhId"; in HWTEST_F() local
52 DScreenHandler::GetInstance().PluginHardware(dhId, attr, subtype); in HWTEST_F()
53 DScreenHandler::GetInstance().UnPluginHardware(dhId); in HWTEST_F()
55 DScreenHandler::GetInstance().PluginHardware(dhId, attr, subtype); in HWTEST_F()
56 DScreenHandler::GetInstance().UnPluginHardware(dhId); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_source_callback/dscreensourcecallbackstub_fuzzer/
H A Ddscreensourcecallbackstub_fuzzer.cpp27 int32_t OnNotifyRegResult(const std::string &devId, const std::string &dhId,
32 int32_t OnNotifyUnregResult(const std::string &devId, const std::string &dhId,
50 std::string dhId(reinterpret_cast<const char*>(data), size); in DscreenSourceCallbackStubFuzzTest()
56 pdata.WriteString(dhId); in DscreenSourceCallbackStubFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Denable_task.cpp38 const std::string &dhId, const DHType dhType) : Task(networkId, uuid, udid, dhId, dhType) in EnableTask()
42 DHLOGD("EnableTask id: %{public}s, networkId: %{public}s, dhId: %{public}s", in EnableTask()
43 GetId().c_str(), GetAnonyString(networkId).c_str(), GetAnonyString(dhId).c_str()); in EnableTask()
62 DHLOGD("DoTaskInner id = %{public}s, uuid = %{public}s, dhId = %{public}s", GetId().c_str(), in DoTaskInner()
74 .dhId = GetDhId(), in DoTaskInner()
87 DHLOGI("enable task %{public}s, id = %{public}s, uuid = %{public}s, dhId = %{public}s", in RegisterHardware()
37 EnableTask(const std::string &networkId, const std::string &uuid, const std::string &udid, const std::string &dhId, const DHType dhType) EnableTask() argument
/foundation/distributedhardware/distributed_input/interfaces/ipc/src/
H A Dsharing_dhid_listener_proxy.cpp34 int32_t SharingDhIdListenerProxy::OnSharing(const std::string &dhId) in OnSharing() argument
50 if (!data.WriteString(dhId)) { in OnSharing()
51 DHLOGE("SharingDhIdListenerProxy write dhId failed"); in OnSharing()
65 int32_t SharingDhIdListenerProxy::OnNoSharing(const std::string &dhId) in OnNoSharing() argument
81 if (!data.WriteString(dhId)) { in OnNoSharing()
82 DHLOGE("SharingDhIdListenerProxy write dhId failed"); in OnNoSharing()
H A Dstart_stop_result_call_back_stub.cpp50 std::string dhId = data.ReadString(); in OnRemoteRequest() local
51 dhIds.push_back(dhId); in OnRemoteRequest()
67 std::string dhId = data.ReadString(); in OnRemoteRequest() local
68 dhIds.push_back(dhId); in OnRemoteRequest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/metainfomgr_fuzzer/
H A Dmetainfomgr_fuzzer.cpp64 std::string dhId(reinterpret_cast<const char*>(data), size); in GetMetaCapInfoFuzzTest()
67 dhId, deviceId, "devName_test", deviceType, DHType::CAMERA, "attrs_test", "subtype", udidHash, "1.0"); in GetMetaCapInfoFuzzTest()
68 std::string key = deviceId + "###" + dhId; in GetMetaCapInfoFuzzTest()
70 MetaInfoManager::GetInstance()->GetMetaCapInfo(deviceId, dhId, metaCapPtr); in GetMetaCapInfoFuzzTest()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sinkservice/dscreenservice/dscreensinkstub_fuzzer/
H A Ddscreensinkstub_fuzzer.cpp34 int32_t SubscribeLocalHardware(const std::string &dhId, const std::string &param) override
38 int32_t UnsubscribeLocalHardware(const std::string &dhId) override
57 std::string dhId(reinterpret_cast<const char*>(data), size); in DscreenSinkStubFuzzTest()
63 pdata.WriteString(dhId); in DscreenSinkStubFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkservicereleasesink_fuzzer/
H A Dsinkservicereleasesink_fuzzer.cpp34 std::string dhId = "1"; in SinkServiceReleaseSinkFuzzTest() local
38 std::shared_ptr<DCameraSinkDev> sinkDevice = std::make_shared<DCameraSinkDev>(dhId, sinkCallback); in SinkServiceReleaseSinkFuzzTest()
39 sinkService->camerasMap_.emplace(dhId, sinkDevice); in SinkServiceReleaseSinkFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Ddh_state_listener.cpp40 void DHStateListener::OnStateChanged(const std::string &networkId, const std::string &dhId, const BusinessState state) in OnStateChanged() argument
45 DHLOGI("Receive business state change, networkId: %{public}s, dhId: %{public}s, state: %{public}" PRIu32, in OnStateChanged()
46 GetAnonyString(networkId).c_str(), GetAnonyString(dhId).c_str(), (uint32_t)state); in OnStateChanged()
47 ComponentManager::GetInstance().UpdateBusinessState(networkId, dhId, state); in OnStateChanged()

Completed in 9 milliseconds

12345678910>>...18