/drivers/hdf_core/adapter/khdf/liteos/platform/src/ |
D | platform_trace.c | 89 void PlatformTraceAddUintMsg(int module, int moduleFun, const unsigned int infos[], uint8_t size) in PlatformTraceAddUintMsg() argument 108 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1]); in PlatformTraceAddUintMsg() 112 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1]); in PlatformTraceAddUintMsg() 116 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1], in PlatformTraceAddUintMsg() 117 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1]); in PlatformTraceAddUintMsg() 121 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1], in PlatformTraceAddUintMsg() 122 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_4 - 1]); in PlatformTraceAddUintMsg() 126 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1], in PlatformTraceAddUintMsg() 127 … infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1], infos[PLATFORM_TRACE_UINT_PARAM_SIZE_4 - 1], in PlatformTraceAddUintMsg() 128 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_MAX - 1]); in PlatformTraceAddUintMsg()
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | ut_common.cpp | 128 void Test::DefaultPreview(std::shared_ptr<StreamInfo> &infos) in DefaultPreview() argument 130 infos->streamId_ = streamIdPreview; in DefaultPreview() 131 infos->width_ = previewWidth; in DefaultPreview() 132 infos->height_ = previewHeight; in DefaultPreview() 133 infos->format_ = previewFormat; in DefaultPreview() 134 infos->dataspace_ = UT_DATA_SIZE; in DefaultPreview() 135 infos->intent_ = StreamIntent::PREVIEW; in DefaultPreview() 136 infos->tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 139 void Test::DefaultCapture(std::shared_ptr<StreamInfo> &infos) in DefaultCapture() argument 141 infos->streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | hdi_common_v1_1.cpp | 145 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 147 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 148 infos->v1_0.width_ = previewWidth; in DefaultPreview() 149 infos->v1_0.height_ = previewHeight; in DefaultPreview() 150 infos->v1_0.format_ = previewFormat; in DefaultPreview() 151 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 152 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 153 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 157 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 159 infos->v1_0.streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/common/callback/src/ |
D | stream_operator_callback.cpp | 29 …reamOperatorCallback::OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) in OnCaptureEnded() argument 32 (void)infos; in OnCaptureEnded() 37 …reamOperatorCallback::OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) in OnCaptureError() argument 40 (void)infos; in OnCaptureError()
|
/drivers/peripheral/camera/hdi_service/v1_0/src/ |
D | stream_operator_service_callback.cpp | 31 …orServiceCallback::OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos) in OnCaptureEnded() argument 35 for (auto info : infos) { in OnCaptureEnded() 43 …orServiceCallback::OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos) in OnCaptureError() argument 47 for (auto info : infos) { in OnCaptureError()
|
/drivers/peripheral/camera/test/hdi/v1_0/include/ |
D | ut_common.h | 60 void DefaultPreview(std::shared_ptr<StreamInfo> &infos); 61 void DefaultCapture(std::shared_ptr<StreamInfo> &infos); 62 void DefaultInfosPreview(std::shared_ptr<StreamInfo> &infos); 63 void DefaultInfosCapture(std::shared_ptr<StreamInfo> &infos); 64 void DefaultInfosVideo(std::shared_ptr<StreamInfo> &infos); 65 void DefaultInfosAnalyze(std::shared_ptr<StreamInfo> &infos); 193 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; 194 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
|
/drivers/hdf_core/framework/support/platform/src/i2s/ |
D | i2s_core.c | 106 unsigned int infos[I2S_TRACE_BASIC_PARAM_NUM]; in I2sCntlrStartRead() local 107 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->busNum; in I2sCntlrStartRead() 108 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = cntlr->irqNum; in I2sCntlrStartRead() 110 infos, I2S_TRACE_BASIC_PARAM_NUM); in I2sCntlrStartRead() 150 unsigned int infos[I2S_TRACE_PARAM_WRITE_NUM]; in I2sCntlrStartWrite() local 151 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->busNum; in I2sCntlrStartWrite() 152 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = cntlr->irqNum; in I2sCntlrStartWrite() 154 infos, I2S_TRACE_PARAM_WRITE_NUM); in I2sCntlrStartWrite()
|
/drivers/hdf_core/framework/support/platform/src/fwk/ |
D | platform_trace_unopen.c | 59 void PlatformTraceAddUintMsg(int module, int moduleFun, const unsigned int infos[], uint8_t size) in PlatformTraceAddUintMsg() argument 63 (void)infos; in PlatformTraceAddUintMsg()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameracreatestreams_fuzzer/ |
D | dcameracreatestreams_fuzzer.cpp | 44 std::vector<StreamInfo> infos; in DcameraCreateStreamsFuzzTest() local 55 infos.push_back(info); in DcameraCreateStreamsFuzzTest() 63 dCameraStreamOperator->CreateStreams(infos); in DcameraCreateStreamsFuzzTest()
|
/drivers/hdf_core/framework/support/platform/src/spi/ |
D | spi_core.c | 96 unsigned int infos[SPI_TRACE_BASIC_PARAM_NUM]; in SpiCntlrSetCfg() local 97 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->busNum; in SpiCntlrSetCfg() 98 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = cntlr->numCs; in SpiCntlrSetCfg() 99 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1] = cntlr->curCs; in SpiCntlrSetCfg() 101 infos, SPI_TRACE_BASIC_PARAM_NUM); in SpiCntlrSetCfg() 126 unsigned int infos[SPI_TRACE_PARAM_GET_NUM]; in SpiCntlrGetCfg() local 127 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->busNum; in SpiCntlrGetCfg() 128 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = cntlr->numCs; in SpiCntlrGetCfg() 129 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_3 - 1] = cntlr->curCs; in SpiCntlrGetCfg() 131 infos, SPI_TRACE_PARAM_GET_NUM); in SpiCntlrGetCfg()
|
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/ |
D | mock_dstream_operator_callback.h | 35 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override in OnCaptureEnded() argument 40 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override in OnCaptureError() argument
|
/drivers/peripheral/camera/test/common/callback/include/ |
D | stream_operator_callback.h | 30 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override; 31 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override;
|
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/ |
D | istream_operator_vdi_callback.h | 39 …virtual int32_t OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos) =… 41 …virtual int32_t OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos) =…
|
/drivers/peripheral/camera/test/hdi/v1_1/include/ |
D | hdi_common_v1_1.h | 61 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 63 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 65 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 67 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 69 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 71 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 207 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; 208 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dcameraisstreamssupported_fuzzer/ |
D | dcameraisstreamssupported_fuzzer.cpp | 52 std::vector<StreamInfo> infos; in DcameraIsStreamsSupportedFuzzTest() local 63 infos.push_back(info); in DcameraIsStreamsSupportedFuzzTest() 71 dCameraStreamOperator->IsStreamsSupported(mode, modeSetting, infos, type); in DcameraIsStreamsSupportedFuzzTest()
|
/drivers/peripheral/camera/hdi_service/v1_0/include/ |
D | stream_operator_service_callback.h | 38 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos) override; 40 … int32_t OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos) override;
|
/drivers/peripheral/camera/vdi_base/v4l2/include/stream_operator/ |
D | stream_operator_vdi_impl.h | 33 … const std::vector<VdiStreamInfo> &infos, VdiStreamSupportType &type) override; 61 void OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos); 62 void OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos); 67 const std::vector<VdiStreamInfo> &infos);
|
/drivers/hdf_core/framework/support/platform/src/adc/ |
D | adc_core.c | 93 unsigned int infos[ADC_TRACE_BASIC_PARAM_NUM]; in AdcDeviceStart() local 94 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in AdcDeviceStart() 95 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = device->chanNum; in AdcDeviceStart() 97 infos, ADC_TRACE_BASIC_PARAM_NUM); in AdcDeviceStart() 125 unsigned int infos[ADC_TRACE_PARAM_STOP_NUM]; in AdcDeviceStop() local 126 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in AdcDeviceStop() 127 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = device->chanNum; in AdcDeviceStop() 129 infos, ADC_TRACE_PARAM_STOP_NUM); in AdcDeviceStop()
|
/drivers/peripheral/camera/vdi_base/v4l2/include/offline_stream_operator/ |
D | offline_stream.h | 44 void OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos); 45 void OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos);
|
/drivers/peripheral/camera/test/fuzztest/common/src/ |
D | common.cpp | 102 const std::vector<CaptureEndedInfo> &infos) in OnCaptureEnded() argument 104 for (auto it : infos) { in OnCaptureEnded() 112 const std::vector<CaptureErrorInfo> &infos) in OnCaptureError() argument 114 for (auto it : infos) { in OnCaptureError()
|
/drivers/hdf_core/framework/support/platform/src/dac/ |
D | dac_core.c | 301 unsigned int infos[DAC_TRACE_BASIC_PARAM_NUM]; in DacDeviceStart() local 302 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in DacDeviceStart() 303 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = device->chanNum; in DacDeviceStart() 305 … PLATFORM_TRACE_MODULE_DAC, PLATFORM_TRACE_MODULE_DAC_FUN_START, infos, DAC_TRACE_BASIC_PARAM_NUM); in DacDeviceStart() 333 unsigned int infos[DAC_TRACE_PARAM_STOP_NUM]; in DacDeviceStop() local 334 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = device->devNum; in DacDeviceStop() 335 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_2 - 1] = device->chanNum; in DacDeviceStop() 337 … PLATFORM_TRACE_MODULE_DAC, PLATFORM_TRACE_MODULE_DAC_FUN_STOP, infos, DAC_TRACE_PARAM_STOP_NUM); in DacDeviceStop()
|
/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dstreamchangetoofflinestream_fuzzer/ |
D | dstreamchangetoofflinestream_fuzzer.cpp | 37 int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo>& infos) override in OnCaptureEnded() argument 42 int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo>& infos) override in OnCaptureError() argument
|
/drivers/interface/camera/v1_0/ |
D | IStreamOperatorCallback.idl | 45 * @param infos Indicates information related to the capture when it ends. 50 OnCaptureEnded([in] int captureId, [in] struct CaptureEndedInfo[] infos); 56 * @param infos Indicates a list of capture error messages. 61 OnCaptureError([in] int captureId, [in] struct CaptureErrorInfo[] infos);
|
/drivers/hdf_core/framework/support/platform/src/watchdog/ |
D | watchdog_core.c | 140 unsigned int infos[WATCHDOG_TRACE_BASIC_PARAM_NUM]; in WatchdogCntlrStart() local 141 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->wdtId; in WatchdogCntlrStart() 143 infos, WATCHDOG_TRACE_BASIC_PARAM_NUM); in WatchdogCntlrStart() 170 unsigned int infos[WATCHDOG_TRACE_PARAM_STOP_NUM]; in WatchdogCntlrStop() local 171 infos[PLATFORM_TRACE_UINT_PARAM_SIZE_1 - 1] = cntlr->wdtId; in WatchdogCntlrStop() 173 infos, WATCHDOG_TRACE_PARAM_STOP_NUM); in WatchdogCntlrStop()
|
/drivers/peripheral/camera/vdi_base/v4l2/src/offline_stream_operator/ |
D | offline_stream.cpp | 223 void OfflineStream::OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo>& infos) in OnCaptureEnded() argument 226 callback_->OnCaptureEnded(captureId, infos); in OnCaptureEnded() 229 void OfflineStream::OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo>& infos) in OnCaptureError() argument 232 callback_->OnCaptureError(captureId, infos); in OnCaptureError()
|