Home
last modified time | relevance | path

Searched refs:dhId_ (Results 1 – 25 of 119) sorted by relevance

12345

/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_output.cpp31 : dhId_(dhId), operator_(cameraOperator) in DCameraSinkOutput()
86 indexs.push_back(DCameraIndex(info->sourceDevId_, dhId_)); in OpenChannel()
103 GetAnonyString(dhId_).c_str(), ret); in OpenChannel()
119 GetAnonyString(dhId_).c_str(), ret); in CloseChannel()
130 GetAnonyString(dhId_).c_str(), ret); in CloseChannel()
163 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
173 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
206 GetAnonyString(dhId_).c_str(), type, state); in OnSessionState()
211 GetAnonyString(dhId_).c_str(), type); in OnSessionState()
216 GetAnonyString(dhId_).c_str(), type); in OnSessionState()
[all …]
H A Ddcamera_sink_controller.cpp101 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
111 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
149 eventCmd.dhId_ = dhId_; in DCameraNotify()
305 dhId_ = indexs[0].dhId_; in Init()
340 GetAnonyString(dhId_).c_str(), ret); in UnInit()
346 GetAnonyString(dhId_).c_str(), ret); in UnInit()
436 cmd.dhId_ = dhId_; in OnMetadataResult()
443 GetAnonyString(dhId_).c_str(), ret); in OnMetadataResult()
464 GetAnonyString(dhId_).c_str(), state); in OnSessionState()
544 GetAnonyString(dhId_).c_str(), ret); in StartCaptureInner()
[all …]
H A Ddcamera_sink_dev.cpp30 : dhId_(dhId), sinkCallback_(sinkCallback) in DCameraSinkDev()
45 DHLOGI("Init dhId: %{public}s", GetAnonyString(dhId_).c_str()); in Init()
48 DCameraIndex index("", dhId_); in Init()
68 GetAnonyString(dhId_).c_str(), ret); in UnInit()
90 DHLOGI("StopCapture dhId: %{public}s", GetAnonyString(dhId_).c_str()); in StopCapture()
97 DHLOGI("ChannelNeg dhId: %{public}s", GetAnonyString(dhId_).c_str()); in ChannelNeg()
107 GetAnonyString(dhId_).c_str(), ret); in ChannelNeg()
116 DHLOGI("GetCameraInfo dhId: %{public}s", GetAnonyString(dhId_).c_str()); in GetCameraInfo()
127 cameraInfoCmd.dhId_ = dhId_; in GetCameraInfo()
159 DHLOGI("CloseChannel dhId: %{public}s", GetAnonyString(dhId_).c_str()); in CloseChannel()
[all …]
H A Ddcamera_sink_data_process.cpp31 : dhId_(dhId), channel_(channel), eventHandler_(nullptr) in DCameraSinkDataProcess()
33 DHLOGI("DCameraSinkDataProcess Constructor dhId: %{public}s", GetAnonyString(dhId_).c_str()); in DCameraSinkDataProcess()
38 DHLOGI("DCameraSinkDataProcess delete dhId: %{public}s", GetAnonyString(dhId_).c_str()); in ~DCameraSinkDataProcess()
51 DHLOGI("DCameraSinkDataProcess Init dhId: %{public}s", GetAnonyString(dhId_).c_str()); in Init()
79 DHLOGI("StartCapture %{public}s pipeline already exits", GetAnonyString(dhId_).c_str()); in StartCapture()
101 GetAnonyString(dhId_).c_str(), ret); in StartCapture()
105 DHLOGI("StartCapture %{public}s success", GetAnonyString(dhId_).c_str()); in StartCapture()
111 DHLOGI("StopCapture dhId: %{public}s", GetAnonyString(dhId_).c_str()); in StopCapture()
132 GetAnonyString(dhId_).c_str(), ret); in FeedStream()
156 captureInfo_->streamType_, ret, GetAnonyString(dhId_).c_str(), buffersSize); in SendDataAsync()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_source_input.cpp35 GetAnonyString(dhId_).c_str()); in DCameraSourceInput()
41 GetAnonyString(dhId_).c_str()); in ~DCameraSourceInput()
104 GetAnonyString(dhId_).c_str()); in ReleaseStreams()
131 GetAnonyString(dhId_).c_str()); in StartCapture()
155 GetAnonyString(dhId_).c_str()); in StopCapture()
245 GetAnonyString(dhId_).c_str()); in Init()
258 dhId_, SNAPSHOT_FRAME); in Init()
268 GetAnonyString(dhId_).c_str()); in Init()
275 GetAnonyString(dhId_).c_str()); in UnInit()
349 GetAnonyString(dhId_).c_str()); in ReleaseAllStreams()
[all …]
H A Ddcamera_stream_data_process_producer.cpp35 …: devId_(devId), dhId_(dhId), streamId_(streamId), streamType_(streamType), eventHandler_(nullptr), in DCameraStreamDataProcessProducer()
117 GetAnonyString(dhId_).c_str(), streamId_, streamType_, buffersSize); in FeedStream()
122 GetAnonyString(dhId_).c_str(), streamType_, buffersSize); in FeedStream()
154 dhBase.dhId_ = dhId_; in LooperSnapShot()
210 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId_, ret); in FeedStreamToDriver()
217 GetAnonyString(dhId_).c_str()); in FeedStreamToDriver()
224 GetAnonyString(dhId_).c_str()); in FeedStreamToDriver()
231 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId_, in FeedStreamToDriver()
243 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId_, ret); in FeedStreamToDriver()
254 GetAnonyString(dhId_).c_str()); in CheckSharedMemory()
[all …]
H A Ddcamera_stream_data_process.cpp29 : devId_(devId), dhId_(dhId), streamType_(streamType) in DCameraStreamDataProcess()
32 GetAnonyString(dhId_).c_str()); in DCameraStreamDataProcess()
40 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in ~DCameraStreamDataProcess()
87 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId, streamType_); in ReleaseStreams()
93 GetAnonyString(dhId_).c_str(), streamId); in ReleaseStreams()
111 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, *iter, in StartCapture()
147 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, *iter); in StopCapture()
182 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in GetProducerSize()
240 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in CreatePipeline()
244 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in CreatePipeline()
[all …]
H A Ddcamera_source_data_process.cpp27 : devId_(devId), dhId_(dhId), streamType_(streamType), isFirstContStream_(true) in DCameraSourceDataProcess()
30 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in DCameraSourceDataProcess()
36 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in ~DCameraSourceDataProcess()
102 std::make_shared<DCameraStreamDataProcess>(devId_, dhId_, streamType_); in ConfigStreams()
117 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in ReleaseStreams()
140 GetAnonyString(dhId_).c_str(), streamType_, processSize, strStreams.c_str()); in ReleaseStreams()
161 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), *iterSet); in StartCapture()
172 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in StopCapture()
176 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), *iterSet); in StopCapture()
190 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); in DestroyPipeline()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp38 GetAnonyString(dhId_).c_str()); in DCameraSourceDev()
61 GetAnonyString(dhId_).c_str()); in ~DCameraSourceDev()
72 GetAnonyString(dhId_).c_str()); in ~DCameraSourceDev()
78 GetAnonyString(dhId_).c_str()); in InitDCameraSourceDev()
139 GetAnonyString(dhId_).c_str()); in DCameraNotify()
160 GetAnonyString(dhId_).c_str()); in OpenSession()
173 GetAnonyString(dhId_).c_str()); in CloseSession()
186 GetAnonyString(dhId_).c_str()); in ConfigCameraStreams()
199 GetAnonyString(dhId_).c_str()); in ReleaseCameraStreams()
367 dhBase.dhId_ = param->dhId_; in Register()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.cpp31 GetAnonyString(dhId_).c_str()); in DCameraProviderCallbackImpl()
37 GetAnonyString(dhId_).c_str()); in ~DCameraProviderCallbackImpl()
54 DCameraIndex camIndex(devId_, dhId_); in OpenSession()
69 GetAnonyString(dhId_).c_str()); in CloseSession()
80 DCameraIndex camIndex(devId_, dhId_); in CloseSession()
93 dhBase.dhId_.empty() || dhBase.dhId_.size() > DID_MAX_SIZE) { in CheckDHBase()
104 GetAnonyString(dhId_).c_str()); in ConfigureStreams()
160 GetAnonyString(dhId_).c_str()); in ReleaseStreams()
183 GetAnonyString(dhId_).c_str()); in StartCapture()
248 GetAnonyString(dhId_).c_str()); in StopCapture()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/src/
H A Ddaudio_hdi_handler_test.cpp89 hdiHandler_->RegisterAudioDevice(devId_, dhId_, capability_, callbackObjParam));
107 EXPECT_NE(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent));
124 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent1));
126 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent2));
128 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent3));
130 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent4));
132 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent5));
134 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent6));
136 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent7));
142 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent));
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen.cpp41 dhId_ = dhId; in DScreen()
51 GetAnonyString(dhId_).c_str()); in ~DScreen()
122 return dhId_; in GetDHId()
133 GetAnonyString(dhId_).c_str()); in AddTask()
150 GetAnonyString(dhId_).c_str()); in TaskThreadLoop()
218 GetAnonyString(dhId_).c_str()); in HandleEnable()
336 GetAnonyString(dhId_).c_str()); in HandleDisable()
356 GetAnonyString(dhId_).c_str()); in HandleConnect()
381 GetAnonyString(dhId_).c_str()); in HandleDisconnect()
402 GetAnonyString(dhId_).c_str()); in SetUp()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/common/include/utils/
H A Ddcamera_index.h25 explicit DCameraIndex(std::string devId, std::string dhId) : devId_(devId), dhId_(dhId) {} in DCameraIndex()
30 return this->devId_ == index.devId_ && this->dhId_ == index.dhId_;
35 return (this->devId_ + this->dhId_) < (index.devId_ + index.dhId_);
39 std::string dhId_; variable
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/include/utils/
H A Ddcamera_base.h25 … explicit DCameraBase(std::string deviceId, std::string dhId) : deviceId_(deviceId), dhId_(dhId) {} in DCameraBase()
30 return this->deviceId_ == index.deviceId_ && this->dhId_ == index.dhId_;
35 return (this->deviceId_ + this->dhId_) < (index.deviceId_ + index.dhId_);
39 std::string dhId_; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.cpp49 GetAnonyString(dhId_).c_str()); in DCameraSourceController()
57 GetAnonyString(dhId_).c_str()); in ~DCameraSourceController()
72 std::string dhId = indexs_.begin()->dhId_; in StartCapture()
78 cmd.dhId_ = dhId; in StartCapture()
118 std::string dhId = indexs_.begin()->dhId_; in StopCapture()
145 std::string dhId = indexs_.begin()->dhId_; in ChannelNeg()
156 cmd.dhId_ = dhId; in ChannelNeg()
192 dhBase.dhId_ = dhId_; in DCameraNotify()
224 cmd.dhId_ = dhId; in UpdateSettings()
305 cmd.dhId_ = dhId; in OpenChannel()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp53 dhId_ = dhId; in DScreen()
74 GetAnonyString(dhId_).c_str()); in ~DScreen()
91 GetAnonyString(dhId_).c_str()); in AddTask()
131 GetAnonyString(dhId_).c_str()); in HandleEnable()
196 GetAnonyString(dhId_).c_str()); in HandleDisable()
220 GetAnonyString(dhId_).c_str()); in HandleConnect()
248 GetAnonyString(dhId_).c_str()); in HandleDisconnect()
270 GetAnonyString(dhId_).c_str()); in ConfigSurface()
419 paramJson[KEY_DH_ID] = dhId_; in StopSenderEngine()
484 paramJson[KEY_DH_ID] = dhId_; in SetUp()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_source_controller_test.cpp79 index.dhId_ = TEST_CAMERA_DH_ID_0; in SetUp()
139 index1.dhId_ = TEST_CAMERA_DH_ID_0;
168 index1.dhId_ = TEST_CAMERA_DH_ID_0;
197 index1.dhId_ = TEST_CAMERA_DH_ID_0;
224 index1.dhId_ = TEST_CAMERA_DH_ID_0;
244 index1.dhId_ = TEST_CAMERA_DH_ID_0;
265 index1.dhId_ = TEST_CAMERA_DH_ID_0;
286 index1.dhId_ = TEST_CAMERA_DH_ID_0;
336 index1.dhId_ = TEST_CAMERA_DH_ID_0;
339 index2.dhId_ = TEST_CAMERA_DH_ID_0;
[all …]
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/
H A Ddcamera_provider.cpp131 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in DisableDCameraDevice()
159 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str(), streamId); in AcquireBuffer()
212 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in OnSettingsResult()
237 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in Notify()
255 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in OpenSession()
269 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in CloseSession()
283 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in ConfigureStreams()
302 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in ReleaseStreams()
321 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in StartCapture()
345 GetAnonyString(dhBase.deviceId_).c_str(), GetAnonyString(dhBase.dhId_).c_str()); in StopCapture()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/hidumphelper/
H A Denabled_comps_dump.h30 std::string dhId_; member
34 : networkId_(networkId), dhId_(dhId), dhType_(dhType) {} in HidumpCompInfo()
38 return (((this->networkId_ == other.networkId_) && (this->dhId_ < other.dhId_)) ||
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/distributed_camera/
H A D_d_h_base.md21 | String [dhId_](#dhid_) | 分布式硬件Id。 |
37 ### dhId_ subsection
40 String DHBase::dhId_
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info.cpp35 return dhId_; in GetDHId()
40 this->dhId_ = dhId; in SetDHId()
108 kvStoreKey.append(dhId_); in GetKey()
117 kvStoreKey.append(GetAnonyString(dhId_)); in GetAnonymousKey()
162 if (strcmp(this->dhId_.c_str(), capInfo.dhId_.c_str()) != 0) { in Compare()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcamerahost_fuzzer/
H A Ddcamerahost_fuzzer.cpp33 dhBase.dhId_ = "2"; in DCameraGetCameraAbilityFromDevFuzzTest()
57 dhBase.dhId_ = dhId; in DCameraAddDeviceParamCheckFuzzTest()
78 dhBase.dhId_ = "2"; in DCameraIsCameraIdInvalidFuzzTest()
97 dhBase.dhId_ = "2"; in DCameraGetCameraIdByDHBaseFuzzTest()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraadddcameradevice_fuzzer/
H A Ddcameraadddcameradevice_fuzzer.cpp29 …roviderCallbackImpl(const std::string& devId, const std::string& dhId) : devId_(devId), dhId_(dhId) in MockDCameraProviderCallbackImpl()
70 std::string dhId_; member in OHOS::DistributedHardware::MockDCameraProviderCallbackImpl
84 dhBase.dhId_ = dhId; in DcameraAddDCameraDeviceFuzzTest()
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraenabledcameradevice_fuzzer/
H A Ddcameraenabledcameradevice_fuzzer.cpp29 …roviderCallbackImpl(const std::string& devId, const std::string& dhId) : devId_(devId), dhId_(dhId) in MockDCameraProviderCallbackImpl()
69 std::string dhId_; member in OHOS::DistributedHardware::MockDCameraProviderCallbackImpl
82 dhBase.dhId_ = dhId; in DcameraEnableDCameraDeviceFuzzTest()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_channel_sink_impl_test.cpp88 index.dhId_ = TEST_CAMERA_DH_ID_0;
112 index.dhId_ = TEST_CAMERA_DH_ID_0;
137 index.dhId_ = TEST_CAMERA_DH_ID_0;
163 index.dhId_ = TEST_CAMERA_DH_ID_0;
236 index.dhId_ = TEST_CAMERA_DH_ID_0;
285 index.dhId_ = TEST_CAMERA_DH_ID_0;

12345