Searched refs:permissionIndex (Results 1 – 2 of 2) sorted by relevance
252 val permissionIndex = packageInfo.requestedPermissions!!.indexOfFirst { it == name } in <lambda>() constant255 assertThat(permissionIndex).isEqualTo(-1) in <lambda>()
1193 final int permissionIndex = Arrays.asList(packageInfo.requestedPermissions).indexOf( in isPermissionGrantedInPackageInfo() local1195 assertThat(permissionIndex, is(not(-1))); in isPermissionGrantedInPackageInfo()1196 return (packageInfo.requestedPermissionsFlags[permissionIndex] in isPermissionGrantedInPackageInfo()