/external/pigweed/pw_bluetooth_hci/ |
D | packet_test.cc | 32 EventPacket::kHeaderSizeBytes, 409 const EventPacket packet(0u, ConstByteSpan()); in TEST_F() 412 packet.Encode({packet_buffer_.data(), EventPacket::kHeaderSizeBytes - 1}); in TEST_F() 417 EXPECT_FALSE(EventPacket::Decode( in TEST_F() 418 {packet_buffer_.data(), EventPacket::kHeaderSizeBytes - 1}) in TEST_F() 425 const EventPacket packet(kEventCode, ConstByteSpan()); in TEST_F() 427 EXPECT_EQ(packet.size_bytes(), EventPacket::kHeaderSizeBytes); in TEST_F() 434 constexpr std::array<const std::byte, EventPacket::kHeaderSizeBytes> in TEST_F() 441 std::optional<EventPacket> possible_packet = in TEST_F() 442 EventPacket::Decode(encoded_packet); in TEST_F() [all …]
|
D | uart_transport_test.cc | 214 std::array<std::byte, EventPacket::kHeaderSizeBytes> packet_buffer; in TEST_F() 215 EventPacket packet(0u, ConstByteSpan()); in TEST_F() 228 TEST_F(UartTransportTest, EventPacket) { in TEST_F() argument 231 std::array<std::byte, EventPacket::kHeaderSizeBytes> packet_buffer; in TEST_F() 232 EventPacket packet(0u, ConstByteSpan()); in TEST_F() 256 std::array<std::byte, EventPacket::kHeaderSizeBytes> packet_buffer; in TEST_F() 257 EventPacket packet(0u, ConstByteSpan()); in TEST_F() 287 std::array<std::byte, EventPacket::kHeaderSizeBytes> packet_buffer; in TEST_F() 288 EventPacket packet(0u, ConstByteSpan()); in TEST_F() 346 std::array<std::byte, EventPacket::kHeaderSizeBytes> packet_buffer; in TEST_F() [all …]
|
D | uart_transport.cc | 72 const std::optional<EventPacket> maybe_packet = in DecodeHciUartData() 73 EventPacket::Decode(data); in DecodeHciUartData() 79 const EventPacket& packet = maybe_packet.value(); in DecodeHciUartData()
|
D | packet.cc | 111 Result<ConstByteSpan> EventPacket::Encode(ByteSpan buffer) const { in Encode() 120 std::optional<EventPacket> EventPacket::Decode(ConstByteSpan data) { in Decode() 132 return EventPacket(event_code, in Decode()
|
D | uart_transport_fuzzer.cc | 98 const EventPacket& event_packet = packet.event_packet(); in LLVMFuzzerTestOneInput()
|
D | docs.rst | 23 * HCI Event Data Packet: ``pw::bluetooth_hci::EventPacket``
|
/external/pigweed/pw_bluetooth_hci/public/pw_bluetooth_hci/ |
D | packet.h | 35 class EventPacket; variable 80 const EventPacket& event_packet() const { in event_packet() 82 return *reinterpret_cast<const EventPacket*>(this); in event_packet() 85 EventPacket& event_packet() { in event_packet() 87 return *reinterpret_cast<EventPacket*>(this); in event_packet() 301 class EventPacket : public Packet { 313 constexpr EventPacket(uint8_t event_code, in EventPacket() function 321 constexpr EventPacket(uint16_t event_code, ConstByteSpan parameters) in EventPacket() function 322 : EventPacket(event_code, in EventPacket() 329 static std::optional<EventPacket> Decode(ConstByteSpan data);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | PacketDispatcher.java | 90 private List<EventPacket> eventQueue; 97 eventQueue = new ArrayList<EventPacket>(); in EventsSynchronyzer() 107 public void notifyThread(EventPacket eventPacket) in notifyThread() 131 public EventPacket waitForNextEvent(long timeout) in waitForNextEvent() 159 EventPacket event = eventQueue.remove(0); in waitForNextEvent() 555 EventPacket eventPacket = new EventPacket(packet); in run() 639 public EventPacket receiveEvent(long timeout) throws IOException, in receiveEvent()
|
D | EventPacket.java | 31 public class EventPacket extends CommandPacket { class 38 public EventPacket(byte[] p) { in EventPacket() method in EventPacket
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | HoldEventsTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 77 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(settings.getTimeout()); in testHoldEvents001() 92 …EventPacket event = debuggeeWrapper.vmMirror.receiveCertainEvent(JDWPConstants.EventKind.THREAD_ST… in testHoldEvents001()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | FieldModificationTest.java | 28 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 63 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in testFieldModifyEvent()
|
D | FieldAccessTest.java | 28 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 63 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in testFieldAccessEvent()
|
D | SingleStepWithPendingExceptionTest.java | 21 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 67 EventPacket eventPacket = in testSingleStepWithPendingException()
|
D | ClassUnloadTest.java | 29 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 87 EventPacket event = null; in testClassUnloadEvent()
|
D | ExceptionBaseTest.java | 22 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 40 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in receiveAndCheckExceptionEvent()
|
D | EventLocationEventTestCase.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 54 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in runEventWithLocationTest()
|
D | ClassPrepare002Test.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 92 EventPacket eventPacket = debuggeeWrapper.vmMirror in testClassPrepareCausedByDebugger()
|
D | FieldModification002Test.java | 28 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 101 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in hookFieldModification()
|
D | CombinedExceptionEventsTest.java | 21 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 116 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in runCombinedExceptionEventsTest()
|
D | CombinedEvents003Test.java | 29 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 187 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in receiveAndCheckEvents() 357 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in checkVMDeathEvent()
|
D | CombinedEventsTest.java | 29 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 656 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in testCombinedEvents_05() 814 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in testCombinedEvents_06() 910 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in receiveAndCheckEvents() 1083 EventPacket event = debuggeeWrapper.vmMirror.receiveEvent(); in checkVMDeathEvent()
|
D | EventWithExceptionTest.java | 21 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 482 EventPacket eventPacket = debuggeeWrapper.vmMirror.receiveCertainEvent(eventKind); in waitForEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/ |
D | DeoptimizationWithExceptionHandlingTest.java | 21 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 137 EventPacket event = debuggeeWrapper.vmMirror.receiveCertainEvent(eventKind); in waitForExceptionEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | JDWPEventModifierTestCase.java | 6 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 221 EventPacket eventPacket = debuggeeWrapper.vmMirror.receiveCertainEvent( in waitForEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPTestCase.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.EventPacket; 50 protected EventPacket initialEvent = null;
|