summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-03-18 12:26:09 -0600
committerJeff Sharkey <jsharkey@android.com>2021-03-18 14:17:28 -0600
commite6e4c05291dacdc931a4c9a737a82bce8e4d208d (patch)
tree4cbcaa454004c97277ee211a89d2047177d263cb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5ec748f76e439174602a3355170ca086cdb9a358 (diff)
Implement per-field matching of ScanRecord.
As part of building out support for robustly matching Bluetooth LE devices in the wild, this change checks all "fields" contained in a ScanRecord against a given BytesMatcher. To support matching variable-length Eddystone beacons, this change also expands BytesMatcher to support both exact length and prefix based rules, which are then used with rules that verify that example Eddystone and iBeacon values can be detected with these rules: Eddystone: ⊆0016AAFE/00FFFFFF iBeacon: ⊆00FF4C0002/00FFFFFFFF Expands testing to confirm all newly added capabilities are working. Bug: 181812624 Test: atest BluetoothTests:android.bluetooth.le Test: atest FrameworksCoreTests:android.os.BytesMatcherTest Change-Id: I1cff8e08604436f4bba6f55aad64c3ce5969bf56
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions