summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/RandomizedMacStoreDataTest.java
Commit message (Collapse)AuthorAgeFilesLines
* WifiConfigStore: Encrypt credentials for networks (1/4)Roshan Pius2019-11-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | Changes in the CL: a) Introduced a new config store version. The new version gets rid of the integrity computation & adds support for encryption of credential data. b) Changed DataIntegrityChecker to WifiConfigStoreEncryptionUtil to help the different config store modules to encrypt/decrypt their credential data to be stored. c) Pass the version & the new EncryptionUtil to all the config store modules. The version is needed for the modules to handle upgrades. d) Use the WIFI_UID to store encryption key in keystore (to help ease migrate keys if we move to a separate process in R) Actual encryption of credential data/handling of upgrades will be added in the next CL. Bug: 140485110 Test: atest com.android.server.wifi Change-Id: I522b11ef2ffbdbf0ff19ae4f2643023df3843e5e Merged-In: I522b11ef2ffbdbf0ff19ae4f2643023df3843e5e
* Persist randomized MAC over forget networkxshu2019-01-181-0/+132
Create and save a Map from configKey to the randomized MAC address for each unique network ever created. Bug: 122991465 Test: Unit tests Test: Verified on device with MAC randomization on, add network, examine MAC address, forget network, add the same network again and verify the MAC address is the same as the previous one. Change-Id: Ic703ec6fd3c9ccf36582b32721c0a4d703e66cc7