Home
last modified time | relevance | path

Searched refs:TEST_SUBID (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DTelephonyNetworkSpecifierTest.java41 private static final int TEST_SUBID = 5; field in TelephonyNetworkSpecifierTest
75 .setSubscriptionId(TEST_SUBID) in testBuilderBuildWithValidSubId()
77 assertEquals(TEST_SUBID, specifier.getSubscriptionId()); in testBuilderBuildWithValidSubId()
86 .setSubscriptionId(TEST_SUBID) in testParcel()
97 .setSubscriptionId(TEST_SUBID) in testCanBeSatisfiedBy()
100 .setSubscriptionId(TEST_SUBID) in testCanBeSatisfiedBy()
DNetworkStatsCollectionTest.java98 private static final int TEST_SUBID = 1; field in NetworkStatsCollectionTest
252 TEST_IMSI, null, false, true, true, OEM_NONE, TEST_SUBID)); in testAccessLevels()
514 false, true, true, OEM_NONE, TEST_SUBID)); in testAugmentPlanGigantic()
/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DMmsNetworkManagerTest.java58 private static final int TEST_SUBID = 1234; field in MmsNetworkManagerTest
96 doReturn(mConfig).when(mCarrierConfigManager).getConfigForSubId(TEST_SUBID); in setup()
98 mMnm = new MmsNetworkManager(mCtx, TEST_SUBID, mDeps); in setup()
215 MmsNetworkManager mmsNetworkManager = new MmsNetworkManager(mCtx, TEST_SUBID, mDeps); in testHandleCarrierConfigChanged()
223 mmsNetworkManager = new MmsNetworkManager(mCtx, TEST_SUBID, mDeps); in testHandleCarrierConfigChanged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java153 private static final int TEST_SUBID = 1; field in WifiNetworkSuggestionsManagerTest
301 .thenReturn(TEST_SUBID); in setUp()
616 networkSuggestion.wifiConfiguration.subscriptionId = TEST_SUBID; in testSetSubscriptionIdOnPreSDevices()
945 networkSuggestion.wifiConfiguration.subscriptionId = TEST_SUBID; in testAddNetworkSuggestionWithMismatchBetweenCarrierIdAndSubId()
3487 placeholderConfig.subscriptionId = TEST_SUBID; in testIsPasspointSuggestionSharedWithUserSetToTrue()
3489 .thenReturn(TEST_SUBID); in testIsPasspointSuggestionSharedWithUserSetToTrue()
3490 when(mWifiCarrierInfoManager.isSimReady(TEST_SUBID)).thenReturn(false); in testIsPasspointSuggestionSharedWithUserSetToTrue()
3494 when(mWifiCarrierInfoManager.isSimReady(TEST_SUBID)).thenReturn(true); in testIsPasspointSuggestionSharedWithUserSetToTrue()
3623 .thenReturn(TEST_SUBID); in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
3624 when(mWifiCarrierInfoManager.isSimReady(TEST_SUBID)).thenReturn(true); in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt73 const val TEST_SUBID = 1 constant
120 if (subId == TEST_SUBID) testResources else super.getResourcesForSubId(c, subId) in createContextAsUser()
235 notificationUpdater.onActiveDataSubscriptionIdChanged(TEST_SUBID) in testRestrictedNotification()
295 notificationUpdater.onActiveDataSubscriptionIdChanged(TEST_SUBID) in testNoUpstreamNotification()
373 notificationUpdater.onActiveDataSubscriptionIdChanged(TEST_SUBID) in testRoamingNotification()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java115 private static final String TEST_SUBID = "1"; field in TelephonyProviderTest
125 "content://telephony/carriers/subId/" + TEST_SUBID);
129 "content://telephony/carriers/restore/subId/" + TEST_SUBID);
132 "content://telephony/carriers/preferapn/subId/" + TEST_SUBID);
134 "content://telephony/siminfo/" + TEST_SUBID);
1933 Uri.withAppendedPath(Carriers.CONTENT_URI, "preferapnset/subId/" + TEST_SUBID), in testPreferApnSetUrl()
1948 Uri.withAppendedPath(Carriers.CONTENT_URI, "preferapnset/subId/" + TEST_SUBID), in testPreferApnSetUrl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java158 private static final int TEST_SUBID = 1; field in PasspointManagerTest
847 when(subInfo.getSubscriptionId()).thenReturn(TEST_SUBID); in addProviderWithValidFullImsiOfSimCredential()
850 when(mTelephonyManager.createForSubscriptionId(eq(TEST_SUBID))).thenReturn(specifiedTm); in addProviderWithValidFullImsiOfSimCredential()