Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockSimService.java198 public void setImsi(String mcc, String mnc, String msin) { in setImsi() argument
200 setMnc(mnc); in setImsi()
216 public void setMnc(String mnc) { in setMnc() argument
217 mMnc = mnc; in setMnc()
1117 private boolean setMnc(String mnc) { in setMnc() argument
1120 if (mnc.length() == 2 || mnc.length() == 3) { in setMnc()
1123 activeSimAppData.setMnc(mnc); in setMnc()
1133 String mnc; in getMccMnc() local
1139 mnc = activeSimAppData.getMnc(); in getMccMnc()
1142 && mnc != null in getMccMnc()
[all …]
DMockEmergencyRegResult.java90 @NonNull String mcc, @NonNull String mnc) { in MockEmergencyRegResult() argument
99 mMnc = mnc; in MockEmergencyRegResult()
DMockNetworkConfig.java149 lte.cellIdentityLte.mnc = parser.nextText().trim(); in loadLteCellIdentity()
270 wcdma.cellIdentityWcdma.mnc = parser.nextText().trim(); in loadWcdmaCellIdentity()
DIRadioNetworkImpl.java1195 result.mnc = regResult.getMnc(); in convertEmergencyRegResult()
DIRadioVoiceImpl.java1130 number.mnc = ""; in notifyEmergencyNumberList()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java56 mConfig.mcc = mConfig.mnc = 1; in makeConfiguration()
181 cfg1.mnc = 2; in testCompareTo()
182 cfg2.mnc = 3; in testCompareTo()
184 cfg1.mnc = 3; in testCompareTo()
185 cfg2.mnc = 2; in testCompareTo()
214 cfg1.mnc = 2; in testGenerateDiff()
215 cfg2.mnc = 3; in testGenerateDiff()
302 config.mnc = 1; in testDiff()
491 assertEquals(0, config.mnc); in testSetToDefaults()
521 assertEquals(0, config.mnc); in testUnset()
[all …]
DResourcesTest.java155 private Resources getResources(final Configuration config, final int mcc, final int mnc, in getResources() argument
165 config.mnc = mnc; in getResources()
DConfigTest.java130 mConfig.mnc = value; in setProperty()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java513 private static void verifyPlmnInfo(String mccStr, String mncStr, int mcc, int mnc) { in verifyPlmnInfo() argument
517 mnc == CellInfo.UNAVAILABLE && mccStr == null && mncStr == null); in verifyPlmnInfo()
522 assertTrue("getMnc() out of range [0, 999], mnc=" + mnc, (mnc >= 0 && mnc <= 999)); in verifyPlmnInfo()
539 assertTrue("MncString must match Mnc Integer, str=" + mncStr + " int=" + mnc, in verifyPlmnInfo()
540 mncStr == null || mnc == Integer.parseInt(mncStr)); in verifyPlmnInfo()
DTelephonyManagerTestOnMockModem.java1067 carrier.mnc = "599"; in getCarrierList()
1207 plmn1.mnc = "546"; in getCarrierRestrictionRules_WithEphlmnList()
1211 plmn2.mnc = "***"; in getCarrierRestrictionRules_WithEphlmnList()
1252 private android.hardware.radio.sim.CarrierInfo getCarrierInfo(String mcc, String mnc, in getCarrierInfo() argument
1258 carrierInfo.mnc = mnc; in getCarrierInfo()
DDomainSelectionServiceTestOnMockModem.java437 @NonNull String mcc, @NonNull String mnc) { in getEmergencyRegResult() argument
440 emc, emf, mcc, mnc); in getEmergencyRegResult()
DSubscriptionManagerTest.java319 assertEquals(mSm.getActiveSubscriptionInfo(mSubId).getMnc(), r.getConfiguration().mnc); in testGetResourcesForSubId()
882 String mnc = info.getMncString(); in testMccMncString() local
884 assertTrue(mnc == null || mnc.length() <= 3); in testMccMncString()
DTelephonyManagerTest.java5579 private static boolean validateEmergencyNumberMnc(String mnc) { in validateEmergencyNumberMnc() argument
5580 if (mnc == null) { in validateEmergencyNumberMnc()
5583 int length = mnc.length(); in validateEmergencyNumberMnc()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityManagerGetConfigTests.java252 config.mnc, resConfig.configuration.mnc); in checkResourceConfig()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DDomainSelectionCrossSimRedialingTestOnMockModem.java422 @NonNull String mcc, @NonNull String mnc) { in getEmergencyRegResult() argument
425 emc, emf, mcc, mnc); in getEmergencyRegResult()
DEmergencyCallDomainSelectionTestOnMockModem.java1436 @NonNull String mcc, @NonNull String mnc) { in getEmergencyRegResult() argument
1439 emc, emf, mcc, mnc); in getEmergencyRegResult()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java774 assertEquals(MNC_TO_UPDATE, Integer.toString(changedConfig.mnc)); in testUpdateMccMncConfiguration()
781 Integer.toString(originalConfig.mnc))); in testUpdateMccMncConfiguration()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13877 field public int mnc;
37836 field @Deprecated public static final String MNC = "mnc";