Home
last modified time | relevance | path

Searched refs:simImsi (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()
173 String simImsi) { in matchCellularNetwork() argument
175 if (matchMccMnc(plmn, imsiParam, simImsi)) { in matchCellularNetwork()
193 String simImsi) { in matchMccMnc() argument
194 if (imsiParam == null || TextUtils.isEmpty(simImsi) || mccMnc == null) { in matchMccMnc()
204 return simImsi.startsWith(mccMnc); in matchMccMnc()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java85 String simImsi = "123456789012345"; in matchDomainNameUsingIMSI() local
89 assertTrue(ANQPMatcher.matchDomainName(element, null, imsiParam, simImsi)); in matchDomainNameUsingIMSI()
270 String simImsi = "123456789012345"; in matchThreeGPPNetworkWithNullElement() local
271 assertFalse(ANQPMatcher.matchThreeGPPNetwork(null, imsiParam, simImsi)); in matchThreeGPPNetworkWithNullElement()
283 String simImsi = "123456789012345"; in matchThreeGPPNetwork() local
290 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetwork()
302 String simImsi = "123456789012345"; in matchThreeGPPNetworkWith5DigitsMccMnc() local
309 assertTrue(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWith5DigitsMccMnc()
321 String simImsi = "123456789012345"; in matchThreeGPPNetworkWithoutSimImsiMatch() local
328 assertFalse(ANQPMatcher.matchThreeGPPNetwork(element, imsiParam, simImsi)); in matchThreeGPPNetworkWithoutSimImsiMatch()
[all …]