Home
last modified time | relevance | path

Searched refs:storeData (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java175 public boolean registerStoreData(StoreData storeData) { in registerStoreData() argument
176 if (storeData == null) { in registerStoreData()
180 mStoreDataList.put(storeData.getName(), storeData); in registerStoreData() local
286 StoreData storeData = entry.getValue(); in serializeData() local
289 if (shareData && !storeData.supportShareData()) { in serializeData()
293 storeData.serializeData(out, shareData); in serializeData()
404 for (StoreData storeData : storeDataSet) { in indicateNoDataForStoreDatas()
405 storeData.deserializeData(null, 0, shareData); in indicateNoDataForStoreDatas()
434 StoreData storeData = mStoreDataList.get(headerName[0]); in deserializeData() local
435 if (storeData == null) { in deserializeData()
[all …]
DWifiConfigManager.java2759 WifiConfigStoreDataLegacy storeData = mWifiConfigStoreLegacy.read(); in migrateFromLegacyStore() local
2761 loadInternalData(storeData.getConfigurations(), new ArrayList<WifiConfiguration>(), in migrateFromLegacyStore()
2762 storeData.getDeletedEphemeralSSIDs()); in migrateFromLegacyStore()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java323 WifiConfigStore.StoreData storeData = mock(WifiConfigStore.StoreData.class); in testReadWithNoSharedStoreFileAndUserStoreNotVisible() local
327 mWifiConfigStore.registerStoreData(storeData); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
332 verify(storeData).resetData(eq(true)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
333 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
334 verify(storeData, never()).resetData(eq(false)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
335 verify(storeData, never()).deserializeData(eq(null), anyInt(), eq(false)); in testReadWithNoSharedStoreFileAndUserStoreNotVisible()
345 WifiConfigStore.StoreData storeData = mock(WifiConfigStore.StoreData.class); in testReadWithNoStoreFiles() local
349 mWifiConfigStore.registerStoreData(storeData); in testReadWithNoStoreFiles()
356 verify(storeData).resetData(eq(true)); in testReadWithNoStoreFiles()
357 verify(storeData).deserializeData(eq(null), anyInt(), eq(true)); in testReadWithNoStoreFiles()
[all …]
DWifiConfigStoreLegacyTest.java145 WifiConfigStoreLegacy.WifiConfigStoreDataLegacy storeData = mWifiConfigStore.read(); in testLoadFromStores() local
156 networks, storeData.getConfigurations()); in testLoadFromStores()
DWifiConfigManagerTest.java2743 WifiConfigStoreDataLegacy storeData = in testMigrationFromLegacyStore() local
2748 when(mWifiConfigStoreLegacy.read()).thenReturn(storeData); in testMigrationFromLegacyStore()