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.java652 PackageInfo permissionsInfo = packageInfos.get(pkgName); in checkPermission() local
653 if (permissionsInfo == null || permissionsInfo.requestedPermissions == null) { in checkPermission()
658 for (int i = 0; i < permissionsInfo.requestedPermissions.length; i++) { in checkPermission()
659 permission = permissionsInfo.requestedPermissions[i]; in checkPermission()
662 if (isGrantedForBackwardsCompatibility(pkgName, permissionsInfo)) { in checkPermission()
666 if ((permissionsInfo.requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) in checkPermission()
691 private boolean isGrantedForBackwardsCompatibility(String pkgName, PackageInfo permissionsInfo) { in isGrantedForBackwardsCompatibility() argument
695 return permissionsInfo.requestedPermissionsFlags == null in isGrantedForBackwardsCompatibility()