/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | TelephonyNetworkSpecifierTest.java | 41 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()
|
D | NetworkStatsCollectionTest.java | 98 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/ |
D | MmsNetworkManagerTest.java | 58 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/ |
D | WifiNetworkSuggestionsManagerTest.java | 153 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/ |
D | TetheringNotificationUpdaterTest.kt | 73 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/ |
D | TelephonyProviderTest.java | 115 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/ |
D | PasspointManagerTest.java | 158 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()
|