Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java53 IMSIParameter imsiParam, List<String> simImsiList) { in matchDomainName() argument
65 if (matchMccMnc(Utils.getMccMnc(Utils.splitDomain(domain)), imsiParam, simImsiList)) { in matchDomainName()
155 IMSIParameter imsiParam, List<String> simImsiList) { in matchThreeGPPNetwork() argument
160 if (matchCellularNetwork(network, imsiParam, simImsiList)) { in matchThreeGPPNetwork()
245 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork() argument
248 if (matchMccMnc(plmn, imsiParam, simImsiList)) { in matchCellularNetwork()
264 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument
266 if (imsiParam == null || simImsiList == null) { in matchMccMnc()
270 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java88 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchDomainNameUsingIMSI() local
93 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsiList)); in matchDomainNameUsingIMSI()
273 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithNullElement() local
275 assertFalse(ANQPMatcher.matchThreeGPPNetwork(null, imsiParam, simImsiList)); in matchThreeGPPNetworkWithNullElement()
286 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetwork() local
294 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetwork()
305 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithoutSimImsiMatch() local
313 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetworkWithoutSimImsiMatch()
324 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithImsiParamMismatch() local
331 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetworkWithImsiParamMismatch()