Home
last modified time | relevance | path

Searched refs:mWifiPseudonymManager (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java99 private WifiPseudonymManager mWifiPseudonymManager; field in WifiPseudonymManagerTest
113 mWifiPseudonymManager = in setUp()
120 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID).isEmpty()); in getValidPseudonymInfo_byDefault_empty()
125 setAnExpiredPseudonym(mWifiPseudonymManager); in getValidPseudonymInfo_expiredPseudonym_empty()
126 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(WRONG_CARRIER_ID).isEmpty()); in getValidPseudonymInfo_expiredPseudonym_empty()
131 setAFreshPseudonym(mWifiPseudonymManager); in getValidPseudonymInfo_wrongCarrierId_empty()
132 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(WRONG_CARRIER_ID).isEmpty()); in getValidPseudonymInfo_wrongCarrierId_empty()
137 setAFreshPseudonym(mWifiPseudonymManager); in getValidPseudonymInfo_freshPseudonym_present()
138 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID).isPresent()); in getValidPseudonymInfo_freshPseudonym_present()
146 mWifiPseudonymManager.mLastFailureTimestampArray.put(CARRIER_ID, in retrievePseudonymOnFailureTimeout_expiredPseudonym_scheduleRefresh()
[all …]
DSavedNetworkNominatorTest.java78 mWifiPseudonymManager, mWifiPermissionsUtil, mWifiNetworkSuggestionsManager); in setUp()
112 @Mock private WifiPseudonymManager mWifiPseudonymManager; field in SavedNetworkNominatorTest
395 when(mWifiPseudonymManager.getValidPseudonymInfo(TEST_CARRIER_ID)) in testAllowNetworksIfOobPseudonymEnabledForImsiProtection()
403 verify(mWifiPseudonymManager).updateWifiConfiguration(any()); in testAllowNetworksIfOobPseudonymEnabledForImsiProtection()
427 when(mWifiPseudonymManager.getValidPseudonymInfo(TEST_CARRIER_ID)) in testIgnoreNetworksIfOobPseudonymEnabledButNotAvailableForImsiProtection()
435 verify(mWifiPseudonymManager).retrievePseudonymOnFailureTimeoutExpired(any()); in testIgnoreNetworksIfOobPseudonymEnabledButNotAvailableForImsiProtection()
DWifiCarrierInfoManagerTest.java181 @Mock WifiPseudonymManager mWifiPseudonymManager; field in WifiCarrierInfoManagerTest
242 new Handler(mLooper.getLooper()), mWifiMetrics, mClock, mWifiPseudonymManager); in setUp()
422 verify(mWifiPseudonymManager).retrieveOobPseudonymIfNeeded(NON_DATA_CARRIER_ID); in receivedDefaultDataSubChangedIntent()
423 verify(mWifiPseudonymManager, never()).retrieveOobPseudonymIfNeeded(DATA_CARRIER_ID); in receivedDefaultDataSubChangedIntent()
464 verify(mWifiPseudonymManager, times(2)).retrieveOobPseudonymIfNeeded(NON_DATA_CARRIER_ID); in restoreAutoJoinForOobPseudonymEnabled()
615 verify(mWifiPseudonymManager).retrieveOobPseudonymIfNeeded(NON_DATA_CARRIER_ID); in availableOfImsiEncryptionInfoIsUpdatedAndOobPseudonymIsUpdated()
616 verify(mWifiPseudonymManager, never()).retrieveOobPseudonymIfNeeded(DATA_CARRIER_ID); in availableOfImsiEncryptionInfoIsUpdatedAndOobPseudonymIsUpdated()
790 when(mWifiPseudonymManager.getValidPseudonymInfo(DATA_CARRIER_ID)) in getEncryptedIdentityWithOobPseudonymEnabled()
1420 when(mWifiPseudonymManager.getValidPseudonymInfo(DATA_CARRIER_ID)) in getMatchingImsiCarrierIdWithValidCarrierIdForOobPseudonymCheck()
1425 verify(mWifiPseudonymManager).retrievePseudonymOnFailureTimeoutExpired(DATA_CARRIER_ID); in getMatchingImsiCarrierIdWithValidCarrierIdForOobPseudonymCheck()
[all …]
DNetworkSuggestionNominatorTest.java92 private @Mock WifiPseudonymManager mWifiPseudonymManager; field in NetworkSuggestionNominatorTest
104 new LocalLog(100), mWifiCarrierInfoManager, mWifiPseudonymManager, in setUp()
1080 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())) in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1095 verify(mWifiPseudonymManager).updateWifiConfiguration(any()); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1133 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())).thenReturn(Optional.empty()); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
1149 verify(mWifiPseudonymManager).retrievePseudonymOnFailureTimeoutExpired(any()); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
DClientModeImplTest.java589 @Mock WifiPseudonymManager mWifiPseudonymManager; field in ClientModeImplTest
834 mWifiCarrierInfoManager, mWifiPseudonymManager, mEapFailureNotifier, in initializeCmi()
1585 verify(mWifiPseudonymManager).registerPseudonymUpdatingListener(listenerCaptor.capture()); in testUpdatingOobPseudonymToSupplicant()
1602 verify(mWifiPseudonymManager) in testUpdatingOobPseudonymToSupplicant()
1614 verify(mWifiPseudonymManager).registerPseudonymUpdatingListener(listenerCaptor.capture()); in testNotUpdatingOobPseudonymToSupplicant()
1631 verify(mWifiPseudonymManager) in testNotUpdatingOobPseudonymToSupplicant()
2052 verify(mWifiPseudonymManager).setInBandPseudonym(anyInt(), eq(pseudonymFromSupplicant)); in testUpdatePseudonymAsInBandPseudonymWhenConnectionIsEstablished()
3024 verify(mWifiPseudonymManager).retrieveOobPseudonymWithRateLimit(anyInt()); in testEapAkaRetrieveOobPseudonymTriggeredByAuthenticationFailure()
DWifiServiceImplTest.java479 @Mock WifiPseudonymManager mWifiPseudonymManager; field in WifiServiceImplTest
671 when(mWifiInjector.getWifiPseudonymManager()).thenReturn(mWifiPseudonymManager); in setUp()
5750 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())).thenReturn(Optional.empty()); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
5756 verify(mWifiPseudonymManager).retrievePseudonymOnFailureTimeoutExpired(any()); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
5776 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())) in connectToSimBasedNetworkWhenOobPseudonymEnabledAndAvailable()
5783 verify(mWifiPseudonymManager).updateWifiConfiguration(any()); in connectToSimBasedNetworkWhenOobPseudonymEnabledAndAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSavedNetworkNominator.java42 private final WifiPseudonymManager mWifiPseudonymManager; field in SavedNetworkNominator
55 mWifiPseudonymManager = wifiPseudonymManager; in SavedNetworkNominator()
180 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired(network); in findMatchedSavedNetworks()
183 mWifiPseudonymManager.updateWifiConfiguration(network); in findMatchedSavedNetworks()
218 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired(config); in findMatchedPasspointNetworks()
221 mWifiPseudonymManager.updateWifiConfiguration(config); in findMatchedPasspointNetworks()
248 if (mWifiPseudonymManager.getValidPseudonymInfo(carrierId).isEmpty()) { in isSimBasedNetworkAbleToAutoJoin()
DNetworkSuggestionNominator.java62 private final WifiPseudonymManager mWifiPseudonymManager; field in NetworkSuggestionNominator
73 mWifiPseudonymManager = wifiPseudonymManager; in NetworkSuggestionNominator()
225 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired(config); in findMatchedPasspointSuggestionNetworks()
228 mWifiPseudonymManager.updateWifiConfiguration(config); in findMatchedPasspointSuggestionNetworks()
273 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired( in findMatchedSuggestionNetworks()
277 mWifiPseudonymManager.updateWifiConfiguration(wCmConfiguredNetwork); in findMatchedSuggestionNetworks()
358 mWifiPseudonymManager.getValidPseudonymInfo(carrierId); in isSimBasedNetworkAvailableToAutoConnect()
DWifiInjector.java227 private final WifiPseudonymManager mWifiPseudonymManager; field in WifiInjector
384 mWifiPseudonymManager = in WifiInjector()
393 mWifiConfigStore, wifiHandler, mWifiMetrics, mClock, mWifiPseudonymManager); in WifiInjector()
489 mWifiPseudonymManager, mWifiPermissionsUtil, mWifiNetworkSuggestionsManager); in WifiInjector()
492 mWifiPseudonymManager, mWifiMetrics); in WifiInjector()
664 mWifiPseudonymManager.enableVerboseLogging(verboseEnabled); in enableVerboseLogging()
817 return mWifiPseudonymManager; in getWifiPseudonymManager()
886 mWifiPseudonymManager, in makeClientModeImpl()
DWifiCarrierInfoManager.java194 private final WifiPseudonymManager mWifiPseudonymManager; field in WifiCarrierInfoManager
609 mWifiPseudonymManager = wifiPseudonymManager; in WifiCarrierInfoManager()
658 mWifiPseudonymManager.retrieveOobPseudonymIfNeeded( in WifiCarrierInfoManager()
861 mWifiPseudonymManager.retrieveOobPseudonymIfNeeded(subInfo.getCarrierId()); in onCarrierConfigChanged()
1015 mWifiPseudonymManager.getValidPseudonymInfo(config.carrierId); in getSimIdentity()
1710 if (mWifiPseudonymManager.getValidPseudonymInfo(simInfo.simCarrierId).isEmpty()) { in getMatchingImsiBySubId()
1713 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired( in getMatchingImsiBySubId()
1759 if (mWifiPseudonymManager.getValidPseudonymInfo(carrierId).isEmpty()) { in getMatchingImsiCarrierId()
1762 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired(carrierId); in getMatchingImsiCarrierId()
DClientModeImpl.java655 private final WifiPseudonymManager mWifiPseudonymManager; field in ClientModeImpl
775 mWifiPseudonymManager = wifiPseudonymManager; in ClientModeImpl()
4823 mWifiPseudonymManager.enableStrictConservativePeerModeIfSupported(config); in processMessageImpl()
5422 mWifiPseudonymManager.retrieveOobPseudonymWithRateLimit(carrierId); in handleEapAuthFailure()
5774 mWifiPseudonymManager.registerPseudonymUpdatingListener( in processMessageImpl()
5816 mWifiPseudonymManager.setInBandPseudonym(carrierId, in processMessageImpl()
7569 mWifiPseudonymManager.enableStrictConservativePeerModeIfSupported(config); in processMessageImpl()
7664 mWifiPseudonymManager in enterImpl()
DWifiServiceImpl.java309 private final WifiPseudonymManager mWifiPseudonymManager; field in WifiServiceImpl
569 mWifiPseudonymManager = wifiInjector.getWifiPseudonymManager(); in WifiServiceImpl()
6824 mWifiPseudonymManager.getValidPseudonymInfo(
6831 mWifiPseudonymManager.retrievePseudonymOnFailureTimeoutExpired(
6838 mWifiPseudonymManager.updateWifiConfiguration(configuration);