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.java173 @Mock PasspointManager mPasspointManager; field in PasspointProvisionerTest
224 mPasspointManager, mWifiMetrics); in setUp()
510 }).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()
281 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.java135 private final PasspointManager mPasspointManager; field in WifiInjector
282 mPasspointManager = new PasspointManager(mContext, this, in WifiInjector()
287 mPasspointManager, mWifiConfigManager, mConnectivityLocalLog, in WifiInjector()
289 mWifiMetrics.setPasspointManager(mPasspointManager); in WifiInjector()
491 return mPasspointManager; in getPasspointManager()
DClientModeImpl.java216 private final PasspointManager mPasspointManager; field in ClientModeImpl
803 mPasspointManager = mWifiInjector.getPasspointManager(); in ClientModeImpl()
1114 mPasspointManager.enableVerboseLogging(verbose); in enableVerboseLogging()
2042 mPasspointManager.dump(pw); in dump()
3515 mPasspointManager.initializeProvisioner( in processMessage()
3672 int addResult = mPasspointManager.addOrUpdateProvider(bundle.getParcelable( in processMessage()
3680 int removeResult = mPasspointManager.removeProvider( in processMessage()
3685 replyToMessage(message, message.what, mPasspointManager.getProviderConfigs()); in processMessage()
3833 mPasspointManager.onPasspointNetworkConnected(currentNetwork.FQDN); in registerConnected()
4204 mPasspointManager.getMatchingOsuProviders( in processMessage()
[all …]
DWifiMetrics.java196 private PasspointManager mPasspointManager; field in WifiMetrics
816 mPasspointManager = passpointManager; in setPasspointManager()
2068 || mPasspointManager == null) { in incrementAvailableNetworksHistograms()
2105 mPasspointManager.matchProvider(scanResult); in incrementAvailableNetworksHistograms()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java362 @Mock PasspointManager mPasspointManager; field in ClientModeImplTest
420 when(mWifiInjector.getPasspointManager()).thenReturn(mPasspointManager); in setUp()
1781 when(mPasspointManager.addOrUpdateProvider(config, MANAGED_PROFILE_UID, in syncAddOrUpdatePasspointConfig()
1787 reset(mPasspointManager); in syncAddOrUpdatePasspointConfig()
1789 when(mPasspointManager.addOrUpdateProvider(config, MANAGED_PROFILE_UID, in syncAddOrUpdatePasspointConfig()
1814 when(mPasspointManager.removeProvider(fqdn)).thenReturn(true); in syncRemovePasspointConfig()
1818 reset(mPasspointManager); in syncRemovePasspointConfig()
1820 when(mPasspointManager.removeProvider(fqdn)).thenReturn(false); in syncRemovePasspointConfig()
1850 when(mPasspointManager.getProviderConfigs()).thenReturn(expectedConfigs); in syncGetPasspointConfigs()
1854 reset(mPasspointManager); in syncGetPasspointConfigs()
[all …]
DWifiServiceImplTest.java260 @Mock PasspointManager mPasspointManager; field in WifiServiceImplTest
383 when(mWifiInjector.getPasspointManager()).thenReturn(mPasspointManager); in setUp()
3125 verify(mPasspointManager).removePasspointProviderWithPackage(packageName); in testPackageRemovedBroadcastHandling()
3149 verify(mPasspointManager, never()).removePasspointProviderWithPackage(anyString()); in testPackageRemovedBroadcastHandlingWithNoUid()
3173 verify(mPasspointManager, never()).removePasspointProviderWithPackage(anyString()); in testPackageRemovedBroadcastHandlingWithNoPackageName()