Searched refs:pkgInfo (Results 1 – 4 of 4) sorted by relevance
64 PackageInfo pkgInfo = getUpdatedPackageInfo(); in onCreate() local65 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() local108 for (int i = 0; i < pkgInfo.requestedPermissions.length; i++) { in getUpdatedPackageInfo()110 if (requested_permission.equals(pkgInfo.requestedPermissions[i])) { in getUpdatedPackageInfo()111 … pkgInfo.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 …]
62 private void setAppLabelAndIcon(PackageInfo pkgInfo) { in setAppLabelAndIcon() argument67 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()
557 private void setAppLabelAndIcon(PackageInfo pkgInfo) { in setAppLabelAndIcon() argument570 if (pkgInfo != null && pkgInfo.versionName != null) { in setAppLabelAndIcon()573 String.valueOf(pkgInfo.versionName))); in setAppLabelAndIcon()
91 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0); in getVersionCode() local92 mVersionCode = pkgInfo.versionCode; in getVersionCode()