Searched refs:mPendingCommands (Results 1 – 4 of 4) sorted by relevance
62 private final ArrayList<CommandInfo> mPendingCommands = new ArrayList<>(); field in OverviewCommandHelper76 if (!mPendingCommands.isEmpty() && mPendingCommands.get(0) == command) { in scheduleNextTask()77 mPendingCommands.remove(0); in scheduleNextTask()89 if (mPendingCommands.isEmpty()) { in executeNext()92 CommandInfo cmd = mPendingCommands.get(0); in executeNext()100 boolean wasEmpty = mPendingCommands.isEmpty(); in addCommand()101 mPendingCommands.add(cmd); in addCommand()118 mPendingCommands.clear(); in clearPendingCommands()277 pw.println(" mPendingCommands=" + mPendingCommands.size()); in dump()278 if (!mPendingCommands.isEmpty()) { in dump()[all …]
192 mPendingCommands.add(new Runnable() { in handleOnAllPrintJobsHandled()218 mPendingCommands.add(new Runnable() { in handleRequestCancelPrintJob()245 mPendingCommands.add(new Runnable() { in handleOnPrintJobQueued()272 mPendingCommands.add(new Runnable() { in handleCreatePrinterDiscoverySession()305 mPendingCommands.add(new Runnable() { in handleDestroyPrinterDiscoverySession()341 mPendingCommands.add(new Runnable() { in handleStartPrinterDiscovery()369 mPendingCommands.add(new Runnable() { in handleStopPrinterDiscovery()399 mPendingCommands.add(new Runnable() { in handleValidatePrinters()467 mPendingCommands.add(new Runnable() { in handleStartPrinterStateTracking()503 mPendingCommands.add(new Runnable() { in handleStopPrinterStateTracking()[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()
664 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaSession2.ControllerInfo685 mPendingCommands = new ArrayMap<>(); in ControllerInfo()793 mPendingCommands.put(resultReceiver, seq); in sendSessionCommand()799 mPendingCommands.remove(resultReceiver); in sendSessionCommand()809 seq = mPendingCommands.remove(token); in cancelSessionCommand()818 mPendingCommands.remove(resultReceiver); in receiveCommandResult()