Home
last modified time | relevance | path

Searched refs:abandonAudioFocus (Results 1 – 20 of 20) 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(1)).abandonAudioFocus(any()); in testFocusLost()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java442 mAudioManager.abandonAudioFocus(mNavFocusListener, mNavAudioAttrib); in handleNavEnd()
492 mAudioManager.abandonAudioFocus(mVrFocusListener, mVrAudioAttrib); in handleVrEnd()
509 mAudioManager.abandonAudioFocus(mRadioFocusListener, mRadioAudioAttrib); in handleRadioEnd()
623 abandonAudioFocus(); in FocusHandler()
641 abandonAudioFocus(); in release()
644 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/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java221 abandonAudioFocus(); in handleMessage()
310 private synchronized void abandonAudioFocus() { in abandonAudioFocus() method in A2dpSinkStreamHandler
314 mAudioManager.abandonAudioFocus(mAudioFocusListener); in abandonAudioFocus()
/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/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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DVolumeTestFragment.java70 mAudioManager.abandonAudioFocus(mFocusListener); in handleMessage()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java224 .abandonAudioFocus(null); in onStop()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java253 mAudioManager.abandonAudioFocus(null); in onDestroy()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java927 mAudioManagerHelper.abandonAudioFocus(); in onPause()
1623 mAudioManagerHelper.abandonAudioFocus(); in stopTv()
2551 mAudioManagerHelper.abandonAudioFocus();
/packages/services/Car/car-lib/api/released/
D1.txt255 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
D2.txt262 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
/packages/services/Car/car-lib/api/system-released/
Dsystem-2.txt683 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
Dsystem-1.txt718 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…