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

1 2

  /cts/tests/tests/location/src/android/location/cts/asn1/supl2/ver2_ulp_components/
MNC.java 37 public class MNC
44 public MNC() {
71 * Creates a new MNC from encoded stream.
73 public static MNC fromPerUnaligned(byte[] encodedBytes) {
74 MNC result = new MNC();
80 * Creates a new MNC from encoded stream.
82 public static MNC fromPerAligned(byte[] encodedBytes) {
83 MNC result = new MNC();
    [all...]
PLMN_Identity.java 115 private MNC mnc_;
116 public MNC getMnc() {
120 * @throws ClassCastException if value is not a MNC
123 this.mnc_ = (MNC) value;
125 public MNC setMncToNewInstance() {
126 mnc_ = new MNC();
205 return tag == null ? MNC.getPossibleFirstTags() : ImmutableList.of(tag);
219 return "mnc : "
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
CarrierDatabaseHelper.java 47 public static final String MNC = "mnc";
59 CARRIERS_UNIQUE_FIELDS.add(MNC);
69 MNC + " TEXT DEFAULT ''," +
TelephonyProvider.java 39 import static android.provider.Telephony.Carriers.MNC;
241 CARRIERS_UNIQUE_FIELDS_DEFAULTS.put(MNC, "");
269 MNC + " TEXT DEFAULT ''," +
332 + SubscriptionManager.MNC + " INTEGER DEFAULT 0,"
1592 String mnc = parser.getAttributeValue(null, "mnc"); local
    [all...]
  /packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
CarrierProviderTest.java 149 contentValues.put(CarrierDatabaseHelper.MNC, dummy_mnc);
185 contentValues.put(CarrierDatabaseHelper.MNC, dummy_mnc);
202 "mcc=? and mnc=? and key_type=?", new String[] { dummy_mcc, dummy_mnc,
211 "mcc=? and mnc=? and key_type=?",
231 contentValues.put(CarrierDatabaseHelper.MNC, dummy_mnc);
240 contentValuesNew.put(CarrierDatabaseHelper.MNC, dummy_mnc2);
275 contentValues.put(CarrierDatabaseHelper.MNC, dummy_mnc);
302 contentValues.put(CarrierDatabaseHelper.MNC, dummy_mnc);
316 String whereClause = "mcc=? and mnc=?";
TelephonyProviderTest.java 307 contentValues.put(Carriers.MNC, insertMnc);
328 Carriers.MNC
339 assertEquals(insertMnc, cursor.getString(4 /* MNC */));
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CellIdentityGsmTest.java 38 private static final int MNC = 260;
57 assertEquals(MNC, ci.getMnc());
114 assertEquals(MNC, ci.getMnc());
132 new CellIdentityGsm(MCC, MNC, LAC, CID);
139 assertEquals(MNC, ci.getMnc());
CellIdentityLteTest.java 38 private static final int MNC = 260;
58 assertEquals(MNC, ci.getMnc());
117 assertEquals(MNC, ci.getMnc());
136 new CellIdentityLte(MCC, MNC, CI, PCI, TAC);
144 assertEquals(MNC, ci.getMnc());
CellIdentityWcdmaTest.java 38 private static final int MNC = 260;
56 assertEquals(MNC, ci.getMnc());
114 assertEquals(MNC, ci.getMnc());
132 new CellIdentityWcdma(MCC, MNC, LAC, CID, PSC);
138 assertEquals(MNC, ci.getMnc());
CellIdentityTest.java 38 private static final int MNC = 260;
CellIdentityTdscdmaTest.java 38 private static final int MNC = 260;
SubscriptionControllerTest.java 68 SubscriptionManager.MNC, SubscriptionManager.CB_EXTREME_THREAT_ALERT,
  /packages/apps/Messaging/src/com/android/messaging/sms/
ApnDatabase.java 67 Telephony.Carriers.MNC + " TEXT," +
99 Telephony.Carriers.MNC, // 9
120 Telephony.Carriers.MNC,
259 row.getAsString(Telephony.Carriers.MNC))
ApnsXmlProcessor.java 52 APN_ATTRIBUTE_MAP.put("mnc", Telephony.Carriers.MNC);
241 // Set numeric to be canonicalized mcc/mnc like "310120", always 6 digits
244 apnValues.getAsString(Telephony.Carriers.MNC));
279 // Get the mcc and mnc attributes
282 mInputParser.getAttributeValue(null, "mnc"));
304 * @param mccMnc The mcc and mnc of this mms_config
  /packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
ApnEditorActivity.java 152 Telephony.Carriers.MNC, // 4
263 // MCC is first 3 chars and then in 2 - 3 chars of MNC
268 String mnc = numeric.substring(3); local
269 // Auto populate MNC and MCC for new entries, based on what SIM reports
271 mMnc.setText(mnc);
272 mCurMnc = mnc;
353 final String mnc = checkNotSet(mMnc.getText()); local
379 values.put(Telephony.Carriers.MNC, mnc);
381 values.put(Telephony.Carriers.NUMERIC, mcc + mnc);
442 String mnc = checkNotSet(mMnc.getText()); local
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierInfoManager.java 62 String mnc = ""; local
68 mnc = simOperator.substring(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,
123 contentValues.put(Telephony.CarrierColumns.MNC, imsiEncryptionInfo.getMnc());
146 "mcc=? and mnc=? and key_type=?", new String[]{
213 String mnc = "" local
    [all...]
CarrierKeyDownloadManager.java 91 public static final String MNC = "MNC";
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");
425 String mnc = ""; local
428 mnc = splitValue[1];
455 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc);
510 String mnc = ""; local
    [all...]
SubscriptionController.java 295 int mnc = cursor.getInt(cursor.getColumnIndexOrThrow( local
296 SubscriptionManager.MNC));
317 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso + " isEmbedded:"
328 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 43 MNC,
104 case MNC:
105 mConfig.mnc = value;
205 config.setProperty(Properties.MNC, 001); // unused
272 config.setProperty(Properties.MNC, 222);
504 config.setProperty(Properties.MNC, 222);
    [all...]
  /packages/apps/Settings/src/com/android/settings/network/
ApnEditor.java 156 Telephony.Carriers.MNC, // 10
406 case Telephony.Carriers.MNC:
493 // MCC is first 3 chars and then in 2 - 3 chars of MNC
498 String mnc = numeric.substring(3); local
499 // Auto populate MNC and MCC for new entries, based on what SIM reports
501 mMnc.setText(mnc);
502 mCurMnc = mnc;
853 String mnc = checkNotSet(mMnc.getText()); local
1063 String mnc = checkNotSet(mMnc.getText()); local
    [all...]
  /frameworks/base/telephony/java/android/provider/
Telephony.java     [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyManagerFacade.java 96 Telephony.Carriers.MNC, // 10
603 @Rpc(description = "Returns the numeric name (MCC+MNC) of registered operator." +
610 @Rpc(description = "Returns the numeric name (MCC+MNC) of registered operator" +
716 @Rpc(description = "Returns the MCC+MNC for default subscription ID")
722 @Rpc(description = "Returns the MCC+MNC for specified subscription ID")
1043 String mnc = ""; local
    [all...]
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
ResTable_config.java 120 int mnc = buffer.getShort() & 0xFFFF; local
177 return new ResTable_config(size, mcc, mnc, language, region, orientation,
191 MNC,
539 public int mnc; field in class:ResTable_config
632 return new ResTable_config(size, mcc, mnc, language, country,
639 public ResTable_config(int size, int mcc, int mnc, byte[] language, byte[] country,
647 this.mnc = mnc;
    [all...]
  /frameworks/base/core/java/android/content/res/
Configuration.java 27 import static android.content.ConfigurationProto.MNC;
99 * IMSI MNC (Mobile Network Code), corresponding to
100 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mnc</a>
101 * resource qualifier. 0 if undefined. Note that the actual MNC may be 0; in order to check
104 public int mnc; field in class:Configuration
107 * Constant used to to represent MNC (Mobile Network Code) zero.
108 * 0 cannot be used, since it is used to represent an undefined MNC.
    [all...]
  /frameworks/base/telephony/java/android/telephony/
SubscriptionManager.java 263 * TelephonyProvider column name for the MNC associated with a SIM.
267 public static final String MNC = "mnc";
    [all...]

Completed in 493 milliseconds

1 2