/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SavedNetworkNominatorTest.java | 83 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 …]
|
D | WifiNetworkSuggestionsManagerTest.java | 155 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 …]
|
D | ImsiPrivacyProtectionExemptionStoreDataTest.java | 41 private static final int TEST_CARRIER_ID = 1911; field in ImsiPrivacyProtectionExemptionStoreDataTest 85 imsiPrivacyProtectionExemptionMap.put(TEST_CARRIER_ID, true); in testSerializeDeserialize()
|
D | WifiCarrierInfoStoreManagerDataTest.java | 47 private static final int TEST_CARRIER_ID = 1911; field in WifiCarrierInfoStoreManagerDataTest 101 mImsiPrivacyProtectionExemptionMap.put(TEST_CARRIER_ID, true); in testSerializeDeserialize()
|
D | NetworkSuggestionNominatorTest.java | 82 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()
|
D | WifiMetricsTest.java | 3567 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/ |
D | IwlanCarrierConfigChangeListenerTest.java | 41 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()
|
D | ErrorPolicyManagerTest.java | 138 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/ |
D | WifiConfigurationTest.java | 76 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 …]
|
D | WifiNetworkSuggestionTest.java | 58 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/ |
D | PasspointXmlUtilsTest.java | 56 private static final int TEST_CARRIER_ID = 129; field in PasspointXmlUtilsTest 186 config.setCarrierId(TEST_CARRIER_ID); in createFullPasspointConfiguration()
|
D | PasspointManagerTest.java | 157 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()
|