Home
last modified time | relevance | path

Searched refs:mcc (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java72 private static MccEntry entryForMcc(int mcc) { in entryForMcc() argument
73 MccEntry m = new MccEntry(mcc, "", 0); in entryForMcc()
89 public static String defaultTimeZoneForMcc(int mcc) { in defaultTimeZoneForMcc() argument
90 MccEntry entry = entryForMcc(mcc); in defaultTimeZoneForMcc()
105 public static String countryCodeForMcc(int mcc) { in countryCodeForMcc() argument
106 MccEntry entry = entryForMcc(mcc); in countryCodeForMcc()
120 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() argument
121 MccEntry entry = entryForMcc(mcc); in defaultLanguageForMcc()
123 Slog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): no country for mcc"); in defaultLanguageForMcc()
137 Slog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): country " + country + " uses " + in defaultLanguageForMcc()
[all …]
DSmsNumberUtils.java238 private static ArrayList<String> getAllIDDs(Context context, String mcc) { in getAllIDDs() argument
239 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc); in getAllIDDs()
252 if (mcc != null) { in getAllIDDs()
254 selectionArgs = new String[] {mcc}; in getAllIDDs()
277 IDDS_MAPS.put(mcc, allIDDs); in getAllIDDs()
279 if (DBG) Rlog.d(TAG, "MCC = " + mcc + ", all IDDs = " + allIDDs); in getAllIDDs()
DHbpcdUtils.java135 public String getIddByMcc(int mcc) { in getIddByMcc() argument
143 MccIdd.MCC + "=" + mcc, null, null); in getIddByMcc()
DSubscriptionController.java286 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local
298 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso); in getSubInfoRecord()
307 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso); in getSubInfoRecord()
1077 int mcc = 0; in setMccMnc() local
1080 mcc = Integer.parseInt(mccMnc.substring(0,3)); in setMccMnc()
1085 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId); in setMccMnc()
1087 value.put(SubscriptionManager.MCC, mcc); in setMccMnc()
DServiceStateTracker.java2679 String mcc = ""; in pollStateDoneGsm() local
2681 mcc = operatorNumeric.substring(0, 3); in pollStateDoneGsm()
2682 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc)); in pollStateDoneGsm()
2694 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) && in pollStateDoneGsm()
2902 String mcc = operatorNumeric.substring(0, 3); in pollStateDoneCdma() local
3125 String mcc = operatorNumeric.substring(0, 3); in pollStateDoneCdmaLte() local
3325 int mcc = mHbpcdUtils.getMcc(sid, in fixUnknownMcc() local
3327 if (mcc > 0) { in fixUnknownMcc()
3328 operatorNumeric = Integer.toString(mcc) + DEFAULT_MNC; in fixUnknownMcc()
4421 int mcc; in shouldFixTimeZoneNow() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java73 String mcc; in buildIdentity() local
76 mcc = mccMnc.substring(0, 3); in buildIdentity()
83 mcc = imsi.substring(0, 3); in buildIdentity()
87 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in buildIdentity()
/frameworks/base/core/java/android/content/res/
DConfiguration.java68 public int mcc; field in Configuration
753 mcc = o.mcc; in setTo()
783 if (mcc != 0) { in toString()
784 sb.append(mcc); in toString()
922 mcc = mnc = 0; in setToDefaults()
960 if (delta.mcc != 0 && mcc != delta.mcc) { in updateFrom()
962 mcc = delta.mcc; in updateFrom()
1125 if (delta.mcc != 0 && mcc != delta.mcc) { in diff()
1255 dest.writeInt(mcc); in writeToParcel()
1292 mcc = source.readInt(); in readFromParcel()
[all …]
DAssetManager.java755 public native final void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp31 jfieldID mcc; member
50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava()
79 gConfigurationClassInfo.mcc = GetFieldIDOrDie(env, clazz, "mcc", "I"); in register_android_content_res_Configuration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DCellularNetwork.java26 int mcc = ((plmn[0] << 8) & 0xf00) | in CellularNetwork() local
35 String.format("%03x%03x", mcc, (mnc << 4) | n2) : in CellularNetwork()
36 String.format("%03x%02x", mcc, mnc); in CellularNetwork()
/frameworks/base/telephony/java/android/telephony/
DCellIdentityWcdma.java67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { in CellIdentityWcdma() argument
68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE); in CellIdentityWcdma()
82 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { in CellIdentityWcdma() argument
83 mMcc = mcc; in CellIdentityWcdma()
DCellIdentityLte.java68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { in CellIdentityLte() argument
69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE); in CellIdentityLte()
83 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac, int earfcn) { in CellIdentityLte() argument
84 mMcc = mcc; in CellIdentityLte()
DCellIdentityGsm.java66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { in CellIdentityGsm() argument
67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); in CellIdentityGsm()
81 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { in CellIdentityGsm() argument
82 mMcc = mcc; in CellIdentityGsm()
DSubscriptionInfo.java117 Bitmap icon, int mcc, int mnc, String countryIso) { in SubscriptionInfo() argument
128 this.mMcc = mcc; in SubscriptionInfo()
299 int mcc = source.readInt();
305 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso);
DSubscriptionManager.java1358 newConfig.mcc = subInfo.getMcc(); in getResourcesForSubId()
/frameworks/base/native/android/
Dconfiguration.cpp45 return config->mcc; in AConfiguration_getMcc()
137 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { in AConfiguration_setMcc() argument
138 config->mcc = mcc; in AConfiguration_setMcc()
/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, in CarrierIdentifier() argument
50 mMcc = mcc; in CarrierIdentifier()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp40 if (out) out->mcc = 0; in parseMcc()
61 if (out) out->mcc = d; in parseMcc()
70 if (out) out->mcc = 0; in parseMnc()
/frameworks/native/include/android/
Dconfiguration.h463 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1838 mcc = dtohs(mcc); in copyFromDtoH()
1852 mcc = htods(mcc); in swapHtoD()
1913 if (mcc != o.mcc) { in compareLogical()
1914 return mcc < o.mcc ? -1 : 1; in compareLogical()
1975 if (mcc != o.mcc) diffs |= CONFIG_MCC; in diff()
2035 if (mcc != o.mcc) { in isMoreSpecificThan()
2036 if (!mcc) return false; in isMoreSpecificThan()
2037 if (!o.mcc) return true; in isMoreSpecificThan()
2259 if ((mcc != o.mcc) && requested->mcc) { in isBetterThan()
2260 return (mcc); in isBetterThan()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.cpp280 if (out) out->mcc = 0; in parseMcc()
301 if (out) out->mcc = d; in parseMcc()
310 if (out) out->mcc = 0; in parseMnc()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java693 int mcc = Integer.parseInt(mImsi.substring(0,3)); in handleMessage() local
694 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); in handleMessage()
945 int mcc = Integer.parseInt(mImsi.substring(0,3)); in handleMessage() local
947 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); in handleMessage()
DRuimRecords.java231 int mcc = Integer.parseInt(mImsi.substring(0,3)); in getRUIMOperatorNumeric() local
232 return mImsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc)); in getRUIMOperatorNumeric()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp759 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) in android_location_GnssLocationProvider_agps_set_reference_location_cellid() argument
772 location.u.cellID.mcc = mcc; in android_location_GnssLocationProvider_agps_set_reference_location_cellid()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java2064 int mcc = Integer.parseInt(phone.getNetworkOperator().substring(0,3));
2076 native_agps_set_ref_location_cellid(type, mcc, mnc,
2502 private native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc,

12