/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/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/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/com/android/messaging/util/ |
D | PhoneUtils.java | 302 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/ |
D | CarrierConfigTest.java | 104 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/ |
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()
|
D | DefaultApnSettingsLoader.java | 409 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/ |
D | TestCertActivity.java | 150 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/ |
D | ApnEditor.java | 513 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/ |
D | ApnEditor.java | 513 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/ |
D | CellInfoUtil.java | 139 String mnc = null; in convertOperatorInfoToCellInfo() local 142 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo() 150 mnc, in convertOperatorInfoToCellInfo()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CellInfoUtil.java | 139 String mnc = null; in convertOperatorInfoToCellInfo() local 142 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo() 150 mnc, in convertOperatorInfoToCellInfo()
|
D | NetworkQueryService.java | 383 String mnc = null; in getCellInfoList() local 387 mnc = operatorNumeric.substring(3); in getCellInfoList() 395 mnc, in getCellInfoList()
|
D | CarrierConfigLoader.java | 616 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/ |
D | CellInfoUtil.java | 140 String mnc = null; in convertOperatorInfoToCellInfo() local 143 mnc = operatorNumeric.substring(3); in convertOperatorInfoToCellInfo() 151 mnc, in convertOperatorInfoToCellInfo()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSProfileSelector.java | 238 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/ |
D | TelephonyProvider.java | 1963 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/ |
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 | 330 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/ |
D | PartnerBookmarksProvider.java | 141 + "-mnc=" + Integer.toString(config.mnc) in getConfigSignature()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 8109 �1��?�g�X���C�jΨY��n���Ҳmnc�èR�d;?C\rz�GDi[>��v9�^E
|