diff options
author | Cheney Ni <cheneyni@google.com> | 2019-07-18 21:45:10 +0800 |
---|---|---|
committer | Cheney Ni <cheneyni@google.com> | 2019-07-23 20:32:06 +0800 |
commit | 38a8716ef8fc33e5c8915311b932d945c864ae85 (patch) | |
tree | ecfb59447df82551543918de7c9df6f02972e894 /framework/java/android/bluetooth/BluetoothPan.java | |
parent | 39977db7ff795a717d9f4de4c797b2d5cab899ca (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
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothPan.java')
0 files changed, 0 insertions, 0 deletions