Home
last modified time | relevance | path

Searched refs:getTaskCount (Results 1 – 10 of 10) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DTestUtils.java62 (HealthConnectThreadScheduler.sInternalBackgroundExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
65 || (HealthConnectThreadScheduler.sControllerExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
69 .getTaskCount() in waitForAllScheduledTasksToComplete()
72 || (HealthConnectThreadScheduler.sForegroundExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
79 return HealthConnectThreadScheduler.sInternalBackgroundExecutor.getTaskCount(); in getInternalBackgroundExecutorTaskCount()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java122 launcher -> assertTrue("Don't have at least 3 tasks", getTaskCount(launcher) >= 3)); in testOverview()
158 final Integer numTasks = getFromLauncher(launcher -> getTaskCount(launcher)); in testOverview()
164 numTasks - 1, getTaskCount(launcher))); in testOverview()
172 0, getTaskCount(launcher))); in testOverview()
257 private int getTaskCount(Launcher launcher) { in getTaskCount() method in TaplTestsQuickstep
442 getTaskCount(launcher) >= 13)); in testOverviewForTablet()
468 final Integer numTasks = getFromLauncher(this::getTaskCount); in testOverviewForTablet()
472 numTasks - 1, getTaskCount(launcher))); in testOverviewForTablet()
495 0, getTaskCount(launcher))); in testOverviewForTablet()
508 getTaskCount(launcher) >= 3)); in testOverviewDeadzones()
[all …]
DFallbackRecentsTest.java264 assertTrue("Don't have at least 3 tasks", getTaskCount(recents) >= 3); in testOverview()
290 final Integer numTasks = getFromRecents(this::getTaskCount); in testOverview()
296 numTasks - 1, getTaskCount(recents))); in testOverview()
319 private int getTaskCount(RecentsActivity recents) { in getTaskCount() method in FallbackRecentsTest
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBaseOverview.java174 if (getTaskCount() < 2) { in touchOutsideFirstTask()
199 if (getTaskCount() < 2) { in touchBetweenTasks()
258 if (getTaskCount() > 1) { in scrollCurrentTaskOffScreen()
336 int getTaskCount() { in getTaskCount() method in BaseOverview
DOverviewTask.java145 int taskCountBeforeDismiss = mOverview.getTaskCount(); in dismiss()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchViewController.java134 && mControllerCallbacks.getTaskCount() > 1 ? 1 : 0); in launchFocusedTask()
229 int taskCount = mControllerCallbacks.getTaskCount(); in onKeyUp()
DKeyboardQuickSwitchController.java238 int getTaskCount() { in getTaskCount() method in KeyboardQuickSwitchController.ControllerCallbacks
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerUserInstanceTest.java156 long totalTaskAfterFirstDeltaUpdate = singleThreadedExecutor.getTaskCount(); in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun()
169 assertThat(singleThreadedExecutor.getTaskCount()).isEqualTo( in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun()
201 long totalTaskAfterFirstDeltaUpdate = singleThreadedExecutor.getTaskCount(); in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun()
209 assertThat(singleThreadedExecutor.getTaskCount()).isEqualTo( in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerUserInstanceTest.java200 assertThat(mSingleThreadedExecutor.getTaskCount()).isEqualTo(beforeFirstRun + 1); in testFirstRun_updateAlreadyRan_doesNotUpdate()
280 assertThat(mSingleThreadedExecutor.getTaskCount()).isEqualTo(3); in testHandleMultipleNotifications_onlyOneUpdateCanBeScheduledAndRun()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpclient-4.5.12.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...