Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/model/
DAllAppsList.java146 public void addPromiseApp(Context context, PackageInstallInfo installInfo) { in addPromiseApp() argument
149 .isAppInstalled(installInfo.packageName, installInfo.user)) { in addPromiseApp()
150 AppInfo info = new AppInfo(installInfo); in addPromiseApp()
160 public List<AppInfo> updatePromiseInstallInfo(PackageInstallInfo installInfo) { in updatePromiseInstallInfo() argument
162 UserHandle user = installInfo.user; in updatePromiseInstallInfo()
166 if (tgtComp != null && tgtComp.getPackageName().equals(installInfo.packageName) in updatePromiseInstallInfo()
168 if (installInfo.state == PackageInstallInfo.STATUS_INSTALLED_DOWNLOADING in updatePromiseInstallInfo()
169 || installInfo.state == PackageInstallInfo.STATUS_INSTALLING) { in updatePromiseInstallInfo()
171 && installInfo.state == PackageInstallInfo.STATUS_INSTALLING) { in updatePromiseInstallInfo()
174 appInfo.setProgressLevel(installInfo); in updatePromiseInstallInfo()
[all …]
DPackageInstallStateChangedTask.java39 public PackageInstallStateChangedTask(PackageInstallInfo installInfo) { in PackageInstallStateChangedTask() argument
40 mInstallInfo = installInfo; in PackageInstallStateChangedTask()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DAppInfo.java108 public AppInfo(@NonNull PackageInstallInfo installInfo) { in AppInfo() argument
109 componentName = installInfo.componentName; in AppInfo()
115 setProgressLevel(installInfo); in AppInfo()
116 user = installInfo.user; in AppInfo()
DItemInfoWithIcon.java180 public void setProgressLevel(PackageInstallInfo installInfo) { in setProgressLevel() argument
181 setProgressLevel(installInfo.progress, installInfo.state); in setProgressLevel()
/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.java464 public void onPackageStateChanged(PackageInstallInfo installInfo) { in onPackageStateChanged() argument
465 enqueueModelUpdateTask(new PackageInstallStateChangedTask(installInfo)); in onPackageStateChanged()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java386 InstallSourceInfo installInfo = mPackageManager.getInstallSourceInfo(name); in getMetricsSafeNameForUid() local
388 if (installInfo.getInstallingPackageName() == null in getMetricsSafeNameForUid()