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

1 2

  /cts/tests/tests/location/src/android/location/cts/asn1/supl2/ver2_ulp_components/
MCC.java 37 public class MCC
44 public MCC() {
71 * Creates a new MCC from encoded stream.
73 public static MCC fromPerUnaligned(byte[] encodedBytes) {
74 MCC result = new MCC();
80 * Creates a new MCC from encoded stream.
82 public static MCC fromPerAligned(byte[] encodedBytes) {
83 MCC result = new MCC();
    [all...]
PLMN_Identity.java 100 private MCC mcc_;
101 public MCC getMcc() {
105 * @throws ClassCastException if value is not a MCC
108 this.mcc_ = (MCC) value;
110 public MCC setMccToNewInstance() {
111 mcc_ = new MCC();
162 return tag == null ? MCC.getPossibleFirstTags() : ImmutableList.of(tag);
176 return "mcc : "
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
HbpcdLookup.java 48 public static final String DEFAULT_SORT_ORDER = "MCC ASC";
50 public static final String MCC = "MCC";
61 public static final String DEFAULT_SORT_ORDER = "MCC ASC";
63 public static final String MCC = "MCC";
81 public static final String DEFAULT_SORT_ORDER = "MCC ASC";
83 public static final String MCC = "MCC";
94 public static final String DEFAULT_SORT_ORDER = "MCC ASC"
    [all...]
HbpcdUtils.java 40 * Resolves the unknown MCC with SID and Timezone information.
50 String projection2[] = {ArbitraryMccSidMatch.MCC};
66 Rlog.d(LOG_TAG, "MCC found in arbitrary_mcc_sid_match: " + tmpMcc);
75 // and use the timezone in mcc_lookup table to check which MCC matches.
76 String projection3[] = {MccSidConflicts.MCC};
94 Rlog.d(LOG_TAG, "MCC found in mcc_lookup_table. Return tmpMcc = " + tmpMcc);
97 // time zone is not accurate, it may get wrong mcc, ignore it.
99 Rlog.d(LOG_TAG, "time zone is not accurate, mcc may be " + tmpMcc);
111 String projection5[] = {MccSidRange.MCC};
130 // If unknown MCC still could not be resolved
    [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[]{
SmsNumberUtils.java 119 * @param activeMcc current network's mcc
237 * @param mcc current network's country code
241 private static ArrayList<String> getAllIDDs(Context context, String mcc) {
242 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc);
249 String projection[] = {MccIdd.IDD, MccIdd.MCC};
252 // if mcc is null : return all rows
253 // if mcc is empty-string : return those rows whose mcc is emptry-string
255 if (mcc != null) {
256 where = MccIdd.MCC + "=?"
    [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...]
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...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
CarrierDatabaseHelper.java 46 public static final String MCC = "mcc";
58 CARRIERS_UNIQUE_FIELDS.add(MCC);
68 MCC + " TEXT DEFAULT ''," +
HbpcdLookupProvider.java 99 sIddProjectionMap.put(MccIdd.MCC, MccIdd.MCC);
104 sLookupProjectionMap.put(MccLookup.MCC, MccLookup.MCC);
116 // MccLookup.MCC is duped to MccSidConflicts.MCC
125 sConflictProjectionMap.put(MccSidConflicts.MCC,
126 TABLE_MCC_SID_CONFLICT + "." + MccSidConflicts.MCC);
132 sRangeProjectionMap.put(MccSidRange.MCC, MccSidRange.MCC);
    [all...]
HbpcdLookupDatabaseHelper.java 24 * to get right MCC part of numeric, MNC part of numeric has no way to get in this
25 * case, but for HBPCD, the MCC is enough.
28 * This table has country name, country code, time zones for each MCC
31 * This table has the IDDs for each MCC, some countries have multiple IDDs.
34 * This table are SIDs assigned to each MCC
37 * This table shows those SIDs are assigned to more than 1 MCC entry,
38 * if the SID is here, it means the SID couldn't be matched to a single MCC,
40 * right MCC.
43 * The SID listed in this table technically have operators in multiple MCC,
44 * but conveniently only have *active* operators in a single MCC allowing
    [all...]
TelephonyProvider.java 33 import static android.provider.Telephony.Carriers.MCC;
201 CARRIERS_UNIQUE_FIELDS.add(MCC);
225 MCC + " TEXT DEFAULT ''," +
282 + SubscriptionManager.MCC + " INTEGER DEFAULT 0,"
655 " ADD COLUMN " + SubscriptionManager.MCC + " INTEGER DEFAULT 0;");
1270 String mcc = parser.getAttributeValue(null, "mcc"); local
    [all...]
  /packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
CarrierProviderTest.java 148 contentValues.put(CarrierDatabaseHelper.MCC, dummy_mcc);
184 contentValues.put(CarrierDatabaseHelper.MCC, dummy_mcc);
202 "mcc=? and mnc=? and key_type=?", new String[] { dummy_mcc, dummy_mnc,
211 "mcc=? and mnc=? and key_type=?",
230 contentValues.put(CarrierDatabaseHelper.MCC, dummy_mcc);
239 contentValuesNew.put(CarrierDatabaseHelper.MCC, dummy_mcc);
274 contentValues.put(CarrierDatabaseHelper.MCC, dummy_mcc);
301 contentValues.put(CarrierDatabaseHelper.MCC, dummy_mcc);
316 String whereClause = "mcc=? and mnc=?";
  /packages/apps/Messaging/src/com/android/messaging/sms/
ApnDatabase.java 66 Telephony.Carriers.MCC + " TEXT," +
98 Telephony.Carriers.MCC, // 8
119 Telephony.Carriers.MCC,
258 row.getAsString(Telephony.Carriers.MCC),
ApnsXmlProcessor.java 51 APN_ATTRIBUTE_MAP.put("mcc", Telephony.Carriers.MCC);
241 // Set numeric to be canonicalized mcc/mnc like "310120", always 6 digits
243 apnValues.getAsString(Telephony.Carriers.MCC),
279 // Get the mcc and mnc attributes
281 mInputParser.getAttributeValue(null, "mcc"),
304 * @param mccMnc The mcc and mnc of this mms_config
  /toolchain/binutils/binutils-2.25/gas/config/
tc-m68k.c     [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...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsNumberUtilsTest.java 63 projection[1].equals(HbpcdLookup.MccIdd.MCC) && selectionArgs.length == 1) {
81 logd("Unhandled MCC" + Integer.parseInt(selectionArgs[0]));
102 logd("Unhandled mcc look up request");
SubscriptionControllerTest.java 67 SubscriptionManager.DATA_ROAMING, SubscriptionManager.MCC,
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 42 MCC,
101 case MCC:
102 mConfig.mcc = value;
204 config.setProperty(Properties.MCC, 310);
265 config.setProperty(Properties.MCC, 111);
497 config.setProperty(Properties.MCC, 111);
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ApnEditor.java 135 Telephony.Carriers.MCC, // 9
390 case Telephony.Carriers.MCC:
504 // MCC is first 3 chars and then in 2 - 3 chars of MNC
507 String mcc = numeric.substring(0, 3); local
510 // Auto populate MNC and MCC for new entries, based on what SIM reports
511 mMcc.setText(mcc);
514 mCurMcc = mcc;
861 String mcc = checkNotSet(mMcc.getText()); local
1061 String mcc = checkNotSet(mMcc.getText()); local
    [all...]
  /frameworks/base/telephony/java/android/telephony/
Telephony.java     [all...]
SubscriptionManager.java 244 * TelephonyProvider column name for the MCC associated with a SIM.
248 public static final String MCC = "mcc";
    [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...]
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 

Completed in 547 milliseconds

1 2