Home
last modified time | relevance | path

Searched refs:permInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java2087 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()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java896 PermissionInfo permInfo; in initializePullersState() local
898 permInfo = pm.getPermissionInfo(perm, 0); in initializePullersState()
899 if (permInfo.getProtection() == PROTECTION_DANGEROUS) { in initializePullersState()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4308 PermissionInfo permInfo; in shouldCollectNotes() local
4310 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()