Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java574 private void checkTcpReflection(String to, String expectedFrom) throws IOException { in checkTcpReflection() argument
589 if (expectedFrom == null) { in checkTcpReflection()
595 if (expectedFrom != null) { in checkTcpReflection()
615 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection()
616 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection()
662 private void checkUdpEcho(String to, String expectedFrom) throws IOException { in checkUdpEcho() argument
663 checkUdpEcho(to, expectedFrom, expectedFrom != null); in checkUdpEcho()
666 private void checkUdpEcho(String to, String expectedFrom, in checkUdpEcho() argument
684 if (expectedFrom != null) { in checkUdpEcho()
686 expectedFrom, s.getLocalAddress().getHostAddress()); in checkUdpEcho()
[all …]