diff options
author | Cheney Ni <cheneyni@google.com> | 2019-07-18 21:45:10 +0800 |
---|---|---|
committer | Cheney Ni <cheneyni@google.com> | 2019-10-08 11:26:15 +0800 |
commit | bd9900a4f0b3ee2c95b8f2f0334c7ea950a13f74 (patch) | |
tree | 10ffe9aab7afbb0444a26995059a83a1a7581523 /startop/scripts/lib/cmd_utils.py | |
parent | 8a91775d3f98ee16dc5876729d0523b058bfe0f2 (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.
Bug: 131147224
Bug: 133719424
Test: atest -t BluetoothInstrumentationTests:com.android.bluetooth.a2dp
Change-Id: I7d8f1a16b8358c440841801d95471b2d010739ec
Merged-In: I7d8f1a16b8358c440841801d95471b2d010739ec
(cherry picked from commit f1936c342328c31d3f8db02ba85f05f37468df97)
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions