Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.txt | D | 03-May-2024 | 1.9 KiB | 36 | 30 | |
Shared_WifiConfigStore.xml | D | 03-May-2024 | 8.1 KiB | 201 | 200 | |
Shared_WifiConfigStoreSoftAp.xml | D | 03-May-2024 | 788 | 23 | 22 | |
User_WifiConfigStore.xml | D | 03-May-2024 | 2.9 KiB | 82 | 81 | |
User_WifiConfigStoreNetworkSuggestions.xml | D | 03-May-2024 | 6.5 KiB | 156 | 155 |
README.txt
1This folder contains sample files for each of the 4 XML Wi-Fi config store files in Android 11 AOSP. 2OEMs can use these files as reference for converting their previous customized 3formats into the AOSP format. The conversion logic needs to be written in 4WifiMigration.java class, i.e each OEM needs to modify 5WifiMigration.convertAndRetrieveSharedConfigStoreFile() and the 6WifiMigration.convertAndRetrieveUserConfigStoreFile() methods. 7 8The 4 files are: 9 10Shared files 11============ 121) WifiConfigStore.xml - General storage for shared configurations. Includes 13user's saved Wi-Fi networks. 14AOSP Path in Android 10: /data/misc/wifi/WifiConfigStore.xml 15AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml 16Sample File (in this folder): Shared_WifiConfigStore.xml 17 182) WifiConfigStoreSoftAp.xml - Storage for user's softap/tethering configuration. 19AOSP Path in Android 10: /data/misc/wifi/softap.conf. 20Note: Was key/value format in Android 10. Conversion to XML done in SoftApConfToXmlMigrationUtil.java. 21AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml 22Sample File (in this folder): Shared_WifiConfigStoreSoftAp.xml 23 24User specific files 25================== 263) WifiConfigStore.xml - General storage for user specific configurations. Includes 27user's saved passpoint networks, Wi-Fi network request approvals, etc. 28AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStore.xml 29AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStore.xml 30Sample File (in this folder): User_WifiConfigStore.xml 31 324) WifiConfigStoreNetworkSuggestions.xml - Storage for app installed network suggestions. 33AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStoreNetworkSuggestions.xml 34AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStoreNetworkSuggestions.xml 35Sample File (in this folder): User_WifiConfigStoreNetworkSuggestions.xml 36