Home
last modified time | relevance | path

Searched refs:mStringArrayCaptor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java97 private final ArgumentCaptor<ArrayList> mStringArrayCaptor = field in OffloadControllerTest
244 inOrder.verify(mHardware, times(1)).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
245 ArrayList<String> localPrefixes = mStringArrayCaptor.getValue(); in testSetUpstreamLinkPropertiesWorking()
253 inOrder.verify(mHardware, never()).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
266 inOrder.verify(mHardware, never()).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
283 inOrder.verify(mHardware, never()).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
294 inOrder.verify(mHardware, never()).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
305 inOrder.verify(mHardware, never()).setLocalPrefixes(mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
307 eq(testIfName), eq(ipv4Addr), eq(ipv4Gateway), mStringArrayCaptor.capture()); in testSetUpstreamLinkPropertiesWorking()
309 ArrayList<String> v6gws = mStringArrayCaptor.getValue(); in testSetUpstreamLinkPropertiesWorking()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java210 private ArgumentCaptor<String[]> mStringArrayCaptor = ArgumentCaptor.forClass(String[].class); field in ConnectivityServiceTest
3894 anyInt(), mStringArrayCaptor.capture(), any(), any(), in testBasicDnsConfigurationPushed()
3896 assertEquals(1, mStringArrayCaptor.getValue().length); in testBasicDnsConfigurationPushed()
3897 assertTrue(ArrayUtils.contains(mStringArrayCaptor.getValue(), "2001:db8::1")); in testBasicDnsConfigurationPushed()
3906 anyInt(), mStringArrayCaptor.capture(), any(), any(), in testBasicDnsConfigurationPushed()
3908 assertEquals(2, mStringArrayCaptor.getValue().length); in testBasicDnsConfigurationPushed()
3909 assertTrue(ArrayUtils.containsAll(mStringArrayCaptor.getValue(), in testBasicDnsConfigurationPushed()
3928 anyInt(), mStringArrayCaptor.capture(), any(), any(), in testBasicDnsConfigurationPushed()
3930 assertEquals(2, mStringArrayCaptor.getValue().length); in testBasicDnsConfigurationPushed()
3931 assertTrue(ArrayUtils.containsAll(mStringArrayCaptor.getValue(), in testBasicDnsConfigurationPushed()
[all …]