Searched refs:permissionIndex (Results 1 – 1 of 1) sorted by relevance
1253 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in grantRuntimePermission() local1254 if (permissionIndex < 0) { in grantRuntimePermission()1259 packageInfo.requestedPermissionsFlags[permissionIndex] |= REQUESTED_PERMISSION_GRANTED; in grantRuntimePermission()1272 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in revokeRuntimePermission() local1273 if (permissionIndex < 0) { in revokeRuntimePermission()1278 packageInfo.requestedPermissionsFlags[permissionIndex] &= ~REQUESTED_PERMISSION_GRANTED; in revokeRuntimePermission()