summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothUtils.java
AgeCommit message (Collapse)Author
2022-03-10Broadcast API adjustmentJack He
* Enforce raw bytes vs. structured value consistency in metadata classes * Enforce required parameters in builder * Rename getMaximumNumberOfBroadcast to getMaximumNumberOfBroadcasts * Added utility method to parse and serialize LTV array Fixes: 218683032 Bug: 218683032 Test: atest BluetoothInstrumentationTests, cts tests Tag: #feature Change-Id: Ia10f414bdc958b75e94276d3f645687f8b9635f9
2022-01-31Add a Bluetooth UserNull to serve a placeholderWilliam Escande
The UserHandle.NULL is hidden. It's is only used as a placeholder in the code when the user value is not determined. Test: Build Merged-In: I9272170838a79df8f0bdaed7d3e6cc7786fed595 Change-Id: I9272170838a79df8f0bdaed7d3e6cc7786fed595
2021-12-16Remove allowBlocking from all BluetoothProfilesWilliam Escande
Since Bluetooth is becoming a mainline module, it can no longer call the allowBlocking hidden api. Instead, all interface are moved to be oneway and use a synchronous data to handle the return value. Bug: 200200870 Test: Build + start Bt and play something on speaker Tag: #refactor Merged-In: I776a6322faadca1504bce24f2b6b041e756b6448 Change-Id: I776a6322faadca1504bce24f2b6b041e756b6448