Searched refs:abandonAudioFocusRequest (Results 1 – 14 of 14) sorted by relevance
242 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 …]
93 public int abandonAudioFocusRequest(AudioFocusRequest audioFocusRequest) { in abandonAudioFocusRequest() method in AudioManagerWrapper94 return mAudioManager.abandonAudioFocusRequest(audioFocusRequest); in abandonAudioFocusRequest()
156 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in playAudio()194 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in stopAudio()
469 mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in onDestroyView()609 int requestResults = mAudioManager.abandonAudioFocusRequest(mDelayedFocusRequest); in handleDelayedMediaStop()995 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
332 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in stop()
204 public void abandonAudioFocusRequest() { in abandonAudioFocusRequest() method in AudioManagerWrapperTest207 mAudioManagerWrapper.abandonAudioFocusRequest(request); in abandonAudioFocusRequest()209 verify(mAudioManager).abandonAudioFocusRequest(request); in abandonAudioFocusRequest()
134 mAudioManager.abandonAudioFocusRequest(mFocusRequest); in abandonAudioFocus()
572 audioManager.abandonAudioFocusRequest(audioRequest) in rememberAudioFocus()593 audioManager.abandonAudioFocusRequest(audioRequest) in rememberAudioFocus()
353 mAudioManager.abandonAudioFocusRequest(mCurrentAudioFocusRequest); in processMessage()437 mAudioManager.abandonAudioFocusRequest(mCurrentAudioFocusRequest); in processMessage()
196 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in onTtsStopped()
270 int result = mAudioManager.abandonAudioFocusRequest(currentRequest.mAudioFocusRequest); in abandonAudioFocusLocked()
430 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in abandonAudioFocusIfAny()
675 .abandonAudioFocusRequest(mLastAudioFocusRequest);
1012 mAudioManager.abandonAudioFocusRequest(mAudioFocusRequest); in returnAudioFocusIfNecessary()