diff options
author | Selene Huang <seleneh@google.com> | 2020-03-04 02:24:16 -0800 |
---|---|---|
committer | David Zeuthen <zeuthen@google.com> | 2020-04-27 13:03:20 -0400 |
commit | d39b9fb604dc1592c13ba2db1fa7ac12416b94de (patch) | |
tree | 8a7596e6cec11b49ddaba541a78a8cbf54139451 /camera/common/1.0/default/CameraModule.cpp | |
parent | d78626d962ad570d6d670859e7ab600dba118ea4 (diff) |
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.
Bug: 154909726
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Merged-In: I51902681776c6230e49589fc75a8145e79d7d1a6
Change-Id: Ib7c108f67c61125edba6177dcac61cfbf58da671
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions