Home
last modified time | relevance | path

Searched refs:requiresImsiEncryption (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java273 private PersistableBundle generateTestCarrierConfig(boolean requiresImsiEncryption) { in generateTestCarrierConfig() argument
275 if (requiresImsiEncryption) { in generateTestCarrierConfig()
282 private PersistableBundle generateTestCarrierConfig(boolean requiresImsiEncryption, in generateTestCarrierConfig() argument
284 PersistableBundle bundle = generateTestCarrierConfig(requiresImsiEncryption); in generateTestCarrierConfig()
308 assertTrue(mWifiCarrierInfoManager.requiresImsiEncryption(DATA_SUBID)); in receivedCarrierConfigChangedIntent()
309 assertFalse(mWifiCarrierInfoManager.requiresImsiEncryption(NON_DATA_SUBID)); in receivedCarrierConfigChangedIntent()
328 assertTrue(mWifiCarrierInfoManager.requiresImsiEncryption(DATA_SUBID)); in imsiEncryptionRequiredInfoIsCleared()
329 assertTrue(mWifiCarrierInfoManager.requiresImsiEncryption(NON_DATA_SUBID)); in imsiEncryptionRequiredInfoIsCleared()
338 assertFalse(mWifiCarrierInfoManager.requiresImsiEncryption(DATA_SUBID)); in imsiEncryptionRequiredInfoIsCleared()
339 assertFalse(mWifiCarrierInfoManager.requiresImsiEncryption(NON_DATA_SUBID)); in imsiEncryptionRequiredInfoIsCleared()
[all …]
DSavedNetworkNominatorTest.java60 when(mWifiCarrierInfoManager.requiresImsiEncryption(VALID_SUBID)).thenReturn(true); in setUp()
300 when(mWifiCarrierInfoManager.requiresImsiEncryption(VALID_SUBID)).thenReturn(false); in testIgnoreNetworksFromAppIfNoImsiProtection()
DNetworkSuggestionNominatorTest.java863 when(mWifiCarrierInfoManager.requiresImsiEncryption(TEST_SUB_ID)).thenReturn(true); in testSelectNetworkSuggestionForOneMatchSimBasedWithEncryptionInfoNotAvailabele()
DWifiNetworkSuggestionsManagerTest.java3295 when(mWifiCarrierInfoManager.requiresImsiEncryption(TEST_SUBID)).thenReturn(true); in testMatchSimBasedNetworkWithImsiProtection()
3579 when(mWifiCarrierInfoManager.requiresImsiEncryption(TEST_SUBID)).thenReturn(false); in testSendImsiProtectionNotificationOnUserAllowed()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSavedNetworkNominator.java201 if (mWifiCarrierInfoManager.requiresImsiEncryption(subId)) { in isSimBasedNetworkAbleToAutoJoin()
DWifiCarrierInfoManager.java390 public boolean requiresImsiEncryption(int subId) { in requiresImsiEncryption() method in WifiCarrierInfoManager
1225 if (requiresImsiEncryption(subId) && !isImsiEncryptionInfoAvailable(subId)) { in getMatchingImsi()
1265 if (requiresImsiEncryption(subId) && !isImsiEncryptionInfoAvailable(subId)) { in getMatchingImsiCarrierId()
1511 if (requiresImsiEncryption(subId)) { in sendImsiProtectionExemptionNotificationIfRequired()
DNetworkSuggestionNominator.java226 if (mWifiCarrierInfoManager.requiresImsiEncryption(subId)) { in isSimBasedNetworkAvailableToAutoConnect()
DWifiNetworkSuggestionsManager.java924 if (!(mWifiCarrierInfoManager.requiresImsiEncryption(subId) in add()