diff options
author | Cheney Ni <cheneyni@google.com> | 2019-07-18 21:45:10 +0800 |
---|---|---|
committer | Naval saini <saini@codeaurora.org> | 2019-09-26 06:34:41 +0000 |
commit | 472bc71cd5b6df671a6a99a1e8e9bfc5c722d044 (patch) | |
tree | c0cafb348c5d67589cd1baf6a1ae8527e385d03c /tools/aapt2/diff/Diff.cpp | |
parent | 1f6513ef9e9392f4f590d9cd438d0292718c5b2f (diff) |
Add helpers to check whether the BluetoothCodecConfig instance is selectable
There will be a helper in the BluetoothCodecStatus to check whether the
codec config is matched the selectable array. It uses 3 smaller helpers
to confirm the codec config has none (wildcard matching), or one and only
one value for the audio feeding parameters.
Besides, this CL also adds a helper to compare whether two codec configs
are similar or not, and uses NONE values as wildcard.
CRs-Fixed: 2527286
Bug: 131147224
Bug: 133719424
Test: atest -t BluetoothInstrumentationTests:com.android.bluetooth.a2dp
Change-Id: I7d8f1a16b8358c440841801d95471b2d010739ec
(cherry picked from commit f1936c342328c31d3f8db02ba85f05f37468df97)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions