Home
last modified time | relevance | path

Searched refs:PackageInstallInfo (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DPackageInstallerCompat.java53 public static final class PackageInstallInfo { class in PackageInstallerCompat
59 private PackageInstallInfo(@NonNull PackageInstaller.SessionInfo info) { in PackageInstallInfo() method in PackageInstallerCompat.PackageInstallInfo
66 public PackageInstallInfo(String packageName, int state, int progress) { in PackageInstallInfo() method in PackageInstallerCompat.PackageInstallInfo
73 public static PackageInstallInfo fromInstallingState(PackageInstaller.SessionInfo info) { in fromInstallingState()
74 return new PackageInstallInfo(info); in fromInstallingState()
77 public static PackageInstallInfo fromState(int state, String packageName) { in fromState()
78 return new PackageInstallInfo(packageName, state, 0 /* progress */); in fromState()
DPackageInstallerCompatVL.java91 @Thunk void sendUpdate(PackageInstallInfo info) { in sendUpdate()
107 PackageInstallInfo.fromInstallingState(sessionInfo));
120 sendUpdate(PackageInstallInfo.fromState(
130 sendUpdate(PackageInstallInfo.fromInstallingState(session));
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DPackageInstallStateChangedTaskTest.java9 import com.android.launcher3.compat.PackageInstallerCompat.PackageInstallInfo;
32 PackageInstallInfo installInfo = new PackageInstallInfo(pkg, state, progress); in newTask()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageInstallStateChangedTask.java33 import com.android.launcher3.compat.PackageInstallerCompat.PackageInstallInfo;
44 private final PackageInstallInfo mInstallInfo;
46 public PackageInstallStateChangedTask(PackageInstallInfo installInfo) { in PackageInstallStateChangedTask()
DLoaderTask.java828 PackageInstallerCompat.PackageInstallInfo.fromInstallingState(info)); in loadAllApps()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java36 import com.android.launcher3.compat.PackageInstallerCompat.PackageInstallInfo;
168 public void setPackageState(PackageInstallInfo installInfo) { in setPackageState()
409 public void onInstallSessionCreated(final PackageInstallInfo sessionInfo) { in onInstallSessionCreated()
DPromiseAppInfo.java31 public PromiseAppInfo(@NonNull PackageInstallerCompat.PackageInstallInfo installInfo) { in PromiseAppInfo()
DAllAppsList.java90 PackageInstallerCompat.PackageInstallInfo installInfo) { in addPromiseApp()