Commit Graph

7 Commits

Author SHA1 Message Date
Jing-yan, Jang
edaef8bea0 Merge "authsecret: Notify LSS to generate secret" into rvc-qpr-dev am: fc9c51d1a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12771635

Change-Id: I8ef34701cd303eb78a8303bd8e3e087fc777aac9
2020-10-15 02:54:10 +00:00
josephjang
4c521b0745 authsecret: Notify LSS to generate secret
In order to prevent storing testing secret to Citadel
during authsecret testing, we try to notify lock setting
service to generate PIN code send corresponding secret to
Citadel before authsecret VTS testing.

LSS will not generate new secret if it had ever generated
PIN code/Password/Pattern before.

Bug: 150929955
Bug: 163064036
atest VtsHalAuthSecretV1_0TargetTest

Change-Id: I6b58bf90d16db16ce2a78d8b73298e042c049fc3
2020-10-13 13:46:36 +08:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
nelsonli
ff4de289f9 [vts-core] add VtsHalAuthSecretV1_0TargetTest to vts-core
Convert VtsHalAuthSecretV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atste VtsHalAuthSecretV1_0TargetTest
Change-Id: I6cf21977e1fef8b11bf0517540ef831a52a44937
2019-10-15 09:29:20 +00:00
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
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