Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DCarrierTestOverride.java96 String imsi = mCarrierTestParamMap.get(CARRIER_TEST_XML_ITEM_KEY_STRING_IMSI); in getFakeIMSI() local
97 Rlog.d(LOG_TAG, "reading imsi from CarrierTestConfig file: " + imsi); in getFakeIMSI()
98 return imsi; in getFakeIMSI()
160 void override(String mccmnc, String imsi, String iccid, String gid1, String gid2, String pnn, in override() argument
164 mCarrierTestParamMap.put(CARRIER_TEST_XML_ITEM_KEY_STRING_IMSI, imsi); in override()
DRuimRecords.java210 String imsi = getIMSI(); in getRUIMOperatorNumeric() local
212 if (imsi == null) { in getRUIMOperatorNumeric()
219 return imsi.substring(0, 3 + mMncLength); in getRUIMOperatorNumeric()
225 int mcc = Integer.parseInt(imsi.substring(0, 3)); in getRUIMOperatorNumeric()
226 return imsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc)); in getRUIMOperatorNumeric()
401 final String imsi = decodeImsi(data); in onRecordLoaded() local
403 mImsi = imsi; in onRecordLoaded()
406 mMin = imsi.substring(5, 15); in onRecordLoaded()
802 String imsi = getIMSI(); in onAllRecordsLoaded() local
804 if (!TextUtils.isEmpty(imsi)) { in onAllRecordsLoaded()
[all …]
DIccRecords.java312 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
314 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
625 String imsi = getIMSI(); in updateOperatorPlmn() local
627 if (imsi != null) { in updateOperatorPlmn()
629 if (((mMncLength == UNKNOWN) || (mMncLength == 2)) && imsi.length() >= 6) { in updateOperatorPlmn()
630 String mccmncCode = imsi.substring(0, 6); in updateOperatorPlmn()
643 int mcc = Integer.parseInt(imsi.substring(0, 3)); in updateOperatorPlmn()
652 && imsi.length() >= 3 + mMncLength) { in updateOperatorPlmn()
653 log("update mccmnc=" + imsi.substring(0, 3 + mMncLength)); in updateOperatorPlmn()
656 MccTable.updateMccMncConfiguration(mContext, imsi.substring(0, 3 + mMncLength)); in updateOperatorPlmn()
DSIMRecords.java601 String imsi = getIMSI(); in getOperatorNumeric() local
602 if (imsi == null) { in getOperatorNumeric()
613 if (imsi.length() >= 3 + mMncLength) { in getOperatorNumeric()
614 return imsi.substring(0, 3 + mMncLength); in getOperatorNumeric()
1499 String imsi = getIMSI(); in onAllRecordsLoaded() local
1501 if (!TextUtils.isEmpty(imsi) && imsi.length() >= 3) { in onAllRecordsLoaded()
1502 log("onAllRecordsLoaded set mcc imsi" + (VDBG ? ("=" + imsi) : "")); in onAllRecordsLoaded()
1504 mParentApp.getPhoneId(), MccTable.countryCodeForMcc(imsi.substring(0, 3))); in onAllRecordsLoaded()
/frameworks/base/telephony/java/android/service/carrier/
DCarrierIdentifier.java61 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() argument
63 this(mcc, mnc, spn, imsi, gid1, gid2, TelephonyManager.UNKNOWN_CARRIER_ID, in CarrierIdentifier()
80 @Nullable String imsi, @Nullable String gid1, @Nullable String gid2, in CarrierIdentifier() argument
85 mImsi = imsi; in CarrierIdentifier()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DRuimRecordsTest.java82 String imsi = efCsimImsimLoaded.decodeImsi(byteArray); in testCsimImsiDecode() local
84 assertEquals("310008984641186", imsi); in testCsimImsiDecode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java717 private boolean imsiPrefixMatch(String imsi, String prefixXPattern) { in imsiPrefixMatch() argument
719 if (TextUtils.isEmpty(imsi)) return false; in imsiPrefixMatch()
720 if (imsi.length() < prefixXPattern.length()) { in imsiPrefixMatch()
725 && (prefixXPattern.charAt(i) != imsi.charAt(i))) { in imsiPrefixMatch()
784 final String imsi = mPhone.getSubscriberId(); in getSubscriptionMatchingRule() local
802 + " imsi: " + Rlog.pii(LOG_TAG, imsi) in getSubscriptionMatchingRule()
810 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule()
1007 final String imsi = carrierIdentifier.getImsi(); in getCarrierIdFromIdentifier() local
1014 + " imsi: " + Rlog.pii(LOG_TAG, imsi) in getCarrierIdFromIdentifier()
1019 new CarrierMatchingRule(mccmnc, imsi, null, gid1, gid2, null, in getCarrierIdFromIdentifier()
DSubscriptionController.java2377 private String scrubImsi(String imsi) { in scrubImsi() argument
2379 return imsi; in scrubImsi()
2380 } else if (imsi != null) { in scrubImsi()
2381 return imsi.substring(0, Math.min(6, imsi.length())) + "..."; in scrubImsi()
2392 public int setImsi(String imsi, int subId) { in setImsi() argument
2393 if (DBG) logd("[setImsi]+ imsi:" + scrubImsi(imsi) + " subId:" + subId); in setImsi()
2398 update = !TextUtils.equals(getImsiPrivileged(subId),imsi); in setImsi()
2403 value.put(SubscriptionManager.IMSI, imsi); in setImsi()
2484 String imsi = null; in getImsiPrivileged() local
2487 imsi = getOptionalStringFromCursor(cursor, SubscriptionManager.IMSI, in getImsiPrivileged()
[all …]
DSubscriptionInfoUpdater.java542 String imsi = tm.createForSubscriptionId(subId).getSubscriberId(); in handleSimLoaded() local
543 if (imsi != null) { in handleSimLoaded()
544 mSubscriptionController.setImsi(imsi, subId); in handleSimLoaded()
DGsmCdmaPhone.java1787 private void setVmSimImsi(String imsi) { in setVmSimImsi() argument
1790 editor.putString(VM_SIM_IMSI + getPhoneId(), imsi); in setVmSimImsi()
1967 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
1996 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
2988 String imsi = getVmSimImsi(); in handleMessage() local
2990 if ((!isPhoneTypeGsm() || imsi != null) && imsiFromSIM != null in handleMessage()
2991 && !imsiFromSIM.equals(imsi)) { in handleMessage()
DRadioResponse.java263 public void getIMSIForAppResponse(RadioResponseInfo responseInfo, String imsi) { in getIMSIForAppResponse() argument
264 responseString(responseInfo, imsi); in getIMSIForAppResponse()
2899 String spn = null, imsi = null, gid1 = null, gid2 = null; in convertCarrierList() local
2905 imsi = matchData; in convertCarrierList()
2911 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertCarrierList()
DPhone.java4658 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
DEapAkaApi.java376 public static String getImsiEap(@Nullable String mccmnc, @Nullable String imsi) { in getImsiEap() argument
377 if (mccmnc == null || mccmnc.length() < 5 || imsi == null) { in getImsiEap()
386 return "0" + imsi + "@nai.epc.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in getImsiEap()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java859 String imsi = "1234567890"; in testVoiceMailCount() local
860 editor.putString("vm_id_key", imsi); in testVoiceMailCount()
863 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
909 String imsi = "1234567890"; in testGetCallForwardingOption() local
910 doReturn(imsi).when(mSimRecords).getIMSI(); in testGetCallForwardingOption()
1200 String imsi = "1234"; in testCallForwardingIndicator() local
1201 doReturn(imsi).when(mSimRecords).getIMSI(); in testCallForwardingIndicator()
1204 editor.putString(Phone.CF_ID, imsi); in testCallForwardingIndicator()
/frameworks/base/tools/split-select/
DMain.cpp109 outConfig->imsi = 0; in removeRuntimeQualifiers()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2083 if (imsi != o.imsi) { in compare()
2084 return (imsi > o.imsi) ? 1 : -1; in compare()
2256 if (imsi || o.imsi) { in isMoreSpecificThan()
2531 if (imsi || o.imsi) { in isBetterThan()
2792 if (imsi != 0) { in match()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1808 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h958 uint32_t imsi; member
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java12551 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
12557 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
12577 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
12584 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1761 // imsi prefix from the subscription that map to this carrier.