Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java108 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers()
113 public void unduckPlayers(FocusRequester winner) { in unduckPlayers()
150 final FocusRequester exFocusOwner = mFocusStack.pop(); in discardAudioFocusOwner()
174 private void propagateFocusLossFromGain_syncAf(int focusGain, final FocusRequester fr, in propagateFocusLossFromGain_syncAf()
179 for (FocusRequester focusLoser : mFocusStack) { in propagateFocusLossFromGain_syncAf()
192 private final Stack<FocusRequester> mFocusStack = new Stack<FocusRequester>();
201 Iterator<FocusRequester> stackIterator = mFocusStack.iterator(); in dumpFocusStack()
231 FocusRequester fr = mFocusStack.pop(); in removeFocusStackEntry()
247 Iterator<FocusRequester> stackIterator = mFocusStack.iterator(); in removeFocusStackEntry()
249 FocusRequester fr = stackIterator.next(); in removeFocusStackEntry()
[all …]
DPlayerFocusEnforcer.java28 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck); in duckPlayers()
30 public void unduckPlayers(FocusRequester winner); in unduckPlayers()
DFocusRequester.java39 public class FocusRequester { class
90 FocusRequester(AudioAttributes aa, int focusRequest, int grantFlags, in FocusRequester() method in FocusRequester
108 FocusRequester(AudioFocusInfo afi, IAudioFocusDispatcher afl, in FocusRequester() method in FocusRequester
310 boolean handleFocusLossFromGain(int focusGain, final FocusRequester frWinner, boolean forceDuck) in handleFocusLossFromGain()
347 void handleFocusLoss(int focusLoss, @Nullable final FocusRequester frWinner, boolean forceDuck) in handleFocusLoss()
DPlaybackActivityMonitor.java428 public boolean duckPlayers(FocusRequester winner, FocusRequester loser, boolean forceDuck) { in duckPlayers()
476 public void unduckPlayers(FocusRequester winner) { in unduckPlayers()