Home
last modified time | relevance | path

Searched refs:PackageUtil (Results 1 – 13 of 13) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java53 intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
59 PackageUtil.AppSnippet as; in onCreate()
63 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
67 as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate()
70 PackageUtil.initSnippetForNewApp(this, as, R.id.app_snippet); in onCreate()
DInstallFailed.java89 .getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
95 PackageUtil.AppSnippet as; in onCreate()
99 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
103 as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate()
109 PackageUtil.initSnippetForNewApp(this, as, R.id.app_snippet); in onCreate()
DPackageInstallerActivity.java111 private PackageUtil.AppSnippet mAppSnippet;
478 PackageUtil.initSnippetForNewApp(this, mAppSnippet, R.id.app_snippet); in bindUi()
572 … mAppSnippet = new PackageUtil.AppSnippet(mPm.getApplicationLabel(mPkgInfo.applicationInfo), in processPackageUri()
578 PackageParser.Package parsed = PackageUtil.getPackageInfo(this, sourceFile); in processPackageUri()
590 mAppSnippet = PackageUtil.getAppSnippet(this, mPkgInfo.applicationInfo, sourceFile); in processPackageUri()
636 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, in startInstall()
DPackageUtil.java43 public class PackageUtil { class
44 private static final String LOG_TAG = PackageUtil.class.getSimpleName();
183 return new PackageUtil.AppSnippet(label, icon); in getAppSnippet()
DInstallInstalling.java84 .getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
96 PackageUtil.initSnippetForNewApp(this, PackageUtil.getAppSnippet(this, appInfo, in onCreate()
DUninstallerActivity.java239 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
253 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
279 broadcastIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
DUninstallUninstalling.java63 mAppInfo = getIntent().getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
DUninstallFinish.java68 PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onReceive()
/packages/apps/Settings/tests/app/src/com/android/settings/applications/
DPackageUtilTest.java49 private InstalledAppDetails.PackageUtil mPackageUtil;
79 mPackageUtil = new InstalledAppDetails.PackageUtil(); in setUp()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAppProgressFragment.java31 import com.android.packageinstaller.PackageUtil;
48 PackageUtil.initSnippetForInstalledApp(getContext(), in onCreateView()
DUninstallAppProgress.java45 import com.android.packageinstaller.PackageUtil;
255 mAppInfo = intent.getParcelableExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO); in onCreate()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java47 import com.android.packageinstaller.PackageUtil;
247 PackageParser.Package pkg = PackageUtil.getPackageInfo(this, tempFile); in installPackage()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java639 } else if (PackageUtil.countPackageInUsers(mPm, mUserManager, mPackageName) < 2 in shouldShowUninstallForAll()
1366 public static class PackageUtil {