Home
last modified time | relevance | path

Searched refs:v6gws (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java339 ArrayList<String> v6gws = mStringArrayCaptor.getValue(); in testSetUpstreamLinkPropertiesWorking() local
340 assertEquals(1, v6gws.size()); in testSetUpstreamLinkPropertiesWorking()
341 assertTrue(v6gws.contains(ipv6Gw1)); in testSetUpstreamLinkPropertiesWorking()
353 v6gws = mStringArrayCaptor.getValue(); in testSetUpstreamLinkPropertiesWorking()
354 assertEquals(2, v6gws.size()); in testSetUpstreamLinkPropertiesWorking()
355 assertTrue(v6gws.contains(ipv6Gw1)); in testSetUpstreamLinkPropertiesWorking()
356 assertTrue(v6gws.contains(ipv6Gw2)); in testSetUpstreamLinkPropertiesWorking()
374 v6gws = mStringArrayCaptor.getValue(); in testSetUpstreamLinkPropertiesWorking()
375 assertEquals(2, v6gws.size()); in testSetUpstreamLinkPropertiesWorking()
376 assertTrue(v6gws.contains(ipv6Gw1)); in testSetUpstreamLinkPropertiesWorking()
[all …]
DOffloadHardwareInterfaceTest.java151 final ArrayList<String> v6gws = new ArrayList<>(0); in testSetUpstreamParameters() local
152 v6gws.add("2001:db8::1"); in testSetUpstreamParameters()
153 mOffloadHw.setUpstreamParameters(RMNET0, v4addr, v4gateway, v6gws); in testSetUpstreamParameters()
155 eq(v6gws), any()); in testSetUpstreamParameters()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java414 String iface, String v4addr, String v4gateway, ArrayList<String> v6gws) { in setUpstreamParameters() argument
418 v6gws = (v6gws != null) ? v6gws : new ArrayList<>(); in setUpstreamParameters()
421 iface, v4addr, v4gateway, String.join(",", v6gws)); in setUpstreamParameters()
426 iface, v4addr, v4gateway, v6gws, in setUpstreamParameters()