Home
last modified time | relevance | path

Searched refs:dhId_ (Results 1 - 25 of 74) sorted by relevance

123

/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_controller.cpp69 DHLOGI("StartCapture dhId: %{public}s, mode: %{public}d", GetAnonyString(dhId_).c_str(), sceneMode); in StartCapture()
96 DHLOGI("StopCapture dhId: %{public}s", GetAnonyString(dhId_).c_str()); in StopCapture()
104 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
114 GetAnonyString(dhId_).c_str(), ret); in StopCapture()
118 DHLOGI("StopCapture %{public}s success", GetAnonyString(dhId_).c_str()); in StopCapture()
124 DHLOGI("ChannelNeg dhId: %{public}s", GetAnonyString(dhId_).c_str()); in ChannelNeg()
127 DHLOGE("channel negotiate failed, dhId: %{public}s, ret: %{public}d", GetAnonyString(dhId_).c_str(), ret); in ChannelNeg()
131 DHLOGI("ChannelNeg %{public}s success", GetAnonyString(dhId_).c_str()); in ChannelNeg()
137 DHLOGI("DCameraNotify dhId: %{public}s", GetAnonyString(dhId_).c_str()); in DCameraNotify()
143 eventCmd.dhId_ in DCameraNotify()
[all...]
H A Ddcamera_sink_dev.cpp30 : dhId_(dhId), sinkCallback_(sinkCallback) in DCameraSinkDev()
32 DHLOGI("DCameraSinkDev Constructor dhId: %{public}s", GetAnonyString(dhId_).c_str()); in DCameraSinkDev()
45 DHLOGI("Init dhId: %{public}s", GetAnonyString(dhId_).c_str()); in Init()
48 DCameraIndex index("", dhId_); in Init()
53 DHLOGE("init controller failed, dhId: %{public}s, ret: %{public}d", GetAnonyString(dhId_).c_str(), ret); in Init()
58 DHLOGI("DCameraSinkDev Init %{public}s success", GetAnonyString(dhId_).c_str()); 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_) in ChannelNeg()
[all...]
H A Ddcamera_sink_output.cpp31 : dhId_(dhId), operator_(cameraOperator) in DCameraSinkOutput()
33 DHLOGI("DCameraSinkOutput Constructor dhId: %{public}s", GetAnonyString(dhId_).c_str()); in DCameraSinkOutput()
46 DHLOGI("Init dhId: %{public}s", GetAnonyString(dhId_).c_str()); in Init()
54 DHLOGI("Init %{public}s success", GetAnonyString(dhId_).c_str()); in Init()
61 std::shared_ptr<ICameraSinkDataProcess> dataProcess = std::make_shared<DCameraSinkDataProcess>(dhId_, channel); in InitInner()
70 DHLOGI("UnInit dhId: %{public}s", GetAnonyString(dhId_).c_str()); in UnInit()
75 DHLOGI("UnInit %{public}s success", GetAnonyString(dhId_).c_str()); in UnInit()
81 DHLOGI("OpenChannel dhId: %{public}s", GetAnonyString(dhId_).c_str()); in OpenChannel()
86 indexs.push_back(DCameraIndex(info->sourceDevId_, dhId_)); in OpenChannel()
103 GetAnonyString(dhId_) in OpenChannel()
[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()
74 "%{public}d, encode: %{public}d", GetAnonyString(dhId_).c_str(), captureInfo->width_, captureInfo->height_, in StartCapture()
79 DHLOGI("StartCapture %{public}s pipeline already exits", GetAnonyString(dhId_).c_str()); in StartCapture()
84 DHLOGI("StartCapture %{public}s create data process pipeline", 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_) in StopCapture()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/
H A Ddcamera_source_input.cpp32 : devId_(devId), dhId_(dhId), camDev_(camDev), isInit(false) in DCameraSourceInput()
35 GetAnonyString(dhId_).c_str()); in DCameraSourceInput()
41 GetAnonyString(dhId_).c_str()); in ~DCameraSourceInput()
51 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), infoSize); in ConfigStreams()
55 "%{public}s", ret, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigStreams()
70 GetAnonyString(dhId_).c_str(), streamInfo->streamId_, streamInfo->width_, streamInfo->height_, in ConfigStreams()
84 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigStreams()
90 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigStreams()
104 GetAnonyString(dhId_).c_str()); in ReleaseStreams()
108 " dhId: %{public}s", ret, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_) in ReleaseStreams()
[all...]
H A Ddcamera_stream_data_process_producer.cpp35 : devId_(devId), dhId_(dhId), streamId_(streamId), streamType_(streamType), eventHandler_(nullptr), in DCameraStreamDataProcessProducer()
39 "streamId: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_); in DCameraStreamDataProcessProducer()
48 ": %{public}d streamId: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), state_, in ~DCameraStreamDataProcessProducer()
58 "streamId: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId_); in Start()
82 "streamId: %{public}d state: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), in Stop()
105 "streamId: %{public}d state: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), in Stop()
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()
[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()
52 " over flow", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), buffersSize); in FeedStream()
59 "%{public}" PRIu64, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, buffersSize); in FeedStream()
71 "%{public}" PRIu64, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, infoSize); in ConfigStreams()
84 GetAnonyString(dhId_).c_str(), streamInfo->streamId_, streamConfig.width_, streamConfig.height_, in ConfigStreams()
97 "%{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), iter->first.width_, in ConfigStreams()
102 std::make_shared<DCameraStreamDataProcess>(devId_, dhId_, streamType_); in ConfigStreams()
117 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_) in ReleaseStreams()
[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()
53 "%{public}" PRIu64, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId, in FeedStream()
76 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId, dstConfig->width_, in ConfigStreams()
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()
129 "%{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_, streamId); in StartCapture()
135 "%{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_) in StartCapture()
[all...]
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/src/
H A Ddaudio_hdi_handler_test.cpp83 hdiHandler_->RegisterAudioDevice(devId_, dhId_, capability_, callbackObjParam)); in HWTEST_F()
84 EXPECT_EQ(ERR_DH_AUDIO_HDI_CALL_FAILED, hdiHandler_->UnRegisterAudioDevice(devId_, dhId_)); in HWTEST_F()
99 EXPECT_NE(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent)); in HWTEST_F()
114 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent1)); in HWTEST_F()
116 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent2)); in HWTEST_F()
118 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent3)); in HWTEST_F()
120 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent4)); in HWTEST_F()
122 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent5)); in HWTEST_F()
124 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent6)); in HWTEST_F()
126 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId in HWTEST_F()
[all...]
/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_; in operator ==()
35 return (this->devId_ + this->dhId_) < (index.devId_ + index.dhId_); in operator <()
39 std::string dhId_; member in OHOS::DistributedHardware::DCameraIndex
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp35 std::shared_ptr<ICameraStateListener>& stateLisener) : devId_(devId), dhId_(dhId), stateListener_(stateLisener) in DCameraSourceDev()
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()
85 controller_ = std::make_shared<DCameraSourceController>(devId_, dhId_, stateMachine_, cameraSourceDev); in InitDCameraSourceDev()
86 input_ = std::make_shared<DCameraSourceInput>(devId_, dhId_, cameraSourceDev); in InitDCameraSourceDev()
88 new (std::nothrow) DCameraProviderCallbackImpl(devId_, dhId_, cameraSourceDev)); in InitDCameraSourceDev()
94 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in InitDCameraSourceDev()
142 GetAnonyString(dhId_) in DCameraNotify()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/
H A Ddcamera_provider_callback_impl.cpp28 std::shared_ptr<DCameraSourceDev>& sourceDev) : devId_(devId), dhId_(dhId), sourceDev_(sourceDev) in DCameraProviderCallbackImpl()
31 GetAnonyString(dhId_).c_str()); in DCameraProviderCallbackImpl()
37 GetAnonyString(dhId_).c_str()); in ~DCameraProviderCallbackImpl()
43 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in OpenSession()
51 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in OpenSession()
54 DCameraIndex camIndex(devId_, dhId_); in OpenSession()
58 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in OpenSession()
62 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in OpenSession()
69 GetAnonyString(dhId_).c_str()); in CloseSession()
77 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_) in CloseSession()
[all...]
/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()
187 GetAnonyString(dhId_).c_str(), taskType); in HandleTask()
218 GetAnonyString(dhId_).c_str()); in HandleEnable()
233 GetAnonyString(dhId_).c_str(), "check json data failed."); in HandleEnable()
246 GetAnonyString(dhId_).c_str(), "negotiate codec type failed."); in HandleEnable()
250 screenId_ = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId_, dhId_, videoParam in HandleEnable()
[all...]
/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()
109 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), taskType); in HandleTask()
131 GetAnonyString(dhId_).c_str()); in HandleEnable()
148 uint64_t screenId = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId_, dhId_, videoParam_); in HandleEnable()
154 GetAnonyString(dhId_).c_str(), "create virtual screen failed."); in HandleEnable()
161 ReportRegisterScreenEvent(DSCREEN_REGISTER, GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), in HandleEnable()
173 GetAnonyString(dhId_).c_str(), "check json data failed."); in ParseInputScreenParam()
186 GetAnonyString(dhId_) in ParseInputScreenParam()
[all...]
/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_)) || in operator <()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.cpp45 : devId_(devId), dhId_(dhId), stateMachine_(stateMachine), camDev_(camDev), in DCameraSourceController()
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()
170 std::string dhId = indexs_.begin()->dhId_; in ChannelNeg()
181 cmd.dhId_ = dhId; in ChannelNeg()
213 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in DCameraNotify()
218 dhBase.dhId_ in DCameraNotify()
[all...]
/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; in HWTEST_F()
168 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
197 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
224 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
244 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
265 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
286 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
336 index1.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
339 index2.dhId_ in HWTEST_F()
[all...]
H A Ddcamera_source_dev_test.cpp177 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
193 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
364 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
417 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
436 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
469 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
509 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
541 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
576 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
617 index.dhId_ in HWTEST_F()
[all...]
H A Ddcamera_stream_data_process_producer_test.cpp92 dhBase.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
129 dhBase.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
161 dhBase.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
187 dhBase.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
224 dhBase.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
/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()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/
H A Dcapability_info.h32 : dhId_(""), in CapabilityInfo()
43 : dhId_(dhId), deviceId_(devId), deviceName_(devName), deviceType_(devType), dhType_(dhType), dhAttrs_(dhAttrs), in CapabilityInfo()
84 std::string dhId_; member in OHOS::DistributedHardware::CapabilityInfo
/foundation/distributedhardware/distributed_input/interfaces/ipc/test/unregisterdinputcallbackunittest/
H A Dunregister_d_input_call_back_test.cpp41 dhId_ = dhId; in OnResult()
55 EXPECT_STREQ(dhId.c_str(), ((sptr<TestUnregisterDInputCallbackStub> &)callBackStubPtr)->dhId_.c_str()); in HWTEST_F()
/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; in HWTEST_F()
112 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
137 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
163 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
236 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
285 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
H A Ddcamera_channel_source_impl_test.cpp91 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
117 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
144 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
217 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Dtask.cpp25 dhId_(dhId), dhType_(dhType) in Task()
55 return this->dhId_; in GetDhId()

Completed in 13 milliseconds

123