Searched refs:focusChange (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FocusRequester.java | 439 int dispatchFocusChange(int focusChange) { in dispatchFocusChange() argument 445 if (focusChange == AudioManager.AUDIOFOCUS_NONE) { in dispatchFocusChange() 448 } else if ((focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK in dispatchFocusChange() 449 || focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE in dispatchFocusChange() 450 || focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT in dispatchFocusChange() 451 || focusChange == AudioManager.AUDIOFOCUS_GAIN) in dispatchFocusChange() 452 && (mFocusGainRequest != focusChange)){ in dispatchFocusChange() 454 + ", dispatching " + focusChange); in dispatchFocusChange() 455 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK in dispatchFocusChange() 456 || focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT in dispatchFocusChange() [all …]
|
D | MediaFocusControl.java | 663 int dispatchFocusChange(AudioFocusInfo afi, int focusChange) { in dispatchFocusChange() argument 665 Log.v(TAG, "dispatchFocusChange " + focusChange + " to afi client=" in dispatchFocusChange() 674 if (focusChange == AudioManager.AUDIOFOCUS_LOSS) { in dispatchFocusChange() 683 return fr.dispatchFocusChange(focusChange); in dispatchFocusChange()
|
D | AudioService.java | 7649 public int dispatchFocusChange(AudioFocusInfo afi, int focusChange, IAudioPolicyCallback pcb) { in dispatchFocusChange() argument 7660 return mMediaFocusControl.dispatchFocusChange(afi, focusChange); in dispatchFocusChange()
|
/frameworks/base/media/java/android/media/ |
D | IAudioFocusDispatcher.aidl | 27 void dispatchAudioFocusChange(int focusChange, String clientId); in dispatchAudioFocusChange() argument
|
D | IAudioService.aidl | 239 int dispatchFocusChange(in AudioFocusInfo afi, in int focusChange, in dispatchFocusChange() argument
|
D | AudioManager.java | 2450 public void onAudioFocusChange(int focusChange); in onAudioFocusChange() argument 2559 public void dispatchAudioFocusChange(int focusChange, String id) { 2568 MSSG_FOCUS_CHANGE/*what*/, focusChange/*arg1*/, 0/*arg2 ignored*/, 3130 public int dispatchAudioFocusChange(@NonNull AudioFocusInfo afi, int focusChange, in dispatchAudioFocusChange() argument 3140 return service.dispatchFocusChange(afi, focusChange, ap.cb()); in dispatchAudioFocusChange()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioManagerTest.java | 132 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 133 mLastFocusChange = focusChange; in onAudioFocusChange()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | LocalRenderer.java | 347 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() argument 350 switch (focusChange) { in onAudioFocusChange() 374 Log.d(TAG, "Unknown focus change event " + focusChange); in onAudioFocusChange()
|