Home
last modified time | relevance | path

Searched refs:mnc (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java302 int mnc = 0; in getMccMnc() local
305 mnc = Integer.parseInt(mccmnc.substring(3)); in getMccMnc()
309 return new int[]{mcc, mnc}; in getMccMnc()
465 int mnc = 0; in getMccMnc() local
469 mnc = subInfo.getMnc(); 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/Messaging/src/com/android/messaging/ui/appsettings/
DApnEditorActivity.java268 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/com/android/messaging/sms/
DBugleCarrierConfigValuesLoader.java165 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/apps/Settings/src/com/android/settings/
DApnEditor.java287 String mnc = numeric.substring(3); in fillUi() local
290 mMnc.setText(mnc); in fillUi()
291 mCurMnc = mnc; in fillUi()
583 String mnc = checkNotSet(mMnc.getText()); in validateAndSave() local
629 values.put(Telephony.Carriers.MNC, mnc); in validateAndSave()
631 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSave()
634 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSave()
679 String mnc = checkNotSet(mMnc.getText()); in getErrorMsg() local
687 } else if ((mnc.length() & 0xFFFE) != 2) { in getErrorMsg()
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java140 final int mnc = mccMnc[1]; in getSubDepContext() local
141 if (mcc == 0 && mnc == 0) { in getSubDepContext()
146 subConfig.mnc = mnc; in getSubDepContext()
DDefaultApnSettingsLoader.java409 final String mnc = trimWithNullCheck(apnValues.getAsString(APN_MNC)); in loadFromResources()
413 mccMnc[1] == Integer.parseInt(mnc) && in loadFromResources()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java397 String mnc = ""; in getCarrierIdForPhoneId() local
406 mnc = simOperator.substring(3); in getCarrierIdForPhoneId()
415 return new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2); in getCarrierIdForPhoneId()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java521 final int previousMnc = sLocaleConfiguration.mnc; in checkForLocaleChange()
522 final int mnc = configuration.mnc; in checkForLocaleChange() local
524 …boolean localeChanged = !locale.equals(previousLocale) || mcc != previousMcc || mnc != previousMnc; in checkForLocaleChange()
529 sLocaleConfiguration.mnc = mnc; in checkForLocaleChange()
546 public int mnc = -1; field in Launcher.LocaleConfiguration
555 configuration.mnc = in.readInt(); in readConfiguration()
577 out.writeInt(configuration.mnc); in writeConfiguration()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java111 configuration.mcc + "/" + configuration.mnc); in loadInBackground()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java961 String mnc = parser.getAttributeValue(null, "mnc"); in getRow() local
962 String numeric = mcc + mnc; in getRow()
966 map.put(Telephony.Carriers.MNC, mnc); in getRow()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java141 + "-mnc=" + Integer.toString(config.mnc) in getConfigSignature()