/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTaskTest.java | 73 private AddWorkspaceItemsTask newTask(ItemInfo... items) { in newTask() method in AddWorkspaceItemsTaskTest 89 int[] spaceFound = newTask().findSpaceForItem( in testFindSpaceForItem_prefers_second() 96 spaceFound = newTask().findSpaceForItem( in testFindSpaceForItem_prefers_second() 109 int[] spaceFound = newTask().findSpaceForItem( in testFindSpaceForItem_adds_new_screen() 124 assertTrue(mModelHelper.executeTaskForTest(newTask(info)).isEmpty()); in testAddItem_existing_item_ignored() 141 mModelHelper.executeTaskForTest(newTask(info, info2)).get(0).run(); in testAddItem_some_items_added()
|
D | PackageInstallStateChangedTaskTest.java | 36 private PackageInstallStateChangedTask newTask(String pkg, int progress) { in newTask() method in PackageInstallStateChangedTaskTest 45 mModelHelper.executeTaskForTest(newTask("app1", 30)); in testSessionUpdate_ignore_installed() 53 mModelHelper.executeTaskForTest(newTask("app3", 30)); in testSessionUpdate_shortcuts_updated() 60 mModelHelper.executeTaskForTest(newTask("app4", 30)); in testSessionUpdate_widgets_updated()
|
D | CacheDataUpdatedTaskTest.java | 89 private CacheDataUpdatedTask newTask(int op, String... pkg) { in newTask() method in CacheDataUpdatedTaskTest 101 mModelHelper.executeTaskForTest(newTask(CacheDataUpdatedTask.OP_CACHE_UPDATE, "app1")); in testCacheUpdate_update_apps() 120 mModelHelper.executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1")); in testSessionUpdate_ignores_normal_apps() 128 mModelHelper.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/services/Mtp/src/com/android/mtp/ |
D | DocumentLoader.java | 133 final LoaderTask newTask = new LoaderTask( in getNextTaskOrReleaseBackgroundThread() local 135 newTask.loadObjectHandles(); in getNextTaskOrReleaseBackgroundThread() 136 mTaskList.addFirst(newTask); in getNextTaskOrReleaseBackgroundThread() 137 return newTask; in getNextTaskOrReleaseBackgroundThread()
|
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/car/ |
D | CarSearchFeatureProviderImpl.java | 66 tasks.add(DatabaseResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks() 67 tasks.add(InstalledAppResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | InstalledAppResultTask.java | 50 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in InstalledAppResultTask
|
D | AccessibilityServiceResultTask.java | 52 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in AccessibilityServiceResultTask
|
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
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 501 private static void startIntent(Intent intent, BySelector selector, boolean newTask) { in startIntent() argument 503 if (newTask) { in startIntent()
|