Home
last modified time | relevance | path

Searched refs:imsiParam (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java49 IMSIParameter imsiParam, String simImsi) { in matchDomainName() argument
59 if (imsiParam == null || simImsi == null) { in matchDomainName()
65 if (matchMccMnc(Utils.getMccMnc(Utils.splitDomain(domain)), imsiParam, simImsi)) { in matchDomainName()
135 IMSIParameter imsiParam, String simImsi) { in matchThreeGPPNetwork() argument
140 if (matchCellularNetwork(network, imsiParam, simImsi)) { in matchThreeGPPNetwork()
174 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork() argument
177 if (matchMccMnc(plmn, imsiParam, simImsi)) { in matchCellularNetwork()
194 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument
196 if (imsiParam == null || TextUtils.isEmpty(simImsi) || mccMnc == null) { in matchMccMnc()
200 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java85 IMSIParameter imsiParam = new IMSIParameter("123456", true); in matchDomainNameUsingIMSI() local
90 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsi)); in matchDomainNameUsingIMSI()
271 IMSIParameter imsiParam = new IMSIParameter("12345", true); in matchThreeGPPNetworkWithNullElement() local
273 assertFalse(ANQPMatcher.matchThreeGPPNetwork(null, imsiParam, simImsi)); in matchThreeGPPNetworkWithNullElement()
284 IMSIParameter imsiParam = new IMSIParameter("123456", true); in matchThreeGPPNetwork() local
292 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetwork()
303 IMSIParameter imsiParam = new IMSIParameter("12345", true); in matchThreeGPPNetworkWith5DigitsMccMnc() local
311 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWith5DigitsMccMnc()
322 IMSIParameter imsiParam = new IMSIParameter("123457", true); in matchThreeGPPNetworkWithoutSimImsiMatch() local
330 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWithoutSimImsiMatch()
[all …]