/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 56 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testAllFilesParse() 71 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testFilterValidAttributes() 113 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testCarrierConfigFileNaming() 115 if (mccmnc == null) { in testCarrierConfigFileNaming() 156 mcc = (mcc != null) ? mcc : mccmnc.substring(0, 3); in testCarrierConfigFileNaming() 157 mnc = (mnc != null) ? mnc : mccmnc.substring(3); in testCarrierConfigFileNaming() 178 public void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, in testVariableNames() 227 void check(XmlPullParser parser, String mccmnc) throws XmlPullParserException, IOException; in check() argument 235 String mccmnc = null; in forEachConfigXml() local 244 mccmnc = fileName.substring("carrier_config_mccmnc_".length(), in forEachConfigXml() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/ |
D | RequestFactory.java | 151 String mccmnc = mTelephonyManager.getSimOperator(); // MCCMNC is 5 or 6 decimal digits in getImsiEap() local 152 if ((imsi == null) || (mccmnc == null) || (mccmnc.length() < 5)) { in getImsiEap() 155 String mcc = mccmnc.substring(0, 3); in getImsiEap() 156 String mnc = mccmnc.substring(3); in getImsiEap()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 668 String[] mccmnc = plmn.split("-"); in splitMccMnc() local 669 mccmnc[1] = String.format("%03d", Integer.parseInt(mccmnc[1])); in splitMccMnc() 670 return mccmnc; in splitMccMnc() 779 String[] mccmnc = splitMccMnc(plmn); in resolutionMethodPlmn() local 792 .append(mccmnc[1]) in resolutionMethodPlmn() 794 .append(mccmnc[0]) in resolutionMethodPlmn() 803 .append(mccmnc[1]) in resolutionMethodPlmn() 805 .append(mccmnc[0]) in resolutionMethodPlmn() 865 String[] mccmnc = splitMccMnc(plmn); in resolutionMethodCellularLoc() local 886 .append(mccmnc[1]) in resolutionMethodCellularLoc() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 303 final String mccmnc = mTelephonyManager.getSimOperator(); in getMccMnc() local 307 mcc = Integer.parseInt(mccmnc.substring(0, 3)); in getMccMnc() 308 mnc = Integer.parseInt(mccmnc.substring(3)); in getMccMnc() 310 LogUtil.w(TAG, "PhoneUtils.getMccMnc: invalid string " + mccmnc, e); in getMccMnc() 961 public static String getMccMncString(int[] mccmnc) { in getMccMncString() argument 962 if (mccmnc == null || mccmnc.length != 2) { in getMccMncString() 965 return String.format("%03d%03d", mccmnc[0], mccmnc[1]); in getMccMncString()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugMmsConfigFragment.java | 66 final int[] mccmnc = PhoneUtils.get(subIdArray[position]).getMccMnc(); in onCreateView() 69 title.setText("(" + mccmnc[0] + "/" + mccmnc[1] + ") " + in onCreateView()
|
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/ |
D | CellBroadcastBaseTest.java | 130 String mccmnc = tm.getSimOperator(SubscriptionManager.getDefaultSubscriptionId()); in onGsmBroadcastActivated() local 131 logd("onGsmBroadcastActivated, mccmnc = " + mccmnc); in onGsmBroadcastActivated() 132 if (sInputMccMnc != null && sInputMccMnc.equals(mccmnc)) { in onGsmBroadcastActivated()
|
/packages/apps/CarrierConfig/ |
D | README | 12 use carrier_config_mccmnc_<mccmnc>.xml only if there is no matching carrier id.
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 202 final String mccmnc = tm.getSimOperator(); in getResourcesForSubId() local 204 if (overrideInfo != null && overrideInfo.visitedMccMnc.equals(mccmnc)) { in getResourcesForSubId()
|
/packages/providers/TelephonyProvider/assets/ |
D | README | 25 device:/ # sqlite3 $DB "INSERT INTO carrier_id(mccmnc, gid1, carrier_id, carrier_name) VALUES (1234…
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCarrierInfoManagerTest.java | 1184 String mccmnc = "123456"; in getAnonymousIdentityWithSim() local 1186 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in getAnonymousIdentityWithSim() 1738 String mccmnc = "123456"; in testIdentityWithSimAndEapAkaMethodPrefix() local 1740 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in testIdentityWithSimAndEapAkaMethodPrefix()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 4599 String mccmnc = tm.getSimOperator(); in getSubscriptionMatchingAPNListSynchronized() local 4610 qb.appendWhereStandalone(NUMERIC + " = '" + mccmnc + "' OR " + in getSubscriptionMatchingAPNListSynchronized() 4619 if (DBG) log("subId:" + subId + " mccmnc=" + mccmnc + " carrierId=" + carrierId + in getSubscriptionMatchingAPNListSynchronized() 4656 && ret.getString(numericIndex).equals(mccmnc) in getSubscriptionMatchingAPNListSynchronized()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 3860 public int getCarrierIdFromMccMnc(int slotIndex, String mccmnc, boolean isSubscriptionMccMnc) { in getCarrierIdFromMccMnc() argument 3874 return CarrierResolver.getCarrierIdFromMccMnc(phone.getContext(), mccmnc); in getCarrierIdFromMccMnc() 10162 public void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String in setCarrierTestOverride() argument 10178 phone.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride()
|