/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/ |
H A D | dcamera_source_input.cpp | 32 : devId_(devId), dhId_(dhId), camDev_(camDev), isInit(false) in DCameraSourceInput() 51 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), infoSize); in ConfigStreams() 69 "streamType: %{public}d", GetAnonyString(devId_).c_str(), in ConfigStreams() 84 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigStreams() 90 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigStreams() 145 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in StartCapture() 159 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in StopCapture() 171 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in StopCapture() 355 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ReleaseAllStreams() 379 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in StopAllCapture() [all …]
|
H A D | dcamera_stream_data_process.cpp | 29 : devId_(devId), dhId_(dhId), streamType_(streamType) 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() 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_stream_data_process_producer.cpp | 35 …: devId_(devId), dhId_(dhId), streamId_(streamId), streamType_(streamType), eventHandler_(nullptr), in DCameraStreamDataProcessProducer() 82 …"streamId: %{public}d state: %{public}d", GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_… in Stop() 116 "streamType: %{public}d streamSize: %{public}" PRIu64, GetAnonyString(devId_).c_str(), in FeedStream() 121 "%{public}d streamSize: %{public}" PRIu64, GetAnonyString(devId_).c_str(), in FeedStream() 153 dhBase.deviceId_ = devId_; in LooperSnapShot() 210 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamId_, ret); in FeedStreamToDriver() 223 DHLOGE("mmap failed devId: %{public}s dhId: %{public}s", GetAnonyString(devId_).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() 253 …DHLOGE("bufferHandle read failed devId: %{public}s dhId: %{public}s", GetAnonyString(devId_).c_str… in CheckSharedMemory() [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() 83 "%{public}d streamType: %{public}d", GetAnonyString(devId_).c_str(), in ConfigStreams() 102 std::make_shared<DCameraStreamDataProcess>(devId_, dhId_, streamType_); in ConfigStreams() 117 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), streamType_); 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_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/src/ |
H A D | daudio_hdi_handler_test.cpp | 65 EXPECT_NE(HDF_SUCCESS, hdiHandler_->RegisterAudioDevice(devId_, 67 EXPECT_NE(HDF_SUCCESS, hdiHandler_->RegisterAudioDevice(devId_, 71 EXPECT_NE(HDF_SUCCESS, hdiHandler_->UnRegisterAudioDevice(devId_, PIN_IN_DAUDIO_DEFAULT)); 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)); 142 EXPECT_EQ(HDF_SUCCESS, hdiHandler_->NotifyEvent(devId_, dhId_, streamId_, audioEvent)); [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/ |
H A D | dcamera_source_dev.cpp | 94 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in InitDCameraSourceDev() 238 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in UpdateCameraSettings() 267 stateListener_->OnDataSyncTrigger(devId_); in GetFullCaps() 284 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in DoProcessData() 297 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in DoProcesHDFEvent() 337 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in Register() 366 dhBase.deviceId_ = param->devId_; in Register() 445 dhBase.deviceId_ = param->devId_; in UnRegister() 563 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ReleaseAllStreams() 701 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in CameraEventNotify() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcamerahdf/ |
H A D | dcamera_provider_callback_impl.cpp | 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() 77 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in CloseSession() 80 DCameraIndex camIndex(devId_, dhId_); in CloseSession() 84 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in CloseSession() 112 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigureStreams() 136 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str()); in ConfigureStreams() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/ |
H A D | dscreen.cpp | 40 devId_ = devId; in DScreen() 127 return devId_; in GetDevId() 132 DHLOGI("DScreen::AddTask, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in AddTask() 186 GetAnonyString(devId_).c_str(), in HandleTask() 217 DHLOGI("HandleEnable, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in HandleEnable() 250 screenId_ = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId_, dhId_, videoParam_); in HandleEnable() 335 DHLOGI("HandleDisable, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in HandleDisable() 401 DHLOGD("SetUp, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in SetUp() 409 int32_t ret = sourceTrans_->SetUp(*videoParam_, *videoParam_, devId_); in SetUp() 420 DHLOGD("Start, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in Start() [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_); 38 std::string devId_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/ |
H A D | dscreen.cpp | 52 devId_ = devId; in DScreen() 73 … DHLOGD("DScreen deconstruct, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in ~DScreen() 90 DHLOGI("DScreen::AddTask, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in AddTask() 109 GetAnonyString(devId_).c_str(), GetAnonyString(dhId_).c_str(), taskType); in HandleTask() 130 DHLOGI("HandleEnable, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in HandleEnable() 195 DHLOGI("HandleDisable, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in HandleDisable() 219 DHLOGI("HandleConnect, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in HandleConnect() 269 DHLOGD("ConfigSurface, devId: %{public}s, dhId: %{public}s", GetAnonyString(devId_).c_str(), in ConfigSurface() 390 int32_t ret = senderAdapter_->CreateControlChannel(devId_); in StartSenderEngine() 418 paramJson[KEY_DEV_ID] = devId_; in StopSenderEngine() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/ |
H A D | dcamera_source_controller.cpp | 73 std::string devId = indexs_.begin()->devId_; in StartCapture() 119 std::string devId = indexs_.begin()->devId_; in StopCapture() 146 std::string devId = indexs_.begin()->devId_; in ChannelNeg() 191 dhBase.deviceId_ = devId_; in DCameraNotify() 219 std::string devId = indexs_.begin()->devId_; in UpdateSettings() 262 std::string devId = indexs_.begin()->devId_; in GetCameraInfo() 294 std::string devId = indexs_.begin()->devId_; in OpenChannel() 340 DCameraSoftbusLatency::GetInstance().StopSoftbusTimeSync(devId_); in CloseChannel() 342 std::string devId = indexs_.begin()->devId_; in CloseChannel() 386 std::string devId = indexs_.begin()->devId_; in Init() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/ |
H A D | dcamera_source_controller_test.cpp | 78 index.devId_ = TEST_DEVICE_ID; in SetUp() 138 index1.devId_ = TEST_DEVICE_ID; 167 index1.devId_ = TEST_DEVICE_ID; 196 index1.devId_ = TEST_DEVICE_ID; 223 index1.devId_ = TEST_DEVICE_ID; 243 index1.devId_ = TEST_DEVICE_ID; 264 index1.devId_ = TEST_DEVICE_ID; 285 index1.devId_ = TEST_DEVICE_ID; 335 index1.devId_ = TEST_DEVICE_ID; 338 index2.devId_ = TEST_DEVICE_ID; [all …]
|
H A D | dcamera_source_dev_test.cpp | 176 index.devId_ = TEST_DEVICE_ID; 192 index.devId_ = TEST_DEVICE_ID; 363 index.devId_ = TEST_DEVICE_ID; 416 index.devId_ = TEST_DEVICE_ID; 435 index.devId_ = TEST_DEVICE_ID; 468 index.devId_ = TEST_DEVICE_ID; 508 index.devId_ = TEST_DEVICE_ID; 540 index.devId_ = TEST_DEVICE_ID; 575 index.devId_ = TEST_DEVICE_ID; 616 index.devId_ = TEST_DEVICE_ID;
|
/ohos5.0/foundation/distributedhardware/distributed_input/interfaces/ipc/test/addwhitelistinfoscallbackunittest/ |
H A D | add_white_list_infos_call_back_test.cpp | 99 devId_ = devId; in OnResult() 106 devId_ = devId; in OnResult() 134 devId_ = devId; in OnResult() 142 devId_ = devId; in OnResultDhids() 165 devId_ = devId; in OnResult() 268 …EXPECT_STREQ(devId.c_str(), ((sptr<TestPrepareDInputCallbackStub> &)callBackStubPtr)->devId_.c_str… 280 …EXPECT_STREQ(devId.c_str(), ((sptr<TestRegisterDInputCallbackStub> &)callBackStubPtr)->devId_.c_st… 325 …EXPECT_STREQ(devId.c_str(), ((sptr<TestStartDInputCallbackStub> &)callBackStubPtr)->devId_.c_str()… 336 …EXPECT_STREQ(devId.c_str(), ((sptr<TestStartStopDInputsCallbackStub> &)callBackStubPtr)->devId_.c_… 377 …EXPECT_STREQ(devId.c_str(), ((sptr<TestStopDInputCallbackStub> &)callBackStubPtr)->devId_.c_str());
|
H A D | add_white_list_infos_call_back_test.h | 97 std::string devId_; variable 107 std::string devId_; variable 139 std::string devId_; variable 150 std::string devId_; variable 172 std::string devId_; variable
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | dcamera_channel_sink_impl_test.cpp | 87 index.devId_ = TEST_DEVICE_ID; 111 index.devId_ = TEST_DEVICE_ID; 136 index.devId_ = TEST_DEVICE_ID; 162 index.devId_ = TEST_DEVICE_ID; 235 index.devId_ = TEST_DEVICE_ID; 284 index.devId_ = TEST_DEVICE_ID;
|
H A D | dcamera_channel_source_impl_test.cpp | 90 index.devId_ = TEST_DEVICE_ID; 116 index.devId_ = TEST_DEVICE_ID; 143 index.devId_ = TEST_DEVICE_ID; 216 index.devId_ = TEST_DEVICE_ID;
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/ |
H A D | dspeaker_dev.cpp | 42 …int32_t ret = DAudioHdiHandler::GetInstance().RegisterAudioDevice(devId_, dhId, capability, shared… in EnableDevice() 45 …DAudioHisysevent::GetInstance().SysEventWriteFault(DAUDIO_REGISTER_FAIL, devId_, std::to_string(dh… in EnableDevice() 56 int32_t ret = DAudioHdiHandler::GetInstance().UnRegisterAudioDevice(devId_, dhId); in DisableDevice() 59 …DAudioHisysevent::GetInstance().SysEventWriteFault(DAUDIO_UNREGISTER_FAIL, devId_, std::to_string(… in DisableDevice() 76 speakerTrans_ = std::make_shared<AVTransSenderTransport>(devId_, shared_from_this()); in InitSenderEngine() 127 … DAudioHisysevent::GetInstance().SysEventWriteBehavior(DAUDIO_OPEN, devId_, std::to_string(dhId_), in CreateStream() 153 … DAudioHisysevent::GetInstance().SysEventWriteBehavior(DAUDIO_CLOSE, devId_, std::to_string(dhId_), in DestroyStream() 436 int32_t ret = DAudioHdiHandler::GetInstance().NotifyEvent(devId_, portId, streamId_, event); in NotifyHdfAudioEvent()
|
H A D | dmic_dev.cpp | 77 micTrans_ = std::make_shared<AVTransReceiverTransport>(devId_, shared_from_this()); in InitReceiverEngine() 101 …int32_t ret = DAudioHdiHandler::GetInstance().RegisterAudioDevice(devId_, dhId, capability, shared… in EnableDevice() 104 …DAudioHisysevent::GetInstance().SysEventWriteFault(DAUDIO_REGISTER_FAIL, devId_, std::to_string(dh… in EnableDevice() 115 int32_t ret = DAudioHdiHandler::GetInstance().UnRegisterAudioDevice(devId_, dhId); in DisableDevice() 118 …DAudioHisysevent::GetInstance().SysEventWriteFault(DAUDIO_UNREGISTER_FAIL, devId_, std::to_string(… in DisableDevice() 143 … DAudioHisysevent::GetInstance().SysEventWriteBehavior(DAUDIO_OPEN, devId_, std::to_string(dhId_), in CreateStream() 169 … DAudioHisysevent::GetInstance().SysEventWriteBehavior(DAUDIO_CLOSE, devId_, std::to_string(dhId_), in DestroyStream() 510 int32_t ret = DAudioHdiHandler::GetInstance().NotifyEvent(devId_, portId, streamId_, event); in NotifyHdfAudioEvent()
|
/ohos5.0/foundation/multimodalinput/input/service/hardware_cursor_pointer_manager/src/ |
H A D | hardware_cursor_pointer_manager.cpp | 31 if (devId != devId_) { in SetTargetDevice() 32 devId_ = devId; in SetTargetDevice()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/ |
H A D | daudio_io_dev.h | 38 : devId_(devId) {}; in DAudioIoDev() 62 const std::string devId_;
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiotransport/senderengine/include/ |
H A D | av_sender_engine_transport.h | 48 : transCallback_(callback), devId_(devId) {}; in AVTransSenderTransport() 73 std::string devId_; variable
|
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraadddcameradevice_fuzzer/ |
H A D | dcameraadddcameradevice_fuzzer.cpp | 29 …MockDCameraProviderCallbackImpl(const std::string& devId, const std::string& dhId) : devId_(devId)… in MockDCameraProviderCallbackImpl() 69 std::string devId_; member in OHOS::DistributedHardware::MockDCameraProviderCallbackImpl
|
/ohos5.0/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraenabledcameradevice_fuzzer/ |
H A D | dcameraenabledcameradevice_fuzzer.cpp | 29 …MockDCameraProviderCallbackImpl(const std::string& devId, const std::string& dhId) : devId_(devId)… in MockDCameraProviderCallbackImpl() 68 std::string devId_; member in OHOS::DistributedHardware::MockDCameraProviderCallbackImpl
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audiomanager/managersink/src/ |
H A D | daudio_sink_dev.cpp | 33 : devId_(devId), ipcSinkCallback_(sinkCallback) in DAudioSinkDev() 41 …DHLOGD("Distributed audio sink device destructed, devId: %{public}s.", GetAnonyString(devId_).c_st… in ~DAudioSinkDev() 75 micClientMap_[DEFAULT_CAPTURE_ID] = std::make_shared<DMicClient>(devId_, DEFAULT_CAPTURE_ID, in InitAVTransEngines() 83 std::make_shared<DSpeakerClient>(devId_, DEFAULT_RENDER_ID, shared_from_this()); in InitAVTransEngines() 86 std::make_shared<DSpeakerClient>(devId_, LOW_LATENCY_RENDER_ID, shared_from_this()); in InitAVTransEngines() 318 … ipcSinkCallback_->OnNotifyResourceInfo(ResourceEventType::EVENT_TYPE_CLOSE_PAGE, SUBTYPE, devId_, in TaskCloseDMic() 447 event.content, devId_); in SendAudioEventToRemote() 461 DAudioSinkManager::GetInstance().OnSinkDevReleased(devId_); in JudgeDeviceStatus() 483 …ipcSinkCallback_->OnNotifyResourceInfo(ResourceEventType::EVENT_TYPE_PULL_UP_PAGE, SUBTYPE, devId_, in PullUpPage() 521 speakerClient->SendMessage(static_cast<uint32_t>(type), message, devId_); in NotifySourceDev() [all …]
|