Searched refs:reset_command (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/tools/rootcanal/test/ |
D | h4_parser_unittest.cc | 156 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/ |
D | h4_parser.cc | 135 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()
|