/frameworks/base/services/core/java/com/android/server/emergency/ |
H A D | EmergencyAffordanceService.java | 225 int mcc = info.getMcc(); 226 if (mccRequiresEmergencyAffordance(mcc)) { 229 } else if (mcc != 0 && mcc != Integer.MAX_VALUE){ 230 // a Sim with a different mcc code was found 234 mcc = 0; 236 mcc = Integer.parseInt(simOperator.substring(0, 3)); 238 if (mcc != 0) { 239 if (mccRequiresEmergencyAffordance(mcc)) { 243 // a Sim with a different mcc cod 315 mccRequiresEmergencyAffordance(int mcc) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | TelephonyUtil.java | 72 /* extract mcc & mnc from mccMnc */ 73 String mcc; 76 mcc = mccMnc.substring(0, 3); 82 // extract mcc & mnc from IMSI, assume mnc size is 3 83 mcc = imsi.substring(0, 3); 87 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org";
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 72 private static MccEntry entryForMcc(int mcc) { argument 73 MccEntry m = new MccEntry(mcc, "", 0); 86 * @param mcc Mobile Country Code 89 public static String defaultTimeZoneForMcc(int mcc) { argument 90 MccEntry entry = entryForMcc(mcc); 105 public static String countryCodeForMcc(int mcc) { argument 106 MccEntry entry = entryForMcc(mcc); 120 public static String defaultLanguageForMcc(int mcc) { argument 121 MccEntry entry = entryForMcc(mcc); 123 Slog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc 147 smallestDigitsMccForMnc(int mcc) argument 338 setTimezoneFromMccIfNeeded(Context context, int mcc) argument 361 getLocaleFromMcc(Context context, int mcc, String simLanguage) argument 386 setWifiCountryCodeFromMcc(Context context, int mcc) argument [all...] |
H A D | HbpcdUtils.java | 100 // time zone is not accurate, it may get wrong mcc, ignore it. 101 if (DBG) Log.d(LOG_TAG, "time zone is not accurate, mcc may be " 135 public String getIddByMcc(int mcc) { argument 143 MccIdd.MCC + "=" + mcc, null, null);
|
H A D | SmsNumberUtils.java | 116 * @param activeMcc current network's mcc 234 * @param mcc current network's country code 238 private static ArrayList<String> getAllIDDs(Context context, String mcc) { argument 239 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc); 249 // if mcc is null : return all rows 250 // if mcc is empty-string : return those rows whose mcc is emptry-string 252 if (mcc != null) { 254 selectionArgs = new String[] {mcc}; 277 IDDS_MAPS.put(mcc, allIDD [all...] |
H A D | SubscriptionController.java | 286 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( 298 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso); 307 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso); 1077 int mcc = 0; 1080 mcc = Integer.parseInt(mccMnc.substring(0,3)); 1083 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc); 1085 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId); 1087 value.put(SubscriptionManager.MCC, mcc); [all...] |
H A D | ServiceStateTracker.java | 2710 String mcc = ""; 2712 mcc = operatorNumeric.substring(0, 3); 2713 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc)); 2725 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) && 2945 String mcc = operatorNumeric.substring(0, 3); 3182 String mcc = operatorNumeric.substring(0, 3); 3380 // resolve the mcc from sid; 3383 // if the sid is conflict and timezone is unavailable, the mcc may be not right. 3397 int mcc = mHbpcdUtils.getMcc(sid, 3399 if (mcc > [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | CellularNetwork.java | 26 int mcc = ((plmn[0] << 8) & 0xf00) | 35 String.format("%03x%03x", mcc, (mnc << 4) | n2) : 36 String.format("%03x%02x", mcc, mnc);
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 31 jfieldID mcc; member in struct:android::__anon865 50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); 79 gConfigurationClassInfo.mcc = GetFieldIDOrDie(env, clazz, "mcc", "I");
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityGsm.java | 59 * @param mcc 3-digit Mobile Country Code, 0..999 66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { argument 67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); 72 * @param mcc 3-digit Mobile Country Code, 0..999 81 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { argument 82 mMcc = mcc;
|
H A D | CellIdentityLte.java | 60 * @param mcc 3-digit Mobile Country Code, 0..999 68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { argument 69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE); 74 * @param mcc 3-digit Mobile Country Code, 0..999 83 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac, int earfcn) { argument 84 mMcc = mcc;
|
H A D | CellIdentityWcdma.java | 59 * @param mcc 3-digit Mobile Country Code, 0..999 67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument 68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE); 73 * @param mcc 3-digit Mobile Country Code, 0..999 82 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { argument 83 mMcc = mcc;
|
H A D | SubscriptionInfo.java | 117 Bitmap icon, int mcc, int mnc, String countryIso) { 128 this.mMcc = mcc; 299 int mcc = source.readInt(); 305 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso); 357 + " dataRoaming=" + mDataRoaming + " iconBitmap=" + mIconBitmap + " mcc " + mMcc 115 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso) argument
|
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierIdentifier.java | 48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, argument 50 mMcc = mcc; 111 + "mcc=" + mMcc
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 45 return config->mcc; 137 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { argument 138 config->mcc = mcc;
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 65 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mcc</a> 68 public int mcc; field in class:Configuration 753 mcc = o.mcc; 783 if (mcc != 0) { 784 sb.append(mcc); 785 sb.append("mcc"); 787 sb.append("?mcc"); 922 mcc = mnc = 0; 960 if (delta.mcc ! [all...] |
H A D | AssetManager.java | 755 public native final void setConfiguration(int mcc, int mnc, String locale, argument
|
/frameworks/base/tools/aapt2/ |
H A D | ConfigDescription.cpp | 40 if (out) out->mcc = 0; 61 if (out) out->mcc = d; 70 if (out) out->mcc = 0;
|
/frameworks/native/include/android/ |
H A D | configuration.h | 339 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#MccQualifier">mcc</a> 463 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1838 mcc = dtohs(mcc); 1852 mcc = htods(mcc); 1913 if (mcc != o.mcc) { 1914 return mcc < o.mcc ? -1 : 1; 1975 if (mcc != o.mcc) diff [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | SIMRecords.java | 626 // length of mcc = 3 (TS 23.003 Section 2.2) 692 // guess using the mcc 694 int mcc = Integer.parseInt(mImsi.substring(0,3)); 695 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); 946 int mcc = Integer.parseInt(mImsi.substring(0,3)); 948 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); 1493 log("onAllRecordsLoaded set mcc imsi" + (VDBG ? ("=" + mImsi) : "")); 1498 log("onAllRecordsLoaded empty imsi skipping setting mcc");
|
H A D | RuimRecords.java | 224 // length of mcc = 3 (3GPP2 C.S0005 - Section 2.3) 231 int mcc = Integer.parseInt(mImsi.substring(0,3)); 232 return mImsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc)); 778 log("onAllRecordsLoaded set mcc imsi=" + (VDBG ? ("=" + mImsi) : "")); 784 log("onAllRecordsLoaded empty imsi skipping setting mcc");
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 280 if (out) out->mcc = 0; 301 if (out) out->mcc = d; 310 if (out) out->mcc = 0;
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GnssLocationProvider.java | 2073 int mcc = Integer.parseInt(phone.getNetworkOperator().substring(0,3)); 2085 native_agps_set_ref_location_cellid(type, mcc, mnc, 2509 private native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc, argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_GnssLocationProvider.cpp | 759 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) 772 location.u.cellID.mcc = mcc; 758 android_location_GnssLocationProvider_agps_set_reference_location_cellid( JNIEnv* , jobject , jint type, jint mcc, jint mnc, jint lac, jint cid) argument
|