Home
last modified time | relevance | path

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

/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DDelayedOperations.java34 final LinkedList<QueuedOperation> mPendingOperations = new LinkedList<QueuedOperation>(); field in DelayedOperations
45 mPendingOperations.remove(this); in run()
50 mPendingOperations.remove(this); in cancel()
64 mPendingOperations.add(qo); in post()
75 for (QueuedOperation qo : mPendingOperations) { in removeCallbacks()
91 final ArrayList<QueuedOperation> temp = new ArrayList<QueuedOperation>(mPendingOperations); in removeCallbacks()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DDelayedOperationsTests.java53 assertEquals(2, mDelayedOperations.mPendingOperations.size()); in brokentestEnueue()
65 assertEquals(0, mDelayedOperations.mPendingOperations.size()); in brokentestEnueue()
88 assertEquals(1, mDelayedOperations.mPendingOperations.size()); in brokentestCancel()
100 assertEquals(0, mDelayedOperations.mPendingOperations.size()); in brokentestCancel()
120 assertEquals(2, mDelayedOperations.mPendingOperations.size()); in brokentestCancelAll()
135 assertEquals(0, mDelayedOperations.mPendingOperations.size()); in brokentestCancelAll()