/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/ |
PlayerAdapter.java | 86 mAudioFocusHelper.abandonAudioFocus(); 99 mAudioFocusHelper.abandonAudioFocus(); 141 private void abandonAudioFocus() { 142 mAudioManager.abandonAudioFocus(this); 166 mAudioManager.abandonAudioFocus(this);
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/ |
PlayerAdapter.java | 86 mAudioFocusHelper.abandonAudioFocus(); 99 mAudioFocusHelper.abandonAudioFocus(); 141 private void abandonAudioFocus() { 142 mAudioManager.abandonAudioFocus(this); 166 mAudioManager.abandonAudioFocus(this);
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
AudioFocusHelper.java | 47 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED == mAM.abandonAudioFocus(this);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AudioManagerTest.java | 52 audioManager.abandonAudioFocus(null); 55 audioManager.abandonAudioFocus(listener);
|
/packages/apps/TV/src/com/android/tv/ |
AudioManagerHelper.java | 84 void abandonAudioFocus() { 86 mAudioManager.abandonAudioFocus(this);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
MediaAudioManagerTest.java | 168 mAudioManager.abandonAudioFocus(mAudioFocusListener); 237 mAudioManager.abandonAudioFocus(null); 245 mAudioManager.abandonAudioFocus(mAudioFocusListener);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
AudioPlayer.java | 138 mAudioManager.abandonAudioFocus(mFocusListener); 152 mAudioManager.abandonAudioFocus(mFocusListener); 181 mAudioManager.abandonAudioFocus(mFocusListener);
|
AudioTestFragment.java | 513 mCarAudioManager.abandonAudioFocus(mNavFocusListener, mNavAudioAttrib); 548 mCarAudioManager.abandonAudioFocus(mVrFocusListener, mVrAudioAttrib); 573 mCarAudioManager.abandonAudioFocus(mRadioFocusListener, mRadioAudioAttrib); 598 mAudioManager.abandonAudioFocus(mFocusListener); 613 abandonAudioFocus(); 616 private void abandonAudioFocus() { 618 Log.i(TAG, "abandonAudioFocus"); 620 mAudioManager.abandonAudioFocus(mFocusListener);
|
/packages/services/Car/car-support-lib/src/android/support/car/media/ |
CarAudioManagerEmbedded.java | 82 public void abandonAudioFocus(OnAudioFocusChangeListener listener, AudioAttributes aa) { 83 mManager.abandonAudioFocus(listener, aa);
|
CarAudioManager.java | 136 public abstract void abandonAudioFocus(OnAudioFocusChangeListener listener, AudioAttributes aa);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAudioManager.java | 41 public int abandonAudioFocus(AudioManager.OnAudioFocusChangeListener l) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
AudioManagerFacade.java | 83 mAudio.abandonAudioFocus(mFocusChangeListener);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkStreamHandler.java | 155 abandonAudioFocus(); 201 abandonAudioFocus(); 242 private void abandonAudioFocus() { 244 mAudioManager.abandonAudioFocus(mAudioFocusListener);
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkStreamHandlerTest.java | 77 when(mockAudioManager.abandonAudioFocus(any())).thenReturn(AudioManager.AUDIOFOCUS_GAIN); 127 verify(mockAudioManager, times(1)).abandonAudioFocus(any()); 176 verify(mockAudioManager, times(0)).abandonAudioFocus(any()); 186 verify(mockAudioManager, times(1)).abandonAudioFocus(any());
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
CarAudioFocusTest.java | 172 mAudioManager.abandonAudioFocus(listenerNav); 183 mAudioManager.abandonAudioFocus(listenerMusic); 239 mAudioManager.abandonAudioFocus(listenerNav); 255 mAudioManager.abandonAudioFocus(listenerMusic); 319 mAudioManager.abandonAudioFocus(listenerNav); 335 mAudioManager.abandonAudioFocus(listenerRadio); 348 mAudioManager.abandonAudioFocus(listenerMusic); 395 mAudioManager.abandonAudioFocus(lister); 481 mAudioManager.abandonAudioFocus(listenerNav); 511 mAudioManager.abandonAudioFocus(listenerMedia) [all...] |
CarAudioExtFocusTest.java | 267 mAudioManager.abandonAudioFocus(listenerNav); 280 mAudioManager.abandonAudioFocus(listenerMusic); 342 mAudioManager.abandonAudioFocus(listenerNav); 360 mAudioManager.abandonAudioFocus(listenerMusic); 410 mAudioManager.abandonAudioFocus(listenerNav); 424 mAudioManager.abandonAudioFocus(listenerRadio); 479 mAudioManager.abandonAudioFocus(listenerNav); 492 mAudioManager.abandonAudioFocus(listenerMusic); 554 mAudioManager.abandonAudioFocus(listenerExtNav); 568 mAudioManager.abandonAudioFocus(listenerIntNav) [all...] |
CarAudioFocusSystemSoundTest.java | 179 mAudioManager.abandonAudioFocus(listenerRadio); 231 mAudioManager.abandonAudioFocus(listenerMusic); 271 mAudioManager.abandonAudioFocus(listenerNav);
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
VoicemailAudioManager.java | 64 public void abandonAudioFocus() { 66 mAudioManager.abandonAudioFocus(this);
|
/packages/apps/Car/Radio/src/com/android/car/radio/demo/ |
RadioDemo.java | 237 abandonAudioFocus(); 279 private void abandonAudioFocus() { 281 Log.d(TAG, "abandonAudioFocus()"); 288 mCarAudioManager.abandonAudioFocus(this, mRadioAudioAttributes);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 165 mAudioManager.abandonAudioFocus(null); 223 mAudioManager.abandonAudioFocus(null);
|
/packages/services/Car/car-lib/src/android/car/media/ |
CarAudioManager.java | 240 public void abandonAudioFocus(OnAudioFocusChangeListener l, AudioAttributes aa) { 241 mAudioManager.abandonAudioFocus(l, aa);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 225 mAudioManagerWithAudioFocus.abandonAudioFocus(null); 262 mAudioManagerWithAudioFocus.abandonAudioFocus(null);
|
/frameworks/base/core/java/android/widget/ |
VideoView.java | 356 mAudioManager.abandonAudioFocus(null); 539 mAudioManager.abandonAudioFocus(null); 704 mAudioManager.abandonAudioFocus(null); [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
RadioService.java | 374 private void abandonAudioFocus() { 376 Log.d(TAG, "abandonAudioFocus()"); 383 mCarAudioManager.abandonAudioFocus(this, mRadioAudioAttributes); 390 Log.e(TAG, "abandonAudioFocus(); onRadioMutechanged() notify failed: " 404 abandonAudioFocus();
|
/frameworks/base/media/java/android/media/ |
IAudioService.aidl | 126 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa,
|