/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | IMSIParameter.java | 9 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 …]
|
D | OMADMAdapter.java | 345 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/ |
D | IMSIParameter.java | 38 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 …]
|
D | SIMAccessor.java | 25 String imsi = mTelephonyManager.getSubscriberId(subId); in getMatchingImsis() local 26 if (imsi != null && mccMnc.matchesImsi(imsi)) { in getMatchingImsis() 27 imsis.add(imsi); in getMatchingImsis()
|
D | WifiStateMachine.java | 5469 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/ |
D | TelephonyUtil.java | 45 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/ |
D | CarrierIdentifier.java | 48 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/ |
D | HomeSP.java | 122 for (String imsi : imsis) { in imsiMatch() 123 if (imsi.startsWith(mccMnc)) { in imsiMatch() 124 return imsi; in imsiMatch()
|
D | Credential.java | 87 EAPMethod eapMethod, IMSIParameter imsi) { in Credential() argument 93 mImsi = imsi; in Credential()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaPhoneTest.java | 417 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/ |
D | ANQPMatcher.java | 250 for (String imsi : simImsiList) { in matchMccMnc() 251 if (imsi.startsWith(mccMnc)) { in matchMccMnc()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreLegacyTest.java | 100 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/ |
D | PasspointProviderTest.java | 736 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()
|
D | PasspointManagerTest.java | 959 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/ |
D | IccRecords.java | 335 public void setImsi(String imsi) { in setImsi() argument 336 mImsi = imsi; in setImsi()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioResponse.java | 181 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()
|
D | GsmCdmaPhone.java | 1412 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/ |
D | Credential.java | 658 public void setImsi(String imsi) { in setImsi() argument 659 mImsi = imsi; in setImsi()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 109 outConfig->imsi = 0; in removeRuntimeQualifiers()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOManager.java | 891 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/ |
D | ResourceTypes.cpp | 1894 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/ |
D | ResourceTypes.h | 914 uint32_t imsi; member
|