Home
last modified time | relevance | path

Searched refs:exposedCaps (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnGatewayConnectionConfigTest.java97 VcnGatewayConnectionConfig.Builder builder, int... exposedCaps) { in buildTestConfigWithExposedCaps() argument
100 for (int caps : exposedCaps) { in buildTestConfigWithExposedCaps()
108 public static VcnGatewayConnectionConfig buildTestConfigWithExposedCaps(int... exposedCaps) { in buildTestConfigWithExposedCaps() argument
109 return buildTestConfigWithExposedCaps(newBuilder(), exposedCaps); in buildTestConfigWithExposedCaps()
194 int[] exposedCaps = config.getExposedCapabilities(); in testBuilderAndGetters() local
195 Arrays.sort(exposedCaps); in testBuilderAndGetters()
196 assertArrayEquals(EXPOSED_CAPS, exposedCaps); in testBuilderAndGetters()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java426 final Set<Integer> exposedCaps = entry.getKey().getAllExposedCapabilities(); in verifyMobileDataToggled() local
428 && (exposedCaps.contains(NET_CAPABILITY_INTERNET) in verifyMobileDataToggled()
429 || exposedCaps.contains(NET_CAPABILITY_DUN))) { in verifyMobileDataToggled()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java475 final Set<Integer> exposedCaps = in handleMobileDataToggled() local
477 if (exposedCaps.contains(NET_CAPABILITY_INTERNET) in handleMobileDataToggled()
478 || exposedCaps.contains(NET_CAPABILITY_DUN)) { in handleMobileDataToggled()
DVcnGatewayConnection.java1704 final Set<Integer> exposedCaps = mConnectionConfig.getAllExposedCapabilities(); in applyTransform() local
1706 && exposedCaps.contains(NET_CAPABILITY_DUN)) { in applyTransform()