Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java189 byte[] echo = createIcmpMessage(ICMP_ECHO_REQUEST, 0x00, identifier, 0, message.getBytes()); in checkPing()
194 Os.write(socket, echo, 0, echo.length); in checkPing()
203 byte[] reply = new byte[echo.length]; in checkPing()
204 int read = Os.read(socket, reply, 0, echo.length); in checkPing()
205 assertEquals(echo.length, read); in checkPing()
208 assertEquals(echo[0], ICMP_ECHO_REQUEST); in checkPing()
210 echo[0] = 0; in checkPing()
216 echo[4] = (byte) ((port >> 8) & 0xFF); in checkPing()
217 echo[5] = (byte) (port & 0xFF); in checkPing()
220 echo[2] = echo[3] = 0; in checkPing()
[all …]
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java64 IcmpMessage echo = null; in processPacket() local
76 echo = new IcmpMessage( in processPacket()
78 Log.i(TAG, "Ping packet:\n" + echo); in processPacket()
85 packet.setData(echo.getEncoded()); in processPacket()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DICrossUserService.aidl20 String echo(String msg); in echo() method
DProtectedCrossUserService.java31 public String echo(String msg) {
DBindDeviceAdminServiceGoodSetupTest.java159 assertCrossProfileCall(ANSWER, service -> service.echo(ANSWER), targetUser); in testCrossProfileCall_echo()
/cts/suite/audio_quality/test_description/
Dprocessing_main.py39 def echo(inputData, inputTypes): function