Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java342 boolean handleFocusLossFromGain(int focusGain, final FocusRequester frWinner, boolean forceDuck) in handleFocusLossFromGain() argument
348 handleFocusLoss(focusLoss, frWinner, forceDuck); in handleFocusLossFromGain()
383 void handleFocusLoss(int focusLoss, @Nullable final FocusRequester frWinner, boolean forceDuck) in handleFocusLoss() argument
414 handled = frameworkHandleFocusLoss(focusLoss, frWinner, forceDuck); in handleFocusLoss()
456 boolean forceDuck) { in frameworkHandleFocusLoss() argument
469 if (!forceDuck && ((mGrantFlags in frameworkHandleFocusLoss()
476 if (!forceDuck && (MediaFocusControl.ENFORCE_DUCKING_FOR_NEW in frameworkHandleFocusLoss()
483 return mFocusController.duckPlayers(frWinner, /*loser*/ this, forceDuck); in frameworkHandleFocusLoss()
DPlayerFocusEnforcer.java32 boolean forceDuck); in duckPlayers() argument
DMediaFocusControl.java151 boolean forceDuck) { in duckPlayers() argument
152 return mFocusEnforcer.duckPlayers(winner, loser, forceDuck); in duckPlayers()
369 boolean forceDuck) { in propagateFocusLossFromGain_syncAf() argument
383 focusLoser.handleFocusLossFromGain(focusGain, fr, forceDuck); in propagateFocusLossFromGain_syncAf()
395 multifocusLoser.handleFocusLossFromGain(focusGain, fr, forceDuck); in propagateFocusLossFromGain_syncAf()
1098 int flags, int sdk, boolean forceDuck, int testUid, in requestAudioFocus() argument
1239 multifr.handleFocusLossFromGain(focusChangeHint, nfr, forceDuck); in requestAudioFocus()
1272 propagateFocusLossFromGain_syncAf(focusChangeHint, nfr, forceDuck); in requestAudioFocus()
DPlaybackActivityMonitor.java813 boolean forceDuck) { in duckPlayers() argument
833 if (!forceDuck && (apc.getAudioAttributes().getContentType() == in duckPlayers()