/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/benchmarktest/v1_3/src/ |
D | benchmark_common.cpp | 156 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 158 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 159 infos->v1_0.width_ = previewWidth; in DefaultPreview() 160 infos->v1_0.height_ = previewHeight; in DefaultPreview() 161 infos->v1_0.format_ = previewFormat; in DefaultPreview() 162 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 163 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 164 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 168 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 170 infos->v1_0.streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/fuzztest/common/src/ |
D | common.cpp | 261 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 263 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 264 infos->v1_0.width_ = previewWidth; in DefaultPreview() 265 infos->v1_0.height_ = previewHeight; in DefaultPreview() 266 infos->v1_0.format_ = previewFormat; in DefaultPreview() 267 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 268 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 269 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 273 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 275 infos->v1_0.streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | ut_common.cpp | 149 void Test::DefaultPreview(std::shared_ptr<StreamInfo> &infos) in DefaultPreview() argument 151 infos->streamId_ = streamIdPreview; in DefaultPreview() 152 infos->width_ = previewWidth; in DefaultPreview() 153 infos->height_ = previewHeight; in DefaultPreview() 154 infos->format_ = previewFormat; in DefaultPreview() 155 infos->dataspace_ = UT_DATA_SIZE; in DefaultPreview() 156 infos->intent_ = StreamIntent::PREVIEW; in DefaultPreview() 157 infos->tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 160 void Test::DefaultCapture(std::shared_ptr<StreamInfo> &infos) in DefaultCapture() argument 162 infos->streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_3/src/ |
D | hdi_common_v1_3.cpp | 156 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 158 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 159 infos->v1_0.width_ = previewWidth; in DefaultPreview() 160 infos->v1_0.height_ = previewHeight; in DefaultPreview() 161 infos->v1_0.format_ = previewFormat; in DefaultPreview() 162 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 163 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 164 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 168 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 170 infos->v1_0.streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
D | hdi_common_v1_2.cpp | 183 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 185 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 186 infos->v1_0.width_ = previewWidth; in DefaultPreview() 187 infos->v1_0.height_ = previewHeight; in DefaultPreview() 188 infos->v1_0.format_ = previewFormat; in DefaultPreview() 189 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 190 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 191 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 195 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 197 infos->v1_0.streamId_ = streamIdCapture; in DefaultCapture() [all …]
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | hdi_common_v1_1.cpp | 134 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultPreview() argument 136 infos->v1_0.streamId_ = streamIdPreview; in DefaultPreview() 137 infos->v1_0.width_ = previewWidth; in DefaultPreview() 138 infos->v1_0.height_ = previewHeight; in DefaultPreview() 139 infos->v1_0.format_ = previewFormat; in DefaultPreview() 140 infos->v1_0.dataspace_ = UT_DATA_SIZE; in DefaultPreview() 141 infos->v1_0.intent_ = StreamIntent::PREVIEW; in DefaultPreview() 142 infos->v1_0.tunneledMode_ = UT_TUNNEL_MODE; in DefaultPreview() 146 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos) in DefaultCapture() argument 148 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/test/hdi/v1_3/include/ |
D | hdi_common_v1_3.h | 86 void DefaultPreview(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 87 void DefaultCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 88 void DefaultSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 89 void DefaultInfosPreview(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 90 void DefaultInfosPreviewV1_2(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 91 void DefaultInfosCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 92 … DefaultInfosProfessionalCapture(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 93 void DefaultInfosAnalyze(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 94 void DefaultInfosVideo(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 95 void DefaultInfosSketch(std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); [all …]
|
/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/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/peripheral/camera/test/hdi/v1_0/include/ |
D | ut_common.h | 59 void DefaultPreview(std::shared_ptr<StreamInfo> &infos); 60 void DefaultCapture(std::shared_ptr<StreamInfo> &infos); 61 void DefaultInfosPreview(std::shared_ptr<StreamInfo> &infos); 62 void DefaultInfosCapture(std::shared_ptr<StreamInfo> &infos); 63 void DefaultInfosVideo(std::shared_ptr<StreamInfo> &infos); 64 void DefaultInfosAnalyze(std::shared_ptr<StreamInfo> &infos); 206 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; 207 … int32_t OnCaptureError(int32_t captureId, const std::vector<CaptureErrorInfo> &infos) override;
|
/drivers/peripheral/camera/test/hdi/v1_2/include/ |
D | hdi_common_v1_2.h | 89 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 91 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 93 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 95 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 97 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 99 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 101 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 103 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 105 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 260 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; [all …]
|
/drivers/peripheral/camera/test/fuzztest/common/include/ |
D | common.h | 95 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 97 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 99 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 101 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 103 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 105 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 107 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 109 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 111 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 268 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; [all …]
|
/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() 62 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/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/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/hdi/v1_1/include/ |
D | hdi_common_v1_1.h | 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); 73 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 75 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 77 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 79 std::shared_ptr<OHOS::HDI::Camera::V1_1::StreamInfo_V1_1> &infos); 217 … int32_t OnCaptureEnded(int32_t captureId, const std::vector<CaptureEndedInfo> &infos) override; 218 … 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/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/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/stream_operator/ |
D | stream_operator_vdi_impl.h | 33 … const std::vector<VdiStreamInfo> &infos, VdiStreamSupportType &type) override; 63 void OnCaptureEnded(int32_t captureId, const std::vector<VdiCaptureEndedInfo> &infos); 64 void OnCaptureError(int32_t captureId, const std::vector<VdiCaptureErrorInfo> &infos); 69 const std::vector<VdiStreamInfo> &infos);
|