Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallStages.kt44 private val appSnippet: PackageUtil.AppSnippet? = null,
62 data class InstallInstalling(private val appSnippet: PackageUtil.AppSnippet) :
73 private val appSnippet: PackageUtil.AppSnippet,
95 private val appSnippet: PackageUtil.AppSnippet,
DPackageUtil.kt234 fun getAppSnippet(context: Context, info: PackageInstaller.SessionInfo): AppSnippet { in getAppSnippet()
241 return AppSnippet(label, icon) in getAppSnippet()
249 fun getAppSnippet(context: Context, pkgInfo: PackageInfo): AppSnippet { in getAppSnippet()
251 AppSnippet(pkgInfo.packageName, context.packageManager.defaultActivityIcon) in getAppSnippet()
260 fun getAppSnippet(context: Context, appInfo: ApplicationInfo): AppSnippet { in getAppSnippet()
264 return AppSnippet(label, icon) in getAppSnippet()
272 fun getAppSnippet(context: Context, pkgInfo: PackageInfo, sourceFile: File): AppSnippet { in getAppSnippet()
277 return AppSnippet(label, icon) in getAppSnippet()
279 return AppSnippet(pkgInfo.packageName, context.packageManager.defaultActivityIcon) in getAppSnippet()
440 data class AppSnippet(var label: CharSequence?, var icon: Drawable?) { class
DInstallRepository.kt105 private lateinit var appSnippet: PackageUtil.AppSnippet in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java139 static final class AppSnippet implements Parcelable { class in PackageUtil
144 AppSnippet(@NonNull CharSequence label, @NonNull Drawable icon, Context context) { in AppSnippet() method in PackageUtil.AppSnippet
151 private AppSnippet(Parcel in) { in AppSnippet() method in PackageUtil.AppSnippet
218 public static final Parcelable.Creator<AppSnippet> CREATOR = new Parcelable.Creator<>() {
219 public AppSnippet createFromParcel(Parcel in) {
220 return new AppSnippet(in);
223 public AppSnippet[] newArray(int size) {
224 return new AppSnippet[size];
236 public static AppSnippet getAppSnippet( in getAppSnippet()
282 return new PackageUtil.AppSnippet(label, icon, pContext); in getAppSnippet()
DInstallSuccess.java43 private PackageUtil.AppSnippet mAppSnippet;
71 PackageUtil.AppSnippet.class); in onCreate()
DInstallFailed.java111 PackageUtil.AppSnippet as = intent.getParcelableExtra( in onCreate()
112 PackageInstallerActivity.EXTRA_APP_SNIPPET, PackageUtil.AppSnippet.class); in onCreate()
DPackageInstallerActivity.java125 private PackageUtil.AppSnippet mAppSnippet;
629 mAppSnippet = new PackageUtil.AppSnippet(label, in processPackageUri()
666 mAppSnippet = new PackageUtil.AppSnippet(info.getAppLabel(), in processSessionInfo()
DInstallInstalling.java99 PackageUtil.AppSnippet as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate()