/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NonCarrierMergedNetworksStatusTrackerTest.java | 40 private static final int TEST_SUBSCRIPTION_ID = 1; field in NonCarrierMergedNetworksStatusTrackerTest 77 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testDisableAllNonCarrierMergedNetworks() 97 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() 109 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() 114 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() 128 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testClearWillUndoDisableAllNonCarrierMergedNetworks() 145 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testTemporarilyDisableNetwork() 171 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testTemporarilyDisableNetworkWithMaxDisableDuration() 200 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testClearResetsTemporarilyDisableNetwork() 219 TEST_SUBSCRIPTION_ID, TEST_MIN_DISABLE_ALL_DURATION, TEST_MAX_DISABLE_ALL_DURATION); in testNetworkAppearingWillResetCounter()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | CarrierPrivilegeAuthenticatorTest.java | 90 private static final int TEST_SUBSCRIPTION_ID = 1; field in CarrierPrivilegeAuthenticatorTest 117 return TEST_SUBSCRIPTION_ID; in getSubId() 203 .setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testConstructor() 242 new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID); in testMultiSimConfigChanged() 263 verify(mListener).accept(eq(mCarrierConfigPkgUid), eq(TEST_SUBSCRIPTION_ID)); in testCarrierPrivilegesLostDueToCarrierServiceUpdate() 270 verify(mListener).accept(eq(mCarrierConfigPkgUid + 1), eq(TEST_SUBSCRIPTION_ID)); in testCarrierPrivilegesLostDueToCarrierServiceUpdate() 279 new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID); in testOnCarrierPrivilegesChanged() 311 ncBuilder.setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testDefaultSubscription() 320 ncBuilder.setNetworkSpecifier(new TelephonyNetworkSpecifier(TEST_SUBSCRIPTION_ID)); in testDefaultSubscription() 336 ncBuilder.setSubscriptionIds(Set.of(TEST_SUBSCRIPTION_ID)); in testNetworkCapabilitiesContainOneSubId()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | MobileNetworkIntentConverterTest.java | 57 private static final int TEST_SUBSCRIPTION_ID = 3; field in MobileNetworkIntentConverterTest 103 intent.putExtra(Settings.EXTRA_SUB_ID, TEST_SUBSCRIPTION_ID); in convertSubscriptionId_fromIntentExtra_copyToBundleArgument() 109 assertThat(args.getInt(Settings.EXTRA_SUB_ID)).isEqualTo(TEST_SUBSCRIPTION_ID); in convertSubscriptionId_fromIntentExtra_copyToBundleArgument() 112 Settings.EXTRA_SUB_ID, TEST_SUBSCRIPTION_ID - 1); in convertSubscriptionId_fromIntentExtra_copyToBundleArgument() 113 assertThat(intExtra).isEqualTo(TEST_SUBSCRIPTION_ID); in convertSubscriptionId_fromIntentExtra_copyToBundleArgument()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtilsTest.java | 57 private static final int TEST_SUBSCRIPTION_ID = 1; field in PasspointXmlUtilsTest 187 config.setSubscriptionId(TEST_SUBSCRIPTION_ID); in createFullPasspointConfiguration()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbCountryCodeTest.java | 79 private static final int TEST_SUBSCRIPTION_ID = 0; field in UwbCountryCodeTest 135 TEST_SUBSCRIPTION_ID, "", TEST_SLOT_IDX, "", "", 0, 0, "", 0, null, "", "", "", in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 573 private static final int TEST_SUBSCRIPTION_ID = 1; field in ConnectivityServiceTest 17401 .setSubscriptionIds(Collections.singleton(TEST_SUBSCRIPTION_ID)) 17486 doReturn(TEST_SUBSCRIPTION_ID).when(mCarrierPrivilegeAuthenticator) 17524 TEST_SUBSCRIPTION_ID, 17535 TEST_SUBSCRIPTION_ID + 1, 17545 TEST_SUBSCRIPTION_ID, 17556 TEST_SUBSCRIPTION_ID,
|