/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/ |
D | FakeExecutorTest.java | 63 assertEquals(1, fakeExecutor.numPending()); in testNoDelay() 67 assertEquals(2, fakeExecutor.numPending()); in testNoDelay() 73 assertEquals(1, fakeExecutor.numPending()); in testNoDelay() 78 assertEquals(0, fakeExecutor.numPending()); in testNoDelay() 88 assertEquals(2, fakeExecutor.numPending()); in testNoDelay() 111 assertEquals(3, fakeExecutor.numPending()); in testDelayed() 115 assertEquals(3, fakeExecutor.numPending()); in testDelayed() 120 assertEquals(2, fakeExecutor.numPending()); in testDelayed() 126 assertEquals(0, fakeExecutor.numPending()); in testDelayed() 145 assertEquals(3, fakeExecutor.numPending()); in testAtTime() [all …]
|
D | MockExecutorHandlerTest.kt | 45 assertEquals(1, fakeExecutor.numPending()) in testNoDelay() 49 assertEquals(2, fakeExecutor.numPending()) in testNoDelay() 55 assertEquals(1, fakeExecutor.numPending()) in testNoDelay() 60 assertEquals(0, fakeExecutor.numPending()) in testNoDelay() 70 assertEquals(2, fakeExecutor.numPending()) in testNoDelay() 92 assertEquals(3, fakeExecutor.numPending()) in testDelayed() 96 assertEquals(3, fakeExecutor.numPending()) in testDelayed() 101 assertEquals(2, fakeExecutor.numPending()) in testDelayed() 107 assertEquals(0, fakeExecutor.numPending()) in testDelayed() 125 assertEquals(3, fakeExecutor.numPending()) in testAtTime() [all …]
|
D | RepeatableExecutorTest.java | 69 assertThat(mFakeExecutor.numPending()).isEqualTo(1); in testRepeats() 79 assertThat(mFakeExecutor.numPending()).isEqualTo(1); in testNoExecutionBeforeStartDelay() 91 assertThat(mFakeExecutor.numPending()).isEqualTo(1); in testExecuteAfterStartDelay() 101 assertThat(mFakeExecutor.numPending()).isEqualTo(1); in testExecuteWithZeroStartDelay() 115 assertThat(mFakeExecutor.numPending()).isEqualTo(1); in testAdvanceTimeTwice() 128 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testCancel() 141 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testCancelAfterStart()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerTest.kt | 160 assertThat(executor.numPending()).isEqualTo(1) in testOnMediaDataLoaded_registersTimeout_whenPaused() 182 assertThat(executor.numPending()).isEqualTo(1) in testOnMediaDataRemoved_clearsTimeout() 186 assertThat(executor.numPending()).isEqualTo(0) in testOnMediaDataRemoved_clearsTimeout() 206 assertThat(executor.numPending()).isEqualTo(1) in testOnMediaDataLoaded_migratesKeys() 224 assertThat(executor.numPending()).isEqualTo(1) in testOnMediaDataLoaded_migratesKeys_noTimeoutExtension() 236 assertThat(executor.numPending()).isEqualTo(1) in testOnPlaybackStateChanged_schedulesTimeout_whenPaused() 248 assertThat(executor.numPending()).isEqualTo(0) in testOnPlaybackStateChanged_cancelsTimeout_whenResumed() 260 assertThat(executor.numPending()).isEqualTo(1) in testOnPlaybackStateChanged_reusesTimeout_whenNotPlaying() 287 assertThat(executor.numPending()).isEqualTo(1) in testOnSessionDestroyed_active_clearsTimeout() 294 assertThat(executor.numPending()).isEqualTo(0) in testOnSessionDestroyed_active_clearsTimeout() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | ActivityStarterImplTest.kt | 62 assertThat(mainExecutor.numPending()).isEqualTo(1) in postStartActivityDismissingKeyguard_pendingIntent_postsOnMain() 69 assertThat(mainExecutor.numPending()).isEqualTo(1) in postStartActivityDismissingKeyguard_intent_postsOnMain() 76 assertThat(mainExecutor.numPending()).isEqualTo(1) in postQSRunnableDismissingKeyguard_leaveOpenStatusBarState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModelTest.kt | 538 assertThat(fakeExecutor.numPending()).isEqualTo(1) in queuePollTaskWhenPlaying() 553 assertThat(fakeExecutor.numPending()).isEqualTo(0) in noQueuePollTaskWhenStopped() 574 assertThat(fakeExecutor.numPending()).isEqualTo(1) in queuePollTaskWhenListening() 595 assertThat(fakeExecutor.numPending()).isEqualTo(0) in noQueuePollTaskWhenNotListening() 614 assertThat(fakeExecutor.numPending()).isEqualTo(1) in pollTaskQueuesAnotherPollTaskWhenPlaying() 641 assertThat(fakeExecutor.numPending()).isEqualTo(0) in noQueuePollTaskWhenSeeking() 671 assertThat(fakeExecutor.numPending()).isEqualTo(1) in queuePollTaskWhenDoneSeekingWithFalse() 701 assertThat(fakeExecutor.numPending()).isEqualTo(0) in noQueuePollTaskWhenDoneSeeking() 723 assertThat(fakeExecutor.numPending()).isEqualTo(1) in startListeningQueuesPollTask() 744 assertThat(fakeExecutor.numPending()).isEqualTo(1) in playbackChangeQueuesPollTask()
|
/frameworks/av/media/module/bufferpool/1.0/ |
D | BufferStatus.cpp | 148 size_t numPending = pending.size(); in postBufferStatusMessage() local 149 if (avail >= numPending + 1) { in postBufferStatusMessage() 151 for (size_t i = 0; i < numPending; ++i) { in postBufferStatusMessage()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationListenerTest.java | 119 assertThat(mFakeExecutor.numPending()).isEqualTo(3); in testRankingUpdateMultipleTimesCallsNotificationRankingUpdateOnce() 140 assertThat(mFakeExecutor.numPending()).isEqualTo(3); in testRankingUpdateWillCallAgainIfQueueIsSlow() 144 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testRankingUpdateWillCallAgainIfQueueIsSlow()
|
/frameworks/av/media/module/bufferpool/2.0/ |
D | BufferStatus.cpp | 184 size_t numPending = pending.size(); in postBufferStatusMessage() local 185 if (avail >= numPending + 1) { in postBufferStatusMessage() 187 for (size_t i = 0; i < numPending; ++i) { in postBufferStatusMessage()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.h | 85 size_t numPending{0u};
|
D | C2SoftVpxDec.cpp | 358 if (--queue->numPending == 0u) { in threadLoop() 835 CHECK_EQ(0u, queue->numPending); in outputBuffer() 836 queue->numPending = queue->entries.size(); in outputBuffer() 837 while (queue->numPending > 0) { in outputBuffer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/ |
D | ImageWallpaperTest.java | 170 assertThat(mFakeExecutor.numPending()).isAtLeast(1); in testLoadDrawAndUnloadBitmap() 173 while (mFakeExecutor.numPending() >= 1) { in testLoadDrawAndUnloadBitmap()
|
/frameworks/native/libs/binder/ |
D | RpcState.cpp | 925 size_t numPending = it->second.asyncTodo.size(); in processTransactInternal() local 927 transaction->asyncNumber, addr, numPending); in processTransactInternal() 933 if (numPending >= kArbitraryOnewayCallWarnLevel) { in processTransactInternal() 934 if (numPending >= kArbitraryOnewayCallTerminateLevel) { in processTransactInternal() 935 ALOGE("WARNING: %zu pending oneway transactions. Terminating!", numPending); in processTransactInternal() 941 if (numPending % kArbitraryOnewayCallWarnPer == 0) { in processTransactInternal() 943 target.get(), numPending); in processTransactInternal()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/ |
D | FakeExecutor.java | 140 public int numPending() { in numPending() method in FakeExecutor
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotifLiveDataImplTest.kt | 119 assertThat(executor.numPending()).isEqualTo(0) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/navigationbar/ |
D | RegionSamplingHelperTest.kt | 131 assertThat(fakeExecutor.numPending()).isEqualTo(1) in testCompositionSamplingListener_has_nonEmptyRect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | ProximitySensorImplDualTest.java | 358 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testSecondaryCancelsSecondary() 394 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testSecondarySafe()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/ |
D | MediaResumeListenerTest.kt | 206 assertThat(executor.numPending()).isEqualTo(0) in capture() 327 assertThat(executor.numPending()).isEqualTo(1) in capture() 332 assertThat(executor.numPending()).isEqualTo(1) in capture()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinatorTest.kt | 386 assertEquals(0, executor.numPending()) in assertExecutorIsClear()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | BrightLineClassifierTest.java | 332 assertThat(mFakeExecutor.numPending()).isEqualTo(0); in testHistory_doubleTap()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 1174 final int numPending = mSortedStats.size(); in registerPendingUidCallbacksLocked() local 1175 if (numPending < numCallbacks) { in registerPendingUidCallbacksLocked() 1178 + numCallbacks + " vs " + numPending); in registerPendingUidCallbacksLocked() 1180 for (int i = numCallbacks; i < numPending && i < MAX_NETWORK_CALLBACKS; ++i) { in registerPendingUidCallbacksLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | WorkCountTrackerTest.java | 262 final int numPending = jobs.pendingMultiTypes.size(); in checkRandom() local 274 assertThat(totalRunning).isAtLeast(Math.min(minExpected, numPending)); in checkRandom()
|
/frameworks/base/packages/SystemUI/docs/ |
D | executors.md | 251 <td>numPending()</td>
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 247 assertEquals(0, mBackgroundExecutor.numPending()); in tearDown()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 1846 final int numPending = pendingJobQueue.size(); in shouldStopRunningJobLocked() local 1847 if (numPending == 0) { in shouldStopRunningJobLocked()
|