OSDN Git Service

test_vendor: Use Custom Iterators in L2CAP Classes
authorjohnshamoon <johnshamoon@google.com>
Wed, 26 Jul 2017 17:28:07 +0000 (10:28 -0700)
committerjruthe <jruthe@google.com>
Fri, 4 Aug 2017 20:46:00 +0000 (13:46 -0700)
commit6f1401153f14b4183e3aa4da9f0550a5103b7efa
tree966a8b98d1ab15581b63caa4f52019e08489946b
parent3e1a3d0ddcf56910c26a9fd0158fea3f3494c2ba
test_vendor: Use Custom Iterators in L2CAP Classes

Use custom bounded iterators instead of vector iterators in L2capPacket and
L2capSdu.

Test: Passes unit tests in test/l2cap_test.cc
Change-Id: I892083ec6155b18c4b222f3c38d17d2d9fef686c
vendor_libs/test_vendor_lib/include/hci_packet.h
vendor_libs/test_vendor_lib/include/l2cap_packet.h
vendor_libs/test_vendor_lib/include/l2cap_sdu.h
vendor_libs/test_vendor_lib/src/l2cap_packet.cc
vendor_libs/test_vendor_lib/src/l2cap_sdu.cc
vendor_libs/test_vendor_lib/test/l2cap_sdu_test.cc
vendor_libs/test_vendor_lib/test/l2cap_test.cc