/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/ |
D | FederatedComputeJobManager.java | 186 FederatedTrainingTask newTask; in onTrainerStartCalled() local 225 newTask = newTaskBuilder.build(); in onTrainerStartCalled() 285 newTask = newTaskBuilder.build(); in onTrainerStartCalled() 292 boolean scheduleResult = mJobSchedulerHelper.scheduleTask(mContext, newTask); in onTrainerStartCalled() 297 newTask.jobId()); in onTrainerStartCalled() 305 mFederatedTrainingTaskDao.updateOrInsertFederatedTrainingTask(newTask); in onTrainerStartCalled() 310 newTask.jobId()); in onTrainerStartCalled() 316 LogUtil.i(TAG, " JobScheduler cancel the task %d", newTask.jobId()); in onTrainerStartCalled() 374 FederatedTrainingTask newTask = existingTask.toBuilder().lastRunStartTime(nowMs).build(); 375 mFederatedTrainingTaskDao.updateOrInsertFederatedTrainingTask(newTask); [all …]
|
D | JobSchedulerHelper.java | 43 public boolean scheduleTask(Context context, FederatedTrainingTask newTask) { in scheduleTask() argument 44 JobInfo jobInfo = convertToJobInfo(context, newTask); in scheduleTask()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | PackageInstallStateChangedTaskTest.java | 72 private PackageInstallStateChangedTask newTask(String pkg, int progress) { in newTask() method in PackageInstallStateChangedTaskTest 83 mModelHelper.getModel().enqueueModelUpdateTask(newTask(TEST_PACKAGE, 30)); in testSessionUpdate_ignore_installed() 94 mModelHelper.getModel().enqueueModelUpdateTask(newTask(PENDING_APP_1, 30)); in testSessionUpdate_shortcuts_updated() 104 mModelHelper.getModel().enqueueModelUpdateTask(newTask(PENDING_APP_2, 30)); in testSessionUpdate_widgets_updated()
|
D | CacheDataUpdatedTaskTest.java | 93 private CacheDataUpdatedTask newTask(int op, String... pkg) { in newTask() method in CacheDataUpdatedTaskTest 106 newTask(CacheDataUpdatedTask.OP_CACHE_UPDATE, TEST_PACKAGE)); in testCacheUpdate_update_apps() 121 newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, TEST_PACKAGE)); in testSessionUpdate_ignores_normal_apps() 140 newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, PENDING_APP_1)); in testSessionUpdate_updates_pending_apps()
|
D | AddWorkspaceItemsTaskTest.kt | 186 val task = newTask(*itemsToAdd) in testAddItems() 204 private fun newTask(vararg items: ItemInfo): AddWorkspaceItemsTask = in newTask() method
|
/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 | 53 public static SearchQueryTask newTask(Context context, SiteMapManager siteMapManager, in newTask() method in InstalledAppResultTask
|
D | AccessibilityServiceResultTask.java | 54 public static SearchQueryTask newTask(Context context, SiteMapManager manager, in newTask() method in AccessibilityServiceResultTask
|
D | InputDeviceResultTask.java | 64 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 | 609 private static void startIntent(Intent intent, BySelector selector, boolean newTask) { in startIntent() argument 611 if (newTask) { in startIntent()
|