platform_hardware_interfaces/identity/aidl/vts
Selene Huang 92b61d650f Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface.
Fixed following bugs in WritableIdentityCredential.cpp
  - Do not allow startPersonalization to be called more than once per
  aidl.
  - Do not preceed with beginAddEntry if addAccessControlProfile and
  startPersonalization profile count mismatch.
  - Verify access control profile ids are unique.
  - Do not let empty name space to mess up beginAddEntry.
  - Do not allow beginAddEntry to add entries interleaving namespace
    groupings. Enforce all entries must be added in namespace "groups"
    per aidl.
  - Fix counting error that allowed one entries to be added per name
    space than startPersonalization limit.
  - Do not approve finishAddingEntries if there are more profiles or
    entries to be added than startPersonalization set accounting.
  - Add testing utilities library for identity credential.
  - Refactored end to end tests.

Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts

Change-Id: I51902681776c6230e49589fc75a8145e79d7d1a6
2020-04-24 00:04:07 -07:00
..
Android.bp Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface. 2020-04-24 00:04:07 -07:00
VtsHalIdentityEndToEndTest.cpp Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface. 2020-04-24 00:04:07 -07:00
VtsIdentityTestUtils.cpp Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface. 2020-04-24 00:04:07 -07:00
VtsIdentityTestUtils.h Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface. 2020-04-24 00:04:07 -07:00
VtsIWritableIdentityCredentialTests.cpp Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface. 2020-04-24 00:04:07 -07:00