Home
last modified time | relevance | path

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

/system/bt/gd/packet/
Dpacket_view_unittest.cc491 std::vector<PacketView<true>> sub_views{view}; in TEST() local
493 size_t parent_size = sub_views[i - 1].size(); in TEST()
494 sub_views.push_back(sub_views[i - 1].GetLittleEndianSubview(1, parent_size - 1)); in TEST()
495 ASSERT_EQ(sub_views[i][0], i); in TEST()
496 ASSERT_EQ(sub_views[i].size(), parent_size - 2); in TEST()
619 std::vector<View> sub_views{view}; in TEST() local
621 size_t parent_size = sub_views[i - 1].size(); in TEST()
622 sub_views.push_back({View(sub_views[i - 1], 1, parent_size - 1)}); in TEST()
623 ASSERT_EQ(sub_views[i][0], i); in TEST()
624 ASSERT_EQ(sub_views[i].size(), parent_size - 2); in TEST()