Use ConnectivityBlobStore as the main storage
mechanism in WifiKeystore.
See aosp/2859045 as an example of using
ConnectivityBlobStore.
The expected behavior per-API is:
- put: Always write to ConnectivityBlobStore.
- get: Attempt to get from ConnectivityBlobStore.
If alias is not found there, try checking
in LegacyKeystore.
- remove: Remove alias from both ConnectivityBlobStore
and LegacyKeystore.
- list: List aliases from both ConnectivityBlobStore
and LegacyKeystore. Deduplicate before returning.
Bug: 304553176
Test: atest WifiKeyStoreTest
Test: Manual test - Added test commands to WifiShellCommand
to test all of the APIs.
Change-Id: I30b7553bf0ca6a76f81f52aa06f67126fffc4127
2 files changed