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

1 2 3 4 5 6

  /frameworks/base/core/jni/
android_content_res_Configuration.cpp 31 jfieldID mcc; member in struct:android::__anon45624
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...]
  /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...]
  /external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DefaultRequestDirector.java 1087 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/telephony/src/java/com/android/internal/telephony/
CarrierInfoManager.java 61 String mcc = ""; local
67 mcc = simOperator.substring(0, 3);
69 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc);
83 "mcc=? and mnc=? and key_type=?",
84 new String[]{mcc, mnc, String.valueOf(keyType)}, null);
95 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key,
122 contentValues.put(Telephony.CarrierColumns.MCC, imsiEncryptionInfo.getMcc());
146 "mcc=? and mnc=? and key_type=?", new String[]{
212 String mcc = "" local
    [all...]
MccTable.java 74 private static MccEntry entryForMcc(int mcc) {
75 MccEntry m = new MccEntry(mcc, "", 0);
87 * Returns a default time zone ID for the given MCC.
88 * @param mcc Mobile Country Code
91 public static String defaultTimeZoneForMcc(int mcc) {
92 MccEntry entry = entryForMcc(mcc);
105 public static String countryCodeForMcc(int mcc) {
106 MccEntry entry = entryForMcc(mcc);
120 public static String defaultLanguageForMcc(int mcc) {
121 MccEntry entry = entryForMcc(mcc);
177 int mcc, mnc; local
    [all...]
LocaleTracker.java 86 /** Current serving PLMN's MCC/MNC */
175 * Get the MCC from cell tower information.
177 * @return MCC in string format. Null if the information is not available.
186 String mcc = null; local
188 mcc = ((CellInfoGsm) cellInfo).getCellIdentity().getMccString();
190 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMccString();
192 mcc = ((CellInfoWcdma) cellInfo).getCellIdentity().getMccString();
194 if (mcc != null) {
196 if (countryCodeMap.containsKey(mcc)) {
197 count = countryCodeMap.get(mcc) + 1
370 String mcc = null; local
    [all...]
SubscriptionController.java 293 int mcc = cursor.getInt(cursor.getColumnIndexOrThrow( local
294 SubscriptionManager.MCC));
317 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso + " isEmbedded:"
328 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
    [all...]
CarrierKeyDownloadManager.java 92 public static final String MCC = "MCC";
295 Log.e(LOG_TAG, "simOperator or mcc/mnc is empty");
302 Log.d(LOG_TAG, "values from sharedPrefs mcc, mnc: " + mccSource + "," + mncSource);
306 Log.d(LOG_TAG, "using values for mcc, mnc: " + mccCurrent + "," + mncCurrent);
414 * @param mccMnc contains the mcc, mnc.
419 Log.e(LOG_TAG, "jsonStr or mcc, mnc: is empty");
424 String mcc = ""; local
427 mcc = splitValue[0];
455 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc)
509 String mcc = ""; local
    [all...]
  /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/apps/Stk/src/com/android/stk/
StkMenuConfig.java 35 * Provides preset label and/or icon in accordance with mcc/mnc
45 private static final String XML_MCC_ATTR = "mcc";
63 public int mcc; field in class:StkMenuConfig.Config
68 public Config(int mcc, int mnc, String label, String icon) {
69 this.mcc = mcc;
128 int mcc = Integer.parseInt(operator.substring(0, 3)); local
131 if (mConfigs[slotId] != null && mConfigs[slotId].mcc == mcc
139 if ((config.mcc == mcc) && (config.mnc == mnc))
165 int mcc = parser.getAttributeIntValue(null, XML_MCC_ATTR, UNSPECIFIED); local
    [all...]
  /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/services/Telephony/src/com/android/phone/
NetworkQueryService.java 224 null /* List of PLMN ids (MCC-MNC) */);
376 String mcc = null; local
380 mcc = operatorNumeric.substring(0, 3);
388 mcc,
CarrierConfigLoader.java 559 String mcc = ""; local
568 mcc = simOperator.substring(0, 3);
578 return new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2);
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
TelephonyUtil.java 48 private static final String THREE_GPP_NAI_REALM_FORMAT = "wlan.mnc%s.mcc%s.3gppnetwork.org";
133 * @param mccMnc The MCC MNC identifier retrieved from the SIM
174 * MCC/MNC according to the 3GGP spec(TS23.003).
188 * @param mccMnc The MCC MNC identifier retrieved from the SIM
204 /* extract mcc & mnc from mccMnc */
205 String mcc; local
208 mcc = mccMnc.substring(0, 3);
214 // extract mcc & mnc from IMSI, assume mnc size is 3
215 mcc = imsi.substring(0, 3);
219 String naiRealm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc);
    [all...]
  /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
  /system/chre/chre_api/legacy/v1_1/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 1394 char *mcc, *mnc; local
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_proxy_qmi_oc.c 453 int mcc = 0,i =0; local
455 -- 3 digits if MCC belongs to this group: 302, 310, 311, 312, 313, 314, 315,
462 mcc = ((imsi[0]-0x30)*100) + ((imsi[1]-0x30)*10) + (imsi[2]-0x30);
464 wpa_printf(MSG_ERROR, "mcc from the SIM is %d\n", mcc);
467 if(mcc == valid_mcc[i])
624 "assuming %d as mcc %s to 3 digit mnc group\n",
    [all...]

Completed in 443 milliseconds

1 2 3 4 5 6