Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java92 private final HashMap<Integer, AudioPlaybackConfiguration> mPlayers = field in PlaybackActivityMonitor
124 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in disableAudioForUid()
171 mPlayers.put(newPiid, apc); in trackPlayer()
186 final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid)); in playerAttributes()
240 final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid)); in playerEvent()
285 final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid)); in releasePlayer()
289 mPlayers.remove(new Integer(piid)); in releasePlayer()
328 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in setAllowedCapturePolicy()
377 for (AudioPlaybackConfiguration apc : mPlayers.values()) { in isPlaybackActiveForUid()
401 final List<Integer> piidIntList = new ArrayList<Integer>(mPlayers.keySet()); in dump()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java146 private ArrayList<Player> mPlayers = new ArrayList<Player>(); field in MLand
245 for (Player p : mPlayers) { in setScoreFieldHolder()
281 if (player < 0 || player >= mPlayers.size()) return 0; in getControllerPlayer()
306 return i < mPlayers.size() ? mPlayers.get(i) : null; in getPlayer()
310 mPlayers.add(p); in addPlayerInternal()
321 return mPlayers.size()-1; in addPlayerInternal()
325 if (mPlayers.remove(p)) { in removePlayerInternal()
333 final int N = mPlayers.size(); in realignPlayers()
336 final Player p = mPlayers.get(i); in realignPlayers()
343 while (mPlayers.size() > 0) { in clearPlayers()
[all …]