Home
last modified time | relevance | path

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

/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java65 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/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/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/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/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java104 String mnc = null; in testCarrierConfigFileNaming()
116 mnc = parser.getAttributeValue(i); in testCarrierConfigFileNaming()
137 mnc = (mnc != null) ? mnc : mccmnc.substring(3); in testCarrierConfigFileNaming()
140 new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in testCarrierConfigFileNaming()
/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/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java150 String mnc = ""; in savePublicKey() local
155 mnc = networkOperator.substring(3); in savePublicKey()
156 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc); in savePublicKey()
160 mnc, type, identifier, keyBytes, new Date()); in savePublicKey()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java513 String mnc = numeric.substring(3); in fillUI() local
516 mMnc.setText(mnc); in fillUI()
517 mCurMnc = mnc; in fillUI()
868 String mnc = checkNotSet(mMnc.getText()); in validateAndSaveApnData() local
975 mnc, in validateAndSaveApnData()
979 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSaveApnData()
982 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSaveApnData()
1078 String mnc = checkNotSet(mMnc.getText()); in validateApnData() local
1086 } else if ((mnc == null || (mnc.length() & 0xFFFE) != 2)) { in validateApnData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java513 String mnc = numeric.substring(3); in fillUI() local
516 mMnc.setText(mnc); in fillUI()
517 mCurMnc = mnc; in fillUI()
868 String mnc = checkNotSet(mMnc.getText()); in validateAndSaveApnData() local
975 mnc, in validateAndSaveApnData()
979 values.put(Telephony.Carriers.NUMERIC, mcc + mnc); in validateAndSaveApnData()
982 if (mCurMnc.equals(mnc) && mCurMcc.equals(mcc)) { in validateAndSaveApnData()
1078 String mnc = checkNotSet(mMnc.getText()); in validateApnData() local
1086 } else if ((mnc == null || (mnc.length() & 0xFFFE) != 2)) { in validateApnData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DCellInfoUtil.java139 String mnc = null; in convertOperatorInfoToCellInfo() local
142 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo()
150 mnc, in convertOperatorInfoToCellInfo()
/packages/services/Telephony/src/com/android/phone/
DCellInfoUtil.java139 String mnc = null; in convertOperatorInfoToCellInfo() local
142 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo()
150 mnc, in convertOperatorInfoToCellInfo()
DNetworkQueryService.java383 String mnc = null; in getCellInfoList() local
387 mnc = operatorNumeric.substring(3); in getCellInfoList()
395 mnc, in getCellInfoList()
DCarrierConfigLoader.java616 String mnc = ""; in getCarrierIdentifierForPhoneId() local
627 mnc = simOperator.substring(3); in getCarrierIdentifierForPhoneId()
637 return new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2, carrierId, specificCarrierId); in getCarrierIdentifierForPhoneId()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DCellInfoUtil.java140 String mnc = null; in convertOperatorInfoToCellInfo() local
143 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo()
151 mnc, in convertOperatorInfoToCellInfo()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java238 String mnc = ""; in getMnc() local
240 mnc = ((CellInfoLte) cellInfo).getCellIdentity().getMncString(); in getMnc()
243 return mnc; in getMnc()
246 private int getSubIdUsingAvailableNetworks(String mcc, String mnc, int priorityLevel) { in getSubIdUsingAvailableNetworks() argument
247 String mccMnc = mcc + mnc; in getSubIdUsingAvailableNetworks()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java1963 String mnc = parser.getAttributeValue(null, "mnc"); in getRow() local
1964 String numeric = mcc + mnc; in getRow()
1968 map.put(MNC, mnc); in getRow()
3998 int mcc, mnc; in fillInMccMncStringAtCursor() local
4002 mnc = c.getInt(c.getColumnIndexOrThrow(SubscriptionManager.MNC)); in fillInMccMncStringAtCursor()
4011 String mncString = getBestStringMnc(context, mccString, mnc); in fillInMccMncStringAtCursor()
4024 private static String getBestStringMnc(Context context, String mcc, int mnc) { in getBestStringMnc() argument
4025 if (mnc >= 100 && mnc <= 999) { in getBestStringMnc()
4026 return String.valueOf(mnc); in getBestStringMnc()
4028 String twoDigitMnc = String.format(Locale.getDefault(), "%02d", mnc); in getBestStringMnc()
/packages/apps/CarrierConfig/
DREADME7 CarrierIdentifier objects, rather than just mcc/mnc. per-network configuration files live in assets
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java114 configuration.mcc + "/" + configuration.mnc); in loadInBackground()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java330 int mnc = Integer.valueOf(mccMncs.get(idx).substring(3)); in testMccMncMigration()
333 cv.put(SubscriptionManager.MNC, mnc); in testMccMncMigration()
358 String mnc = c.getString(c.getColumnIndexOrThrow(SubscriptionManager.MNC_STRING)); in testMccMncMigration() local
359 assertTrue(mccMncs.contains(mcc + mnc)); in testMccMncMigration()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java141 + "-mnc=" + Integer.toString(config.mnc) in getConfigSignature()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar8109 �1��?�g�X���C�jΨY��n���Ҳmnc�èR�d;?C\rz�GDi[>��v9�^E