Home
last modified time | relevance | path

Searched refs:reset_command (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/tools/rootcanal/test/
Dh4_parser_unittest.cc156 const std::array<uint8_t, 4> reset_command{0x01, 0x03, 0x0c, 0x00}; in TEST_F() local
161 ASSERT_TRUE(parser_.Consume(&reset_command[i], 1)); in TEST_F()
169 ASSERT_TRUE(parser_.Consume(&reset_command[i], 1)); in TEST_F()
179 ASSERT_EQ(packet_.size(), reset_command.size() - 1); in TEST_F()
181 ASSERT_EQ(packet_[i - 1], reset_command[i]); in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_parser.cc135 const std::array<uint8_t, 4> reset_command{0x01, 0x03, 0x0c, 0x00}; in Consume() local
142 if (packet_[offset] != reset_command[offset]) { in Consume()
145 if (*buffer == reset_command[0]) { in Consume()
151 if (packet_.size() == reset_command.size()) { in Consume()