Home
last modified time | relevance | path

Searched refs:requestAudioFocus (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java145 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, in verifyAudioFocusLoss()
151 result = mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in verifyAudioFocusLoss()
216 int result = mAudioManager.requestAudioFocus(mAudioFocusListener, in testAudioFocusStressListenerRequestAbandon()
231 mAudioManager.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon()
235 mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC, in testAudioFocusStressNoListenerRequestAbandon()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java405 requestAudioFocus(); in setContent()
476 private void requestAudioFocus() { in requestAudioFocus() method in LocalRenderer
477 int result = mAudioManager.requestAudioFocus(this, AudioManager.STREAM_MUSIC, in requestAudioFocus()
496 requestAudioFocus(); in onPlay()
/frameworks/base/media/java/android/media/
DAudioManager.java2693 public int requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) { in requestAudioFocus() method in AudioManager
2702 status = requestAudioFocus(l, in requestAudioFocus()
2766 public int requestAudioFocus(@NonNull AudioFocusRequest focusRequest) { in requestAudioFocus() method in AudioManager
2767 return requestAudioFocus(focusRequest, null /* no AudioPolicy*/); in requestAudioFocus()
2819 public int requestAudioFocus(OnAudioFocusChangeListener l, in requestAudioFocus() method in AudioManager
2827 return requestAudioFocus(l, requestAttributes, durationHint, in requestAudioFocus()
2862 public int requestAudioFocus(OnAudioFocusChangeListener l, in requestAudioFocus() method in AudioManager
2901 return requestAudioFocus(afr, ap); in requestAudioFocus()
2921 public int requestAudioFocus(@NonNull AudioFocusRequest afr, @Nullable AudioPolicy ap) { in requestAudioFocus() method in AudioManager
2946 status = service.requestAudioFocus(afr.getAudioAttributes(), in requestAudioFocus()
[all …]
DIAudioService.aidl159 int requestAudioFocus(in AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocus() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java119 audioManager.requestAudioFocus(null, mCmd.attributes, in run()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java765 protected int requestAudioFocus(@NonNull AudioAttributes aa, int focusChangeHint, IBinder cb, in requestAudioFocus() method in MediaFocusControl
DAudioService.java5985 public int requestAudioFocus(AudioAttributes aa, int durationHint, IBinder cb, in requestAudioFocus() method in AudioService
6012 return mMediaFocusControl.requestAudioFocus(aa, durationHint, cb, fd, in requestAudioFocus()
/frameworks/base/core/java/android/widget/
DVideoView.java384 mAudioManager.requestAudioFocus(null, mAudioAttributes, mAudioFocusType, 0 /*flags*/); in openVideo()
/frameworks/base/non-updatable-api/
Dsystem-lint-baseline.txt174 SamShouldBeLast: android.media.AudioManager#requestAudioFocus(android.media.AudioManager.OnAudioFoc…
Dsystem-current.txt3767 …rmission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.medi…
3768 …TATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.medi…
3769 …ission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull and…
Dcurrent.txt23573 …method @Deprecated public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListe…
23574 method public int requestAudioFocus(@NonNull android.media.AudioFocusRequest);
/frameworks/base/api/
Dsystem-lint-baseline.txt249 SamShouldBeLast: android.media.AudioManager#requestAudioFocus(android.media.AudioManager.OnAudioFoc…
Dsystem-current.txt3767 …rmission(android.Manifest.permission.MODIFY_PHONE_STATE) public int requestAudioFocus(android.medi…
3768 …TATE, android.Manifest.permission.MODIFY_AUDIO_ROUTING}) public int requestAudioFocus(android.medi…
3769 …ission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int requestAudioFocus(@NonNull and…
Dcurrent.txt23573 …method @Deprecated public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListe…
23574 method public int requestAudioFocus(@NonNull android.media.AudioFocusRequest);
/frameworks/base/config/
Dboot-image-profile.txt9340 HSPLandroid/media/AudioManager;->requestAudioFocus(Landroid/media/AudioFocusRequest;Landroid/media/…
9341 HSPLandroid/media/AudioManager;->requestAudioFocus(Landroid/media/AudioManager$OnAudioFocusChangeLi…
9342 HSPLandroid/media/AudioManager;->requestAudioFocus(Landroid/media/AudioManager$OnAudioFocusChangeLi…
9459 HSPLandroid/media/IAudioService$Stub$Proxy;->requestAudioFocus(Landroid/media/AudioAttributes;ILand…
Dhiddenapi-greylist-max-o.txt36181 Landroid/media/IAudioService$Stub$Proxy;->requestAudioFocus(Landroid/media/AudioAttributes;ILandroi…
36346 Landroid/media/IAudioService;->requestAudioFocus(Landroid/media/AudioAttributes;ILandroid/os/IBinde…
/frameworks/base/services/
Dart-profile4305 HSPLcom/android/server/audio/AudioService;->requestAudioFocus(Landroid/media/AudioAttributes;ILandr…
4425 HSPLcom/android/server/audio/MediaFocusControl;->requestAudioFocus(Landroid/media/AudioAttributes;I…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14069 …method public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, int, in…