/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
H A D | audio_alsa_if_lib_capture_test.cpp | 325 bool pause = true; in HWTEST_F() local 328 handleData->captureMode.ctlParam.pause = false; in HWTEST_F() 335 pause = handleData->captureMode.ctlParam.pause; in HWTEST_F() 336 EXPECT_EQ(false, pause); in HWTEST_F() 344 bool pause = false; in HWTEST_F() local 347 handleData->captureMode.ctlParam.pause = true; in HWTEST_F() 354 pause = handleData->captureMode.ctlParam.pause; in HWTEST_F() 355 EXPECT_EQ(true, pause); in HWTEST_F() [all...] |
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
H A D | audio_alsa_if_lib_render_test.cpp | 330 bool pause = true; in HWTEST_F() local 333 handleData->renderMode.ctlParam.pause = false; in HWTEST_F() 340 pause = handleData->renderMode.ctlParam.pause; in HWTEST_F() 341 EXPECT_EQ(false, pause); in HWTEST_F() 349 bool pause = false; in HWTEST_F() local 352 handleData->renderMode.ctlParam.pause = true; in HWTEST_F() 359 pause = handleData->renderMode.ctlParam.pause; in HWTEST_F() 360 EXPECT_EQ(true, pause); in HWTEST_F() [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_render.cpp | 94 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderStop() 108 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause() 109 HDF_LOGE("Audio is already pause!"); in AudioRenderPause() 122 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause() 133 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume() 145 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume()
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_render.c | 188 if (hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderPause() 189 AUDIO_FUNC_LOGE("Audio is already pause!"); in AudioRenderPause() 203 bool pauseStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderPause() 205 hwRender->renderParam.renderMode.ctlParam.pause = true; in AudioRenderPause() 210 hwRender->renderParam.renderMode.ctlParam.pause = pauseStatus; in AudioRenderPause() 226 if (!hwRender->renderParam.renderMode.ctlParam.pause) { in AudioRenderResume() 241 bool resumeStatus = hwRender->renderParam.renderMode.ctlParam.pause; in AudioRenderResume() 243 hwRender->renderParam.renderMode.ctlParam.pause = false; in AudioRenderResume() 248 hwRender->renderParam.renderMode.ctlParam.pause = resumeStatus; in AudioRenderResume()
|
H A D | audio_capture.c | 130 if (hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCapturePause() 131 AUDIO_FUNC_LOGE("Audio capture is already pause!"); in AudioCapturePause() 145 bool pauseStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCapturePause() 146 hwCapture->captureParam.captureMode.ctlParam.pause = true; in AudioCapturePause() 152 hwCapture->captureParam.captureMode.ctlParam.pause = pauseStatus; in AudioCapturePause() 168 if (!hwCapture->captureParam.captureMode.ctlParam.pause) { in AudioCaptureResume() 183 bool resumeStatus = hwCapture->captureParam.captureMode.ctlParam.pause; in AudioCaptureResume() 184 hwCapture->captureParam.captureMode.ctlParam.pause = false; in AudioCaptureResume() 190 hwCapture->captureParam.captureMode.ctlParam.pause = resumeStatus; in AudioCaptureResume()
|
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | alsa_snd_capture.c | 237 AUDIO_FUNC_LOGI("hardware driver %{public}s support pause", cardIns->canPause ? "is" : "is not");
in SetHWParams() 682 AUDIO_FUNC_LOGE("Currently in pause, please check!");
in CaptureReadImpl() 737 AUDIO_FUNC_LOGE("Currently in pause, please check!");
in CaptureMmapReadImpl() 850 int pause = pauseFlag ? AUDIO_ALSALIB_IOCTRL_PAUSE : AUDIO_ALSALIB_IOCTRL_RESUME;
in CaptureSetPauseStateImpl() local 854 ret = snd_pcm_pause(cardIns->pcmHandle, pause);
in CaptureSetPauseStateImpl() 860 if (pause == AUDIO_ALSALIB_IOCTRL_RESUME) {
in CaptureSetPauseStateImpl() 872 if (pause == AUDIO_ALSALIB_IOCTRL_PAUSE) {
in CaptureSetPauseStateImpl()
|
H A D | alsa_lib_render.c | 72 ret = renderIns->SetPauseState(renderIns, handleData->renderMode.ctlParam.pause); in AudioCtlRenderSetPauseStu() 74 AUDIO_FUNC_LOGE("Render set pause failed!"); in AudioCtlRenderSetPauseStu()
|
H A D | alsa_lib_capture.c | 30 ret = captureIns->SetPauseState(captureIns, handleData->captureMode.ctlParam.pause); in AudioCtlCaptureSetPauseStu() 32 AUDIO_FUNC_LOGE("Capture set pause failed!"); in AudioCtlCaptureSetPauseStu()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_librender_test.cpp | 626 hwRender->renderParam.renderMode.ctlParam.pause = 1;
in HWTEST_F() 652 hwRender->renderParam.renderMode.ctlParam.pause = 0;
in HWTEST_F()
|
H A D | audio_alsa_librender_test.cpp | 833 hwRender->renderParam.renderMode.ctlParam.pause = 1;
in HWTEST_F() 860 hwRender->renderParam.renderMode.ctlParam.pause = 0;
in HWTEST_F()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_libcapture_test.cpp | 519 hwCapture->captureParam.captureMode.ctlParam.pause = 1; in HWTEST_F() 551 hwCapture->captureParam.captureMode.ctlParam.pause = 0; in HWTEST_F()
|
H A D | audio_alsa_libcapture_test.cpp | 752 hwCapture->captureParam.captureMode.ctlParam.pause = 1; in HWTEST_F() 778 hwCapture->captureParam.captureMode.ctlParam.pause = 0; in HWTEST_F()
|
/drivers/peripheral/audio/hdi_service/primary_impl/include/ |
H A D | audio_internal.h | 179 bool pause; member
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 227 bool pause; member
|
/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
H A D | audio_interface_lib_render.c | 171 elemValue.value[0] = (int32_t)handleData->renderMode.ctlParam.pause; in AudioCtlRenderSetPauseBuf() 202 cmdId = handleData->renderMode.ctlParam.pause ? in AudioCtlRenderSetPauseStu()
|
H A D | audio_interface_lib_capture.c | 120 elemCaptureValue.value[0] = (int32_t)handleData->captureMode.ctlParam.pause; in AudioCtlCaptureSetPauseBuf() 152 cmdId = handleData->captureMode.ctlParam.pause ? in AudioCtlCaptureSetPauseStu()
|
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 187 bool pause; member
|