Home
last modified time | relevance | path

Searched refs:imsi (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/Osu/src/com/android/hotspot2/
DIMSIParameter.java9 public IMSIParameter(String imsi, boolean prefix) { in IMSIParameter() argument
10 mImsi = imsi; in IMSIParameter()
14 public IMSIParameter(String imsi) throws IOException { in IMSIParameter() argument
15 if (imsi == null || imsi.length() == 0) { in IMSIParameter()
16 throw new IOException("Bad IMSI: '" + imsi + "'"); in IMSIParameter()
21 for (nonDigit = 0; nonDigit < imsi.length(); nonDigit++) { in IMSIParameter()
22 stopChar = imsi.charAt(nonDigit); in IMSIParameter()
28 if (nonDigit == imsi.length()) { in IMSIParameter()
29 mImsi = imsi; in IMSIParameter()
31 } else if (nonDigit == imsi.length() - 1 && stopChar == '*') { in IMSIParameter()
[all …]
DOMADMAdapter.java345 String imsi = tm.getSubscriberId(); in isSprint() local
347 if ("310120".equals(simOperator) || (imsi != null && imsi.startsWith("310120"))) { in isSprint()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DIMSIParameter.java38 public IMSIParameter(String imsi, boolean prefix) { in IMSIParameter() argument
39 mImsi = imsi; in IMSIParameter()
50 public static IMSIParameter build(String imsi) { in build() argument
51 if (TextUtils.isEmpty(imsi)) { in build()
54 if (imsi.length() > MAX_IMSI_LENGTH) { in build()
61 for (nonDigit = 0; nonDigit < imsi.length(); nonDigit++) { in build()
62 stopChar = imsi.charAt(nonDigit); in build()
68 if (nonDigit == imsi.length()) { in build()
70 return new IMSIParameter(imsi, false); in build()
72 else if (nonDigit == imsi.length()-1 && stopChar == '*') { in build()
[all …]
DSIMAccessor.java25 String imsi = mTelephonyManager.getSubscriberId(subId); in getMatchingImsis() local
26 if (imsi != null && mccMnc.matchesImsi(imsi)) { in getMatchingImsis()
27 imsis.add(imsi); in getMatchingImsis()
DWifiStateMachine.java5469 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
5474 if (imsi == null || imsi.isEmpty()) in buildIdentity()
5494 mcc = imsi.substring(0, 3); in buildIdentity()
5495 mnc = imsi.substring(3, 6); in buildIdentity()
5498 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in buildIdentity()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java45 String imsi = tm.getSubscriberId(); in getSimIdentity() local
52 return buildIdentity(getSimMethodForConfig(config), imsi, mccMnc); in getSimIdentity()
63 private static String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
64 if (imsi == null || imsi.isEmpty()) { in buildIdentity()
92 mcc = imsi.substring(0, 3); in buildIdentity()
93 mnc = imsi.substring(3, 6); in buildIdentity()
96 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in buildIdentity()
/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, in CarrierIdentifier() argument
53 mImsi = imsi; in CarrierIdentifier()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DHomeSP.java122 for (String imsi : imsis) { in imsiMatch()
123 if (imsi.startsWith(mccMnc)) { in imsiMatch()
124 return imsi; in imsiMatch()
DCredential.java87 EAPMethod eapMethod, IMSIParameter imsi) { in Credential() argument
93 mImsi = imsi; in Credential()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java417 String imsi = "1234567890"; in testVoiceMailCount() local
418 editor.putString("vm_id_key", imsi); in testVoiceMailCount()
421 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
467 String imsi = "1234567890"; in testGetCallForwardingOption() local
468 doReturn(imsi).when(mSimRecords).getIMSI(); in testGetCallForwardingOption()
672 String imsi = "1234"; in testCallForwardingIndicator() local
673 doReturn(imsi).when(mSimRecords).getIMSI(); in testCallForwardingIndicator()
676 editor.putString(Phone.CF_ID, imsi); in testCallForwardingIndicator()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java250 for (String imsi : simImsiList) { in matchMccMnc()
251 if (imsi.startsWith(mccMnc)) { in matchMccMnc()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreLegacyTest.java100 String imsi = "214321"; in testLoadFromStores() local
124 passpointConfig.mImsi = imsi; in testLoadFromStores()
150 passpointNetwork.enterpriseConfig.setPlmn(imsi); in testLoadFromStores()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java736 String imsi = "1234*"; in getWifiConfigWithSimCredential() local
748 simCredential.setImsi(imsi); in getWifiConfigWithSimCredential()
767 assertEquals(imsi, wifiEnterpriseConfig.getPlmn()); in getWifiConfigWithSimCredential()
833 String imsi = "1234"; in convertFromWifiConfigWithSimCredential() local
842 wifiConfig.enterpriseConfig.setPlmn(imsi); in convertFromWifiConfigWithSimCredential()
854 simCredential.setImsi(imsi); in convertFromWifiConfigWithSimCredential()
DPasspointManagerTest.java959 String imsi = "1234"; in addLegacyPasspointConfigWithSimCredential() local
968 wifiConfig.enterpriseConfig.setPlmn(imsi); in addLegacyPasspointConfigWithSimCredential()
980 simCredential.setImsi(imsi); in addLegacyPasspointConfigWithSimCredential()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java335 public void setImsi(String imsi) { in setImsi() argument
336 mImsi = imsi; in setImsi()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java181 public void getIMSIForAppResponse(RadioResponseInfo responseInfo, String imsi) { in getIMSIForAppResponse() argument
182 responseString(responseInfo, imsi); in getIMSIForAppResponse()
1731 String spn = null, imsi = null, gid1 = null, gid2 = null; in responseCarrierIdentifiers() local
1737 imsi = matchData; in responseCarrierIdentifiers()
1743 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in responseCarrierIdentifiers()
DGsmCdmaPhone.java1412 private void setVmSimImsi(String imsi) { in setVmSimImsi() argument
1415 editor.putString(VM_SIM_IMSI + getPhoneId(), imsi); in setVmSimImsi()
2247 String imsi = getVmSimImsi(); in handleMessage() local
2249 if (imsi != null && imsiFromSIM != null && !imsiFromSIM.equals(imsi)) { in handleMessage()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java658 public void setImsi(String imsi) { in setImsi() argument
659 mImsi = imsi; in setImsi()
/frameworks/base/tools/split-select/
DMain.cpp109 outConfig->imsi = 0; in removeRuntimeQualifiers()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOManager.java891 IMSIParameter imsi = new IMSIParameter(getString(simNode.getChild(TAG_IMSI))); in buildCredential() local
897 return new Credential(ctime, expTime, realm, checkAAACert, eapMethod, imsi); in buildCredential()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1894 int32_t diff = (int32_t)(imsi - o.imsi); in compare()
2046 if (imsi || o.imsi) { in isMoreSpecificThan()
2310 if (imsi || o.imsi) { in isBetterThan()
2571 if (imsi != 0) { in match()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h914 uint32_t imsi; member