Commit graph

4 commits

Author SHA1 Message Date
Zhuoyao Zhang
3c3b000d28 Convert auth secret hal test to use VtsHalHidlTargetTestEnvBase
Test: make vts
      vts-tradefed run vts-hal -m VtsHalAuthSecretV1_0Target

Change-Id: Ib66e101a78b4b6d66a426c36112b1cf0b95afda3
2018-02-28 18:05:31 -08:00
Zhuoyao Zhang
d23938666e AuthSecret: make method oneway
There is not result from the method and the called does not need to wait
for it to complete.

Test: AuthSecretHidlTest
Bug: 71527305
Change-Id: Ib1ba3a2993ac31fb9706c90e87d8f731c2c5d025
2018-02-19 11:47:38 +00:00
Andrew Scull
bd4e48cb23 authsecret: remove factoryReset()
Factory reset will be handled by each device from recovery or in the
bootloader in response to `fastboot -w`. The requirements of the factory
reset are made explicit. As a result, VTS tests are moving to a host
side test that can factory reset between each test case.

Also clarifies when the remaining method is called.

Test: AuthSecretHidlTest
Bug: 71527305
Change-Id: I9a29568e022eb83061d8db68e1e7971fc53bd823
2018-01-24 18:24:38 +00:00
Andrew Scull
7093431e82 AuthSecret HAL
A security HAL to allow vendor to cryptographically tie components to
the primary user's credential.

Test: AuthSecretHidlTest
Bug: 71527305
Change-Id: I67ebf423dfccb00415d1d79b54e3ded31256cfff
2018-01-10 18:06:51 +00:00