Searched refs:permInfo (Results 1 – 3 of 3) sorted by relevance
2087 PermissionInfo permInfo = getPermissionInfo(permName, 0, in revokeStoragePermissionsIfScopeExpandedInternal()2089 if (permInfo == null) { in revokeStoragePermissionsIfScopeExpandedInternal()2092 boolean isStorageOrMedia = STORAGE_PERMISSIONS.contains(permInfo.name) in revokeStoragePermissionsIfScopeExpandedInternal()2093 || READ_MEDIA_AURAL_PERMISSIONS.contains(permInfo.name) in revokeStoragePermissionsIfScopeExpandedInternal()2094 || READ_MEDIA_VISUAL_PERMISSIONS.contains(permInfo.name); in revokeStoragePermissionsIfScopeExpandedInternal()2099 permInfo.name, VirtualDeviceManager.PERSISTENT_DEVICE_ID_DEFAULT, userId) in revokeStoragePermissionsIfScopeExpandedInternal()2106 "Revoking permission " + permInfo.name + " from package " in revokeStoragePermissionsIfScopeExpandedInternal()2112 revokeRuntimePermissionInternal(newPackage.getPackageName(), permInfo.name, in revokeStoragePermissionsIfScopeExpandedInternal()2115 Log.e(TAG, "unable to revoke " + permInfo.name + " for " in revokeStoragePermissionsIfScopeExpandedInternal()
896 PermissionInfo permInfo; in initializePullersState() local898 permInfo = pm.getPermissionInfo(perm, 0); in initializePullersState()899 if (permInfo.getProtection() == PROTECTION_DANGEROUS) { in initializePullersState()
4308 PermissionInfo permInfo; in shouldCollectNotes() local4310 permInfo = mContext.getPackageManager().getPermissionInfo(perm, 0); in shouldCollectNotes()4315 return permInfo.getProtection() == PROTECTION_DANGEROUS in shouldCollectNotes()4316 || (permInfo.getProtectionFlags() & PROTECTION_FLAG_APPOP) != 0; in shouldCollectNotes()