Home
last modified time | relevance | path

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

/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java68 Ipv4Packet packet = new Ipv4Packet(stream); in processPacket() local
69 Log.i(TAG, "Packet contents:\n" + packet); in processPacket()
71 if (packet.protocol != PROTOCOL_ICMP) { in processPacket()
72 Log.i(TAG, "Protocol is " + packet.protocol + " not ICMP. Ignoring."); in processPacket()
77 new DataInputStream(new ByteArrayInputStream(packet.data)), packet.data.length); in processPacket()
81 Inet4Address tmp = packet.sourceAddress; in processPacket()
82 packet.sourceAddress = packet.destinationAddress; in processPacket()
83 packet.destinationAddress = tmp; in processPacket()
85 packet.setData(echo.getEncoded()); in processPacket()
86 writePacket(packet.getEncoded()); in processPacket()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DBleAdvertisingPacket.java65 public static BleAdvertisingPacket fromBytes(byte[] packet) { in fromBytes() argument
66 if (packet == null || packet.length != ADVERTISING_PACKET_LENGTH) { in fromBytes()
71 ByteBuffer byteBuffer = ByteBuffer.wrap(packet); in fromBytes()
DBleScanner.java67 BleAdvertisingPacket packet = BleAdvertisingPacket.fromBytes(data);
76 packet.getReferenceDeviceName(),
77 packet.getRandomDeviceId(),
78 packet.getRssiMedianFromReferenceDevice(),
/cts/hostsidetests/graphics/gpuprofiling/src/android/graphics/gpuprofiling/cts/
DCtsGpuProfilingDataTest.java301 for (TracePacket packet : packetList) { in containsValidGpuCounterEvent()
302 if (!packet.hasGpuCounterEvent()) continue; in containsValidGpuCounterEvent()
304 GpuCounterEvent gpuCounterEvent = packet.getGpuCounterEvent(); in containsValidGpuCounterEvent()
319 for (TracePacket packet : packetList) { in containsGpuFrequencyEvent()
320 if (!packet.hasFtraceEvents()) continue; in containsGpuFrequencyEvent()
322 FtraceEventBundle eventBundle = packet.getFtraceEvents(); in containsGpuFrequencyEvent()
337 for (TracePacket packet : packetList) { in containsValidRenderStageEvent()
338 if (!packet.hasGpuRenderStageEvent()) continue; in containsValidRenderStageEvent()
340 GpuRenderStageEvent gpuRenderStageEvent = packet.getGpuRenderStageEvent(); in containsValidRenderStageEvent()
/cts/tests/tests/hardware/res/raw/
Dsony_dualshock3_usb_lighttests.json11 "ledsHidOutput": // LED Bitmask data index of HID SET_REPORT packet.
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9527/
Dpoc.cpp97 pack.packet = &ref; in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0814/
Dpoc.cpp373 pack.packet = &ref; in main()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DSystemDataTransferTest.kt399 private fun messageOf(packet: ByteArray) = ByteBuffer.wrap(packet).int in messageOf()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java467 TracePacket packet = trace.getPacket(i); in parseDump() local
469 if (packet.hasWinscopeExtensions()) { in parseDump()
473 packet.getWinscopeExtensions().toByteArray(), registry); in parseDump()