Home
last modified time | relevance | path

Searched refs:imsi (Results 1 – 24 of 24) 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.java209 String imsi = getIMSI(); in getRUIMOperatorNumeric() local
211 if (imsi == null) { in getRUIMOperatorNumeric()
218 return imsi.substring(0, 3 + mMncLength); in getRUIMOperatorNumeric()
224 int mcc = Integer.parseInt(imsi.substring(0, 3)); in getRUIMOperatorNumeric()
225 return imsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc)); in getRUIMOperatorNumeric()
400 final String imsi = decodeImsi(data); in onRecordLoaded() local
402 mImsi = imsi; in onRecordLoaded()
405 mMin = imsi.substring(5, 15); in onRecordLoaded()
801 String imsi = getIMSI(); in onAllRecordsLoaded() local
803 if (!TextUtils.isEmpty(imsi)) { in onAllRecordsLoaded()
[all …]
DIccRecords.java339 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
341 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
652 String imsi = getIMSI(); in updateOperatorPlmn() local
654 if (imsi != null) { in updateOperatorPlmn()
656 if (((mMncLength == UNKNOWN) || (mMncLength == 2)) && imsi.length() >= 6) { in updateOperatorPlmn()
657 String mccmncCode = imsi.substring(0, 6); in updateOperatorPlmn()
670 int mcc = Integer.parseInt(imsi.substring(0, 3)); in updateOperatorPlmn()
679 && imsi.length() >= 3 + mMncLength) { in updateOperatorPlmn()
680 log("update mccmnc=" + imsi.substring(0, 3 + mMncLength)); in updateOperatorPlmn()
683 MccTable.updateMccMncConfiguration(mContext, imsi.substring(0, 3 + mMncLength)); in updateOperatorPlmn()
DSIMRecords.java631 String imsi = getIMSI(); in getOperatorNumeric() local
632 if (imsi == null) { in getOperatorNumeric()
643 if (imsi.length() >= 3 + mMncLength) { in getOperatorNumeric()
644 return imsi.substring(0, 3 + mMncLength); in getOperatorNumeric()
1574 String imsi = getIMSI(); in onAllRecordsLoaded() local
1576 if (!TextUtils.isEmpty(imsi) && imsi.length() >= 3) { in onAllRecordsLoaded()
1577 log("onAllRecordsLoaded set mcc imsi" + (VDBG ? ("=" + imsi) : "")); in onAllRecordsLoaded()
1579 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.java81 String imsi = efCsimImsimLoaded.decodeImsi(byteArray); in testCsimImsiDecode() local
83 assertEquals("310008984641186", imsi); in testCsimImsiDecode()
/frameworks/base/telephony/java/android/telephony/
DCarrierInfo.java152 @Nullable String gid1, @Nullable String gid2, @Nullable String imsi, in CarrierInfo() argument
159 mImsiPrefix = imsi; in CarrierInfo()
DTelephonyManager.java14581 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
14587 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
14607 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
14614 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java730 private boolean imsiPrefixMatch(String imsi, String prefixXPattern) { in imsiPrefixMatch() argument
732 if (TextUtils.isEmpty(imsi)) return false; in imsiPrefixMatch()
733 if (imsi.length() < prefixXPattern.length()) { in imsiPrefixMatch()
738 && (prefixXPattern.charAt(i) != imsi.charAt(i))) { in imsiPrefixMatch()
798 final String imsi = mPhone.getSubscriberId(); in getSubscriptionMatchingRule() local
816 + " imsi: " + Rlog.pii(LOG_TAG, imsi) in getSubscriptionMatchingRule()
824 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, accessRules, in getSubscriptionMatchingRule()
1023 final String imsi = carrierIdentifier.getImsi(); in getCarrierIdFromIdentifier() local
1030 + " imsi: " + Rlog.pii(LOG_TAG, imsi) in getCarrierIdFromIdentifier()
1035 new CarrierMatchingRule(mccmnc, imsi, null, gid1, gid2, null, in getCarrierIdFromIdentifier()
DSimResponse.java200 public void getImsiForAppResponse(RadioResponseInfo responseInfo, String imsi) { in getImsiForAppResponse() argument
201 RadioResponse.responseString(HAL_SERVICE_SIM, mRil, responseInfo, imsi); in getImsiForAppResponse()
DGsmCdmaPhone.java1997 private void setVmSimImsi(String imsi) { in setVmSimImsi() argument
2000 editor.putString(VM_SIM_IMSI + getPhoneId(), imsi); in setVmSimImsi()
2192 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
2221 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
3416 String imsi = getVmSimImsi(); in handleMessage() local
3418 if ((!isPhoneTypeGsm() || imsi != null) && imsiFromSIM != null in handleMessage()
3419 && !imsiFromSIM.equals(imsi)) { in handleMessage()
DRILUtils.java4018 String spn = null, imsi = null, gid1 = null, gid2 = null; in convertHalCarrierList() local
4024 imsi = matchData; in convertHalCarrierList()
4030 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertHalCarrierList()
4049 String spn = null, imsi = null, gid1 = null, gid2 = null; in convertHalCarrierList() local
4055 imsi = matchData; in convertHalCarrierList()
4061 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertHalCarrierList()
4088 String imsi = carrierInfos[index].imsiPrefix; in convertAidlCarrierInfoList() local
4102 CarrierInfo carrierInfo = new CarrierInfo(mcc, mnc, spn, gid1, gid2, imsi, iccid, impi, in convertAidlCarrierInfoList()
DRadioResponse.java242 public void getIMSIForAppResponse(RadioResponseInfo responseInfo, String imsi) { in getIMSIForAppResponse() argument
243 responseString(responseInfo, imsi); in getIMSIForAppResponse()
DPhone.java4728 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.java960 public static String getImsiEap(@Nullable String mccmnc, @Nullable String imsi) { in getImsiEap() argument
961 if (mccmnc == null || mccmnc.length() < 5 || imsi == null) { in getImsiEap()
970 return "0" + imsi + "@nai.epc.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in getImsiEap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionInfoInternal.java2610 public Builder setImsi(@NonNull String imsi) { in setImsi() argument
2611 Objects.requireNonNull(imsi); in setImsi()
2612 mImsi = imsi; in setImsi()
DSubscriptionDatabaseManager.java1789 public void setImsi(int subId, @NonNull String imsi) { in setImsi() argument
1790 Objects.requireNonNull(imsi); in setImsi()
1791 writeDatabaseAndCacheHelper(subId, SimInfo.COLUMN_IMSI, imsi, in setImsi()
DSubscriptionManagerService.java1560 String imsi = mTelephonyManager.createForSubscriptionId( in updateSubscription() local
1562 if (imsi != null) { in updateSubscription()
1563 mSubscriptionDatabaseManager.setImsi(subId, imsi); in updateSubscription()
/frameworks/base/tools/split-select/
DMain.cpp108 outConfig->imsi = 0; in removeRuntimeQualifiers()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java909 String imsi = "1234567890"; in testVoiceMailCount() local
910 editor.putString("vm_id_key", imsi); in testVoiceMailCount()
913 doReturn(imsi).when(mSimRecords).getIMSI(); in testVoiceMailCount()
959 String imsi = "1234567890"; in testGetCallForwardingOption() local
960 doReturn(imsi).when(mSimRecords).getIMSI(); in testGetCallForwardingOption()
1134 String imsi = "1234"; in testCallForwardingIndicator() local
1135 doReturn(imsi).when(mSimRecords).getIMSI(); in testCallForwardingIndicator()
1138 editor.putString(Phone.CF_ID, imsi); in testCallForwardingIndicator()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2167 if (imsi != o.imsi) { in compare()
2168 return (imsi > o.imsi) ? 1 : -1; in compare()
2346 if (imsi || o.imsi) { in isMoreSpecificThan()
2628 if (imsi || o.imsi) { in isBetterThanBeforeLocale()
2644 if (imsi || o.imsi) { in isBetterThan()
2910 if (imsi != 0) { in match()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1840 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h968 uint32_t imsi; member
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1764 // imsi prefix from the subscription that map to this carrier.