/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
H A D | common.cpp | 32 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 D | benchmark_common.cpp | 31 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 D | hdi_common_v1_1.cpp | 31 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 D | hdi_common_v1_1.cpp | 31 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 D | benchmark_common.cpp | 31 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 D | common.cpp | 31 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 D | double_preview_test.cpp | 38 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 D | camera_video_test.cpp | 35 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 D | benchmark_common.cpp | 31 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 D | double_preview_test.h | 34 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 D | camera_video_test.h | 27 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 D | usb_camera_test_mult.h | 47 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
H A D | hdi_common_v1_2.cpp | 32 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 D | hdi_common_v1_3.h | 101 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 D | hdi_common_v1_3.cpp | 41 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 D | common.h | 58 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 D | common.h | 57 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 D | hdi_common_v1_1.h | 75 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 D | hdi_common_v1_1.h | 75 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 D | dcamera_hdf_demo.h | 97 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 D | dcamera_hdf_demo.cpp | 41 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 D | hdi_common_v1_2.h | 111 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 D | audio_adapter_direct_test.cpp | 186 attrs.streamId = 0;
in HWTEST_F() 208 attrs.streamId = 0;
in HWTEST_F() 231 attrs.streamId = 0;
in HWTEST_F()
|
H A D | audio_adapter_multchannel_test.cpp | 152 * @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 D | ohaudiondk.cpp | 1005 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()
|