/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 57 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()
|
D | PackageInstallStateChangedTaskTest.java | 30 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()
|
D | CacheDataUpdatedTaskTest.java | 39 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/ |
D | SearchFeatureProviderImpl.java | 65 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/ |
D | AbstractLauncherUiTest.java | 365 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/ |
D | AccessibilityServiceResultTask.java | 54 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in AccessibilityServiceResultTask
|
D | InstalledAppResultTask.java | 50 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in InstalledAppResultTask
|
D | InputDeviceResultTask.java | 62 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in InputDeviceResultTask
|
D | DatabaseResultTask.java | 100 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in DatabaseResultTask
|