Home
last modified time | relevance | path

Searched refs:openInfo (Results 1 - 22 of 22) sorted by relevance

/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_open_info_cmd.cpp38 cJSON *openInfo = cJSON_CreateObject(); in Marshal() local
39 if (openInfo == nullptr) { in Marshal()
43 cJSON_AddStringToObject(openInfo, "SourceDevId", value_->sourceDevId_.c_str()); in Marshal()
44 cJSON_AddItemToObject(rootValue, "Value", openInfo); in Marshal()
91 std::shared_ptr<DCameraOpenInfo> openInfo = std::make_shared<DCameraOpenInfo>(); in Unmarshal() local
92 openInfo->sourceDevId_ = sourceDevId->valuestring; in Unmarshal()
93 value_ = openInfo; in Unmarshal()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyopenchannel_fuzzer/
H A Dsinkproxyopenchannel_fuzzer.cpp35 std::string openInfo(reinterpret_cast<const char*>(data), size); in SinkProxyOpenChannelFuzzTest()
43 dCSinkProxy->OpenChannel(dhId, openInfo); in SinkProxyOpenChannelFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkserviceopenchannel_fuzzer/
H A Dsinkserviceopenchannel_fuzzer.cpp36 std::string openInfo(reinterpret_cast<const char*>(data), size); in SinkServiceOpenChannelFuzzTest()
43 sinkService->OpenChannel(dhId, openInfo); in SinkServiceOpenChannelFuzzTest()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcamera/
H A Dmock_distributed_camera_sink_stub.h73 int32_t OpenChannel(const std::string &dhId, std::string& openInfo) in OpenChannel() argument
76 (void)openInfo; in OpenChannel()
H A Ddistributed_camera_sink_stub_test.cpp211 std::string openInfo = "openInfo000"; in HWTEST_F() local
212 int32_t ret = sinkProxy.OpenChannel(dhId, openInfo); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_source_controller_test.cpp267 std::shared_ptr<DCameraOpenInfo> openInfo = std::make_shared<DCameraOpenInfo>(); in HWTEST_F() local
268 ret = GetLocalDeviceNetworkId(openInfo->sourceDevId_); in HWTEST_F()
269 ret = controller_->OpenChannel(openInfo); in HWTEST_F()
288 std::shared_ptr<DCameraOpenInfo> openInfo = std::make_shared<DCameraOpenInfo>(); in HWTEST_F() local
289 ret = GetLocalDeviceNetworkId(openInfo->sourceDevId_); in HWTEST_F()
290 controller_->OpenChannel(openInfo); in HWTEST_F()
436 std::shared_ptr<DCameraOpenInfo> openInfo = std::make_shared<DCameraOpenInfo>(); in HWTEST_F() local
437 int32_t ret = GetLocalDeviceNetworkId(openInfo->sourceDevId_); in HWTEST_F()
438 ret = controller_->OpenChannel(openInfo); in HWTEST_F()
H A Dmock_dcamera_source_controller.h60 int32_t OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) in OpenChannel() argument
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_dev.cpp139 int32_t DCameraSinkDev::OpenChannel(std::string& openInfo) in OpenChannel() argument
142 if (openInfo.empty()) { in OpenChannel()
143 DHLOGE("openInfo is empty"); in OpenChannel()
148 int32_t ret = cmd.Unmarshal(openInfo); in OpenChannel()
150 DHLOGE("openInfo unmarshal failed, dhId: %{public}s, ret: %{public}d", GetAnonyString(dhId_).c_str(), ret); in OpenChannel()
H A Ddcamera_sink_controller.cpp239 int32_t DCameraSinkController::OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) in OpenChannel() argument
251 srcDevId_ = openInfo->sourceDevId_; in OpenChannel()
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/include/
H A Dicamera_controller.h40 virtual int32_t OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/include/distributedcameramgr/
H A Ddcamera_sink_dev.h41 int32_t OpenChannel(std::string& openInfo);
H A Ddcamera_sink_controller.h49 int32_t OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/
H A Dmock_dcamera_sink_controller.h65 int32_t OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) in OpenChannel() argument
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/include/
H A Ddistributed_camera_sink_proxy.h42 int32_t OpenChannel(const std::string& dhId, std::string& openInfo) override;
H A Didistributed_camera_sink.h37 virtual int32_t OpenChannel(const std::string& dhId, std::string& openInfo) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcamera/
H A Ddistributed_camera_sink_stub.cpp251 std::string openInfo = data.ReadString(); in OpenChannelInner() local
252 if (dhId.empty() || dhId.size() > DID_MAX_SIZE || openInfo.empty()|| in OpenChannelInner()
253 openInfo.size() > PARAM_MAX_SIZE) { in OpenChannelInner()
258 ret = OpenChannel(dhId, openInfo); in OpenChannelInner()
H A Ddistributed_camera_sink_service.cpp227 int32_t DistributedCameraSinkService::OpenChannel(const std::string& dhId, std::string& openInfo) in OpenChannel() argument
241 int32_t ret = sinkDevice->OpenChannel(openInfo); in OpenChannel()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/camera_sink/src/
H A Ddistributed_camera_sink_proxy.cpp233 int32_t DistributedCameraSinkProxy::OpenChannel(const std::string& dhId, std::string& openInfo) in OpenChannel() argument
236 if (dhId.empty() || dhId.size() > DID_MAX_SIZE || openInfo.empty() || in OpenChannel()
237 openInfo.size() > PARAM_MAX_SIZE) { in OpenChannel()
254 if (!data.WriteString(dhId) || !data.WriteString(openInfo)) { in OpenChannel()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/include/distributedcamera/
H A Ddistributed_camera_sink_service.h44 int32_t OpenChannel(const std::string& dhId, std::string& openInfo) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/include/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.h44 int32_t OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) override;
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp464 std::shared_ptr<DCameraOpenInfo> openInfo = std::make_shared<DCameraOpenInfo>(); in OpenCamera() local
465 int32_t ret = GetLocalDeviceNetworkId(openInfo->sourceDevId_); in OpenCamera()
473 ret = controller_->OpenChannel(openInfo); in OpenCamera()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.cpp315 int32_t DCameraSourceController::OpenChannel(std::shared_ptr<DCameraOpenInfo>& openInfo) in OpenChannel() argument
336 cmd.value_ = openInfo; in OpenChannel()

Completed in 11 milliseconds