History log of /system/bt/stack/test/ad_parser_unittest.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aa77767edc76a09c1fb06a6c5873ae862d577ef9 07-Aug-2017 Jakub Pawlowski <jpawlowski@google.com> Advertisement parsing fix for zero padding
am: 436058ee3f

Change-Id: I4c5a04c769d3f0366fed96881edb46cc9979cd6a
436058ee3f52419fde558068a77222a67153e40d 04-Aug-2017 Jakub Pawlowski <jpawlowski@google.com> Advertisement parsing fix for zero padding

When AD data is zero padded, and Scan Response is appended at end, data
becomes invalid. Instead, zero paddning must be removed first.

Test: AdvertiseDataParserTest.RemoveTrailingZeros
Bug: 38489707
Change-Id: I229ca3db6c92bc06bc1429e72412417010721063
Merged-In: I229ca3db6c92bc06bc1429e72412417010721063
(cherry picked from commit 35a9ea352d59e6d261eba1254814f7238e3ed022)
/system/bt/stack/test/ad_parser_unittest.cc
c6e8384203fa8646552a13da5e2a17653c381f04 02-Aug-2017 Jakub Pawlowski <jpawlowski@google.com> Workaround for Traxxas

Bug: 64252588
Test: net_test_stack_ad_parser
Change-Id: I1471e9e5f0f36ec931f8d86c927abbc1137e2b94
Merged-In: I1471e9e5f0f36ec931f8d86c927abbc1137e2b94
/system/bt/stack/test/ad_parser_unittest.cc
efefc0bfc1ff25e46f836df01689b5b029c685fc 15-Jul-2017 Jakub Pawlowski <jpawlowski@google.com> Advertise data parser - allow zero padding at end of packet

Test: AdvertiseDataParserTest
Bug: 63123881
Change-Id: I8be9e693de557951b1048840759b5658331e9b3b
(cherry picked from commit 08b907b58b0fd8334268413f5e383c1a546f9b3a)
/system/bt/stack/test/ad_parser_unittest.cc
08b907b58b0fd8334268413f5e383c1a546f9b3a 15-Jul-2017 Jakub Pawlowski <jpawlowski@google.com> Advertise data parser - allow zero padding at end of packet

Test: AdvertiseDataParserTest
Bug: 63123881
Change-Id: I8be9e693de557951b1048840759b5658331e9b3b
/system/bt/stack/test/ad_parser_unittest.cc
103b2c44d3db6172a2dc9319e215eeece504316e 28-Apr-2017 Jakub Pawlowski <jpawlowski@google.com> LE advertise data parsing refactor

* merge BTM_CheckAdvData and BTM_CheckEirData into GetFieldByType
* check wether AD data is properly formatted when the packet is
received. Some controllers were returning malformed data that
resulted in stack crashes for BT5 packets.
* add tests to verify the helpers work as expected

Test: added net_test_stack_ad_parser
Bug: 37671082
Change-Id: I49e43d7cf7d0a8ace1ee45d9b14b2b8440096b05
/system/bt/stack/test/ad_parser_unittest.cc