HomeSort by relevance Sort by last modified time
    Searched defs:mccMnc (Results 1 - 14 of 14) sorted by null

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
TelephonyUtil.java 36 String mccMnc = "";
39 mccMnc = tm.getSimOperator();
42 return buildIdentity(eapMethod, imsi, mccMnc);
56 private static String buildIdentity(int eapMethod, String imsi, String mccMnc) {
72 /* extract mcc & mnc from mccMnc */
75 if (mccMnc != null && !mccMnc.isEmpty()) {
76 mcc = mccMnc.substring(0, 3);
77 mnc = mccMnc.substring(3);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
CellularNetwork.java 34 String mccMnc = n2 != 0xf ?
38 mMccMnc.add(mccMnc);
65 for (String mccMnc : mMccMnc) {
66 sb.append(' ').append(mccMnc);
  /packages/apps/Messaging/src/android/support/v7/mms/
Utils.java 103 final int[] mccMnc = new int[] { 0, 0 };
108 mccMnc[0] = subInfo.getMcc();
109 mccMnc[1] = subInfo.getMnc();
116 mccMnc[0] = Integer.parseInt(mccMncString.substring(0, 3));
117 mccMnc[1] = Integer.parseInt(mccMncString.substring(3));
120 mccMnc[0] = 0;
121 mccMnc[1] = 0;
124 return mccMnc;
138 final int[] mccMnc = getMccMnc(context, subId);
139 final int mcc = mccMnc[0]
    [all...]
DefaultApnSettingsLoader.java 396 final int[] mccMnc = Utils.getMccMnc(mContext, subId);
397 if (mccMnc[0] == 0 && mccMnc[0] == 0) {
412 if (mccMnc[0] == Integer.parseInt(mcc) &&
413 mccMnc[1] == Integer.parseInt(mnc) &&
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
VisualVoicemailSmsFilter.java 98 String mccMnc = telephonyManager.getSimOperator(subId);
100 List<Pattern> patterns = sPatterns.get(mccMnc);
127 for (String mccMnc : mccMncList) {
128 if (!sPatterns.containsKey(mccMnc)) {
129 sPatterns.put(mccMnc, new ArrayList<>());
131 sPatterns.get(mccMnc).add(pattern);
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/
SimChangeReceiver.java 115 String mccMnc = context.getSystemService(TelephonyManager.class).getSimOperator(subId);
117 "visual voicemail not supported for carrier " + mccMnc + " on subId " + subId);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
HomeSP.java 276 for (String mccMnc : network) {
277 String imsi = imsiMatch(imsis, mccMnc);
290 String mccMnc = Utils.getMccMnc(fqdn);
291 return mccMnc != null ? imsiMatch(imsis, mccMnc) : null;
294 private String imsiMatch(List<String> imsis, String mccMnc) {
295 if (mCredential.getImsi().matchesMccMnc(mccMnc)) {
297 if (imsi.startsWith(mccMnc)) {
  /packages/apps/Messaging/src/com/android/messaging/sms/
BugleCarrierConfigValuesLoader.java 137 public void process(final String mccMnc, final String key, final String value,
163 final int[] mccMnc = PhoneUtils.get(subId).getMccMnc();
164 final int mcc = mccMnc[0];
165 final int mnc = mccMnc[1];
BugleApnSettingsLoader.java 497 final String mccMnc = PhoneUtils.getMccMncString(PhoneUtils.getDefault().getMccMnc());
499 cursor = queryLocalDatabase(database, mccMnc, apnName);
501 cursor = queryLocalDatabase(database, mccMnc, null/*apnName*/);
629 public static String getFirstTryApn(final SQLiteDatabase database, final String mccMnc) {
633 cursor = queryLocalDatabase(database, mccMnc, null/*apnName*/);
  /packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
ApnSettingsActivity.java 219 final String mccMnc = PhoneUtils.getMccMncString(PhoneUtils.get(mSubId).getMccMnc());
225 String[] selectionArgs = new String[]{ mccMnc };
239 mSelectedKey = BugleApnSettingsLoader.getFirstTryApn(mDatabase, mccMnc);
  /frameworks/base/services/core/java/com/android/server/location/
GnssLocationProvider.java 519 private final boolean isVerizon(String mccMnc, String imsi, String groupId) {
520 if (DEBUG) Log.d(TAG, "simOperator: " + mccMnc);
521 if (!TextUtils.isEmpty(mccMnc) || !TextUtils.isEmpty(imsi)) {
523 if ((!TextUtils.isEmpty(mccMnc) && mccMnc.equals(VzwMccMncList[i])) ||
540 String mccMnc = phone.getSimOperator();
543 if (!TextUtils.isEmpty(mccMnc)) {
544 if (DEBUG) Log.d(TAG, "SIM MCC/MNC is available: " + mccMnc);
546 if (isVerizon(mccMnc, imsi, groupId)) {
    [all...]
  /external/robolectric/v3/runtime/
android-all-5.1.1_r9-robolectric-1.jar 
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 

Completed in 590 milliseconds