/test/xts/acts/multimedia/media/media_js_standard/soundPool/src/main/ets/test/ |
D | SoundPoolXTS.ets | 476 let streamId = -1; 497 console.info(`${TAG}: play success, streamId: ${streamId_}`); 498 streamId = streamId_; 500 console.info(`${TAG}: play fail! streamId: ${streamId_}`); 508 if (streamId != -1) { 509 await soundPool.stop(streamId); 527 let streamId = -1; 548 console.info(`${TAG}: play success, streamId: ${streamId_}`); 549 streamId = streamId_; 551 console.info(`${TAG}: play fail! streamId: ${streamId_}`); [all …]
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/include/ |
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…
|
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);
|
D | usb_camera_test_mult.h | 47 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
|
D | test_display.h | 167 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming);
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
D | double_preview_test.cpp | 38 const int streamId, const StreamIntent intent) in SetStreamInfo() argument 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 isStre… in StartCapture() argument 102 captureInfo_.streamIds_ = {streamId}; in StartCapture()
|
D | camera_video_test.cpp | 35 const int streamId, const StreamIntent intent) in SetStreamInfo() argument 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() argument 111 captureInfo_.streamIds_ = {streamId}; in StartCapture()
|
D | usb_camera_test_mult.cpp | 222 void UtestUSBCameraTestMult::StartCapture(int streamId, int captureId, bool shutterCallback, bool i… in StartCapture() argument 225 captureInfo_.streamIds_ = {streamId}; in StartCapture()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/ |
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() 233 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument 236 captureInfo->streamIds_ = {streamId}; in StartCapture() 275 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument 282 … CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fps); in CalculateFps() 329 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/ |
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, fps); in CalculateFps() 328 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/ |
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() 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, fps); in CalculateFps() 328 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/ |
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, fps); in CalculateFps() 367 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/ |
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() 295 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument 298 captureInfo->streamIds_ = {streamId}; in StartCapture() 350 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument 357 … CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fps); in CalculateFps() 415 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/ |
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() 295 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument 298 captureInfo->streamIds_ = {streamId}; in StartCapture() 350 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument 357 … CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fps); in CalculateFps() 415 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/ |
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() 368 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture() argument 371 captureInfo->streamIds_ = {streamId}; in StartCapture() 477 void Test::StreamConsumer::CalculateFps(int64_t timestamp, int32_t streamId) in CalculateFps() argument 484 … CAMERA_LOGI("Calculate FPS success, streamId: %{public}d, Fps:%{public}f", streamId, fps); in CalculateFps() 542 int32_t streamId = 0; in CreateProducer() local [all …]
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/ |
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/ |
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); 128 void CalculateFps(int64_t timestamp, int32_t streamId); 180 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
|
/test/xts/dcts/distributedhardware/distributedcameratest/ |
D | dcamera_hdf_demo.h | 96 RetCode CaptureON(const int streamId, const int captureId, CaptureMode mode); 113 RetCode StreamOffline(const int streamId); 120 const int streamId, const StreamIntent intent); 144 RetCode CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &streamCustomer,
|
D | dcamera_hdf_demo.cpp | 40 const int streamId, const StreamIntent intent) in SetStreamInfo() argument 73 streamInfo.streamId_ = streamId; in SetStreamInfo() 122 RetCode DcameraHdfDemo::CaptureON(const int streamId, const int captureId, CaptureMode mode) in CaptureON() argument 125 streamId, captureId, mode); in CaptureON() 136 captureInfo_.streamIds_ = {streamId}; in CaptureON() 184 RetCode DcameraHdfDemo::CreateStreamInfo(const int streamId, std::shared_ptr<StreamCustomer> &strea… in CreateStreamInfo() argument 195 SetStreamInfo(streamInfo, streamCustomer, streamId, intent); in CreateStreamInfo() 201 streamIds_.push_back(streamId); in CreateStreamInfo() 1269 RetCode DcameraHdfDemo::StreamOffline(const int streamId) in StreamOffline() argument 1277 streamIds.push_back(streamId); in StreamOffline()
|
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/ |
D | hdi_common_v1_1.h | 74 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size); 75 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming); 152 void CalculateFps(int64_t timestamp, int32_t streamId); 206 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/ |
D | hdi_common_v1_1.h | 74 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size); 75 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming); 152 void CalculateFps(int64_t timestamp, int32_t streamId); 206 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
D | hdi_common_v1_2.h | 108 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size); 109 void StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming); 206 void CalculateFps(int64_t timestamp, int32_t streamId); 261 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override; 271 int32_t OnCaptureStarted(int32_t captureId, const std::vector<int32_t> &streamId) override;
|
/test/xts/hats/hdf/audio/idl/common/adapter/src/ |
D | audio_adapter_multchannel_test.cpp | 163 attrs.streamId = MULTICHANNEL_OUTPUT_STREAM_ID;
|
/test/xts/acts/multimedia/audio/audio_js_standard/audio_ndk_test/entry/src/main/cpp/napi/ |
D | audioTest.cpp | 245 uint32_t streamId; in AudioCaptureGetStreamId() local 246 OH_AudioStream_Result result = OH_AudioCapturer_GetStreamId(audioCapturer, &streamId); in AudioCaptureGetStreamId() 693 uint32_t streamId; in AudioRenderGetStreamId() local 694 OH_AudioStream_Result result = OH_AudioRenderer_GetStreamId(audioRenderer, &streamId); in AudioRenderGetStreamId()
|
/test/xts/dcts/distributedhardware/distributedaudiotest/ |
D | distributedaudiotest.cpp | 223 g_rattrs.streamId = RENDER_STREAM_ID; in OpenSpk() 435 captureAttr.streamId = CAPTURE_STREAM_ID; in OpenMic()
|