Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DOverviewCommandHelper.java62 private final ArrayList<CommandInfo> mPendingCommands = new ArrayList<>(); field in OverviewCommandHelper
76 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 …]
/aosp12/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintService.java192 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 …]
/aosp12/frameworks/base/apex/media/framework/java/android/media/
H A DMediaController2.java85 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaController2
120 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()
H A DMediaSession2.java664 private ArrayMap<ResultReceiver, Integer> mPendingCommands; field in MediaSession2.ControllerInfo
685 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()