Home
last modified time | relevance | path

Searched refs:setUids (Results 1 – 14 of 14) sorted by relevance

/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DNetworkRequestShimImpl.java55 public void setUids(@NonNull NetworkRequest.Builder builder, in setUids() method in NetworkRequestShimImpl
57 builder.setUids(uids); in setUids()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkRequestTest.java278 private void setUids(NetworkRequest.Builder builder, Set<Range<Integer>> ranges) in setUids() method in NetworkRequestTest
282 networkRequestShim.setUids(builder, ranges); in setUids()
307 setUids(nrBuilder, ranges); in testInvariantInCanBeSatisfiedBy()
377 .setUids(uidRangesForUid(Process.myUid())); in testSetIncludeOtherUidNetworks()
379 .setUids(uidRangesForUid(Process.SYSTEM_UID)); in testSetIncludeOtherUidNetworks()
DConnectivityManagerTest.java797 .setUids(uids) in testGetRedactedNetworkCapabilitiesForPackage()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java398 public Builder setUids(@Nullable Set<Range<Integer>> uids) { in setUids() method in NetworkRequest.Builder
399 mNetworkCapabilities.setUids(uids); in setUids()
642 mNetworkCapabilities.setUids(null); in setIncludeOtherUidNetworks()
DNetworkCapabilities.java1998 public @NonNull NetworkCapabilities setUids(@Nullable Set<Range<Integer>> uids) { in setUids() method in NetworkCapabilities
3318 public Builder setUids(@Nullable Set<Range<Integer>> uids) { in setUids() method in NetworkCapabilities.Builder
3319 mCaps.setUids(uids); in setUids()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java258 netCap.setUids(null); in testSetUids()
272 netCap.setUids(uids); in testSetUids()
299 netCap2.setUids(uids); in testSetUids()
305 netCap2.setUids(uids); in testSetUids()
309 netCap.setUids(uids); in testSetUids()
315 netCap.setUids(null); in testSetUids()
318 netCap2.setUids(null); in testSetUids()
384 netCap.setUids(uids); in testParcelNetworkCapabilities()
869 nc1.setUids(uidRanges(10, 13)); in testSet()
871 nc1.setUids(null); in testSet()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DNetworkRequestShim.java36 void setUids(@NonNull NetworkRequest.Builder builder, in setUids() method
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DNetworkRequestShimImpl.java47 public void setUids(@NonNull NetworkRequest.Builder builder, in setUids() method in NetworkRequestShimImpl
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java317 public void setUids(Set<Range<Integer>> uids) { in setUids() method in NetworkAgentWrapper
318 mNetworkCapabilities.setUids(uids); in setUids()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt174 …method @NonNull public android.net.NetworkCapabilities.Builder setUids(@Nullable java.util.Set<and…
187 …method @NonNull public android.net.NetworkRequest.Builder setUids(@Nullable java.util.Set<android.…
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1544 public void setUids(Set<UidRange> uids) { in setUids() method in ConnectivityServiceTest.MockVpn
1545 mNetworkCapabilities.setUids(UidRange.toIntRanges(uids)); in setUids()
1577 setUids(uids); in registerAgent()
1656 setUids(null); in disconnect()
5673 .setUids(UidRange.toIntRanges(uidRangesForUids(otherUid)))
5750 .setUids(UidRange.toIntRanges(uidRangesForUids(otherUid)))
8971 mMockVpn.setUids(ranges);
8988 mMockVpn.setUids(ranges);
9466 mMockVpn.setUids(ranges);
9493 mMockVpn.setUids(uidRangesForUids(uid));
[all …]
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt655 Landroid/net/NetworkCapabilities;->setUids(Ljava/util/Set;)Landroid/net/NetworkCapabilities;
879 Landroid/net/NetworkRequest$Builder;->setUids(Ljava/util/Set;)Landroid/net/NetworkRequest$Builder;
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2101 netCap.setUids(UidRange.toIntRanges(uidRangeSet));
2896 newNc.setUids(null);
12375 sanitized.setUids(null);
13690 req.networkCapabilities.setUids(UidRange.toIntRanges(uids));
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5269 builder.setUids(getUidRangeSet(uids)); in getCapabilities()