Searched refs:H4Parser (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/tools/rootcanal/model/hci/ |
D | h4_parser.cc | 30 void H4Parser::Reset() { in Reset() 37 size_t H4Parser::HciGetPacketLengthForType(PacketType type, in HciGetPacketLengthForType() 42 H4Parser::COMMAND_LENGTH_OFFSET, in HciGetPacketLengthForType() 43 H4Parser::ACL_LENGTH_OFFSET, in HciGetPacketLengthForType() 44 H4Parser::SCO_LENGTH_OFFSET, in HciGetPacketLengthForType() 45 H4Parser::EVENT_LENGTH_OFFSET, in HciGetPacketLengthForType() 46 H4Parser::ISO_LENGTH_OFFSET, in HciGetPacketLengthForType() 60 H4Parser::H4Parser(PacketReadCallback command_cb, PacketReadCallback event_cb, in H4Parser() function in rootcanal::H4Parser 70 void H4Parser::OnPacketReady() { in OnPacketReady() 94 size_t H4Parser::BytesRequested() { in BytesRequested() [all …]
|
D | h4_parser.h | 46 class H4Parser { 50 H4Parser(PacketReadCallback command_cb, PacketReadCallback event_cb, 110 H4Parser::State const& state_) { 112 case H4Parser::State::HCI_TYPE: 115 case H4Parser::State::HCI_PREAMBLE: 118 case H4Parser::State::HCI_PAYLOAD: 121 case H4Parser::State::HCI_RECOVERY:
|
D | h4_data_channel_packetizer.h | 48 H4Parser h4_parser_;
|
/packages/modules/Bluetooth/tools/rootcanal/test/ |
D | h4_parser_unittest.cc | 41 H4Parser parser_{ 75 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_PREAMBLE); in TEST_F() 90 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_PAYLOAD); in TEST_F() 132 while (parser_.CurrentState() != H4Parser::State::HCI_TYPE) { in TEST_F() 154 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_RECOVERY); in TEST_F() 162 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_RECOVERY); in TEST_F() 168 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_RECOVERY); in TEST_F() 174 ASSERT_EQ(parser_.CurrentState(), H4Parser::State::HCI_TYPE); in TEST_F()
|