Home
last modified time | relevance | path

Searched refs:abandonAudioFocusRequest (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java242 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withSameZoneAndUsage_keepsExistingRequest()
300 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withDifferentZoneAndSameUsage_keepsExistingRequest()
311 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withSameZoneAndDifferentUsage_keepsExistingRequest()
323 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(firstRequest); in requestAudioFocus_withPreviouslyFailedRequest_doesNothingForOldRequest()
348 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(any()); in abandonAudioFocus_withNoCurrentRequest_doesNothing()
367 verify(mAudioManagerWrapper).abandonAudioFocusRequest(actualRequest); in abandonAudioFocus_withCurrentRequest_abandonsExistingFocus()
375 when(mAudioManagerWrapper.abandonAudioFocusRequest(actualRequest)).thenReturn( in abandonAudioFocus_withCurrentRequest_notifiesHalOfFocusChange()
393 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(actualRequest); in abandonAudioFocus_withFocusAlreadyLost_doesNothing()
407 verify(mAudioManagerWrapper).abandonAudioFocusRequest(actualRequest); in abandonAudioFocus_withFocusTransientlyLost_abandonsExistingFocus()
417 verify(mAudioManagerWrapper, never()).abandonAudioFocusRequest(any()); in abandonAudioFocus_withExistingRequestOfDifferentUsage_doesNothing()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DAudioManagerWrapper.java93 public int abandonAudioFocusRequest(AudioFocusRequest audioFocusRequest) { in abandonAudioFocusRequest() method in AudioManagerWrapper
94 return mAudioManager.abandonAudioFocusRequest(audioFocusRequest); in abandonAudioFocusRequest()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DCarAudioZoneInputFragment.java156 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in playAudio()
194 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in stopAudio()
DAudioTestFragment.java469 mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in onDestroyView()
609 int requestResults = mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in handleDelayedMediaStop()
995 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
DAudioPlayer.java332 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in stop()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioManagerWrapperTest.java204 public void abandonAudioFocusRequest() { in abandonAudioFocusRequest() method in AudioManagerWrapperTest
207 mAudioManagerWrapper.abandonAudioFocusRequest(request); in abandonAudioFocusRequest()
209 verify(mAudioManager).abandonAudioFocusRequest(request); in abandonAudioFocusRequest()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java134 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DVideoUi.kt572 audioManager.abandonAudioFocusRequest(audioRequest) in rememberAudioFocus()
593 audioManager.abandonAudioFocusRequest(audioRequest) in rememberAudioFocus()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioModeStateMachine.java353 mAudioManager.abandonAudioFocusRequest(mCurrentAudioFocusRequest); in processMessage()
437 mAudioManager.abandonAudioFocusRequest(mCurrentAudioFocusRequest); in processMessage()
/packages/apps/Car/systemlibs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DTextToSpeechHelper.java196 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in onTtsStopped()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioFocus.java270 int result = mAudioManager.abandonAudioFocusRequest(currentRequest.mAudioFocusRequest); in abandonAudioFocusLocked()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DRemotePreviewSession.java430 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in abandonAudioFocusIfAny()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java675 .abandonAudioFocusRequest(mLastAudioFocusRequest);
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1012 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in returnAudioFocusIfNecessary()