Home
last modified time | relevance | path

Searched refs:pkgInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DGrantActivity.java64 PackageInfo pkgInfo = getUpdatedPackageInfo(); in onCreate() local
65 AppSecurityPermissions perms = new AppSecurityPermissions(this, pkgInfo); in onCreate()
77 …PackageUtil.AppSnippet as = new PackageUtil.AppSnippet(mPm.getApplicationLabel(pkgInfo.application… in onCreate()
78 mPm.getApplicationIcon(pkgInfo.applicationInfo)); in onCreate()
107 … PackageInfo pkgInfo = mPm.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS); in getUpdatedPackageInfo() local
108 for (int i = 0; i < pkgInfo.requestedPermissions.length; i++) { in getUpdatedPackageInfo()
110 if (requested_permission.equals(pkgInfo.requestedPermissions[i])) { in getUpdatedPackageInfo()
111pkgInfo.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED; in getUpdatedPackageInfo()
116 return pkgInfo; in getUpdatedPackageInfo()
160 … PackageInfo pkgInfo = mPm.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS); in keepRequestingPackagePermissions() local
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsDetails.java62 private void setAppLabelAndIcon(PackageInfo pkgInfo) { in setAppLabelAndIcon() argument
67 icon.setImageDrawable(mPm.getApplicationIcon(pkgInfo.applicationInfo)); in setAppLabelAndIcon()
70 label.setText(mPm.getApplicationLabel(pkgInfo.applicationInfo)); in setAppLabelAndIcon()
74 if (pkgInfo.versionName != null) { in setAppLabelAndIcon()
77 String.valueOf(pkgInfo.versionName))); in setAppLabelAndIcon()
DInstalledAppDetails.java557 private void setAppLabelAndIcon(PackageInfo pkgInfo) { in setAppLabelAndIcon() argument
570 if (pkgInfo != null && pkgInfo.versionName != null) { in setAppLabelAndIcon()
573 String.valueOf(pkgInfo.versionName))); in setAppLabelAndIcon()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java91 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0); in getVersionCode() local
92 mVersionCode = pkgInfo.versionCode; in getVersionCode()