/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 65 public int mnc; field in StkMenuConfig.Config 69 public Config(int mcc, int mnc, String label, String icon) { in Config() argument 71 this.mnc = mnc; in Config() 133 int mnc = Integer.parseInt(operator.substring(3)); in findConfig() local 136 && mConfigs[slotId].mnc == mnc) { in findConfig() 143 if ((config.mcc == mcc) && (config.mnc == mnc)) { in findConfig() 149 mConfigs[slotId] = new Config(mcc, mnc, null, null); in findConfig() 170 int mnc = parser.getAttributeIntValue(null, XML_MNC_ATTR, UNSPECIFIED); in initialize() local 172 if ((mcc == UNSPECIFIED) || (mnc == UNSPECIFIED)) { in initialize() 179 Config config = new Config(mcc, mnc, label, icon); in initialize()
|
/packages/services/Telephony/tests/src/com/android/phone/ecc/ |
D | EccDataTest.java | 71 for (String mnc : eccInfo.normalRoutingMncs) { in testEccDataContent() 72 assertThat(mnc).isNotEmpty(); in testEccDataContent() 73 assertThat(mnc).isEqualTo(mnc.trim()); in testEccDataContent() 74 assertThat(loadedMncs.contains(mnc)).isFalse(); in testEccDataContent() 75 assertThat(mnc.length()).isGreaterThan(1); in testEccDataContent() 76 assertThat(mnc.length()).isLessThan(4); in testEccDataContent() 77 loadedMncs.add(mnc); in testEccDataContent()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 165 final int mnc = mccMnc[1]; in getSubDepContext() local 167 if (mcc == 0 && mnc == 0) { in getSubDepContext() 170 subConfig.mnc = config.mnc; in getSubDepContext() 173 subConfig.mnc = mnc; in getSubDepContext()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanHelper.java | 68 String mnc = subInfo.getMncString(); in getNai() local 69 mnc = (mnc.length() == 2) ? '0' + mnc : mnc; in getNai() 75 .append(mnc) in getNai()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnEditorActivity.java | 268 String mnc = numeric.substring(3); in fillUi() local 271 mMnc.setText(mnc); in fillUi() 272 mCurMnc = mnc; in fillUi() 353 final String mnc = checkNotSet(mMnc.getText()); in validateAndSave() local 379 values.put(Telephony.Carriers.MNC, mnc); in validateAndSave() 381 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSave() 384 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSave() 442 String mnc = checkNotSet(mMnc.getText()); in getErrorMsg() local 448 } else if ((mnc.length() & 0xFFFE) != 2) { in getErrorMsg()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 140 final int mnc = mccMnc[1]; in getSubDepContext() local 141 if (mcc == 0 && mnc == 0) { in getSubDepContext() 146 subConfig.mnc = mnc; in getSubDepContext()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | CellInfoUtil.kt | 77 val mnc = mncString in <lambda>() constant 78 return if (mcc == null || mnc == null) null else mcc + mnc in <lambda>()
|
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 124 String mnc = null; in testCarrierConfigFileNaming() 136 mnc = parser.getAttributeValue(i); in testCarrierConfigFileNaming() 157 mnc = (mnc != null) ? mnc : mccmnc.substring(3); in testCarrierConfigFileNaming() 160 new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in testCarrierConfigFileNaming()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 305 int mnc = 0; in getMccMnc() local 308 mnc = Integer.parseInt(mccmnc.substring(3)); in getMccMnc() 312 return new int[]{mcc, mnc}; in getMccMnc() 471 int mnc = 0; in getMccMnc() local 475 mnc = subInfo.getMnc(); in getMccMnc() 477 return new int[]{mcc, mnc}; in getMccMnc() 968 public static String canonicalizeMccMnc(final String mcc, final String mnc) { in canonicalizeMccMnc() argument 970 return String.format("%03d%03d", Integer.parseInt(mcc), Integer.parseInt(mnc)); in canonicalizeMccMnc() 973 LogUtil.w(TAG, "canonicalizeMccMnc: invalid mccmnc:" + mcc + " ," + mnc); in canonicalizeMccMnc() 975 return mcc + mnc; in canonicalizeMccMnc()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | CellularNetwork.java | 158 int mnc = ((plmn[2] << 4) & 0xF0) | ((plmn[2] >> 4) & 0x0F); in parsePlmn() local 164 ? String.format("%03x%03x", mcc, (mnc << 4) | mncDigit3) in parsePlmn() 165 : String.format("%03x%02x", mcc, mnc); in parsePlmn()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCertActivity.java | 140 String mnc = ""; in savePublicKey() local 145 mnc = networkOperator.substring(3); in savePublicKey() 146 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc + ", carrierId = " in savePublicKey() 150 mnc, type, identifier, keyBytes, new Date(), carrierId); in savePublicKey()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CellInfoUtil.java | 140 String mnc = null; in convertOperatorInfoToCellInfo() local 143 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo() 151 mnc, in convertOperatorInfoToCellInfo()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnEditor.java | 592 final String mnc = (subInfo == null) ? null : subInfo.getMncString(); in fillUI() local 597 mMnc.setText(mnc); in fillUI() 598 mCurMnc = mnc; in fillUI() 762 final String mnc = (subInfo == null) ? "" : in mvnoDescription() local 764 mMvnoMatchData.setText(mcc + mnc + "x"); in mvnoDescription() 986 final String mnc = checkNotSet(mMnc.getText()); in validateAndSaveApnData() local 1093 mnc, in validateAndSaveApnData() 1097 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSaveApnData() 1100 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSaveApnData() 1196 final String mnc = checkNotSet(mMnc.getText()); in validateApnData() local [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkSelectSettingsTest.java | 311 private CellInfoLte createLteCellInfo(boolean registered, int cellId, String mcc, String mnc, in createLteCellInfo() argument 314 cellId, 5, 200, 2000, new int[]{1, 2}, 10000, mcc, mnc, plmnName, plmnName, in createLteCellInfo() 326 private CellInfoGsm createGsmCellInfo(boolean registered, int cellId, String mcc, String mnc, in createGsmCellInfo() argument 328 CellIdentityGsm cig = new CellIdentityGsm(1, cellId, 40, 5, mcc, mnc, plmnName, plmnName, in createGsmCellInfo()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 352 assertEquals(config.mnc, res.configuration.mnc) in testGetResourcesForSubId() 357 assertEquals(config.mnc, res.configuration.mnc) in testGetResourcesForSubId() 362 assertEquals(480, res.configuration.mnc) in testGetResourcesForSubId()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 284 String mnc = ""; in getMnc() local 286 mnc = ((CellInfoLte) cellInfo).getCellIdentity().getMncString(); in getMnc() 289 mnc = ((CellInfoNr) cellInfo).getCellIdentity().getMncString(); in getMnc() 292 return mnc; in getMnc() 295 private int getSubIdUsingAvailableNetworks(String mcc, String mnc, int priorityLevel) { in getSubIdUsingAvailableNetworks() argument 296 String mccMnc = mcc + mnc; in getSubIdUsingAvailableNetworks()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/ |
D | RequestFactory.java | 156 String mnc = mccmnc.substring(3); in getImsiEap() local 157 return String.format("0%s@nai.epc.mnc%s.mcc%s.3gppnetwork.org", imsi, mnc, mcc); in getImsiEap()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdater.java | 127 MccMncOverrideInfo(String visitedMccMnc, int mcc, int mnc) { in MccMncOverrideInfo() argument 130 this.homeMnc = mnc; in MccMncOverrideInfo() 208 config.mnc = overrideInfo.homeMnc; in getResourcesForSubId()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastSettingsTest.java | 289 int mnc = 456; in testGetResourcesByOperator() local 297 Integer.toString(mcc) + Integer.toString(mnc)); in testGetResourcesByOperator() 302 assertEquals(mnc, captorConfig.getValue().mnc); in testGetResourcesByOperator()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | DynamicRoutingControllerTest.java | 195 private EmergencyNumber getEmergencyNumber(String iso, String number, String mnc) { in getEmergencyNumber() argument 196 return new EmergencyNumber(number, iso, mnc, in getEmergencyNumber()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | NetworkProviderSimListControllerTest.java | 143 int carrierId, String displayName, String mcc, String mnc, String countryIso, in setupSubscriptionInfoEntity() argument 146 mcc, mnc, countryIso, false, cardId, TelephonyManager.DEFAULT_PORT_INDEX, false, in setupSubscriptionInfoEntity()
|
D | InternetPreferenceControllerTest.java | 181 int carrierId, String displayName, String mcc, String mnc, String countryIso, in setupSubscriptionInfoEntity() argument 185 displayName, displayName, 0, mcc, mnc, countryIso, false, cardId, in setupSubscriptionInfoEntity()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgSelectorTest.java | 935 private void setAnswerForCellularMethod(boolean isEmergency, int mcc, int mnc) in setAnswerForCellularMethod() argument 939 ? "lacffcc.sos.epdg.epc.mnc" + mnc + ".mcc" + mcc + ".pub.3gppnetwork.org" in setAnswerForCellularMethod() 940 : "lacffcc.epdg.epc.mnc" + mnc + ".mcc" + mcc + ".pub.3gppnetwork.org"; in setAnswerForCellularMethod() 944 + mnc in setAnswerForCellularMethod() 949 + mnc in setAnswerForCellularMethod() 956 + mnc in setAnswerForCellularMethod() 961 + mnc in setAnswerForCellularMethod()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 2257 String mnc; in extractMccMnc() local 2260 mnc = mccMnc.substring(3); in extractMccMnc() 2261 if (mnc.length() == 2) { in extractMccMnc() 2262 mnc = "0" + mnc; in extractMccMnc() 2267 mnc = imsi.substring(3, 6); in extractMccMnc() 2268 vlogd("Guessing from IMSI, MCC=" + mcc + "; MNC=" + mnc); in extractMccMnc() 2272 return Pair.create(mcc, mnc); in extractMccMnc()
|
/packages/apps/CarrierConfig/ |
D | README | 7 CarrierIdentifier objects, rather than just mcc/mnc. per-network configuration files live in assets
|