0a17db1cc5942ea000ca87bb72853de57a15ec64 |
|
04-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Detect non-oneway calls leaving system_server. To protect system stability, any Binder calls leaving the system_server must carefully be performed using FLAG_ONEWAY (or the 'oneway' verb in AIDL) which prevents the call from blocking indefinitely on the remote process. In this CL, the system_server uses the new Binder.setWarnOnBlocking() method to enable detection by default for all remote Binder interfaces. It can also use Binder.allowBlocking() to allow blocking calls on certain remote interfaces that have been determined to be safe. This CL adds the 'oneway' verb to several interfaces and methods where it should have been added, and marks a handful of system ContentProviders as being safe to call into. Also, we assume that any services obtained from ServiceManager are part of the core OS, and are okay to make blocking calls to. Test: builds, boots, runs with minimal logs triggered Bug: 32715088 Change-Id: Ide476e120cb40436a94b7faf7615c943d691f4c0
/frameworks/base/core/java/android/bluetooth/BluetoothAvrcpController.java
|
b5fbb75aa26a6322b26b1289cc5d14a8c31acb34 |
|
03-Aug-2016 |
Sanket Agarwal <sanketa@google.com> |
Remove APIs that are not directly usable This API is now exposed via MediaBrowser. Bug: b/28791287 Change-Id: I0a8a185934fd7aaa9f2b5eac7398955fa380060f
/frameworks/base/core/java/android/bluetooth/BluetoothAvrcpController.java
|
1bec6a5b0d67f120b7013572f6b1a4f1e1b3c584 |
|
22-Oct-2015 |
Sanket Agarwal <sanketa@google.com> |
Add support for AVRCP 1.3. * Add metadata support. * Add player settings support. * Add playback support. A2DP Settings App support. Bluetooth: A2DP Sink support for Settings App - add support for A2DP Sink in Settings App. This will enable connection initiation and updation on Settings App - add framework Apis to support A2DP Sink. Any third party Apps can access A2DP Sink priority of device and playing state of device - add support for key to set priority. This manages priority of device for A2DP Sink profile Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
/frameworks/base/core/java/android/bluetooth/BluetoothAvrcpController.java
|
94b59de852df7b6ce16aef73a9b2c11be8f3102d |
|
03-Jun-2014 |
Mike Lockwood <lockwood@google.com> |
BluetoothAvrcpController: Move AVRCP controller support to new BluetoothProfile subclass Change-Id: Id988040a7ce623ed68e0349920301ff48db1fbce
/frameworks/base/core/java/android/bluetooth/BluetoothAvrcpController.java
|