/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_screen_capture.cpp | 138 int32_t TestScreenCapture::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in TestScreenCapture 143 return screenCapture->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
|
H A D | test_screen_capture.h | 55 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type);
|
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/ |
H A D | screen_capture_service_stub.h | 43 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override; 72 int32_t AcquireAudioBuffer(MessageParcel &data, MessageParcel &reply);
|
H A D | screen_capture_service_stub.cpp | 75 screenCaptureStubFuncs_[ACQUIRE_AUDIO_BUF] = &ScreenCaptureServiceStub::AcquireAudioBuffer; in Init() 254 int32_t ScreenCaptureServiceStub::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServiceStub 259 return screenCaptureServer_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer() 517 int32_t ScreenCaptureServiceStub::AcquireAudioBuffer(MessageParcel &data, MessageParcel &reply) 523 int32_t ret = AcquireAudioBuffer(audioBuffer, type);
|
H A D | screen_capture_service_proxy.h | 41 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
|
H A D | i_standard_screen_capture_service.h | 52 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
|
H A D | screen_capture_service_proxy.cpp | 316 int32_t ScreenCaptureServiceProxy::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServiceProxy 331 "AcquireAudioBuffer failed, error: %{public}d", error); in AcquireAudioBuffer()
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/native/src/ |
H A D | screen_capture_native_mock.cpp | 179 int32_t ScreenCaptureNativeMock::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureNativeMock 183 return screenCapture_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
|
/foundation/multimedia/player_framework/frameworks/native/screen_capture/ |
H A D | screen_capture_impl.h | 45 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) override;
|
H A D | screen_capture_impl.cpp | 345 int32_t ScreenCaptureImpl::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureImpl 347 MEDIA_LOGD("ScreenCaptureImpl:0x%{public}06" PRIXPTR " AcquireAudioBuffer in", FAKE_POINTER(this)); in AcquireAudioBuffer() 350 return screenCaptureService_->AcquireAudioBuffer(audiobuffer, type); in AcquireAudioBuffer()
|
/foundation/multimedia/player_framework/services/include/ |
H A D | i_screen_capture_service.h | 43 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencaptureacquireaudiobuffer_fuzzer/ |
H A D | screencaptureacquireaudiobuffer_fuzzer.cpp | 94 TestScreenCapture::AcquireAudioBuffer(buffer, type); in FuzzScreenCaptureAcquireAudioBuffer()
|
/foundation/multimedia/player_framework/services/services/screen_capture/client/ |
H A D | screen_capture_client.h | 45 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
|
H A D | screen_capture_client.cpp | 218 int32_t ScreenCaptureClient::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureClient 222 return screenCaptureProxy_->AcquireAudioBuffer(audioBuffer, type); in AcquireAudioBuffer()
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/ |
H A D | screen_capture_mock.h | 87 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) = 0;
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/native/include/ |
H A D | screen_capture_native_mock.h | 42 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/include/ |
H A D | screen_capture_capi_mock.h | 42 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer,
|
/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | audio_capturer_wrapper.h | 63 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer);
|
H A D | screen_capture_server.cpp | 2002 int32_t ScreenCaptureServer::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) in AcquireAudioBuffer() function in OHOS::Media::ScreenCaptureServer 2004 MediaTrace trace("ScreenCaptureServer::AcquireAudioBuffer"); in AcquireAudioBuffer() 2006 MEDIA_LOGD("ScreenCaptureServer: 0x%{public}06" PRIXPTR " AcquireAudioBuffer start, state:%{public}d, " in AcquireAudioBuffer() 2009 "AcquireAudioBuffer failed, capture is not STARTED, state:%{public}d, type:%{public}d", captureState_, type); in AcquireAudioBuffer() 2013 return micAudioCapture_->AcquireAudioBuffer(audioBuffer); in AcquireAudioBuffer() 2017 return innerAudioCapture_->AcquireAudioBuffer(audioBuffer); in AcquireAudioBuffer() 2019 MEDIA_LOGE("AcquireAudioBuffer failed, source type not support, type:%{public}d", type); in AcquireAudioBuffer() 2021 "AcquireAudioBuffer failed, source type not support"); in AcquireAudioBuffer() 2033 if (micAudioCapture_->AcquireAudioBuffer(micAudioBuffer) != MSERR_OK) { in AcquireAudioBufferMix() 2034 MEDIA_LOGE("micAudioCapture AcquireAudioBuffer faile in AcquireAudioBufferMix() [all...] |
H A D | audio_capturer_wrapper.cpp | 327 int32_t AudioCapturerWrapper::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer) in AcquireAudioBuffer() function in OHOS::Media::AudioCapturerWrapper 331 CHECK_AND_RETURN_RET_LOG(isRunning_.load(), MSERR_UNKNOWN, "AcquireAudioBuffer failed, not running"); in AcquireAudioBuffer() 336 MEDIA_LOGE("AcquireAudioBuffer timeout, threadName:%{public}s", threadName_.c_str()); in AcquireAudioBuffer()
|
H A D | screen_capture_server.h | 265 int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, AudioCaptureSourceType type) override;
|
/foundation/multimedia/player_framework/interfaces/inner_api/native/ |
H A D | screen_capture.h | 259 virtual int32_t AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audiobuffer, AudioCaptureSourceType type) = 0;
|
/foundation/multimedia/player_framework/frameworks/native/capi/screencapture/ |
H A D | native_avscreen_capture.cpp | 110 static OH_AVSCREEN_CAPTURE_ErrCode AcquireAudioBuffer(const std::shared_ptr<ScreenCapture> &screenCapture, in AcquireAudioBuffer() function in NativeScreenCaptureDataCallback 114 int32_t ret = screenCapture->AcquireAudioBuffer(aBuffer, type); in AcquireAudioBuffer() 116 "AcquireAudioBuffer failed not permit! ret:%{public}d", ret); in AcquireAudioBuffer() 118 "AcquireAudioBuffer failed aBuffer no memory!"); in AcquireAudioBuffer() 122 "AcquireAudioBuffer failed avBuffer no memory!"); in AcquireAudioBuffer() 128 "AcquireAudioBuffer failed ohAvBuffer no memory!"); in AcquireAudioBuffer() 161 AcquireAudioBuffer(screenCaptureObj->screenCapture_, ohAvBuffer, timestamp, audioSourceType); in OnProcessAudioBuffer() 608 MEDIA_LOGE("AcquireAudioBuffer() not permit for has set DataCallback"); in OH_AVScreenCapture_AcquireAudioBuffer() 613 screenCaptureObj->screenCapture_->AcquireAudioBuffer(aBuffer, static_cast<AudioCaptureSourceType>(type)); in OH_AVScreenCapture_AcquireAudioBuffer() 614 CHECK_AND_RETURN_RET_LOG(ret == MSERR_OK, AV_SCREEN_CAPTURE_ERR_OPERATE_NOT_PERMIT, "AcquireAudioBuffer faile in OH_AVScreenCapture_AcquireAudioBuffer() [all...] |
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/ |
H A D | screen_capture_unit_test_state.cpp | 54 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in OnAudioBufferAvailable() 56 cout << "AcquireAudioBuffer failed, audio buffer empty, PLEASE CHECK IF IT IS OK!!!" << in OnAudioBufferAvailable() 60 cout << "AcquireAudioBuffer, audioBufferLen:" << audioBuffer->length << in OnAudioBufferAvailable() 265 EXPECT_NE(MSERR_OK, screenCapture_->AcquireAudioBuffer(audioBuffer, type)); in CheckDataCallbackAudio() 646 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in AudioLoop() 648 cout << "AcquireAudioBuffer failed, audio buffer is nullptr" << endl; in AudioLoop() 651 cout << "index audio:" << index_audio_frame++ << ", AcquireAudioBuffer, audioBufferLen:" << in AudioLoop() 656 cout << "AcquireAudioBuffer failed" << endl; in AudioLoop() 672 if (screenCapture_->AcquireAudioBuffer(audioBuffer, type) == MSERR_OK) { in AudioLoopWithoutRelease() 674 cout << "AcquireAudioBuffer faile in AudioLoopWithoutRelease() [all...] |
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/ |
H A D | screen_capture_capi_mock.cpp | 291 int32_t ScreenCaptureCapiMock::AcquireAudioBuffer(std::shared_ptr<AudioBuffer> &audioBuffer, in AcquireAudioBuffer() function in ScreenCaptureCapiMock
|