Home
last modified time | relevance | path

Searched refs:abandonAudioFocus (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandlerTest.java78 when(mMockAudioManager.abandonAudioFocus(any())).thenReturn(AudioManager.AUDIOFOCUS_GAIN); in setUp()
131 verify(mMockAudioManager, times(0)).abandonAudioFocus(any()); in testDisconnect()
192 verify(mMockAudioManager, times(0)).abandonAudioFocus(any()); in testFocusLostTransient()
204 verify(mMockAudioManager, times(0)).abandonAudioFocus(any()); in testFocusRerequest()
224 verify(mMockAudioManager, times(0)).abandonAudioFocus(any()); in testFocusGainTransient()
237 verify(mMockAudioManager, times(1)).abandonAudioFocus(any()); in testFocusLost()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java124 abandonAudioFocus(); in cleanup()
232 abandonAudioFocus(); in handleMessage()
322 private synchronized void abandonAudioFocus() { in abandonAudioFocus() method in A2dpSinkStreamHandler
325 mAudioManager.abandonAudioFocus(mAudioFocusListener); in abandonAudioFocus()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java446 mAudioManager.abandonAudioFocus(mNavFocusListener, mNavAudioAttrib); in handleNavEnd()
496 mAudioManager.abandonAudioFocus(mVrFocusListener, mVrAudioAttrib); in handleVrEnd()
513 mAudioManager.abandonAudioFocus(mRadioFocusListener, mRadioAudioAttrib); in handleRadioEnd()
627 abandonAudioFocus(); in FocusHandler()
645 abandonAudioFocus(); in release()
648 private void abandonAudioFocus() { in abandonAudioFocus() method in AudioTestFragment.FocusHandler
DAudioPlayer.java167 mAudioManager.abandonAudioFocus(mFocusListener); in doStart()
181 mAudioManager.abandonAudioFocus(mFocusListener); in doStart()
230 mAudioManager.abandonAudioFocus(mFocusListener); in stop()
/packages/apps/TV/src/com/android/tv/audio/
DAudioManagerHelper.java131 public void abandonAudioFocus() { in abandonAudioFocus() method in AudioManagerHelper
136 mAudioManager.abandonAudioFocus(this); in abandonAudioFocus()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DVoicemailAudioManager.java64 public void abandonAudioFocus() { in abandonAudioFocus() method in VoicemailAudioManager
66 audioManager.abandonAudioFocus(this); in abandonAudioFocus()
DVoicemailPlaybackPresenter.java713 voicemailAudioManager.abandonAudioFocus(); in pausePlayback()
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java165 mAudioManager.abandonAudioFocus(null); in stopSound()
223 mAudioManager.abandonAudioFocus(null); in onCompletion()
/packages/apps/DeskClock/src/com/android/deskclock/
DAsyncRingtonePlayer.java398 mAudioManager.abandonAudioFocus(null);
605 mAudioManager.abandonAudioFocus(null);
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt208 mAudioManager.abandonAudioFocus(mAudioFocusListener) in stopPlayback()
253 mAudioManager.abandonAudioFocus(this) in onAudioFocusChange()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java234 mAudioManager.abandonAudioFocus(mAudioFocusListener); in stopPlayback()
282 mAudioManager.abandonAudioFocus(this);
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java189 mAudioManager.abandonAudioFocus(mAudioFocusListener); in onPause()
195 mAudioManager.abandonAudioFocus(mAudioFocusListener); in destroy()
/packages/apps/Car/Notification/src/com/android/car/notification/
DBeeper.java266 mAudioManager.abandonAudioFocus(this); in cleanUp()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java762 mAudioManager.abandonAudioFocus(this); in onAudioFocusChange()
795 mAudioManager.abandonAudioFocus(
DCellBroadcastAlertAudio.java300 mAudioManager.abandonAudioFocus(null); in onDestroy()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java68 mAudioManager.abandonAudioFocus(mFocusListener); in handleMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java232 .abandonAudioFocus(null); in onStop()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java303 mAudioManagerHelper.abandonAudioFocus(); in onDestroy()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java938 mAudioManagerHelper.abandonAudioFocus(); in onPause()
1644 mAudioManagerHelper.abandonAudioFocus(); in stopTv()
2520 mAudioManagerHelper.abandonAudioFocus();
/packages/services/Car/car-lib/api/released/
D2.txt262 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
D1.txt255 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…