Home
last modified time | relevance | path

Searched refs:setSubscriptionIds (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java383 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 …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DUntrustedWifiNetworkFactory.java59 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
DRestrictedWifiNetworkFactory.java61 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
DWifiNetworkFactory.java627 .setSubscriptionIds(subIds).build(); in updateSubIdsInCapabilitiesFilter()
DClientModeImpl.java5255 builder.setSubscriptionIds(Collections.singleton(mWifiInfo.getSubscriptionId())); in getCapabilities()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java620 public Builder setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() method in NetworkRequest.Builder
621 mNetworkCapabilities.setSubscriptionIds(subIds); in setSubscriptionIds()
DNetworkCapabilities.java1271 setSubscriptionIds(originalSubIds); in restrictCapabilitiesForTestNetwork()
2853 public NetworkCapabilities setSubscriptionIds(@NonNull Set<Integer> subIds) { in setSubscriptionIds() method in NetworkCapabilities
3303 public Builder setSubscriptionIds(@NonNull final Set<Integer> subIds) { in setSubscriptionIds() method in NetworkCapabilities.Builder
3304 mCaps.setSubscriptionIds(subIds); in setSubscriptionIds()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DCarrierPrivilegeAuthenticatorTest.java336 ncBuilder.setSubscriptionIds(Set.of(TEST_SUBSCRIPTION_ID)); in testNetworkCapabilitiesContainOneSubId()
352 ncBuilder.setSubscriptionIds(Set.of(0, 1)); in testNetworkCapabilitiesContainTwoSubIds()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java188 .setSubscriptionIds(Set.of(subIds[0], subIds[1])) in testSubscriptionIds()
DConnectivityManagerTest.java800 .setSubscriptionIds(Set.of(subId1, subId2)) in testGetRedactedNetworkCapabilitiesForPackage()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt342 …method @NonNull public android.net.NetworkCapabilities.Builder setSubscriptionIds(@NonNull java.ut…
Dcurrent.txt445 …stricted_wifi") @NonNull public android.net.NetworkRequest.Builder setSubscriptionIds(@NonNull jav…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java17383 nc.setSubscriptionIds(subIds);
17393 .setSubscriptionIds(Collections.singleton(Process.myUid()))
17401 .setSubscriptionIds(Collections.singleton(TEST_SUBSCRIPTION_ID))
17857 .setSubscriptionIds(Collections.singleton(Process.myUid()))