Home
last modified time | relevance | path

Searched refs:TestPacket (Results 1 – 6 of 6) sorted by relevance

/system/bt/packet/tests/base/
Dpacket_test.cc29 auto packet = TestPacket::Make( in TEST()
33 auto new_packet = TestPacket::Make(packet); in TEST()
44 auto packet = TestPacket::Make(test_avctp_data); in TEST()
47 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
54 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
59 packet = TestPacket::Make(test_avctp_data, test_avctp_data_payload_offset, in TEST()
69 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST()
75 auto packet = TestPacket::Make( in TEST()
88 class ChildTestPacket : public TestPacket {
90 using TestPacket::TestPacket;
[all …]
Dpacket_builder_test.cc30 auto packet = TestPacket::Make(); in TEST()
46 auto packet = TestPacket::Make(); in TEST()
57 auto packet = TestPacket::Make(); in TEST()
Diterator_test.cc31 std::shared_ptr<TestPacket> GetTestPacket() { in GetTestPacket()
36 return TestPacket::Make(test_l2cap_data, lower_bound, upper_bound); in GetTestPacket()
52 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST_F()
59 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F()
69 auto packet = TestPacket::Make(test_l2cap_data); in TEST_F()
Dpacket_test_common.h59 using TestPacket = TestPacketType<PacketImpl>; variable
/system/bt/vendor_libs/test_vendor_lib/test/
Diterator_test.cc27 class TestPacket : public HciPacket { class
29 static std::shared_ptr<TestPacket> make_new_packet(vector<uint8_t> v) { in make_new_packet()
30 return std::shared_ptr<TestPacket>(new TestPacket(v)); in make_new_packet()
40 TestPacket(vector<uint8_t> v) { in TestPacket() function in test_vendor_lib::TestPacket
52 packet = TestPacket::make_new_packet(complete_l2cap_packet); in SetUp()
59 std::shared_ptr<TestPacket> packet;
Dl2cap_test.cc31 class TestPacket : public HciPacket { class
33 TestPacket(const std::vector<uint8_t>& packet) { in TestPacket() function in test_vendor_lib::TestPacket
36 TestPacket() = default;
84 shared_ptr<TestPacket> expected(new TestPacket(good_l2cap_packet)); in TEST_F()
103 expected.reset(new TestPacket(complete_l2cap_packet)); in TEST_F()
208 shared_ptr<TestPacket> expected(new TestPacket(empty_l2cap_payload)); in TEST_F()