Home
last modified time | relevance | path

Searched refs:WifiConfigStore (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java37 import com.android.server.wifi.WifiConfigStore.StoreData;
38 import com.android.server.wifi.WifiConfigStore.StoreFile;
185 private WifiConfigStore mWifiConfigStore;
202 mSharedStore = new MockStoreFile(WifiConfigStore.STORE_FILE_SHARED_GENERAL); in setupMocks()
203 mSharedSoftApStore = new MockStoreFile(WifiConfigStore.STORE_FILE_SHARED_SOFTAP); in setupMocks()
204 mUserStore = new MockStoreFile(WifiConfigStore.STORE_FILE_USER_GENERAL); in setupMocks()
206 new MockStoreFile(WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS); in setupMocks()
210 mSharedStoreData = new MockStoreData(WifiConfigStore.STORE_FILE_SHARED_GENERAL); in setupMocks()
211 mUserStoreData = new MockStoreData(WifiConfigStore.STORE_FILE_USER_GENERAL); in setupMocks()
227 mWifiConfigStore = new WifiConfigStore(mContext, new Handler(mLooper.getLooper()), mClock, in setUp()
[all …]
DWifiSettingsConfigStoreTest.java69 private WifiConfigStore mWifiConfigStore;
121 ArgumentCaptor<WifiConfigStore.StoreData> storeDataCaptor = ArgumentCaptor.forClass( in testSaveAndLoadFromStore()
122 WifiConfigStore.StoreData.class); in testSaveAndLoadFromStore()
138 ArgumentCaptor<WifiConfigStore.StoreData> storeDataCaptor = ArgumentCaptor.forClass( in testLoadFromMigration()
139 WifiConfigStore.StoreData.class); in testLoadFromMigration()
DRandomizedMacStoreDataTest.java83 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
117 assertEquals(WifiConfigStore.STORE_FILE_SHARED_GENERAL, in getSharedStoreFileId()
DWakeupConfigStoreDataTest.java94 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
185 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in hasBeenReadIsTrueWhenUserStoreIsLoaded()
198 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in getUserStoreFileId()
DImsiPrivacyProtectionExemptionStoreDataTest.java74 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in deserializeData()
82 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in verifyStoreFileId()
DSsidSetStoreDataTest.java101 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
137 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in getUserStoreFileId()
DNetworkRequestStoreDataTest.java97 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
106 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in verifyStoreFileId()
DNetworkSuggestionStoreDataTest.java269 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in deserializeData()
277 assertEquals(WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS, in verifyStoreFileId()
472 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in testDeserializeNullData()
/frameworks/base/wifi/java/android/net/wifi/migration_samples/
DREADME.txt12 1) WifiConfigStore.xml - General storage for shared configurations. Includes
14 AOSP Path in Android 10: /data/misc/wifi/WifiConfigStore.xml
15 AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
21 AOSP Path in Android 11: /data/misc/apexdata/com.android/wifi/WifiConfigStore.xml
26 3) WifiConfigStore.xml - General storage for user specific configurations. Includes
28 AOSP Path in Android 10: /data/misc_ce/<userId>/wifi/WifiConfigStore.xml
29 AOSP Path in Android 11: /data/misc_ce/<userId>/apexdata/com.android/wifi/WifiConfigStore.xml
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreData.java22 import com.android.server.wifi.WifiConfigStore;
48 public class PasspointConfigSharedStoreData implements WifiConfigStore.StoreData {
88 @WifiConfigStore.Version int version, in deserializeData()
118 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
120 return WifiConfigStore.STORE_FILE_SHARED_GENERAL; in getStoreFileId()
DPasspointConfigUserStoreData.java25 import com.android.server.wifi.WifiConfigStore;
55 public class PasspointConfigUserStoreData implements WifiConfigStore.StoreData {
118 @WifiConfigStore.Version int version, in deserializeData()
148 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
150 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DRandomizedMacStoreData.java38 public class RandomizedMacStoreData implements WifiConfigStore.StoreData {
58 @WifiConfigStore.Version int version, in deserializeData()
101 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
103 return WifiConfigStore.STORE_FILE_SHARED_GENERAL; in getStoreFileId()
DSsidSetStoreData.java42 public class SsidSetStoreData implements WifiConfigStore.StoreData {
92 @WifiConfigStore.Version int version, in deserializeData()
133 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
135 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DNetworkListSharedStoreData.java31 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
33 return WifiConfigStore.STORE_FILE_SHARED_GENERAL; in getStoreFileId()
DNetworkListUserStoreData.java31 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
33 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DNetworkSuggestionStoreData.java19 import static com.android.server.wifi.WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION;
53 public class NetworkSuggestionStoreData implements WifiConfigStore.StoreData {
123 @WifiConfigStore.Version int version, in deserializeData()
150 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
151 return WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS; in getStoreFileId()
260 @WifiConfigStore.Version int version, in parseNetworkSuggestionsMap()
369 int outerTagDepth, @WifiConfigStore.Version int version, in parseNetworkSuggestion()
DWakeupConfigStoreData.java23 import com.android.server.wifi.WifiConfigStore.StoreData;
148 @WifiConfigStore.Version int version, in deserializeData()
272 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
274 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DNetworkRequestStoreData.java43 public class NetworkRequestStoreData implements WifiConfigStore.StoreData {
100 @WifiConfigStore.Version int version, in deserializeData()
126 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
127 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DImsiPrivacyProtectionExemptionStoreData.java38 public class ImsiPrivacyProtectionExemptionStoreData implements WifiConfigStore.StoreData {
105 @WifiConfigStore.Version int version, in parseCarrierImsiProtectionExemptionMap()
176 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DWifiSettingsConfigStore.java119 @NonNull WifiConfigStore wifiConfigStore) { in WifiSettingsConfigStore()
318 private class StoreData implements WifiConfigStore.StoreData {
333 @WifiConfigStore.Version int version, in deserializeData()
386 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
388 return WifiConfigStore.STORE_FILE_SHARED_GENERAL; in getStoreFileId()
DNetworkListStoreData.java19 import static com.android.server.wifi.WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION;
52 public abstract class NetworkListStoreData implements WifiConfigStore.StoreData {
83 @WifiConfigStore.Version int version, in deserializeData()
200 @WifiConfigStore.Version int version, in parseNetworkList()
232 @WifiConfigStore.Version int version, in parseNetwork()
DSoftApStoreData.java43 public class SoftApStoreData implements WifiConfigStore.StoreData {
148 @WifiConfigStore.Version int version, in deserializeData()
303 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
304 return WifiConfigStore.STORE_FILE_SHARED_SOFTAP; // Shared softap store. in getStoreFileId()
DOpenNetworkNotifier.java44 WifiConfigStore wifiConfigStore, in OpenNetworkNotifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointConfigSharedStoreDataTest.java28 import com.android.server.wifi.WifiConfigStore;
83 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
127 assertEquals(WifiConfigStore.STORE_FILE_SHARED_GENERAL, in getUserStoreFileId()
DPasspointConfigUserStoreDataTest.java40 import com.android.server.wifi.WifiConfigStore;
240 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
303 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in getUserStoreFileId()

12