Home
last modified time | relevance | path

Searched refs:mWifiKeyStore (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiKeyStoreTest.java55 private WifiKeyStore mWifiKeyStore; field in WifiKeyStoreTest
67 mWifiKeyStore = new WifiKeyStore(mKeyStore); in setUp()
99 mWifiKeyStore.removeKeys(mWifiEnterpriseConfig); in testRemoveKeysForAppInstalledCerts()
118 mWifiKeyStore.removeKeys(mWifiEnterpriseConfig); in testRemoveKeysForMixedInstalledCerts1()
134 mWifiKeyStore.removeKeys(mWifiEnterpriseConfig); in testRemoveKeysForMixedInstalledCerts2()
151 mWifiKeyStore.removeKeys(mWifiEnterpriseConfig); in testRemoveKeysForUserInstalledCerts()
169 assertTrue(mWifiKeyStore.updateNetworkKeys(savedNetwork, null)); in testAddFromBothSavedAndSuggestionNetwork()
170 assertTrue(mWifiKeyStore.updateNetworkKeys(suggestionNetwork, null)); in testAddFromBothSavedAndSuggestionNetwork()
DWifiNetworkSuggestionsManagerTest.java105 private @Mock WifiKeyStore mWifiKeyStore; field in WifiNetworkSuggestionsManagerTest
163 mWifiMetrics, mWifiKeyStore); in setUp()
320 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion1.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion()
322 when(mWifiKeyStore.updateNetworkKeys(eq(networkSuggestion2.wifiConfiguration), any())) in testAddRemoveEnterpriseNetworkSuggestion()
338 verify(mWifiKeyStore).removeKeys(any()); in testAddRemoveEnterpriseNetworkSuggestion()
DWifiConfigManagerTest.java123 @Mock private WifiKeyStore mWifiKeyStore; field in WifiConfigManagerTest
202 when(mWifiKeyStore in setUp()
679 verify(mWifiKeyStore, never()).updateNetworkKeys(any(), any()); in testAddSingleSuggestionNetwork()
691 verify(mWifiKeyStore, never()).removeKeys(any()); in testAddSingleSuggestionNetwork()
935 verify(mWifiKeyStore, never()).removeKeys(any(WifiEnterpriseConfig.class)); in testRemovePasspointNetworkAddedByOther()
1500 when(mWifiKeyStore in testUpdateSingleNetworkFailureDoesNotModifyOriginal()
3767 }).when(mWifiKeyStore).updateNetworkKeys( in testUpdateSingleNetworkWithKeysUpdate()
4606 mWifiKeyStore, mWifiConfigStore, in createWifiConfigManager()
5011 verify(mWifiKeyStore, never()).updateNetworkKeys(any(WifiConfiguration.class), in verifyAddPasspointNetworkToWifiConfigManager()
5106 verify(mWifiKeyStore, never()).removeKeys(any(WifiEnterpriseConfig.class)); in verifyRemovePasspointNetworkFromWifiConfigManager()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java154 @Mock WifiKeyStore mWifiKeyStore; field in PasspointManagerTest
208 mWifiKeyStore, mClock, mSimAccessor, mObjectFactory, mWifiConfigManager, in setUp()
315 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addTestProvider()
332 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addTestCarrierProvider()
520 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addRemoveProviderWithValidUserCredential()
565 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addRemoveProviderWithValidSimCredential()
610 when(mObjectFactory.makePasspointProvider(eq(origConfig), eq(mWifiKeyStore), in addProviderWithExistingConfig()
632 when(mObjectFactory.makePasspointProvider(eq(newConfig), eq(mWifiKeyStore), in addProviderWithExistingConfig()
660 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addProviderOnKeyInstallationFailiure()
696 when(mObjectFactory.makePasspointProvider(eq(config), eq(mWifiKeyStore), in addProviderWithR2Config()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java120 private final WifiKeyStore mWifiKeyStore; field in WifiInjector
239 mWifiKeyStore = new WifiKeyStore(mKeyStore); in WifiInjector()
248 mWifiKeyStore, mWifiConfigStore, mWifiPermissionsUtil, in WifiInjector()
273 mWifiConfigManager, mWifiConfigStore, mWifiMetrics, mWifiKeyStore); in WifiInjector()
283 new Handler(mWifiCoreHandlerThread.getLooper()), mWifiNative, mWifiKeyStore, mClock, in WifiInjector()
DWifiNetworkSuggestionsManager.java105 private final WifiKeyStore mWifiKeyStore; field in WifiNetworkSuggestionsManager
400 mWifiKeyStore = keyStore; in WifiNetworkSuggestionsManager()
604 if (!mWifiKeyStore.updateNetworkKeys(config, null)) { in add()
660 mWifiKeyStore.removeKeys(config.enterpriseConfig); in removeInternal()
DWifiConfigManager.java272 private final WifiKeyStore mWifiKeyStore; field in WifiConfigManager
399 mWifiKeyStore = wifiKeyStore; in WifiConfigManager()
541 mWifiKeyStore.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()
1218 if (!mWifiKeyStore.updateNetworkKeys(newInternalConfig, existingInternalConfig)) { in addOrUpdateNetworkInternal()
1359 mWifiKeyStore.removeKeys(config.enterpriseConfig); in removeNetworkInternal()