/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | MccTable.java | 48 int mcc; field in class:MccTable.MccEntry 58 this.mcc = mnc; 67 return mcc - o.mcc; 72 entryForMcc(int mcc) argument 78 m = new MccEntry(mcc, null, 0); 91 * @param mcc Mobile Country Code 94 public static String defaultTimeZoneForMcc(int mcc) { argument 97 entry = entryForMcc(mcc); 119 countryCodeForMcc(int mcc) argument 137 defaultLanguageForMcc(int mcc) argument 155 smallestDigitsMccForMnc(int mcc) argument 266 setTimezoneFromMccIfNeeded(Context context, int mcc) argument 285 setLocaleFromMccIfNeeded(Context context, int mcc) argument 304 setWifiCountryCodeFromMcc(Context context, int mcc) argument [all...] |
H A D | ServiceStateTracker.java | 478 // Return false if the mcc isn't valid as we don't know where we are. 479 // Return true if we have an IccCard and the mcc changed or we 483 // If mcc is invalid then we'll return false 484 int mcc; 486 mcc = Integer.parseInt(operatorNumeric.substring(0, 3)); 489 log("shouldFixTimeZoneNow: no mcc, operatorNumeric=" + operatorNumeric + 495 // If prevMcc is invalid will make it different from mcc 501 prevMcc = mcc + 1; 509 boolean retVal = ((iccCardExist && (mcc != prevMcc)) || needToFixTimeZone); 516 " operatorNumeric=" + operatorNumeric + " mcc [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | GsmCellIdentity.java | 43 * @param mcc 3-digit Mobile Country Code, 0..999 50 public GsmCellIdentity (int mcc, int mnc, argument 53 mMcc = mcc;
|
H A D | LteCellIdentity.java | 42 * @param mcc 3-digit Mobile Country Code, 0..999 49 public LteCellIdentity (int mcc, int mnc, argument 52 mMcc = mcc;
|
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 29 jfieldID mcc; member in struct:android::__anon991 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 | 46 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mcc</a> 49 public int mcc; field in class:Configuration 438 mcc = o.mcc; 468 sb.append(mcc); 469 sb.append("mcc"); 589 mcc = mnc = 0; 627 if (delta.mcc != 0 && mcc != 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 | 1474 mAssets.setConfiguration(mConfiguration.mcc, mConfiguration.mnc,
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 45 return config->mcc; 128 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { argument 129 config->mcc = mcc;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | RuimRecords.java | 183 // length of mcc = 3 (3GPP2 C.S0005 - Section 2.3) 190 int mcc = Integer.parseInt(mImsi.substring(0,3)); 191 return mImsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc));
|
H A D | CdmaLteServiceStateTracker.java | 391 String mcc = operatorNumeric.substring(0, 3);
|
H A D | CdmaServiceStateTracker.java | 1029 String mcc = operatorNumeric.substring(0, 3);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 160 *value = config.mcc; 306 return config.mcc; 366 String8 mcc, mnc, loc, layoutsize, layoutlong, orient, den; local 400 // imsi - mcc 402 mcc = part; 410 //printf("not mcc: %s\n", part.string()); 423 //printf("not mcc: %s\n", part.string()); 659 this->mcc = mcc; 688 String8 s = this->mcc; [all...] |
H A D | AaptAssets.h | 117 String8 mcc; member in struct:AaptGroupEntry
|
H A D | ResourceTable.cpp | 2810 config.mcc, config.mnc, 2852 tHeader->config.mcc, tHeader->config.mnc, 3479 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; 1514 if (mcc != o.mcc) diff [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SIMRecords.java | 511 // length of mcc = 3 (TS 23.003 Section 2.2) 570 // guess using the mcc 572 int mcc = Integer.parseInt(imsi.substring(0,3)); 573 mncLength = MccTable.smallestDigitsMccForMnc(mcc); 830 int mcc = Integer.parseInt(imsi.substring(0,3)); 832 mncLength = MccTable.smallestDigitsMccForMnc(mcc);
|
H A D | GsmServiceStateTracker.java | 867 String mcc = operatorNumeric.substring(0, 3); 869 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc)); 881 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) && 1265 * Set roaming state when gsmRoaming is true and, if operator mcc is the 1266 * same as sim mcc, ons is different from spn
|
/frameworks/native/include/android/ |
H A D | configuration.h | 142 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1526 int mcc = Integer.parseInt(phone.getNetworkOperator().substring(0,3)); 1537 native_agps_set_ref_location_cellid(type, mcc, mnc, 1702 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::__anon1051::__anon1052 1049 // (ie, request with no mcc should not match a particular mcc's data)
|