/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 49 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 D | ServiceStateTracker.java | 553 // 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 D | android_content_res_Configuration.cpp | 29 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 D | android_util_AssetManager.cpp | 507 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 D | Configuration.java | 49 * <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 D | AssetManager.java | 652 public native final void setConfiguration(int mcc, int mnc, String locale, argument
|
H A D | Resources.java | 1485 mAssets.setConfiguration(mConfiguration.mcc, mConfiguration.mnc,
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityGsm.java | 55 * @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 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 | 141 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; 202 mNewCellIdentityLte = new CellIdentityLte(mcc, mnc, eci, pci, tac); 466 String mcc = operatorNumeric.substring(0, 3);
|
H A D | RuimRecords.java | 214 // 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 D | CdmaServiceStateTracker.java | 1028 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 | 2821 config.mcc, config.mnc, 2864 tHeader->config.mcc, tHeader->config.mnc, 3501 config->mcc, config->mnc,
|
H A D | Resource.cpp | 127 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 D | com_android_server_location_GpsLocationProvider.cpp | 374 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 D | ResourceTypes.cpp | 1405 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 D | configuration.h | 147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SIMRecords.java | 523 // 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 D | GsmServiceStateTracker.java | 908 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 D | GpsLocationProvider.java | 1461 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 D | ResourceTypes.h | 818 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 D | AudioService.java | 489 // the mcc is read by onConfigureSafeVolume() 2312 int mcc = mContext.getResources().getConfiguration().mcc; 2313 if ((mMcc != mcc) || ((mMcc == 0) && force)) { 2335 mMcc = mcc;
|