Searched refs:setSubscriptionIds (Results 1 – 13 of 13) sorted by relevance
383 netCap.setSubscriptionIds(Set.of(TEST_SUBID1, TEST_SUBID2)); in testParcelNetworkCapabilities()877 assertThrows(NullPointerException.class, () -> nc1.setSubscriptionIds(null)); in testSet()878 nc1.setSubscriptionIds(Set.of()); in testSet()882 nc1.setSubscriptionIds(Set.of(TEST_SUBID1)); in testSet()886 nc2.setSubscriptionIds(Set.of(TEST_SUBID2, TEST_SUBID1)); in testSet()890 nc2.setSubscriptionIds(Set.of(TEST_SUBID3, TEST_SUBID2)); in testSet()1061 .setSubscriptionIds(new ArraySet<>(subIds)).build(); in capsWithSubIds()1076 .setSubscriptionIds(Set.of(TEST_SUBID1, TEST_SUBID2)).build(); in testSubIds()1302 .setSubscriptionIds(Set.of(TEST_SUBID1)).build(); in testBuilder()1343 .setSubscriptionIds(Set.of(TEST_SUBID1)).build(); in testRestrictCapabilitiesForTestNetworkWithNonRestrictedNc()[all …]
59 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
61 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
627 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
5255 builder.setSubscriptionIds(Collections.singleton(mWifiInfo.getSubscriptionId())); in getCapabilities()
620 public Builder setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() method in NetworkRequest.Builder621 mNetworkCapabilities.setSubscriptionIds(subIds); in setSubscriptionIds()
1271 setSubscriptionIds(originalSubIds); in restrictCapabilitiesForTestNetwork()2853 public NetworkCapabilities setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() method in NetworkCapabilities3303 public Builder setSubscriptionIds(@NonNull final Set<Integer> subIds) { in setSubscriptionIds() method in NetworkCapabilities.Builder3304 mCaps.setSubscriptionIds(subIds); in setSubscriptionIds()
336 ncBuilder.setSubscriptionIds(Set.of(TEST_SUBSCRIPTION_ID)); in testNetworkCapabilitiesContainOneSubId()352 ncBuilder.setSubscriptionIds(Set.of(0, 1)); in testNetworkCapabilitiesContainTwoSubIds()
188 .setSubscriptionIds(Set.of(subIds[0], subIds[1])) in testSubscriptionIds()
800 .setSubscriptionIds(Set.of(subId1, subId2)) in testGetRedactedNetworkCapabilitiesForPackage()
342 …method @NonNull public android.net.NetworkCapabilities.Builder setSubscriptionIds(@NonNull java.ut…
445 …stricted_wifi") @NonNull public android.net.NetworkRequest.Builder setSubscriptionIds(@NonNull jav…
17383 nc.setSubscriptionIds(subIds);17393 .setSubscriptionIds(Collections.singleton(Process.myUid()))17401 .setSubscriptionIds(Collections.singleton(TEST_SUBSCRIPTION_ID))17857 .setSubscriptionIds(Collections.singleton(Process.myUid()))