/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 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 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 D | ServiceStateTracker.java | 664 // 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 D | android_content_res_Configuration.cpp | 29 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 D | android_util_AssetManager.cpp | 500 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 D | Configuration.java | 49 * <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 D | AssetManager.java | 658 public native final void setConfiguration(int mcc, int mnc, String locale, argument
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityGsm.java | 51 * @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 D | CellIdentityWcdma.java | 54 * @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 D | CellIdentityLte.java | 55 * @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 D | configuration.cpp | 45 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 D | CdmaLteServiceStateTracker.java | 130 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 D | CdmaServiceStateTracker.java | 1081 String mcc = operatorNumeric.substring(0, 3);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 160 *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 D | AaptAssets.h | 119 String8 mcc; member in struct:AaptGroupEntry
|
H A D | ResourceTable.cpp | 2882 config.mcc, config.mnc, 2925 tHeader->config.mcc, tHeader->config.mnc, 3562 config->mcc, config->mnc,
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1545 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 D | configuration.h | 150 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 216 // 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 D | SIMRecords.java | 556 // 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 D | com_android_server_location_GpsLocationProvider.cpp | 489 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 D | GsmServiceStateTracker.java | 960 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 D | GpsLocationProvider.java | 1727 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 D | ResourceTypes.h | 822 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 D | AudioService.java | 515 // 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 D | ConnectivityService.java | 4761 * <provisioningUrl mcc="310" mnc="4">http://myserver.com/foo?mdn=%3$s&iccid=%1$s&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) {
|