Searched refs:imsiParam (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | ANQPMatcher.java | 53 IMSIParameter imsiParam, List<String> simImsiList) { in matchDomainName() argument 65 if (matchMccMnc(Utils.getMccMnc(Utils.splitDomain(domain)), imsiParam, simImsiList)) { in matchDomainName() 158 IMSIParameter imsiParam, List<String> simImsiList) { in matchThreeGPPNetwork() argument 163 if (matchCellularNetwork(network, imsiParam, simImsiList)) { in matchThreeGPPNetwork() 274 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork() argument 277 if (matchMccMnc(plmn, imsiParam, simImsiList)) { in matchCellularNetwork() 293 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument 295 if (imsiParam == null || simImsiList == null) { in matchMccMnc() 299 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | ANQPMatcherTest.java | 89 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchDomainNameUsingIMSI() local 94 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsiList)); in matchDomainNameUsingIMSI() 308 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithNullElement() local 310 assertFalse(ANQPMatcher.matchThreeGPPNetwork(null, imsiParam, simImsiList)); in matchThreeGPPNetworkWithNullElement() 321 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetwork() local 329 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetwork() 340 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithoutSimImsiMatch() local 348 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetworkWithoutSimImsiMatch() 359 IMSIParameter imsiParam = new IMSIParameter("1234", true); in matchThreeGPPNetworkWithImsiParamMismatch() local 366 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsiList)); in matchThreeGPPNetworkWithImsiParamMismatch()
|