HomeSort by relevance Sort by last modified time
    Searched defs:mcc (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /frameworks/base/core/jni/
android_content_res_Configuration.cpp 31 jfieldID mcc; member in struct:android::__anon40605
50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc);
79 gConfigurationClassInfo.mcc = GetFieldIDOrDie(env, clazz, "mcc", "I");
  /frameworks/base/telephony/java/android/telephony/
ImsiEncryptionInfo.java 40 private final String mcc; field in class:ImsiEncryptionInfo
48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime);
53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier,
58 this.mcc = mcc;
71 mcc = in.readString();
83 return this.mcc;
136 dest.writeString(mcc);
146 + "mcc=" + mc
    [all...]
  /packages/apps/Messaging/src/android/support/v7/mms/
Utils.java 96 * Get MCC/MNC of an SIM subscription
100 * @return a non-empty array with exactly two elements, first is mcc and last is mnc.
119 Log.w(MmsService.TAG, "Invalid mcc/mnc from system " + mccMncString + ": " + e);
139 final int mcc = mccMnc[0]; local
141 if (mcc == 0 && mnc == 0) {
145 subConfig.mcc = mcc;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
CellularNetwork.java 138 * of |MCC|MNC| will be returned.
142 * | MCC Digit 2 | MCC Digit 1 |
143 * | MNC Digit 3 | MCC Digit 3 |
154 // Formatted as | MCC Digit 1 | MCC Digit 2 | MCC Digit 3 |
155 int mcc = ((plmn[0] << 8) & 0xF00) | (plmn[0] & 0x0F0) | (plmn[1] & 0x00F); local
164 ? String.format("%03x%03x", mcc, (mnc << 4) | mncDigit3)
165 : String.format("%03x%02x", mcc, mnc)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierInfoManager.java 47 String mcc = ""; local
53 mcc = networkOperator.substring(0, 3);
55 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc);
69 "mcc=? and mnc=? and key_type=?",
70 new String[]{mcc, mnc, String.valueOf(keyType)}, null);
81 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key,
107 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc());
130 "mcc=? and mnc=? and key_type=?", new String[]{
MccTable.java 75 private static MccEntry entryForMcc(int mcc) {
76 MccEntry m = new MccEntry(mcc, "", 0);
88 * Returns a default time zone ID for the given MCC.
89 * @param mcc Mobile Country Code
92 public static String defaultTimeZoneForMcc(int mcc) {
93 MccEntry entry = entryForMcc(mcc);
107 if (mcc == 505 /* Australia / Norfolk Island */) {
122 public static String countryCodeForMcc(int mcc) {
123 MccEntry entry = entryForMcc(mcc);
137 public static String defaultLanguageForMcc(int mcc) {
194 int mcc, mnc; local
    [all...]
CarrierKeyDownloadManager.java 84 public static final String MCC = "MCC";
274 Log.e(LOG_TAG, "simOperator or mcc/mnc is empty");
281 Log.d(LOG_TAG, "values from sharedPrefs mcc, mnc: " + mccSource + "," + mncSource);
285 Log.d(LOG_TAG, "using values for mcc, mnc: " + mccCurrent + "," + mncCurrent);
393 * @param mccMnc contains the mcc, mnc.
398 Log.e(LOG_TAG, "jsonStr or mcc, mnc: is empty");
403 String mcc = ""; local
406 mcc = splitValue[0];
434 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc)
488 String mcc = ""; local
    [all...]
RadioResponse.java 284 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
1791 String mcc = carriers.allowedCarriers.get(i).mcc; local
    [all...]
SubscriptionController.java 311 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( local
312 SubscriptionManager.MCC));
332 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso + " isEmbedded:"
342 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
1342 int mcc = 0; local
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRequestDirector.java 1039 ManagedClientConnection mcc = managedConn; local
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DefaultRequestDirector.java 1069 ManagedClientConnection mcc = managedConn; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/emergency/
EmergencyAffordanceService.java 226 int mcc = info.getMcc(); local
227 if (mccRequiresEmergencyAffordance(mcc)) {
230 } else if (mcc != 0 && mcc != Integer.MAX_VALUE){
231 // a Sim with a different mcc code was found
235 mcc = 0;
237 mcc = Integer.parseInt(simOperator.substring(0, 3));
239 if (mcc != 0) {
240 if (mccRequiresEmergencyAffordance(mcc)) {
244 // a Sim with a different mcc code was foun
277 int mcc = 0; local
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
TelephonyUtil.java 81 /* extract mcc & mnc from mccMnc */
82 String mcc; local
85 mcc = mccMnc.substring(0, 3);
91 // extract mcc & mnc from IMSI, assume mnc size is 3
92 mcc = imsi.substring(0, 3);
96 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org";
  /packages/apps/Messaging/src/com/android/messaging/sms/
BugleCarrierConfigValuesLoader.java 164 final int mcc = mccMnc[0]; local
167 if (mcc == 0 && mnc == 0) {
169 subConfig.mcc = config.mcc;
172 subConfig.mcc = mcc;
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestCertActivity.java 149 String mcc = ""; local
154 mcc = networkOperator.substring(0, 3);
156 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc);
159 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc,
  /packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
ApnEditorActivity.java 151 Telephony.Carriers.MCC, // 3
263 // MCC is first 3 chars and then in 2 - 3 chars of MNC
266 String mcc = numeric.substring(0, 3); local
269 // Auto populate MNC and MCC for new entries, based on what SIM reports
270 mMcc.setText(mcc);
273 mCurMcc = mcc;
352 final String mcc = checkNotSet(mMcc.getText()); local
378 values.put(Telephony.Carriers.MCC, mcc);
381 values.put(Telephony.Carriers.NUMERIC, mcc + mnc)
441 String mcc = checkNotSet(mMcc.getText()); local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
PhoneUtils.java 123 * Get the MCC and MNC in integer of the SIM's provider
125 * @return an array of two ints, [0] is the MCC code and [1] is the MNC code
130 * Get the mcc/mnc string
301 int mcc = 0; local
304 mcc = Integer.parseInt(mccmnc.substring(0, 3));
309 return new int[]{mcc, mnc};
464 int mcc = 0; local
468 mcc = subInfo.getMcc();
471 return new int[]{mcc, mnc};
    [all...]
  /system/chre/chre_api/include/chre_api/chre/
wwan.h 90 int32_t mcc; member in struct:chreWwanCellIdentityGsm
115 int32_t mcc; member in struct:chreWwanCellIdentityWcdma
162 int32_t mcc; member in struct:chreWwanCellIdentityLte
183 int32_t mcc; member in struct:chreWwanCellIdentityTdscdma
  /external/wpa_supplicant_8/hostapd/
config_file.c 1363 char *mcc, *mnc; local
1366 mcc = pos;
1376 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3))
1379 /* BC coded MCC,MNC */
1380 /* MCC digit 2 | MCC digit 1 */
1381 *ipos++ = ((mcc[1] - '0') << 4) | (mcc[0] - '0');
1382 /* MNC digit 3 | MCC digit 3 *
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap.c 1280 unsigned int mcc; local
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CarrierConfigLoader.java 432 String mcc = ""; local
441 mcc = simOperator.substring(0, 3);
451 return new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2);
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyManagerFacade.java 94 Telephony.Carriers.MCC, // 9
584 @Rpc(description = "Returns the numeric name (MCC+MNC) of registered operator." +
591 @Rpc(description = "Returns the numeric name (MCC+MNC) of registered operator" +
685 @Rpc(description = "Returns the MCC for default subscription ID")
691 @Rpc(description = "Returns the MCC for specified subscription ID")
697 @Rpc(description = "Returns the MCC+MNC for default subscription ID")
703 @Rpc(description = "Returns the MCC+MNC for specified subscription ID")
999 String mcc = ""; local
    [all...]
  /frameworks/base/core/java/android/content/res/
Configuration.java 67 * IMSI MCC (Mobile Country Code), corresponding to
68 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mcc</a>
71 public int mcc; field in class:Configuration
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
RuimRecords.java 209 * Returns the 5 or 6 digit MCC/MNC of the operator that
220 // Length = length of MCC + length of MNC
221 // length of mcc = 3 (3GPP2 C.S0005 - Section 2.3)
225 // Guess the MNC length based on the MCC if we don't
228 int mcc = Integer.parseInt(imsi.substring(0, 3)); local
229 return imsi.substring(0, 3 + MccTable.smallestDigitsMccForMnc(mcc));
620 // IMSI (MCC+MNC+MSIN) is at least 6 digits, but not more
777 log("onAllRecordsLoaded set mcc imsi=" + (VDBG ? ("=" + imsi) : ""));
783 log("onAllRecordsLoaded empty imsi skipping setting mcc");
    [all...]
SIMRecords.java 632 // Length = length of MCC + length of MNC
633 // length of mcc = 3 (TS 23.003 Section 2.2)
680 // IMSI (MCC+MNC+MSIN) is at least 6 digits, but not more
710 // guess using the mcc
712 int mcc = Integer.parseInt(imsi.substring(0, 3)); local
713 mMncLength = MccTable.smallestDigitsMccForMnc(mcc);
924 int mcc = Integer.parseInt(imsi.substring(0, 3)); local
984 int mcc = Integer.parseInt(imsi.substring(0, 3)); local
    [all...]

Completed in 1533 milliseconds

1 2 3 4 5