/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | HalAudioFocusTest.java | 232 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withNoCurrentRequest_doesNothing() 242 () -> mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, INVALID_ZONE_ID)); in abandonAudioFocus_withInvalidZone_throws() 251 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withCurrentRequest_abandonsExistingFocus() 264 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withCurrentRequest_notifiesHalOfFocusChange() 277 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withFocusAlreadyLost_doesNothing() 291 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withFocusTransientlyLost_abandonsExistingFocus() 302 mHalAudioFocus.abandonAudioFocus(USAGE_ALARM, ZONE_ID); in abandonAudioFocus_withExistingRequestOfDifferentUsage_doesNothing() 313 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, SECOND_ZONE_ID); in abandonAudioFocus_withExistingRequestOfDifferentZoneId_doesNothing() 327 mHalAudioFocus.abandonAudioFocus(USAGE_MEDIA, ZONE_ID); in abandonAudioFocus_withFailedRequest_doesNotNotifyHal()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandlerTest.java | 78 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/ |
D | A2dpSinkStreamHandler.java | 125 abandonAudioFocus(); in cleanup() 233 abandonAudioFocus(); in handleMessage() 323 private synchronized void abandonAudioFocus() { in abandonAudioFocus() method in A2dpSinkStreamHandler 326 mAudioManager.abandonAudioFocus(mAudioFocusListener); in abandonAudioFocus()
|
/packages/apps/TV/src/com/android/tv/audio/ |
D | AudioManagerHelper.java | 131 public void abandonAudioFocus() { in abandonAudioFocus() method in AudioManagerHelper 136 mAudioManager.abandonAudioFocus(this); in abandonAudioFocus()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTestFragment.java | 674 mAudioManager.abandonAudioFocus(mNavFocusListener, mNavAudioAttrib); in handleNavEnd() 722 mAudioManager.abandonAudioFocus(mVrFocusListener, mVrAudioAttrib); in handleVrEnd() 737 mAudioManager.abandonAudioFocus(mRadioFocusListener, mRadioAudioAttrib); in handleRadioEnd() 850 abandonAudioFocus(); in FocusHandler() 868 abandonAudioFocus(); in release() 871 private void abandonAudioFocus() { in abandonAudioFocus() method in AudioTestFragment.FocusHandler
|
D | AudioPlayer.java | 229 mAudioManager.abandonAudioFocus(mFocusListener); in doStart() 244 mAudioManager.abandonAudioFocus(mFocusListener); in doStart()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 64 public void abandonAudioFocus() { in abandonAudioFocus() method in VoicemailAudioManager 66 audioManager.abandonAudioFocus(this); in abandonAudioFocus()
|
D | VoicemailPlaybackPresenter.java | 713 voicemailAudioManager.abandonAudioFocus(); in pausePlayback()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV2.java | 198 public void abandonAudioFocus(int usage, int zoneId) throws RemoteException { in abandonAudioFocus() method in AudioControlWrapperV2.FocusListenerWrapper 199 mListener.abandonAudioFocus(usage, zoneId); in abandonAudioFocus()
|
D | AudioControlWrapperAidl.java | 228 public void abandonAudioFocus(String usage, int zoneId) { in abandonAudioFocus() method in AudioControlWrapperAidl.FocusListenerWrapper 230 mListener.abandonAudioFocus(usageValue, zoneId); in abandonAudioFocus()
|
D | HalFocusListener.java | 37 void abandonAudioFocus(@AttributeUsage int usage, int zoneId); in abandonAudioFocus() method
|
D | HalAudioFocus.java | 117 public void abandonAudioFocus(@AttributeUsage int usage, int zoneId) { in abandonAudioFocus() method in HalAudioFocus
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 165 mAudioManager.abandonAudioFocus(null); in stopSound() 223 mAudioManager.abandonAudioFocus(null); in onCompletion()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.kt | 339 mAudioManager?.abandonAudioFocus(null) in <lambda>() 545 mAudioManager!!.abandonAudioFocus(null) in <lambda>()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 234 mAudioManager.abandonAudioFocus(mAudioFocusListener); in stopPlayback() 282 mAudioManager.abandonAudioFocus(this);
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 208 mAudioManager.abandonAudioFocus(mAudioFocusListener) in stopPlayback() 253 mAudioManager.abandonAudioFocus(this) in onAudioFocusChange()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 190 mAudioManager.abandonAudioFocus(mAudioFocusListener); in onPause() 196 mAudioManager.abandonAudioFocus(mAudioFocusListener); in destroy()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 263 mAudioManager.abandonAudioFocus(this); in cleanUp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | MovieActivity.java | 232 .abandonAudioFocus(null); in onStop()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeFragment.java | 94 mAudioManager.abandonAudioFocus(mFocusListener); in handleMessage()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 310 mAudioManager.abandonAudioFocus(this); in onDestroy()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackOverlayFragment.java | 303 mAudioManagerHelper.abandonAudioFocus(); in onDestroy()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 943 mAudioManagerHelper.abandonAudioFocus(); in onPause() 1649 mAudioManagerHelper.abandonAudioFocus(); in stopTv() 2525 mAudioManagerHelper.abandonAudioFocus();
|
/packages/services/Car/car-lib/api/released/ |
D | 2.txt | 262 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
|
D | 1.txt | 255 …method public void abandonAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, androi…
|