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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java73 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
124 entry = entryForMcc(mcc);
138 public static String defaultLanguageForMcc(int mcc) { argument
141 entry = entryForMcc(mcc);
156 smallestDigitsMccForMnc(int mcc) argument
326 setTimezoneFromMccIfNeeded(Context context, int mcc) argument
347 getLocaleFromMcc(Context context, int mcc) argument
362 setWifiCountryCodeFromMcc(Context context, int mcc) argument
[all...]
H A DServiceStateTracker.java664 // Return false if the mcc isn't valid as we don't know where we are.
665 // Return true if we have an IccCard and the mcc changed or we
669 // If mcc is invalid then we'll return false
670 int mcc;
672 mcc = Integer.parseInt(operatorNumeric.substring(0, 3));
675 log("shouldFixTimeZoneNow: no mcc, operatorNumeric=" + operatorNumeric +
681 // If prevMcc is invalid will make it different from mcc
687 prevMcc = mcc + 1;
697 boolean retVal = ((iccCardExist && (mcc != prevMcc)) || needToFixTimeZone);
702 " operatorNumeric=" + operatorNumeric + " mcc
[all...]
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp29 jfieldID mcc; member in struct:android::__anon1005
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
95 GET_FIELD_ID(gConfigurationClassInfo.mcc, clazz,
96 "mcc", "I");
H A Dandroid_util_AssetManager.cpp500 jint mcc, jint mnc,
521 config.mcc = (uint16_t)mcc;
499 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
598 mcc = o.mcc;
628 if (mcc != 0) {
629 sb.append(mcc);
630 sb.append("mcc");
632 sb.append("?mcc");
765 mcc = mnc = 0;
803 if (delta.mcc !
[all...]
H A DAssetManager.java658 public native final void setConfiguration(int mcc, int mnc, String locale, argument
/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityGsm.java51 * @param mcc 3-digit Mobile Country Code, 0..999
58 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { argument
59 mMcc = mcc;
H A DCellIdentityWcdma.java54 * @param mcc 3-digit Mobile Country Code, 0..999
62 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument
63 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.java130 int mcc;
140 mcc = Integer.parseInt(operatorNumeric.substring(0,3));
144 mcc = Integer.parseInt(operatorNumeric.substring(0,3));
146 loge("handlePollStateResultMessage: bad mcc operatorNumeric=" +
149 mcc = Integer.MAX_VALUE;
191 mNewCellIdentityLte = new CellIdentityLte(mcc, mnc, eci, pci, tac);
418 String mcc = operatorNumeric.substring(0, 3);
H A DCdmaServiceStateTracker.java1081 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.cpp2882 config.mcc, config.mnc,
2925 tHeader->config.mcc, tHeader->config.mnc,
3562 config->mcc, config->mnc,
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1545 mcc = dtohs(mcc);
1559 mcc = htods(mcc);
1595 if (mcc != o.mcc) {
1596 return mcc < o.mcc ? -1 : 1;
1657 if (mcc != o.mcc) diff
[all...]
/frameworks/native/include/android/
H A Dconfiguration.h150 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java216 // length of mcc = 3 (3GPP2 C.S0005 - Section 2.3)
223 int mcc = Integer.parseInt(mImsi.substring(0,3));
224 return mImsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc));
643 log("onAllRecordsLoaded set mcc imsi=" + mImsi);
647 log("onAllRecordsLoaded empty imsi skipping setting mcc");
H A DSIMRecords.java556 // length of mcc = 3 (TS 23.003 Section 2.2)
616 // guess using the mcc
618 int mcc = Integer.parseInt(mImsi.substring(0,3));
619 mMncLength = MccTable.smallestDigitsMccForMnc(mcc);
876 int mcc = Integer.parseInt(mImsi.substring(0,3));
878 mMncLength = MccTable.smallestDigitsMccForMnc(mcc);
1343 log("onAllRecordsLoaded set mcc imsi=" + mImsi);
1347 log("onAllRecordsLoaded empty imsi skipping setting mcc");
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp489 jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid)
502 location.u.cellID.mcc = mcc;
488 android_location_GpsLocationProvider_agps_set_reference_location_cellid(JNIEnv* env, jobject obj, jint type, jint mcc, jint mnc, jint lac, jint cid) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java960 String mcc = "";
962 mcc = operatorNumeric.substring(0, 3);
963 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc));
975 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) &&
1312 * Set roaming state if operator mcc is the same as sim mcc
1353 + Can use mcc or mcc+mnc as item of config_operatorConsideredNonRoaming.
1354 * For example, 302 or 21407. If mcc or mcc
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1727 int mcc = Integer.parseInt(phone.getNetworkOperator().substring(0,3));
1739 native_agps_set_ref_location_cellid(type, mcc, mnc,
1909 private native void native_agps_set_ref_location_cellid(int type, int mcc, int mnc, argument
/frameworks/base/include/androidfw/
H A DResourceTypes.h822 uint16_t mcc; member in struct:android::ResTable_config::__anon1072::__anon1073
1062 // (ie, request with no mcc should not match a particular mcc's data)
/frameworks/base/media/java/android/media/
H A DAudioService.java515 // the mcc is read by onConfigureSafeVolume()
2448 int mcc = mContext.getResources().getConfiguration().mcc;
2449 if ((mMcc != mcc) || ((mMcc == 0) && force)) {
2471 mMcc = mcc;
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java4761 * <provisioningUrl mcc="310" mnc="4">http://myserver.com/foo?mdn=%3$s&amp;iccid=%1$s&amp;imei=%2$s</provisioningUrl>
4762 * <redirectedUrl mcc="310" mnc="4">http://www.google.com</redirectedUrl>
4775 /** XML attribute for mcc */
4776 private static final String ATTR_MCC = "mcc";
4814 String mcc = parser.getAttributeValue(null, ATTR_MCC);
4816 if (mcc != null && Integer.parseInt(mcc) == config.mcc) {

Completed in 496 milliseconds

12