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.java152 int... exposedCaps) { in buildTestConfigWithExposedCapsAndOptions() argument
159 for (int caps : exposedCaps) { in buildTestConfigWithExposedCapsAndOptions()
167 VcnGatewayConnectionConfig.Builder builder, int... exposedCaps) { in buildTestConfigWithExposedCaps() argument
169 builder, Collections.emptySet(), exposedCaps); in buildTestConfigWithExposedCaps()
173 public static VcnGatewayConnectionConfig buildTestConfigWithExposedCaps(int... exposedCaps) { in buildTestConfigWithExposedCaps() argument
174 return buildTestConfigWithExposedCaps(newBuilder(), exposedCaps); in buildTestConfigWithExposedCaps()
288 int[] exposedCaps = config.getExposedCapabilities(); in testBuilderAndGetters() local
289 Arrays.sort(exposedCaps); in testBuilderAndGetters()
290 assertArrayEquals(EXPOSED_CAPS, exposedCaps); in testBuilderAndGetters()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java445 final Set<Integer> exposedCaps = entry.getKey().getAllExposedCapabilities(); in verifyMobileDataToggledUpdatesGatewayConnections() local
447 && (exposedCaps.contains(NET_CAPABILITY_INTERNET) in verifyMobileDataToggledUpdatesGatewayConnections()
448 || exposedCaps.contains(NET_CAPABILITY_DUN))) { in verifyMobileDataToggledUpdatesGatewayConnections()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java523 final Set<Integer> exposedCaps = in handleMobileDataToggled() local
525 if (exposedCaps.contains(NET_CAPABILITY_INTERNET) in handleMobileDataToggled()
526 || exposedCaps.contains(NET_CAPABILITY_DUN)) { in handleMobileDataToggled()
DVcnGatewayConnection.java1921 final Set<Integer> exposedCaps = mConnectionConfig.getAllExposedCapabilities(); in applyTransform() local
1923 && exposedCaps.contains(NET_CAPABILITY_DUN)) { in applyTransform()