Searched refs:AppSnippet (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | InstallStages.kt | 44 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,
|
D | PackageUtil.kt | 234 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
|
D | InstallRepository.kt | 105 private lateinit var appSnippet: PackageUtil.AppSnippet in <lambda>()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 139 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()
|
D | InstallSuccess.java | 43 private PackageUtil.AppSnippet mAppSnippet; 71 PackageUtil.AppSnippet.class); in onCreate()
|
D | InstallFailed.java | 111 PackageUtil.AppSnippet as = intent.getParcelableExtra( in onCreate() 112 PackageInstallerActivity.EXTRA_APP_SNIPPET, PackageUtil.AppSnippet.class); in onCreate()
|
D | PackageInstallerActivity.java | 125 private PackageUtil.AppSnippet mAppSnippet; 629 mAppSnippet = new PackageUtil.AppSnippet(label, in processPackageUri() 666 mAppSnippet = new PackageUtil.AppSnippet(info.getAppLabel(), in processSessionInfo()
|
D | InstallInstalling.java | 99 PackageUtil.AppSnippet as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate()
|