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()
133 IMSIParameter imsiParam, String simImsi) { in matchThreeGPPNetwork() argument
138 if (matchCellularNetwork(network, imsiParam, simImsi)) { in matchThreeGPPNetwork()
172 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork() argument
175 if (matchMccMnc(plmn, imsiParam, simImsi)) { in matchCellularNetwork()
192 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument
194 if (imsiParam == null || TextUtils.isEmpty(simImsi) || mccMnc == null) { in matchMccMnc()
198 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java84 IMSIParameter imsiParam = new IMSIParameter("123456", true); in matchDomainNameUsingIMSI() local
89 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsi)); in matchDomainNameUsingIMSI()
269 IMSIParameter imsiParam = new IMSIParameter("12345", true); in matchThreeGPPNetworkWithNullElement() local
271 assertFalse(ANQPMatcher.matchThreeGPPNetwork(null, imsiParam, simImsi)); in matchThreeGPPNetworkWithNullElement()
282 IMSIParameter imsiParam = new IMSIParameter("123456", true); in matchThreeGPPNetwork() local
290 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetwork()
301 IMSIParameter imsiParam = new IMSIParameter("12345", true); in matchThreeGPPNetworkWith5DigitsMccMnc() local
309 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWith5DigitsMccMnc()
320 IMSIParameter imsiParam = new IMSIParameter("123457", true); in matchThreeGPPNetworkWithoutSimImsiMatch() local
328 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWithoutSimImsiMatch()
[all …]