Home
last modified time | relevance | path

Searched refs:mPendingOperations (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricScheduler.java137 @VisibleForTesting @NonNull final Deque<BiometricSchedulerOperation> mPendingOperations; field in BiometricScheduler
234 mPendingOperations = new ArrayDeque<>(); in BiometricScheduler()
252 mPendingOperations = new ArrayDeque<>(); in BiometricScheduler()
310 if (mPendingOperations.isEmpty()) { in checkCurrentUserAndStartNextOperation()
316 final int nextUserId = mPendingOperations.getFirst().getTargetUserId(); in checkCurrentUserAndStartNextOperation()
318 if (nextUserId == currentUserId || mPendingOperations.getFirst().isStartUserOperation()) { in checkCurrentUserAndStartNextOperation()
355 if (mPendingOperations.isEmpty()) { in startNextOperationIfIdle()
360 mCurrentOperation = mPendingOperations.poll(); in startNextOperationIfIdle()
392 final int pendingOperationsLength = mPendingOperations.size(); in startNextOperationIfIdle()
393 final BiometricSchedulerOperation lastOperation = mPendingOperations.peekLast(); in startNextOperationIfIdle()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallTracker.java51 protected int mPendingOperations; field in CallTracker
172 mPendingOperations++; in obtainNoPollCompleteMessage()
184 mPendingOperations); in checkNoOperationsPending()
185 return mPendingOperations == 0; in checkNoOperationsPending()
334 pw.println(" mPendingOperations=" + mPendingOperations); in dump()
DGsmCdmaCallTracker.java787 mPendingOperations++; in obtainCompleteMessage()
792 mPendingOperations + ", needsPoll=" + mNeedsPoll); in obtainCompleteMessage()
798 mPendingOperations--; in operationComplete()
801 mPendingOperations + ", needsPoll=" + mNeedsPoll); in operationComplete()
803 if (mPendingOperations == 0 && mNeedsPoll) { in operationComplete()
806 } else if (mPendingOperations < 0) { in operationComplete()
809 mPendingOperations = 0; in operationComplete()
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceProxy.java124 private final SparseArray<PendingOperation> mPendingOperations = new SparseArray<>(); field in CarServiceProxy
185 PendingOperation pendingOperation = mPendingOperations.get(operationId); in runQueuedOperationLocked()
367 mPendingOperations.delete(operationId); in runLocked()
377 PendingOperation pendingOperation = mPendingOperations.get(operationId); in savePendingOperationLocked()
382 mPendingOperations.put(operationId, pendingOperation); in savePendingOperationLocked()
403 mPendingOperations.put(operationId, newOperation); in savePendingOperationLocked()
558 int size = mPendingOperations.size(); in dump()
565 writer.println(mPendingOperations.valueAt(i)); in dump()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintPreviewController.java237 private final List<Message> mPendingOperations = new ArrayList<>(); field in PrintPreviewController.MyHandler
244 mPendingOperations.clear(); in cancelQueuedOperations()
248 mPendingOperations.add(message); in enqueueOperation()
253 while (!mPendingOperations.isEmpty() && !mAsyncOperationInProgress) { in handleNextOperation()
254 Message operation = mPendingOperations.remove(0); in handleNextOperation()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java212 assertEquals(1, mScheduler.mPendingOperations.size()); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
226 assertTrue(mScheduler.mPendingOperations.isEmpty()); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
250 assertEquals(1, mScheduler.mPendingOperations.size()); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
284 assertEquals(0, mScheduler.mPendingOperations.size()); in testCancelNotInvoked_whenOperationWaitingForCookie()
398 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelPendingAuth()
403 assertTrue(mScheduler.mPendingOperations.getFirst().isMarkedCanceling()); in testCancelPendingAuth()
604 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelsPending_whenAuthRequestIdsSet()
610 assertTrue(mScheduler.mPendingOperations.getFirst().isMarkedCanceling()); in testCancelsPending_whenAuthRequestIdsSet()
831 assertEquals(1, mScheduler.mPendingOperations.size()); in testTwoInternalCleanupOps_withFirstFavorHalEnrollment()