Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java62 protected static final byte[] TEST_DATA = "Best test data ever!".getBytes(); field in IpSecBaseTest
429 left.send(TEST_DATA); in checkSocketPair()
430 assertArrayEquals(TEST_DATA, right.receive()); in checkSocketPair()
432 right.send(TEST_DATA); in checkSocketPair()
433 assertArrayEquals(TEST_DATA, left.receive()); in checkSocketPair()
441 left.sendTo(TEST_DATA, localAddr, right.getPort()); in checkUnconnectedUdpSocketPair()
442 assertArrayEquals(TEST_DATA, right.receive()); in checkUnconnectedUdpSocketPair()
444 right.sendTo(TEST_DATA, localAddr, left.getPort()); in checkUnconnectedUdpSocketPair()
445 assertArrayEquals(TEST_DATA, left.receive()); in checkUnconnectedUdpSocketPair()
DIpSecManagerTest.java158 sockLeft.sendTo(TEST_DATA, local, sockRight.getPort()); in checkUnconnectedUdp()
160 assertArrayEquals("Left-to-right encrypted data did not match.", TEST_DATA, in); in checkUnconnectedUdp()
162 sockRight.sendTo(TEST_DATA, local, sockLeft.getPort()); in checkUnconnectedUdp()
164 assertArrayEquals("Right-to-left encrypted data did not match.", TEST_DATA, in); in checkUnconnectedUdp()
192 client.send(TEST_DATA); in checkTcp()
194 assertArrayEquals("Client-to-server encrypted data did not match.", TEST_DATA, in); in checkTcp()
200 accepted.send(TEST_DATA); in checkTcp()
202 assertArrayEquals("Server-to-client encrypted data did not match.", TEST_DATA, in); in checkTcp()
519 int innerPacketSize = TEST_DATA.length + transportHdrLen + ipHdrLen; in checkStatsChecker()
522 TEST_DATA.length + transportHdrLen, ivLen, blkSize, truncLenBits) in checkStatsChecker()
[all …]
DIpSecManagerTunnelTest.java208 int expectedPacketSize = TEST_DATA.length + UDP_HDRLEN; in getPacketSize()
282 socket.sendTo(TEST_DATA, remoteInner, socket.getPort()); in getIpSecTunnelTestRunnable()
288 spi, TEST_DATA, encapPort != 0, expectedPacketSize); in getIpSecTunnelTestRunnable()
643 assertArrayEquals(TEST_DATA, socketResponseBytes);
708 UdpHeader udp = new UdpHeader(port, port, new BytePayload(TEST_DATA));
726 UdpHeader udp = new UdpHeader(port, port, new BytePayload(TEST_DATA));
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFadingEdgeTest.java67 private static final TestCase[] TEST_DATA = { field in TextViewFadingEdgeTest
147 for (TestCase data : TEST_DATA) { in testFadingEdge()