Home
last modified time | relevance | path

Searched refs:mPasspointManager (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java83 @Mock PasspointManager mPasspointManager; field in PasspointNetworkEvaluatorTest
154 mEvaluator = new PasspointNetworkEvaluator(mPasspointManager, mWifiConfigManager, mLocalLog, in setUp()
174 when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(null); in evaluateScansWithNoMatch()
198 verify(mPasspointManager, never()).matchProvider(any(ScanResult.class)); in evaulateScansWithNoInterworkingAP()
219 when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(homeProvider) in evaluateScansWithNetworkMatchingHomeProvider()
262 when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(roamingProvider) in evaluateScansWithNetworkMatchingRoamingProvider()
307 when(mPasspointManager.matchProvider(any(ScanResult.class))) in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
355 when(mPasspointManager.matchProvider(any(ScanResult.class))) in evaluateScansWithActiveNetworkMatchingHomeProvider()
387 when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(homeProvider); in evaluateScanMatchingSIMProviderWithoutSIMCard()
416 when(mPasspointManager.matchProvider(any(ScanResult.class))).thenReturn(homeProvider); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
[all …]
DPasspointProvisionerTest.java172 @Mock PasspointManager mPasspointManager; field in PasspointProvisionerTest
223 mPasspointManager, mWifiMetrics); in setUp()
509 }).when(mPasspointManager).getANQPElements(any(ScanResult.class)); in verifySelectBestOsuProviderForProvisioning()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java52 private final PasspointManager mPasspointManager; field in PasspointNetworkEvaluator
78 mPasspointManager = passpointManager; in PasspointNetworkEvaluator()
112 mPasspointManager.sweepCache(); in evaluateNetworks()
136 mPasspointManager.matchProvider(scanResult); in evaluateNetworks()
198 if (mPasspointManager.hasCarrierProvider(mccMnc)) { in createEphemeralProfileForMatchingAp()
202 mPasspointManager.findEapMethodFromNAIRealmMatchedWithCarrier(filteredScanDetails); in createEphemeralProfileForMatchingAp()
207 mPasspointManager.createEphemeralPasspointConfigForCarrier(eapMethod); in createEphemeralProfileForMatchingAp()
212 mPasspointManager.installEphemeralPasspointConfigForCarrier(carrierConfig); in createEphemeralProfileForMatchingAp()
277 scanDetail, mPasspointManager.getANQPElements(scanDetail.getScanResult()), in findBestNetwork()
DPasspointProvisioner.java91 private PasspointManager mPasspointManager; field in PasspointProvisioner
107 mPasspointManager = passpointManager; in PasspointProvisioner()
1013 mPasspointManager.getANQPElements( in getBestMatchingOsuProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java137 private final PasspointManager mPasspointManager; field in WifiInjector
290 mPasspointManager = new PasspointManager(mContext, this, in WifiInjector()
295 mPasspointManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector()
297 mWifiMetrics.setPasspointManager(mPasspointManager); in WifiInjector()
500 return mPasspointManager; in getPasspointManager()
DClientModeImpl.java223 private final PasspointManager mPasspointManager; field in ClientModeImpl
816 mPasspointManager = mWifiInjector.getPasspointManager(); in ClientModeImpl()
1131 mPasspointManager.enableVerboseLogging(verbose); in enableVerboseLogging()
2063 mPasspointManager.dump(pw); in dump()
3541 mPasspointManager.initializeProvisioner( in processMessage()
3698 int addResult = mPasspointManager.addOrUpdateProvider(bundle.getParcelable( in processMessage()
3706 int removeResult = mPasspointManager.removeProvider( in processMessage()
3712 replyToMessage(message, message.what, mPasspointManager.getProviderConfigs( in processMessage()
3859 mPasspointManager.onPasspointNetworkConnected(currentNetwork.FQDN); in registerConnected()
4225 mPasspointManager.getMatchingOsuProviders( in processMessage()
[all …]
DWifiMetrics.java201 private PasspointManager mPasspointManager; field in WifiMetrics
886 mPasspointManager = passpointManager; in setPasspointManager()
2173 || mPasspointManager == null) { in incrementAvailableNetworksHistograms()
2210 mPasspointManager.matchProvider(scanResult); in incrementAvailableNetworksHistograms()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java369 @Mock PasspointManager mPasspointManager; field in ClientModeImplTest
427 when(mWifiInjector.getPasspointManager()).thenReturn(mPasspointManager); in setUp()
1901 when(mPasspointManager.addOrUpdateProvider(config, MANAGED_PROFILE_UID, in syncAddOrUpdatePasspointConfig()
1907 reset(mPasspointManager); in syncAddOrUpdatePasspointConfig()
1909 when(mPasspointManager.addOrUpdateProvider(config, MANAGED_PROFILE_UID, in syncAddOrUpdatePasspointConfig()
1934 when(mPasspointManager.removeProvider(anyInt(), anyBoolean(), eq(fqdn))).thenReturn(true); in syncRemovePasspointConfig()
1938 reset(mPasspointManager); in syncRemovePasspointConfig()
1940 when(mPasspointManager.removeProvider(anyInt(), anyBoolean(), eq(fqdn))).thenReturn(false); in syncRemovePasspointConfig()
1970 when(mPasspointManager.getProviderConfigs(anyInt(), anyBoolean())) in syncGetPasspointConfigs()
1975 reset(mPasspointManager); in syncGetPasspointConfigs()
[all …]
DWifiServiceImplTest.java266 @Mock PasspointManager mPasspointManager; field in WifiServiceImplTest
390 when(mWifiInjector.getPasspointManager()).thenReturn(mPasspointManager); in setUp()
3260 verify(mPasspointManager).removePasspointProviderWithPackage(packageName); in testPackageRemovedBroadcastHandling()
3284 verify(mPasspointManager, never()).removePasspointProviderWithPackage(anyString()); in testPackageRemovedBroadcastHandlingWithNoUid()
3308 verify(mPasspointManager, never()).removePasspointProviderWithPackage(anyString()); in testPackageRemovedBroadcastHandlingWithNoPackageName()