Home
last modified time | relevance | path

Searched refs:installInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DAllAppsList.java148 public void addPromiseApp(Context context, PackageInstallInfo installInfo) { in addPromiseApp() argument
150 .getApplicationInfo(installInfo.packageName, installInfo.user, 0); in addPromiseApp()
153 PromiseAppInfo info = new PromiseAppInfo(installInfo); in addPromiseApp()
162 public PromiseAppInfo updatePromiseInstallInfo(PackageInstallInfo installInfo) { in updatePromiseInstallInfo() argument
167 if (tgtComp != null && tgtComp.getPackageName().equals(installInfo.packageName) in updatePromiseInstallInfo()
171 if (installInfo.state == PackageInstallInfo.STATUS_INSTALLING) { in updatePromiseInstallInfo()
172 promiseAppInfo.level = installInfo.progress; in updatePromiseInstallInfo()
174 } else if (installInfo.state == PackageInstallInfo.STATUS_FAILED) { in updatePromiseInstallInfo()
DPackageInstallStateChangedTask.java41 public PackageInstallStateChangedTask(PackageInstallInfo installInfo) { in PackageInstallStateChangedTask() argument
42 mInstallInfo = installInfo; in PackageInstallStateChangedTask()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DPromiseAppInfo.java31 public PromiseAppInfo(@NonNull PackageInstallInfo installInfo) { in PromiseAppInfo() argument
32 componentName = installInfo.componentName; in PromiseAppInfo()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DPackageInstallStateChangedTaskTest.java38 PackageInstallInfo installInfo = new PackageInstallInfo(pkg, state, progress, in newTask() local
40 return new PackageInstallStateChangedTask(installInfo); in newTask()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java434 public void onPackageStateChanged(PackageInstallInfo installInfo) { in onPackageStateChanged() argument
435 enqueueModelUpdateTask(new PackageInstallStateChangedTask(installInfo)); in onPackageStateChanged()