Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java335 private static void checkTcpReflection(String to, String expectedFrom) throws IOException { in checkTcpReflection() argument
350 if (expectedFrom == null) { in checkTcpReflection()
356 if (expectedFrom != null) { in checkTcpReflection()
375 assertEquals(expectedFrom, client.getLocalAddress().getHostAddress()); in checkTcpReflection()
376 assertEquals(expectedFrom, server.getLocalAddress().getHostAddress()); in checkTcpReflection()
406 private static void checkUdpEcho(String to, String expectedFrom) throws IOException { in checkUdpEcho() argument
422 if (expectedFrom != null) { in checkUdpEcho()
424 expectedFrom, s.getLocalAddress().getHostAddress()); in checkUdpEcho()
428 if (expectedFrom != null) { in checkUdpEcho()