Home
last modified time | relevance | path

Searched refs:newProvider (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java514 PasspointProvider newProvider = mObjectFactory.makePasspointProvider(config, mKeyStore, in addOrUpdateProvider() local
517 newProvider.setTrusted(isTrusted); in addOrUpdateProvider()
518 newProvider.setRestricted(isRestricted); in addOrUpdateProvider()
548 if (!newProvider.installCertsAndKeys()) { in addOrUpdateProvider()
560 newProvider.uninstallCertsAndKeys(); in addOrUpdateProvider()
568 newProvider.setUserConnectChoice(old.getConnectChoice(), old.getConnectChoiceRssi()); in addOrUpdateProvider()
569 newProvider.setAnonymousIdentity(old.getAnonymousIdentity()); in addOrUpdateProvider()
571 if (!old.equals(newProvider)) { in addOrUpdateProvider()
573 newProvider.getWifiConfig().getProfileKey()); in addOrUpdateProvider()
577 newProvider.getWifiConfig(), uid, packageName, isFromSuggestion); in addOrUpdateProvider()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java940 PasspointProvider newProvider = createMockProvider(newConfig); in addSavedProviderWithExistingConfig() local
943 eq(false), eq(mClock))).thenReturn(newProvider); in addSavedProviderWithExistingConfig()
2212 PasspointProvider newProvider = createMockProvider(newConfig); in addSuggestionProviderWithExistingConfig() local
2213 when(newProvider.isFromSuggestion()).thenReturn(true); in addSuggestionProviderWithExistingConfig()
2214 when(newProvider.getPackageName()).thenReturn(TEST_PACKAGE); in addSuggestionProviderWithExistingConfig()
2217 eq(true), eq(mClock))).thenReturn(newProvider); in addSuggestionProviderWithExistingConfig()
2268 PasspointProvider newProvider = createMockProvider(newConfig); in addSavedProviderWithExistingSuggestionConfig() local
2271 eq(false), eq(mClock))).thenReturn(newProvider); in addSavedProviderWithExistingSuggestionConfig()
2323 PasspointProvider newProvider = createMockProvider(newConfig); in addSuggestionProviderWithExistingConfigFromDifferentSource() local
2324 when(newProvider.isFromSuggestion()).thenReturn(true); in addSuggestionProviderWithExistingConfigFromDifferentSource()
[all …]