/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 64 public int mcc; field in StkMenuConfig.Config 69 public Config(int mcc, int mnc, String label, String icon) { in Config() argument 70 this.mcc = mcc; in Config() 132 int mcc = Integer.parseInt(operator.substring(0, 3)); in findConfig() local 135 if (mConfigs[slotId] != null && mConfigs[slotId].mcc == mcc in findConfig() 143 if ((config.mcc == mcc) && (config.mnc == mnc)) { in findConfig() 149 mConfigs[slotId] = new Config(mcc, mnc, null, null); in findConfig() 169 int mcc = parser.getAttributeIntValue(null, XML_MCC_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/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 164 final int mcc = mccMnc[0]; in getSubDepContext() local 167 if (mcc == 0 && mnc == 0) { in getSubDepContext() 169 subConfig.mcc = config.mcc; in getSubDepContext() 172 subConfig.mcc = mcc; in getSubDepContext()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnEditorActivity.java | 266 String mcc = numeric.substring(0, 3); in fillUi() local 270 mMcc.setText(mcc); in fillUi() 273 mCurMcc = mcc; in fillUi() 352 final String mcc = checkNotSet(mMcc.getText()); in validateAndSave() local 378 values.put(Telephony.Carriers.MCC, mcc); in validateAndSave() 381 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSave() 384 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSave() 441 String mcc = checkNotSet(mMcc.getText()); in getErrorMsg() local 446 } else if (mcc.length() != 3) { in getErrorMsg()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 301 int mcc = 0; in getMccMnc() local 304 mcc = Integer.parseInt(mccmnc.substring(0, 3)); in getMccMnc() 309 return new int[]{mcc, mnc}; in getMccMnc() 464 int mcc = 0; in getMccMnc() local 468 mcc = subInfo.getMcc(); in getMccMnc() 471 return new int[]{mcc, mnc}; in getMccMnc() 962 public static String canonicalizeMccMnc(final String mcc, final String mnc) { in canonicalizeMccMnc() argument 964 return String.format("%03d%03d", Integer.parseInt(mcc), Integer.parseInt(mnc)); in canonicalizeMccMnc() 967 LogUtil.w(TAG, "canonicalizeMccMnc: invalid mccmnc:" + mcc + " ," + mnc); in canonicalizeMccMnc() 969 return mcc + mnc; in canonicalizeMccMnc()
|
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/ |
D | CarrierConfigTest.java | 103 String mcc = null; in testCarrierConfigFileNaming() 113 mcc = parser.getAttributeValue(i); in testCarrierConfigFileNaming() 136 mcc = (mcc != null) ? mcc : mccmnc.substring(0, 3); in testCarrierConfigFileNaming() 140 new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in testCarrierConfigFileNaming()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 139 final int mcc = mccMnc[0]; in getSubDepContext() local 141 if (mcc == 0 && mnc == 0) { in getSubDepContext() 145 subConfig.mcc = mcc; in getSubDepContext()
|
D | DefaultApnSettingsLoader.java | 408 final String mcc = trimWithNullCheck(apnValues.getAsString(APN_MCC)); in loadFromResources() 412 if (mccMnc[0] == Integer.parseInt(mcc) && in loadFromResources()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCertActivity.java | 149 String mcc = ""; in savePublicKey() local 154 mcc = networkOperator.substring(0, 3); in savePublicKey() 156 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc); in savePublicKey() 159 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, in savePublicKey()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ApnEditor.java | 511 String mcc = numeric.substring(0, 3); in fillUI() local 515 mMcc.setText(mcc); in fillUI() 518 mCurMcc = mcc; in fillUI() 867 String mcc = checkNotSet(mMcc.getText()); in validateAndSaveApnData() local 969 mcc, in validateAndSaveApnData() 979 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSaveApnData() 982 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSaveApnData() 1077 String mcc = checkNotSet(mMcc.getText()); in validateApnData() local 1084 } else if (mcc == null || mcc.length() != 3) { in validateApnData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | ApnEditor.java | 511 String mcc = numeric.substring(0, 3); in fillUI() local 515 mMcc.setText(mcc); in fillUI() 518 mCurMcc = mcc; in fillUI() 867 String mcc = checkNotSet(mMcc.getText()); in validateAndSaveApnData() local 969 mcc, in validateAndSaveApnData() 979 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSaveApnData() 982 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSaveApnData() 1077 String mcc = checkNotSet(mMcc.getText()); in validateApnData() local 1084 } else if (mcc == null || mcc.length() != 3) { in validateApnData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | CellInfoUtil.java | 138 String mcc = null; in convertOperatorInfoToCellInfo() local 141 mcc = operatorNumeric.substring(0, 3); in convertOperatorInfoToCellInfo() 149 mcc, in convertOperatorInfoToCellInfo()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CellInfoUtil.java | 138 String mcc = null; in convertOperatorInfoToCellInfo() local 141 mcc = operatorNumeric.substring(0, 3); in convertOperatorInfoToCellInfo() 149 mcc, in convertOperatorInfoToCellInfo()
|
D | NetworkQueryService.java | 382 String mcc = null; in getCellInfoList() local 386 mcc = operatorNumeric.substring(0, 3); in getCellInfoList() 394 mcc, in getCellInfoList()
|
D | CarrierConfigLoader.java | 615 String mcc = ""; in getCarrierIdentifierForPhoneId() local 626 mcc = simOperator.substring(0, 3); in getCarrierIdentifierForPhoneId() 637 return new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2, carrierId, specificCarrierId); in getCarrierIdentifierForPhoneId()
|
D | PhoneInterfaceManager.java | 5460 final int mcc = info.getMcc(); in getSimLocaleForSubscriber() local 5477 final Locale mccLocale = MccTable.getLocaleFromMcc(mApp, mcc, simLanguage); in getSimLocaleForSubscriber()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | CellInfoUtil.java | 139 String mcc = null; in convertOperatorInfoToCellInfo() local 142 mcc = operatorNumeric.substring(0, 3); in convertOperatorInfoToCellInfo() 150 mcc, in convertOperatorInfoToCellInfo()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 229 String mcc = ""; in getMcc() local 231 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMccString(); in getMcc() 234 return mcc; in getMcc() 246 private int getSubIdUsingAvailableNetworks(String mcc, String mnc, int priorityLevel) { in getSubIdUsingAvailableNetworks() argument 247 String mccMnc = mcc + mnc; in getSubIdUsingAvailableNetworks()
|
/packages/apps/CarrierConfig/ |
D | README | 7 CarrierIdentifier objects, rather than just mcc/mnc. per-network configuration files live in assets
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsConfigManager.java | 114 configuration.mcc + "/" + configuration.mnc); in loadInBackground()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyProviderTest.java | 329 int mcc = Integer.valueOf(mccMncs.get(idx).substring(0, 3)); in testMccMncMigration() 332 cv.put(SubscriptionManager.MCC, mcc); in testMccMncMigration() 357 String mcc = c.getString(c.getColumnIndexOrThrow(SubscriptionManager.MCC_STRING)); in testMccMncMigration() local 359 assertTrue(mccMncs.contains(mcc + mnc)); in testMccMncMigration()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 1962 String mcc = parser.getAttributeValue(null, "mcc"); in getRow() local 1964 String numeric = mcc + mnc; in getRow() 1967 map.put(MCC, mcc); in getRow() 3998 int mcc, mnc; in fillInMccMncStringAtCursor() local 4001 mcc = c.getInt(c.getColumnIndexOrThrow(SubscriptionManager.MCC)); in fillInMccMncStringAtCursor() 4010 String mccString = String.format(Locale.getDefault(), "%03d", mcc); in fillInMccMncStringAtCursor() 4024 private static String getBestStringMnc(Context context, String mcc, int mnc) { in getBestStringMnc() argument 4036 /* selectionArgs */ new String[]{mcc + twoDigitMnc}, null) in getBestStringMnc()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 140 return "mmc=" + Integer.toString(config.mcc) in getConfigSignature()
|