Home
last modified time | relevance | path

Searched refs:mWifiBackupRestore (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java188 private WifiBackupRestore mWifiBackupRestore; field in WifiBackupRestoreTest
195 mWifiBackupRestore = new WifiBackupRestore(mWifiPermissionsUtil); in setUp()
197 mWifiBackupRestore.enableVerboseLogging(1); in setUp()
204 mWifiBackupRestore.dump( in cleanUp()
229 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(null); in testNullNetworkListBackup()
244 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenNetworkBackupRestore()
246 mWifiBackupRestore.retrieveConfigurationsFromBackupData(backupData); in testSingleOpenNetworkBackupRestore()
260 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenHiddenNetworkBackupRestore()
262 mWifiBackupRestore.retrieveConfigurationsFromBackupData(backupData); in testSingleOpenHiddenNetworkBackupRestore()
275 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSinglePskNetworkBackupRestore()
[all …]
DWifiServiceImplTest.java229 @Mock WifiBackupRestore mWifiBackupRestore; field in WifiServiceImplTest
371 when(mWifiInjector.getWifiBackupRestore()).thenReturn(mWifiBackupRestore); in setUp()
2731 verify(mWifiBackupRestore, never()).retrieveConfigurationsFromBackupData(any(byte[].class)); in testRestoreBackupDataNotApprovedCaller()
2744 verify(mWifiBackupRestore, never()).retrieveConfigurationsFromSupplicantBackupData( in testRestoreSupplicantBackupDataNotApprovedCaller()
2758 verify(mWifiBackupRestore, never()).retrieveBackupDataFromConfigurations(any(List.class)); in testRetrieveBackupDataNotApprovedCaller()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java117 private final WifiBackupRestore mWifiBackupRestore; field in WifiInjector
181 mWifiBackupRestore = new WifiBackupRestore(mWifiPermissionsUtil); in WifiInjector()
372 mWifiBackupRestore.enableVerboseLogging(verbose); in enableVerboseLogging()
479 return mWifiBackupRestore; in getWifiBackupRestore()
DWifiServiceImpl.java188 private final WifiBackupRestore mWifiBackupRestore; field in WifiServiceImpl
477 mWifiBackupRestore = mWifiInjector.getWifiBackupRestore(); in WifiServiceImpl()
2783 mWifiBackupRestore.dump(fd, pw, args); in dump()
3035 mWifiBackupRestore.retrieveBackupDataFromConfigurations(wifiConfigurations); in retrieveBackupData()
3078 mWifiBackupRestore.retrieveConfigurationsFromBackupData(data); in restoreBackupData()
3100 mWifiBackupRestore.retrieveConfigurationsFromSupplicantBackupData( in restoreSupplicantBackupData()