Commit graph

11 commits

Author SHA1 Message Date
Dan Shi
ff985a85a8 Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I58bc808a82b2128bb8774f762f9b9fcecd2614fb
2020-07-29 09:46:36 -07:00
TreeHugger Robot
fd45b0cf27 Merge "RebootEscrow HAL: testing with secure implementations" into rvc-dev am: 2519e6d079 am: 672669c078 am: 5bdd8f8bec am: fd9765a88a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11953060

Change-Id: I4f5095c168ab7ab4a316a21b0c2940a55b26d4b2
2020-06-23 03:51:20 +00:00
TreeHugger Robot
672669c078 Merge "RebootEscrow HAL: testing with secure implementations" into rvc-dev am: 2519e6d079
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11953060

Change-Id: I98adaf41b1ff4519be7afc9c848e946a012d7952
2020-06-23 03:13:25 +00:00
Kenny Root
29e37e27cc RebootEscrow HAL: testing with secure implementations
To test implementations that use TEE keymaster with EARLY_BOOT_ONLY
keys, it is required that the "earlyBootEnded" call in vold should be
removed before they will pass. Mark those tests as DISABLED_... and
include a comment and README indicating what needs to be done.

Bug: 159513354
Bug: 158964050
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: Ie12969c0353ff42202b3dfcfa0be87ba3442e5d3
2020-06-22 11:02:17 -07:00
Dan Shi
aad51fa000 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 16:37:40 -07:00
Dan Shi
3a8a650c61 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 18:03:49 +00:00
Kenny Root
2d5d12860c rebootescrow: skip testing unsupported devices
This HAL is optional, so we should skip devices that do not have it implemented
instead of failing the test.

Bug: 143695053
Bug: 63928581
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: Idaabdbe621cca0b8896377cef6f561b106ea252c
2020-01-21 12:10:23 -08:00
Steven Moreland
f53015c836 Merge changes from topics "vintf-rebootescrow", "vintf-vibrator"
* changes:
  vibrator: use package as name
  rebootescrow: use package as name
2020-01-07 02:19:06 +00:00
Steven Moreland
82cd11cc94 rebootescrow: use package as name
In order to provide a more descriptive name, and to be consistent
with HIDL, the stable AIDL package names are switching from
vintf-rebootescrow format to the package format
(android.hardware.rebootescrow).

Bug: N/A
Test: all build time
Change-Id: Ibb116e76761b751515d95ee8e515a6f7b97bb8d0
2020-01-06 13:21:52 -08:00
Kenny Root
e85edb9067 Add owners file for rebootescrow
Applies to the default implementation and VTS tests. The AIDL is still
managed by API review council.

Test: No functional change
Change-Id: Icb2d9182c1b3376d6b46b467388785e7180db1e9
2020-01-06 10:41:53 -08:00
Kenny Root
4fba44c159 HAL for Resume on Reboot
This adds a HAL interface for escrowing a key over reboot during an OTA
that will unlock the Synthetic Password when the OTA has completed
successfully.

Bug: 63928581
Test: make
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: I8485f3821157e67b6651f4fe425e46cb4499c710
2019-12-16 18:55:29 -08:00