Searched refs:mPendingCommands (Results 1 – 3 of 3) sorted by relevance
82 private final ArrayList<CommandInfo> mPendingCommands = new ArrayList<>(); field in OverviewCommandHelper111 if (mPendingCommands.isEmpty()) { in scheduleNextTask()115 if (mPendingCommands.get(0) != command) { in scheduleNextTask()117 + " mPendingCommands[0] type is " + mPendingCommands.get(0) in scheduleNextTask()122 mPendingCommands.remove(0); in scheduleNextTask()133 if (mPendingCommands.isEmpty()) { in executeNext()137 CommandInfo cmd = mPendingCommands.get(0); in executeNext()148 boolean wasEmpty = mPendingCommands.isEmpty(); in addCommand()149 mPendingCommands.add(cmd); in addCommand()162 if (mPendingCommands.size() >= MAX_QUEUE_SIZE) { in addCommand()[all …]
85 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaController2120 mPendingCommands = new ArrayMap<>(); in MediaController2()161 mPendingCommands.clear(); in close()216 mPendingCommands.remove(this); in sendSessionCommand()228 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()233 mPendingCommands.remove(resultReceiver); in sendSessionCommand()252 Integer seq = mPendingCommands.remove(token); in cancelSessionCommand()
665 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaSession2.ControllerInfo686 mPendingCommands = new ArrayMap<>(); in ControllerInfo()794 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()800 mPendingCommands.remove(resultReceiver); in sendSessionCommand()810 seq = mPendingCommands.remove(token); in cancelSessionCommand()819 mPendingCommands.remove(resultReceiver); in receiveCommandResult()