Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkNominatorTest.java83 when(mWifiCarrierInfoManager.getMatchingSubId(TEST_CARRIER_ID)).thenReturn(VALID_SUBID); in setUp()
103 private static final int TEST_CARRIER_ID = 100; field in SavedNetworkNominatorTest
168 savedConfigs[0].carrierId = TEST_CARRIER_ID; in ignoreNetworkIfSimIsAbsentForEapSimNetwork()
170 when(mWifiCarrierInfoManager.getMatchingSubId(TEST_CARRIER_ID)).thenReturn(INVALID_SUBID); in ignoreNetworkIfSimIsAbsentForEapSimNetwork()
312 savedConfigs[0].carrierId = TEST_CARRIER_ID; in testIgnoreNetworksIfMeteredAndFromNonDataSim()
343 savedConfigs[0].carrierId = TEST_CARRIER_ID; in testIgnoreNetworksFromAppIfNoImsiProtection()
346 when(mWifiCarrierInfoManager.isOobPseudonymFeatureEnabled(TEST_CARRIER_ID)) in testIgnoreNetworksFromAppIfNoImsiProtection()
348 when(mWifiCarrierInfoManager.hasUserApprovedImsiPrivacyExemptionForCarrier(TEST_CARRIER_ID)) in testIgnoreNetworksFromAppIfNoImsiProtection()
356 .sendImsiProtectionExemptionNotificationIfRequired(TEST_CARRIER_ID); in testIgnoreNetworksFromAppIfNoImsiProtection()
358 when(mWifiCarrierInfoManager.hasUserApprovedImsiPrivacyExemptionForCarrier(TEST_CARRIER_ID)) in testIgnoreNetworksFromAppIfNoImsiProtection()
[all …]
DWifiNetworkSuggestionsManagerTest.java155 private static final int TEST_CARRIER_ID = 1911; field in WifiNetworkSuggestionsManagerTest
944 networkSuggestion.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testAddNetworkSuggestionWithMismatchBetweenCarrierIdAndSubId()
1476 .thenReturn(TEST_CARRIER_ID); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
3486 placeholderConfig.carrierId = TEST_CARRIER_ID; in testIsPasspointSuggestionSharedWithUserSetToTrue()
3614 networkSuggestion1.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
3615 networkSuggestion2.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
4126 .thenReturn(TEST_CARRIER_ID); in testUpdateAutoJoinIfImsiProtectionIsEnabledAndDisabled()
4127 when(mWifiCarrierInfoManager.getMatchingSubId(TEST_CARRIER_ID)).thenReturn(TEST_SUBID); in testUpdateAutoJoinIfImsiProtectionIsEnabledAndDisabled()
4131 when(mWifiCarrierInfoManager.hasUserApprovedImsiPrivacyExemptionForCarrier(TEST_CARRIER_ID)) in testUpdateAutoJoinIfImsiProtectionIsEnabledAndDisabled()
4133 when(mWifiCarrierInfoManager.isOobPseudonymFeatureEnabled(TEST_CARRIER_ID)) in testUpdateAutoJoinIfImsiProtectionIsEnabledAndDisabled()
[all …]
DImsiPrivacyProtectionExemptionStoreDataTest.java41 private static final int TEST_CARRIER_ID = 1911; field in ImsiPrivacyProtectionExemptionStoreDataTest
85 imsiPrivacyProtectionExemptionMap.put(TEST_CARRIER_ID, true); in testSerializeDeserialize()
DWifiCarrierInfoStoreManagerDataTest.java47 private static final int TEST_CARRIER_ID = 1911; field in WifiCarrierInfoStoreManagerDataTest
101 mImsiPrivacyProtectionExemptionMap.put(TEST_CARRIER_ID, true); in testSerializeDeserialize()
DNetworkSuggestionNominatorTest.java82 private static final int TEST_CARRIER_ID = 1911; field in NetworkSuggestionNominatorTest
970 suggestions[0].wns.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchCarrierNetworkWithNoSim()
1020 eapSimConfig.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchSimBasedWithEncryptionInfoNotAvailabele()
1071 eapSimConfig.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1077 when(mWifiCarrierInfoManager.isOobPseudonymFeatureEnabled(TEST_CARRIER_ID)) in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1125 eapSimConfig.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
1131 when(mWifiCarrierInfoManager.isOobPseudonymFeatureEnabled(TEST_CARRIER_ID)) in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
1664 suggestions[0].wns.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchMeteredNonDataSim()
1712 suggestions[0].wns.wifiConfiguration.carrierId = TEST_CARRIER_ID; in testSelectNetworkSuggestionForOneMatchCarrierOffloadDisabled()
DWifiMetricsTest.java3567 private static final int TEST_CARRIER_ID = 100; field in WifiMetricsTest
3581 config.carrierId = TEST_CARRIER_ID; in createComplexWifiConfig()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanCarrierConfigChangeListenerTest.java41 private static final int TEST_CARRIER_ID = 7; field in IwlanCarrierConfigChangeListenerTest
70 TEST_SLOT_ID, TEST_SUB_ID, TEST_CARRIER_ID, TEST_CARRIER_ID); in testCarrierConfigChanged()
76 mMockContext, TEST_SLOT_ID, TEST_SUB_ID, TEST_CARRIER_ID)); in testCarrierConfigChanged()
DErrorPolicyManagerTest.java138 private static final int TEST_CARRIER_ID = 1; field in ErrorPolicyManagerTest
142 private int mCarrierId = TEST_CARRIER_ID;
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java76 private static final int TEST_CARRIER_ID = 1234; field in WifiConfigurationTest
879 config.carrierId = TEST_CARRIER_ID; in testGetProfileKeyString()
888 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
892 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
896 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
902 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
905 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
911 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
914 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
923 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
[all …]
DWifiNetworkSuggestionTest.java58 private static final int TEST_CARRIER_ID = 1998; field in WifiNetworkSuggestionTest
1594 .setCarrierId(TEST_CARRIER_ID) in testSetCarrierId()
1597 assertEquals(TEST_CARRIER_ID, suggestion.getCarrierId()); in testSetCarrierId()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java56 private static final int TEST_CARRIER_ID = 129; field in PasspointXmlUtilsTest
186 config.setCarrierId(TEST_CARRIER_ID); in createFullPasspointConfiguration()
DPasspointManagerTest.java157 private static final int TEST_CARRIER_ID = 10; field in PasspointManagerTest
848 when(subInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in addProviderWithValidFullImsiOfSimCredential()
871 assertEquals(TEST_CARRIER_ID, config.getCarrierId()); in addProviderWithValidFullImsiOfSimCredential()