Home
last modified time | relevance | path

Searched refs:streamId (Results 1 - 25 of 35) sorted by relevance

12

/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
H A Dcommon.cpp32 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
37 if (streamId < 0) { in DumpImageFile()
38 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
44 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
50 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
238 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
241 captureInfo->streamIds_ = {streamId}; in StartCapture()
280 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
287 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
377 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
H A Dbenchmark_common.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
232 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
235 captureInfo->streamIds_ = {streamId}; in StartCapture()
274 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
281 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
371 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
H A Dhdi_common_v1_1.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
302 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
305 captureInfo->streamIds_ = {streamId}; in StartCapture()
357 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
364 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
468 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
H A Dhdi_common_v1_1.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
300 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
303 captureInfo->streamIds_ = {streamId}; in StartCapture()
355 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
362 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
464 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
H A Dbenchmark_common.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
259 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
262 captureInfo->streamIds_ = {streamId}; in StartCapture()
313 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
320 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
410 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
H A Dcommon.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
258 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
261 captureInfo->streamIds_ = {streamId}; in StartCapture()
300 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
307 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
397 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/
H A Ddouble_preview_test.cpp38 const int streamId, const StreamIntent intent) in SetStreamInfo()
49 streamInfo.streamId_ = streamId; in SetStreamInfo()
59 void DoublePreviewTest::CreateStream(int streamId, StreamIntent intent) in CreateStream() argument
64 if (streamId == display_->STREAM_ID_PREVIEW) { in CreateStream()
67 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
71 } else if (streamId == STREAMID_PREVIEW_DOUBLE) { in CreateStream()
74 SetStreamInfo(streamInfo, streamCustomerPreviewDouble_, streamId, intent); in CreateStream()
100 void DoublePreviewTest::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
102 captureInfo_.streamIds_ = {streamId}; in StartCapture()
36 SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer, const int streamId, const StreamIntent intent) SetStreamInfo() argument
H A Dcamera_video_test.cpp35 const int streamId, const StreamIntent intent) in SetStreamInfo()
56 streamInfo.streamId_ = streamId; in SetStreamInfo()
66 void CameraVideoTest::CreateStream(int streamId, StreamIntent intent) in CreateStream() argument
70 if (streamId == display_->STREAM_ID_PREVIEW) { in CreateStream()
73 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent); in CreateStream()
79 SetStreamInfo(streamInfo, streamCustomerSnapshot_, streamId, intent); in CreateStream()
84 SetStreamInfo(streamInfo, streamCustomerVideo_, streamId, intent); in CreateStream()
109 int streamId, int captureId, bool shutterCallback, bool isStreaming, const CaptureInfo captureInfo) in StartCapture()
111 captureInfo_.streamIds_ = {streamId}; in StartCapture()
548 CAMERA_LOGI("CreateStreams METHOD_NOT_SUPPORTED, streamId in HWTEST_F()
34 SetStreamInfo(StreamInfo &streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer, const int streamId, const StreamIntent intent) SetStreamInfo() argument
108 StartCapture( int streamId, int captureId, bool shutterCallback, bool isStreaming, const CaptureInfo captureInfo) StartCapture() argument
[all...]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_2/src/
H A Dbenchmark_common.cpp31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
36 if (streamId < 0) { in DumpImageFile()
37 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
43 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
289 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
292 captureInfo->streamIds_ = {streamId}; in StartCapture()
349 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
356 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
446 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
482 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/
H A Ddouble_preview_test.h34 void CreateStream(int streamId, StreamIntent intent);
38 const int streamId, const StreamIntent intent);
39 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
H A Dcamera_video_test.h27 void CreateStream(int streamId, StreamIntent intent);
30 const int streamId, const StreamIntent intent);
32 int streamId, int captureId, bool shutterCallback, bool isStreaming, const CaptureInfo captureInfo);
H A Dusb_camera_test_mult.h47 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
H A Dhdi_common_v1_2.cpp32 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
37 if (streamId < 0) { in DumpImageFile()
38 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
44 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
50 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
389 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
392 captureInfo->streamIds_ = {streamId}; in StartCapture()
498 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
505 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
607 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
643 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_3/include/
H A Dhdi_common_v1_3.h101 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
102 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
194 void CalculateFps(int64_t timestamp, int32_t streamId);
249 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
260 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
274 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
285 int32_t OnResult(int32_t streamId, const std::vector<uint8_t> &result) override;
/test/xts/hats/hdf/camera/cameraMg/v1_3/src/
H A Dhdi_common_v1_3.cpp41 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument
46 if (streamId < 0) { in DumpImageFile()
47 CAMERA_LOGE("ivalid stream id: %{public}d", streamId); in DumpImageFile()
53 "mkdir -p /data/stream-%d", streamId); in DumpImageFile()
59 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
642 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument
645 captureInfo->streamIds_ = {streamId}; in StartCapture()
687 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument
694 CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fp in CalculateFps()
794 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
830 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
862 OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) OnCaptureStarted() argument
924 OnResult(int32_t streamId, const std::vector<uint8_t> &result) OnResult() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/
H A Dcommon.h58 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
59 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
129 void CalculateFps(int64_t timestamp, int32_t streamId);
181 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/
H A Dcommon.h57 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
58 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
144 void CalculateFps(int64_t timestamp, int32_t streamId);
196 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/
H A Dhdi_common_v1_1.h75 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
76 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
153 void CalculateFps(int64_t timestamp, int32_t streamId);
208 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/
H A Dhdi_common_v1_1.h75 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
76 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
153 void CalculateFps(int64_t timestamp, int32_t streamId);
207 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_hdf_demo.h97 RetCode CaptureON(const int streamId, const int captureId, CaptureMode mode);
114 RetCode StreamOffline(const int streamId);
121 const int streamId, const StreamIntent intent);
145 RetCode CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer,
H A Ddcamera_hdf_demo.cpp41 const int streamId, const StreamIntent intent) in SetStreamInfo()
74 streamInfo.streamId_ = streamId; in SetStreamInfo()
123 RetCode DcameraHdfDemo::CaptureON(const int streamId, const int captureId, CaptureMode mode) in CaptureON() argument
125 DHLOGI("demo test: CaptureON enter streamId == %{public}d and captureId == %{public}d and mode == %{public}d", in CaptureON()
126 streamId, captureId, mode); in CaptureON()
137 captureInfo_.streamIds_ = {streamId}; in CaptureON()
185 RetCode DcameraHdfDemo::CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer, in CreateStreamInfo() argument
196 SetStreamInfo(streamInfo, streamCustomer, streamId, intent); in CreateStreamInfo()
202 streamIds_.push_back(streamId); in CreateStreamInfo()
1288 RetCode DcameraHdfDemo::StreamOffline(const int streamId) in StreamOffline() argument
39 SetStreamInfo(StreamInfo& streamInfo, const std::shared_ptr<StreamCustomer> &streamCustomer, const int streamId, const StreamIntent intent) SetStreamInfo() argument
[all...]
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/
H A Dhdi_common_v1_2.h111 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
112 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
212 void CalculateFps(int64_t timestamp, int32_t streamId);
267 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
277 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
/test/xts/hats/hdf/audio/idl/common/adapter_multchannel/src/
H A Daudio_adapter_direct_test.cpp186 attrs.streamId = 0; in HWTEST_F()
208 attrs.streamId = 0; in HWTEST_F()
231 attrs.streamId = 0; in HWTEST_F()
H A Daudio_adapter_multchannel_test.cpp152 * @tc.desc: Verify the streamId of CreateAndDestoryRenderfunction
163 attrs.streamId = MULTICHANNEL_OUTPUT_STREAM_ID; in HWTEST_F()
/test/xts/acts/multimedia/audio/audio_js_standard/OhAudioNdk/entry/src/main/cpp/
H A Dohaudiondk.cpp1005 uint32_t streamId; in OHAudioCapturerGetStreamId() local
1006 OH_AudioStream_Result oH_AudioStream_Result = OH_AudioCapturer_GetStreamId(audioCapturer, &streamId); in OHAudioCapturerGetStreamId()
1008 napi_create_int32(env, streamId, &result); in OHAudioCapturerGetStreamId()
1389 uint32_t streamId; in OHAudioRendererGetStreamId() local
1390 OH_AudioStream_Result oH_AudioStream_Result = OH_AudioRenderer_GetStreamId(audiorenderer, &streamId); in OHAudioRendererGetStreamId()
1392 napi_create_int32(env, streamId, &result); in OHAudioRendererGetStreamId()

Completed in 29 milliseconds

12