Home
last modified time | relevance | path

Searched refs:getValidPseudonymInfo (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java120 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID).isEmpty()); in getValidPseudonymInfo_byDefault_empty()
126 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(WRONG_CARRIER_ID).isEmpty()); in getValidPseudonymInfo_expiredPseudonym_empty()
132 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(WRONG_CARRIER_ID).isEmpty()); in getValidPseudonymInfo_wrongCarrierId_empty()
138 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID).isPresent()); in getValidPseudonymInfo_freshPseudonym_present()
182 mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID); in setInBandPseudonymInfo_noPseudonym_empty()
192 mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID); in setInBandPseudonymInfo_expiredPseudonym_present()
325 assertTrue(mWifiPseudonymManager.getValidPseudonymInfo(CARRIER_ID).isPresent()); in setPseudonymAndScheduleRefresh_freshPseudonym_schedule()
364 .getValidPseudonymInfo(CARRIER_ID) in retrieveOobPseudonymIfNeeded_freshPseudonym_scheduleRefresh()
DSavedNetworkNominatorTest.java395 when(mWifiPseudonymManager.getValidPseudonymInfo(TEST_CARRIER_ID)) in testAllowNetworksIfOobPseudonymEnabledForImsiProtection()
427 when(mWifiPseudonymManager.getValidPseudonymInfo(TEST_CARRIER_ID)) in testIgnoreNetworksIfOobPseudonymEnabledButNotAvailableForImsiProtection()
DWifiCarrierInfoManagerTest.java790 when(mWifiPseudonymManager.getValidPseudonymInfo(DATA_CARRIER_ID)) in getEncryptedIdentityWithOobPseudonymEnabled()
1420 when(mWifiPseudonymManager.getValidPseudonymInfo(DATA_CARRIER_ID)) in getMatchingImsiCarrierIdWithValidCarrierIdForOobPseudonymCheck()
1626 when(mWifiPseudonymManager.getValidPseudonymInfo(DATA_CARRIER_ID)) in getMatchingImsiCarrierIdForOobPseudonymCheck()
DNetworkSuggestionNominatorTest.java1080 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())) in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1133 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())).thenReturn(Optional.empty()); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
DWifiServiceImplTest.java5750 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())).thenReturn(Optional.empty()); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
5776 when(mWifiPseudonymManager.getValidPseudonymInfo(anyInt())) in connectToSimBasedNetworkWhenOobPseudonymEnabledAndAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPseudonymManager.java160 public Optional<PseudonymInfo> getValidPseudonymInfo(int carrierId) { in getValidPseudonymInfo() method in WifiPseudonymManager
222 Optional<PseudonymInfo> optionalPseudonymInfo = getValidPseudonymInfo(carrierId); in retrievePseudonymOnFailureTimeoutExpired()
263 getValidPseudonymInfo(wifiConfiguration.carrierId); in updateWifiConfiguration()
346 Optional<PseudonymInfo> optionalPseudonymInfo = getValidPseudonymInfo(carrierId); in retrieveOobPseudonymIfNeeded()
DSavedNetworkNominator.java248 if (mWifiPseudonymManager.getValidPseudonymInfo(carrierId).isEmpty()) { in isSimBasedNetworkAbleToAutoJoin()
DNetworkSuggestionNominator.java358 mWifiPseudonymManager.getValidPseudonymInfo(carrierId); in isSimBasedNetworkAvailableToAutoConnect()
DWifiCarrierInfoManager.java1015 mWifiPseudonymManager.getValidPseudonymInfo(config.carrierId); in getSimIdentity()
1710 if (mWifiPseudonymManager.getValidPseudonymInfo(simInfo.simCarrierId).isEmpty()) { in getMatchingImsiBySubId()
1759 if (mWifiPseudonymManager.getValidPseudonymInfo(carrierId).isEmpty()) { in getMatchingImsiCarrierId()
DWifiServiceImpl.java6824 mWifiPseudonymManager.getValidPseudonymInfo(