summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/print_utils.py
diff options
context:
space:
mode:
authorCheney Ni <cheneyni@google.com>2019-07-18 21:45:10 +0800
committerCheney Ni <cheneyni@google.com>2019-10-08 11:26:15 +0800
commitbd9900a4f0b3ee2c95b8f2f0334c7ea950a13f74 (patch)
tree10ffe9aab7afbb0444a26995059a83a1a7581523 /startop/scripts/lib/print_utils.py
parent8a91775d3f98ee16dc5876729d0523b058bfe0f2 (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/print_utils.py')
0 files changed, 0 insertions, 0 deletions