Lines Matching defs:pkgInfo
64 PackageInfo pkgInfo = getUpdatedPackageInfo();
65 AppSecurityPermissions perms = new AppSecurityPermissions(this, pkgInfo);
77 PackageUtil.AppSnippet as = new PackageUtil.AppSnippet(mPm.getApplicationLabel(pkgInfo.applicationInfo),
78 mPm.getApplicationIcon(pkgInfo.applicationInfo));
107 PackageInfo pkgInfo = mPm.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS);
108 for (int i = 0; i < pkgInfo.requestedPermissions.length; i++) {
110 if (requested_permission.equals(pkgInfo.requestedPermissions[i])) {
111 pkgInfo.requestedPermissionsFlags[i] |= PackageInfo.REQUESTED_PERMISSION_GRANTED;
116 return pkgInfo;
160 PackageInfo pkgInfo = mPm.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS);
161 if (pkgInfo.requestedPermissions == null) {
164 for (int i = 0; i < pkgInfo.requestedPermissions.length; i++) {
167 ((pkgInfo.requestedPermissionsFlags[i]
170 ((pkgInfo.requestedPermissionsFlags[i]
177 if (permission.equals(pkgInfo.requestedPermissions[i])