summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothMapClient.java
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
commitd3238fab19414ee8a286154f62e67b6e252ce6ae (patch)
tree98574b36ad4868bc59210dda0e3038f45ca8eadb /framework/java/android/bluetooth/BluetoothMapClient.java
parent22d54f6777f64a8f2256aabea420d1e3e9bfff61 (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 38a8716ef8fc33e5c8915311b932d945c864ae85)
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothMapClient.java')
0 files changed, 0 insertions, 0 deletions