No description
Find a file
Rajesh Nyamagoud 9753c6fe55 Updated the logic to determine the VSR API level for device ID
attestation tests.

The following order of precedence is used to determine the VSR API level:
1. If the `ro.vendor.api_level` property is present, then use it as the
   VSR API level.
2. Otherwise, determine the VSR API level with the following logic:
  - Get the vendor API level using the `ro.board.api_level` property if
    present; otherwise, use the `ro.board.first_api_level` property.
  - Get the product API level using the `ro.product.first_api_level`
    property if present; otherwise, use the `ro.build.version.sdk`
    property.
  - If it is unable to determine the vendor API level, then use the
    product API level as the VSR API level.
  - If both the vendor API level and product API level are available,
    then use the minimum of `vendor_api_level` and `product_api_level`
    as the VSR API level.
  - Otherwise, the vendor API level will be used as the VSR API level.

Bug: 326675646
Test: atest keystore2_client_tests
(cherry picked from https://android-review.googlesource.com/q/commit:3f6c8a250de737a3cc9571b047ff8a156c2b4754)
Merged-In: I3aa48d05f367fafab5151fa7eb6dd447840dae0d
Change-Id: I3aa48d05f367fafab5151fa7eb6dd447840dae0d
2024-03-13 00:33:49 +00:00
fsverity Remove unused use_protobuf3 flag 2023-12-16 10:56:12 +00:00
fsverity_init Set the container field of aconfig flags 2024-02-03 02:39:40 +00:00
identity Migrate Test Targets to New Android Ownership Model 2024-02-13 00:24:32 +00:00
keystore Migrate Test Targets to New Android Ownership Model 2024-02-13 00:24:32 +00:00
keystore-engine Add new error for system errors that are retryable 2024-01-12 15:50:54 +00:00
keystore2 Updated the logic to determine the VSR API level for device ID 2024-03-13 00:33:49 +00:00
ondevice-signing Merge "Grant SYS_NICE for odsign" into main 2024-02-27 15:50:00 +00:00
prng_seeder Migrate Test Targets to New Android Ownership Model 2024-02-13 00:24:32 +00:00
provisioner Migrate Test Targets to New Android Ownership Model 2024-02-13 00:24:32 +00:00
.clang-format Add PREUPLOAD to require clang-format. 2017-12-04 17:06:49 -07:00
.gitignore Add .gitignore. 2020-11-24 09:59:17 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/security 2021-02-14 10:37:25 -08:00
METADATA Add METADATA to system/security: Apache2+BSD=NOTICE 2020-05-04 13:15:58 -07:00
MODULE_LICENSE_APACHE2 Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
NOTICE Add NOTICE and MODULE_LICENSE_ files. 2015-11-02 09:13:29 -08:00
OWNERS Update system/security owners 2023-07-18 14:51:14 -04:00
PREUPLOAD.cfg Update rustfmt options 2020-08-19 15:19:21 +00:00
rustfmt.toml Enable rustfmt for system/security 2020-06-23 15:50:23 +02:00