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.java150 byte[] echo = createIcmpMessage(ICMP_ECHO_REQUEST, 0x00, identifier, 0, message.getBytes()); in checkPing()
155 Os.write(socket, echo, 0, echo.length); in checkPing()
164 byte[] reply = new byte[echo.length]; in checkPing()
165 int read = Os.read(socket, reply, 0, echo.length); in checkPing()
166 assertEquals(echo.length, read); in checkPing()
169 assertEquals(echo[0], ICMP_ECHO_REQUEST); in checkPing()
171 echo[0] = 0; in checkPing()
177 echo[4] = (byte) ((port >> 8) & 0xFF); in checkPing()
178 echo[5] = (byte) (port & 0xFF); in checkPing()
181 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