Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIMSIParameterTest.java38 private static final Map<String, IMSIParameter> BUILD_PARAM_TEST_MAP = new HashMap<>();
44 BUILD_PARAM_TEST_MAP.put("123456789012345", new IMSIParameter("123456789012345", false));
45 BUILD_PARAM_TEST_MAP.put("1234*", new IMSIParameter("1234", true));
56 for (Map.Entry<String, IMSIParameter> entry : BUILD_PARAM_TEST_MAP.entrySet()) { in verifyBuildIMSIParameter()
57 assertEquals(entry.getValue(), IMSIParameter.build(entry.getKey())); in verifyBuildIMSIParameter()
68 IMSIParameter param = new IMSIParameter("1234", false); in matchesNullImsi()
80 IMSIParameter param = new IMSIParameter("1234", false); in matchesImsiWithFullImsi()
96 IMSIParameter param = new IMSIParameter("1234", true); in matchesImsiWithPrefixImsi()
112 IMSIParameter param = new IMSIParameter("1234", false); in matchesNullMccMnc()
124 IMSIParameter param = new IMSIParameter("1234567890", false); in matchesMccMncFullImsi()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DIMSIParameter.java26 public class IMSIParameter { class
38 public IMSIParameter(String imsi, boolean prefix) { in IMSIParameter() method in IMSIParameter
50 public static IMSIParameter build(String imsi) { in build()
70 return new IMSIParameter(imsi, false); in build()
74 return new IMSIParameter(imsi.substring(0, nonDigit), true); in build()
125 if (!(thatObject instanceof IMSIParameter)) { in equals()
129 IMSIParameter that = (IMSIParameter) thatObject; in equals()
DSIMAccessor.java21 public List<String> getMatchingImsis(IMSIParameter mccMnc) { in getMatchingImsis()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java27 import com.android.server.wifi.IMSIParameter;
89 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchDomainNameUsingIMSI()
308 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithNullElement()
321 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetwork()
340 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithoutSimImsiMatch()
359 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithImsiParamMismatch()
DPasspointProviderTest.java40 import com.android.server.wifi.IMSIParameter;
533 when(mSimAccessor.getMatchingImsis(new IMSIParameter(testImsi, false))) in matchFQDNWith3GPPNetworkDomainName()
572 when(mSimAccessor.getMatchingImsis(new IMSIParameter(testImsi, false))) in matchFQDNOverRoamingProvider()
859 when(mSimAccessor.getMatchingImsis(new IMSIParameter(testImsi, false))) in matchThreeGPPNetworkWithNAIRealmMismatch()
897 when(mSimAccessor.getMatchingImsis(new IMSIParameter(testImsi, false))) in matchThreeGPPNetworkWithNAIRealmMatch()
DPasspointManagerTest.java75 import com.android.server.wifi.IMSIParameter;
129 private static final IMSIParameter TEST_IMSI_PARAM = IMSIParameter.build(TEST_IMSI);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java21 import com.android.server.wifi.IMSIParameter;
53 IMSIParameter imsiParam, List<String> simImsiList) { in matchDomainName()
158 IMSIParameter imsiParam, List<String> simImsiList) { in matchThreeGPPNetwork()
274 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork()
293 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc()
DUtils.java8 import com.android.server.wifi.IMSIParameter;
115 if (mccmnc == null || (mccmnc.length() != (IMSIParameter.MCC_MNC_LENGTH - 1) in getRealmForMccMnc()
116 && mccmnc.length() != IMSIParameter.MCC_MNC_LENGTH)) { in getRealmForMccMnc()
DPasspointProvider.java33 import com.android.server.wifi.IMSIParameter;
90 private final IMSIParameter mImsiParameter;
145 mImsiParameter = IMSIParameter.build( in PasspointProvider()
201 public IMSIParameter getImsiParameter() { in getImsiParameter()
DPasspointManager.java46 import com.android.server.wifi.IMSIParameter;
426 if (mccMnc == null || mccMnc.length() < IMSIParameter.MCC_MNC_LENGTH - 1) { in findEapMethodFromNAIRealmMatchedWithCarrier()
489 if (mccMnc == null || mccMnc.length() < IMSIParameter.MCC_MNC_LENGTH - 1) { in createEphemeralPasspointConfigForCarrier()
552 IMSIParameter imsiParameter = provider.getValue().getImsiParameter(); in hasCarrierProvider()
594 if (imsi.length() < IMSIParameter.MCC_MNC_LENGTH) { in installEphemeralPasspointConfigForCarrier()