Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1096 protected int requestAudioFocus(@NonNull AudioAttributes aa, int focusChangeHint, IBinder cb, in requestAudioFocus() argument
1107 AudioManager.audioFocusToString(focusChangeHint)) in requestAudioFocus()
1121 + " req=" + focusChangeHint in requestAudioFocus()
1163 clientId, callingPackageName, focusChangeHint, 0 /*lossReceived*/, in requestAudioFocus()
1211 if (fr.getGainRequest() == focusChangeHint && fr.getGrantFlags() == flags) { in requestAudioFocus()
1231 final FocusRequester nfr = new FocusRequester(aa, focusChangeHint, flags, fd, cb, in requestAudioFocus()
1235 && (focusChangeHint == AudioManager.AUDIOFOCUS_GAIN)) { in requestAudioFocus()
1239 multifr.handleFocusLossFromGain(focusChangeHint, nfr, forceDuck); in requestAudioFocus()
1272 propagateFocusLossFromGain_syncAf(focusChangeHint, nfr, forceDuck); in requestAudioFocus()