Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java38 import com.android.server.wifi.WifiConfigStore.StoreData;
39 import com.android.server.wifi.WifiConfigStore.StoreFile;
215 private WifiConfigStore mWifiConfigStore;
232 mSharedStore = new MockStoreFile(WifiConfigStore.STORE_FILE_SHARED_GENERAL); in setupMocks()
233 mSharedSoftApStore = new MockStoreFile(WifiConfigStore.STORE_FILE_SHARED_SOFTAP); in setupMocks()
234 mUserStore = new MockStoreFile(WifiConfigStore.STORE_FILE_USER_GENERAL); in setupMocks()
236 new MockStoreFile(WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS); in setupMocks()
240 mSharedStoreData = new MockStoreData(WifiConfigStore.STORE_FILE_SHARED_GENERAL); in setupMocks()
241 mUserStoreData = new MockStoreData(WifiConfigStore.STORE_FILE_USER_GENERAL); in setupMocks()
257 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()
DWifiCarrierInfoStoreManagerDataTest.java82 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in deserializeData()
90 assertEquals(WifiConfigStore.STORE_FILE_SHARED_GENERAL, in verifyStoreFileId()
120 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in testDeserializeOnNewDeviceOrNewUser()
DWakeupConfigStoreDataTest.java96 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
193 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in hasBeenReadIsTrueWhenUserStoreIsLoaded()
206 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in getUserStoreFileId()
DRandomizedMacStoreDataTest.java83 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
117 assertEquals(WifiConfigStore.STORE_FILE_SHARED_GENERAL, in getSharedStoreFileId()
DImsiPrivacyProtectionExemptionStoreDataTest.java68 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in deserializeData()
75 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.java277 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in deserializeData()
285 assertEquals(WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS, in verifyStoreFileId()
501 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, null); in testDeserializeNullData()
/packages/modules/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.java26 import com.android.server.wifi.WifiConfigStore;
56 public class PasspointConfigUserStoreData implements WifiConfigStore.StoreData {
123 @WifiConfigStore.Version int version, in deserializeData()
153 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
155 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
/packages/modules/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()
DNetworkSuggestionStoreData.java19 import static com.android.server.wifi.WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION;
53 public class NetworkSuggestionStoreData implements WifiConfigStore.StoreData {
126 @WifiConfigStore.Version int version, in deserializeData()
153 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
154 return WifiConfigStore.STORE_FILE_USER_NETWORK_SUGGESTIONS; in getStoreFileId()
266 @WifiConfigStore.Version int version, in parseNetworkSuggestionsMap()
370 int outerTagDepth, @WifiConfigStore.Version int version, in parseNetworkSuggestion()
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()
DWifiSettingsConfigStore.java137 @NonNull WifiConfigStore wifiConfigStore) { in WifiSettingsConfigStore()
336 private class StoreData implements WifiConfigStore.StoreData {
351 @WifiConfigStore.Version int version, in deserializeData()
404 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
406 return WifiConfigStore.STORE_FILE_SHARED_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()
DWakeupConfigStoreData.java24 import com.android.server.wifi.WifiConfigStore.StoreData;
178 @WifiConfigStore.Version int version, in deserializeData()
370 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
372 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DImsiPrivacyProtectionExemptionStoreData.java36 public class ImsiPrivacyProtectionExemptionStoreData implements WifiConfigStore.StoreData {
92 @WifiConfigStore.Version int version, in parseCarrierImsiProtectionExemptionMap()
156 return WifiConfigStore.STORE_FILE_USER_GENERAL; in getStoreFileId()
DSoftApStoreData.java45 public class SoftApStoreData implements WifiConfigStore.StoreData {
175 @WifiConfigStore.Version int version, in deserializeData()
362 public @WifiConfigStore.StoreFileId int getStoreFileId() { in getStoreFileId()
363 return WifiConfigStore.STORE_FILE_SHARED_SOFTAP; // Shared softap store. 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()
DWifiCarrierInfoStoreManagerData.java37 public class WifiCarrierInfoStoreManagerData implements WifiConfigStore.StoreData {
198 return WifiConfigStore.STORE_FILE_SHARED_GENERAL; in getStoreFileId()
/packages/modules/Wifi/service/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.java41 import com.android.server.wifi.WifiConfigStore;
242 WifiConfigStore.ENCRYPT_CREDENTIALS_CONFIG_STORE_DATA_VERSION, in deserializeData()
305 assertEquals(WifiConfigStore.STORE_FILE_USER_GENERAL, in getUserStoreFileId()

12