/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/ |
H A D | dcamera_sink_output.cpp | 31 : 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 D | dcamera_sink_controller.cpp | 101 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 D | dcamera_sink_dev.cpp | 30 : 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 D | dcamera_sink_data_process.cpp | 31 : 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 D | dcamera_source_input.cpp | 35 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 D | dcamera_stream_data_process_producer.cpp | 35 …: 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 D | dcamera_stream_data_process.cpp | 29 : 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 D | dcamera_source_data_process.cpp | 27 : 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 D | dcamera_source_dev.cpp | 38 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 D | dcamera_provider_callback_impl.cpp | 31 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 D | daudio_hdi_handler_test.cpp | 89 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 D | dscreen.cpp | 41 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 D | dcamera_index.h | 25 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 D | dcamera_base.h | 25 … 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 D | dcamera_source_controller.cpp | 49 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 D | dscreen.cpp | 53 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 D | dcamera_source_controller_test.cpp | 79 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 D | dcamera_provider.cpp | 131 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 D | enabled_comps_dump.h | 30 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.md | 21 | String [dhId_](#dhid_) | 分布式硬件Id。 | 37 ### dhId_ subsection 40 String DHBase::dhId_
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/ |
H A D | capability_info.cpp | 35 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 D | dcamerahost_fuzzer.cpp | 33 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 D | dcameraadddcameradevice_fuzzer.cpp | 29 …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 D | dcameraenabledcameradevice_fuzzer.cpp | 29 …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 D | dcamera_channel_sink_impl_test.cpp | 88 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;
|