Lines Matching refs:pkgInfo
64 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()
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
161 if (pkgInfo.requestedPermissions == null) { in keepRequestingPackagePermissions()
164 for (int i = 0; i < pkgInfo.requestedPermissions.length; i++) { in keepRequestingPackagePermissions()
167 ((pkgInfo.requestedPermissionsFlags[i] in keepRequestingPackagePermissions()
170 ((pkgInfo.requestedPermissionsFlags[i] in keepRequestingPackagePermissions()
177 if (permission.equals(pkgInfo.requestedPermissions[i]) in keepRequestingPackagePermissions()