Searched refs:focusChange (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FocusRequester.java | 487 int dispatchFocusChange(int focusChange) { in dispatchFocusChange() argument 493 if (focusChange == AudioManager.AUDIOFOCUS_NONE) { in dispatchFocusChange() 496 } else if ((focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK in dispatchFocusChange() 497 || focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE in dispatchFocusChange() 498 || focusChange == AudioManager.AUDIOFOCUS_GAIN_TRANSIENT in dispatchFocusChange() 499 || focusChange == AudioManager.AUDIOFOCUS_GAIN) in dispatchFocusChange() 500 && (mFocusGainRequest != focusChange)){ in dispatchFocusChange() 502 + ", dispatching " + focusChange); in dispatchFocusChange() 503 } else if (focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK in dispatchFocusChange() 504 || focusChange == AudioManager.AUDIOFOCUS_LOSS_TRANSIENT in dispatchFocusChange() [all …]
|
D | MediaFocusControl.java | 761 int dispatchFocusChange(AudioFocusInfo afi, int focusChange) { in dispatchFocusChange() argument 763 Log.v(TAG, "dispatchFocusChange " + focusChange + " to afi client=" in dispatchFocusChange() 772 if (focusChange == AudioManager.AUDIOFOCUS_LOSS) { in dispatchFocusChange() 781 return fr.dispatchFocusChange(focusChange); in dispatchFocusChange()
|
D | AudioService.java | 10166 public int dispatchFocusChange(AudioFocusInfo afi, int focusChange, IAudioPolicyCallback pcb) { in dispatchFocusChange() argument 10177 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 | 268 int dispatchFocusChange(in AudioFocusInfo afi, in int focusChange, in dispatchFocusChange() argument
|
D | AudioManager.java | 3682 public void onAudioFocusChange(int focusChange); in onAudioFocusChange() argument 3791 public void dispatchAudioFocusChange(int focusChange, String id) { 3800 MSSG_FOCUS_CHANGE/*what*/, focusChange/*arg1*/, 0/*arg2 ignored*/, 4438 public int dispatchAudioFocusChange(@NonNull AudioFocusInfo afi, int focusChange, in dispatchAudioFocusChange() argument 4448 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()
|