Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java673 PackageInfo permissionsInfo = packageInfos.get(pkgName); in checkPermission() local
674 if (permissionsInfo == null || permissionsInfo.requestedPermissions == null) { in checkPermission()
679 for (int i = 0; i < permissionsInfo.requestedPermissions.length; i++) { in checkPermission()
680 permission = permissionsInfo.requestedPermissions[i]; in checkPermission()
683 if (isGrantedForBackwardsCompatibility(pkgName, permissionsInfo)) { in checkPermission()
687 if ((permissionsInfo.requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) in checkPermission()
712 private boolean isGrantedForBackwardsCompatibility(String pkgName, PackageInfo permissionsInfo) { in isGrantedForBackwardsCompatibility() argument
716 return permissionsInfo.requestedPermissionsFlags == null in isGrantedForBackwardsCompatibility()