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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java49 int mcc; field in class:MccTable.MccEntry
59 this.mcc = mnc;
68 return mcc - o.mcc;
73 entryForMcc(int mcc) argument
79 m = new MccEntry(mcc, null, 0);
92 * @param mcc Mobile Country Code
95 public static String defaultTimeZoneForMcc(int mcc) { argument
98 entry = entryForMcc(mcc);
120 countryCodeForMcc(int mcc) argument
138 defaultLanguageForMcc(int mcc) argument
156 smallestDigitsMccForMnc(int mcc) argument
267 setTimezoneFromMccIfNeeded(Context context, int mcc) argument
286 setLocaleFromMccIfNeeded(Context context, int mcc) argument
305 setWifiCountryCodeFromMcc(Context context, int mcc) argument
[all...]
H A DServiceStateTracker.java553 // Return false if the mcc isn't valid as we don't know where we are.
554 // Return true if we have an IccCard and the mcc changed or we
558 // If mcc is invalid then we'll return false
559 int mcc;
561 mcc = Integer.parseInt(operatorNumeric.substring(0, 3));
564 log("shouldFixTimeZoneNow: no mcc, operatorNumeric=" + operatorNumeric +
570 // If prevMcc is invalid will make it different from mcc
576 prevMcc = mcc + 1;
586 boolean retVal = ((iccCardExist && (mcc != prevMcc)) || needToFixTimeZone);
591 " operatorNumeric=" + operatorNumeric + " mcc
[all...]
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp29 jfieldID mcc; member in struct:android::__anon967
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
95 GET_FIELD_ID(gConfigurationClassInfo.mcc, clazz,
96 "mcc", "I");
H A Dandroid_util_AssetManager.cpp507 jint mcc, jint mnc,
528 config.mcc = (uint16_t)mcc;
506 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint sdkVersion) argument
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java49 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mcc</a>
52 public int mcc; field in class:Configuration
558 mcc = o.mcc;
588 if (mcc != 0) {
589 sb.append(mcc);
590 sb.append("mcc");
592 sb.append("?mcc");
725 mcc = mnc = 0;
763 if (delta.mcc !
[all...]
H A DAssetManager.java652 public native final void setConfiguration(int mcc, int mnc, String locale, argument
H A DResources.java1485 mAssets.setConfiguration(mConfiguration.mcc, mConfiguration.mnc,
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityGsm.java55 * @param mcc 3-digit Mobile Country Code, 0..999
63 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int psc) { argument
64 mMcc = mcc;
H A DCellIdentityLte.java55 * @param mcc 3-digit Mobile Country Code, 0..999
63 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { argument
64 mMcc = mcc;
/frameworks/base/native/android/
H A Dconfiguration.cpp45 return config->mcc;
133 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { argument
134 config->mcc = mcc;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaLteServiceStateTracker.java141 int mcc;
151 mcc = Integer.parseInt(operatorNumeric.substring(0,3));
155 mcc = Integer.parseInt(operatorNumeric.substring(0,3));
157 loge("handlePollStateResultMessage: bad mcc operatorNumeric=" +
160 mcc = Integer.MAX_VALUE;
199 mNewCellIdentityLte = new CellIdentityLte(mcc, mnc, eci, pci, tac);
463 String mcc = operatorNumeric.substring(0, 3);
H A DRuimRecords.java214 // length of mcc = 3 (3GPP2 C.S0005 - Section 2.3)
221 int mcc = Integer.parseInt(mImsi.substring(0,3));
222 return mImsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc));
H A DCdmaServiceStateTracker.java1028 String mcc = operatorNumeric.substring(0, 3);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp160 *value = config.mcc;
313 return config.mcc;
375 String8 mcc, mnc, loc, layoutsize, layoutlong, orient, den; local
409 // imsi - mcc
411 mcc = part;
419 //printf("not mcc: %s\n", part.string());
432 //printf("not mcc: %s\n", part.string());
680 this->mcc = mcc;
710 String8 s = this->mcc;
[all...]
H A DAaptAssets.h119 String8 mcc; member in struct:AaptGroupEntry
H A DResourceTable.cpp2816 config.mcc, config.mnc,
2859 tHeader->config.mcc, tHeader->config.mnc,
3496 config->mcc, config->mnc,
H A DResource.cpp127 NOISY(printf("Dir %s: mcc=%d mnc=%d lang=%c%c cnt=%c%c orient=%d ui=%d density=%d touch=%d key=%d inp=%d nav=%d\n",
128 group->getPath().string(), mParams.mcc, mParams.mnc,
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp374 jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid)
387 location.u.cellID.mcc = mcc;
373 android_location_GpsLocationProvider_agps_set_reference_location_cellid(JNIEnv* env, jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid) argument
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1405 mcc = dtohs(mcc);
1419 mcc = htods(mcc);
1455 if (mcc != o.mcc) {
1456 return mcc < o.mcc ? -1 : 1;
1517 if (mcc != o.mcc) diff
[all...]
/frameworks/native/include/android/
H A Dconfiguration.h147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java523 // length of mcc = 3 (TS 23.003 Section 2.2)
582 // guess using the mcc
584 int mcc = Integer.parseInt(mImsi.substring(0,3));
585 mncLength = MccTable.smallestDigitsMccForMnc(mcc);
841 int mcc = Integer.parseInt(mImsi.substring(0,3));
843 mncLength = MccTable.smallestDigitsMccForMnc(mcc);
H A DGsmServiceStateTracker.java908 String mcc = "";
910 mcc = operatorNumeric.substring(0, 3);
911 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc));
923 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) &&
1260 * Set roaming state when gsmRoaming is true and, if operator mcc is the
1261 * same as sim mcc, ons is different from spn
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1461 int mcc = Integer.parseInt(phone.getNetworkOperator().substring(0,3));
1472 native_agps_set_ref_location_cellid(type, mcc, mnc,
1643 private native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc, argument
/frameworks/base/include/androidfw/
H A DResourceTypes.h818 uint16_t mcc; member in struct:android::ResTable_config::__anon1031::__anon1032
1057 // (ie, request with no mcc should not match a particular mcc's data)
/frameworks/base/media/java/android/media/
H A DAudioService.java2301 int mcc = mContext.getResources().getConfiguration().mcc;
2302 if ((mMcc != mcc) || ((mMcc == 0) && force)) {
2313 mMcc = mcc;

Completed in 1540 milliseconds