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

1 2 3 4 5 6 7 8 91011

  /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...]
CellIdentityGsm.java 59 * @param mcc 3-digit Mobile Country Code, 0..999
66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) {
67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE);
72 * @param mcc 3-digit Mobile Country Code, 0..999
81 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int arfcn, int bsic) {
82 mMcc = mcc;
CellIdentityLte.java 60 * @param mcc 3-digit Mobile Country Code, 0..999
68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) {
69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE);
74 * @param mcc 3-digit Mobile Country Code, 0..999
83 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac, int earfcn) {
84 mMcc = mcc;
CellIdentityWcdma.java 59 * @param mcc 3-digit Mobile Country Code, 0..999
67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) {
68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE);
73 * @param mcc 3-digit Mobile Country Code, 0..999
82 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) {
83 mMcc = mcc;
SubscriptionInfo.java 133 Bitmap icon, int mcc, int mnc, String countryIso) {
135 roaming, icon, mcc, mnc, countryIso, false /* isEmbedded */,
144 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded,
156 this.mMcc = mcc;
297 * @return the MCC.
402 int mcc = source.readInt();
410 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
465 + " dataRoaming=" + mDataRoaming + " iconBitmap=" + mIconBitmap + " mcc " + mMcc
  /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...]
  /system/chre/apps/chqts/src/general_test/
cell_info_tdscdma.cc 24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) {
26 "Invalid TDSCDMA Mobile Country Code: %d", identity.mcc);
cell_info_gsm.cc 24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) {
26 "Invalid GSM Mobile Country Code: %d", identity.mcc);
cell_info_lte.cc 24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) {
26 "Invalid LTE Mobile Country Code: %d", identity.mcc);
cell_info_wcdma.cc 24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) {
26 "Invalid WCDMA Mobile Country Code: %d", identity.mcc);
  /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;
  /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...]
  /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;
  /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
  /frameworks/base/core/proto/android/content/
configuration.proto 31 uint32 mcc = 2;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
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...]
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[]{
  /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/core/java/android/service/carrier/
CarrierIdentifier.java 48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1,
50 mMcc = mcc;
111 + "mcc=" + mMcc
  /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...]
  /tools/test/connectivity/acts/tests/google/tel/lab/
TelLabDataRoamingTest.py 76 def LTE_WCDMA_data_roaming(self, mcc, mnc):
81 self.bts1.mcc = mcc
83 self.bts2.mcc = mcc
  /system/chre/apps/wwan_world/
wwan_world.cc 72 LOGI(" mcc %" PRId32, cell->CellInfo.lte.cellIdentityLte.mcc);
81 LOGI(" mcc %" PRId32, cell->CellInfo.gsm.cellIdentityGsm.mcc);
90 LOGI(" mcc %" PRId32, cell->CellInfo.wcdma.cellIdentityWcdma.mcc);
  /hardware/interfaces/gnss/1.0/
IAGnssRil.hal 58 uint16_t mcc;
  /hardware/interfaces/gnss/1.0/default/
AGnssRil.cpp 101 .mcc = cellID.mcc,
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 45 + "mcc=" + c.mcc + "\n"

Completed in 335 milliseconds

1 2 3 4 5 6 7 8 91011