Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bf26b946 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

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
parent d4c39aef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment