Searched refs:permissionIndex (Results 1 – 1 of 1) sorted by relevance
1281 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in grantRuntimePermission() local1282 if (permissionIndex < 0) { in grantRuntimePermission()1287 packageInfo.requestedPermissionsFlags[permissionIndex] |= REQUESTED_PERMISSION_GRANTED; in grantRuntimePermission()1300 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in revokeRuntimePermission() local1301 if (permissionIndex < 0) { in revokeRuntimePermission()1306 packageInfo.requestedPermissionsFlags[permissionIndex] &= ~REQUESTED_PERMISSION_GRANTED; in revokeRuntimePermission()