Home
last modified time | relevance | path

Searched refs:CacheDataUpdatedTask (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DCacheDataUpdatedTaskTest.java28 private CacheDataUpdatedTask newTask(int op, String... pkg) { in newTask()
29 return new CacheDataUpdatedTask(op, myUser, new HashSet<>(Arrays.asList(pkg))); in newTask()
38 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_CACHE_UPDATE, "app1")); in testCacheUpdate_update_apps()
56 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app1")); in testSessionUpdate_ignores_normal_apps()
63 executeTaskForTest(newTask(CacheDataUpdatedTask.OP_SESSION_UPDATE, "app3")); in testSessionUpdate_updates_pending_apps()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java44 import com.android.launcher3.model.CacheDataUpdatedTask;
189 enqueueModelUpdateTask(new CacheDataUpdatedTask( in updateSessionDisplayInfo()
190 CacheDataUpdatedTask.OP_SESSION_UPDATE, Process.myUserHandle(), packages)); in updateSessionDisplayInfo()
599 enqueueModelUpdateTask(new CacheDataUpdatedTask( in onPackageIconsUpdated()
600 CacheDataUpdatedTask.OP_CACHE_UPDATE, user, updatedPackages)); in onPackageIconsUpdated()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DCacheDataUpdatedTask.java37 public class CacheDataUpdatedTask extends BaseModelUpdateTask { class
46 public CacheDataUpdatedTask(int op, UserHandle user, HashSet<String> packages) { in CacheDataUpdatedTask() method in CacheDataUpdatedTask