Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java335 private WifiBackupRestore mWifiBackupRestore; field in WifiBackupRestoreTest
342 mWifiBackupRestore = new WifiBackupRestore(mWifiPermissionsUtil); in setUp()
344 mWifiBackupRestore.enableVerboseLogging(true); in setUp()
351 mWifiBackupRestore.dump( in cleanUp()
376 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(null); in testNullNetworkListBackup()
391 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenNetworkBackupRestore()
393 mWifiBackupRestore.retrieveConfigurationsFromBackupData(backupData); in testSingleOpenNetworkBackupRestore()
407 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSingleOpenHiddenNetworkBackupRestore()
409 mWifiBackupRestore.retrieveConfigurationsFromBackupData(backupData); in testSingleOpenHiddenNetworkBackupRestore()
422 byte[] backupData = mWifiBackupRestore.retrieveBackupDataFromConfigurations(configurations); in testSinglePskNetworkBackupRestore()
[all …]
DWifiServiceImplTest.java411 @Mock WifiBackupRestore mWifiBackupRestore; field in WifiServiceImplTest
594 when(mWifiInjector.getWifiBackupRestore()).thenReturn(mWifiBackupRestore); in setUp()
5096 verify(mWifiBackupRestore, never()).retrieveConfigurationsFromBackupData(any(byte[].class)); in testRestoreBackupDataNotApprovedCaller()
5156 verify(mWifiBackupRestore, never()).retrieveConfigurationsFromSupplicantBackupData( in testRestoreSupplicantBackupDataNotApprovedCaller()
5170 verify(mWifiBackupRestore, never()).retrieveBackupDataFromConfigurations(any(List.class)); in testRetrieveBackupDataNotApprovedCaller()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java186 private final WifiBackupRestore mWifiBackupRestore; field in WifiInjector
324 mWifiBackupRestore = new WifiBackupRestore(mWifiPermissionsUtil); in WifiInjector()
655 mWifiBackupRestore.enableVerboseLogging(verboseEnabled); in enableVerboseLogging()
770 return mWifiBackupRestore; in getWifiBackupRestore()
DWifiServiceImpl.java294 private final WifiBackupRestore mWifiBackupRestore; field in WifiServiceImpl
536 mWifiBackupRestore = mWifiInjector.getWifiBackupRestore(); in WifiServiceImpl()
5561 mWifiBackupRestore.dump(fd, pw, args);
5984 mWifiBackupRestore.retrieveBackupDataFromConfigurations(wifiConfigurations);
6038 restoreNetworks(mWifiBackupRestore.retrieveConfigurationsFromBackupData(data));
6091 restoreNetworks(mWifiBackupRestore.retrieveConfigurationsFromSupplicantBackupData(