Home
last modified time | relevance | path

Searched refs:test_l2cap_data (Results 1 – 4 of 4) sorted by relevance

/system/bt/packet/tests/base/
Dpacket_builder_test.cc29 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
34 for (size_t i = 0; i < test_l2cap_data.size(); i++) { in TEST()
35 ASSERT_EQ(test_l2cap_data[i], (*packet)[i]); in TEST()
40 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
42 ASSERT_EQ(builder->size(), test_l2cap_data.size()); in TEST()
49 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
50 builder->ReserveSpace(packet, test_l2cap_data.size()); in TEST()
52 ASSERT_GE(packet->GetData().capacity(), test_l2cap_data.size()); in TEST()
56 auto builder = TestPacketBuilder::MakeBuilder(test_l2cap_data); in TEST()
Diterator_test.cc36 return TestPacket::Make(test_l2cap_data, lower_bound, upper_bound); in GetTestPacket()
47 ::testing::Values(pair(0, test_l2cap_data.size()),
48 pair(3, test_l2cap_data.size() - 2)));
52 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST_F()
54 ASSERT_DEATH(Iterator(packet, test_l2cap_data.size()), 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()
85 ASSERT_EQ(test_l2cap_data[i + GetLowerBound()], *it++); in TEST_P()
128 ASSERT_EQ(test_l2cap_data[i + GetLowerBound()], *plus_eq) in TEST_P()
141 ASSERT_EQ(test_l2cap_data[i + GetLowerBound() + 1], *(++plus_plus)) in TEST_P()
[all …]
Dpacket_test.cc54 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
55 for (size_t i = 0; i < test_l2cap_data.size(); i++) { in TEST()
56 ASSERT_EQ(test_l2cap_data[i], (*packet)[i]); in TEST()
69 TestPacket::Make(test_l2cap_data, 3, test_l2cap_data.size() - 2); in TEST()
70 ASSERT_DEATH((*packet)[test_l2cap_data.size()], ""); in TEST()
97 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
112 auto packet = TestPacket::Make(test_l2cap_data); in TEST()
/system/bt/packet/tests/
Dtest_packets.h6 std::vector<uint8_t> test_l2cap_data = { variable