Home
last modified time | relevance | path

Searched refs:newTask (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DAddWorkspaceItemsTaskTest.java57 private AddWorkspaceItemsTask newTask(ItemInfo... items) { in newTask() method in AddWorkspaceItemsTaskTest
73 int[] spaceFound = newTask() in testFindSpaceForItem_prefers_second()
80 spaceFound = newTask() in testFindSpaceForItem_prefers_second()
93 int[] spaceFound = newTask() in testFindSpaceForItem_adds_new_screen()
108 assertTrue(executeTaskForTest(newTask(info)).isEmpty()); in testAddItem_existing_item_ignored()
122 executeTaskForTest(newTask(info, info2)).get(0).run(); in testAddItem_some_items_added()
DPackageInstallStateChangedTaskTest.java30 private PackageInstallStateChangedTask newTask(String pkg, int progress) { in newTask() method in PackageInstallStateChangedTaskTest
39 executeTaskForTest(newTask("app1", 30)); in testSessionUpdate_ignore_installed()
47 executeTaskForTest(newTask("app3", 30)); in testSessionUpdate_shortcuts_updated()
54 executeTaskForTest(newTask("app4", 30)); in testSessionUpdate_widgets_updated()
DCacheDataUpdatedTaskTest.java39 private CacheDataUpdatedTask newTask(int op, String... pkg) { in newTask() method in CacheDataUpdatedTaskTest
51 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_CACHE_UPDATE, "app1")); in testCacheUpdate_update_apps()
71 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1")); in testSessionUpdate_ignores_normal_apps()
80 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app3")); in testSessionUpdate_updates_pending_apps()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFeatureProviderImpl.java65 tasks.add(DatabaseResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
66 tasks.add(InstalledAppResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
67 tasks.add(AccessibilityServiceResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
68 tasks.add(InputDeviceResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java365 private void startIntent(Intent intent, BySelector selector, boolean newTask) { in startIntent() argument
367 if (newTask) { in startIntent()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DAccessibilityServiceResultTask.java54 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in AccessibilityServiceResultTask
DInstalledAppResultTask.java50 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in InstalledAppResultTask
DInputDeviceResultTask.java62 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in InputDeviceResultTask
DDatabaseResultTask.java100 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in DatabaseResultTask