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/BluetoothSap.java
|
f308ab01dc9e7431b117cf034415495ad45621db |
|
30-May-2016 |
ugo_yu <ugo_yu@htc.com> |
Correct typo in BluetoothSap binder This patch fixed IBluetoothSap typo as IBluetoothMap in doBind. Fixes: 29025598 Change-Id: Ieab3d1583839db0a33b1cfa4d2de1f27c9cb3fe4
/frameworks/base/core/java/android/bluetooth/BluetoothSap.java
|
ab2581398c812917145088590bd18eb83f3a2ea6 |
|
04-May-2015 |
Andre Eisenbach <eisenbach@google.com> |
BluetoothSap class should not be public Bug: 20823932 Change-Id: I87dfa10b994f7a14c123bb384925c08b34bfbe67
/frameworks/base/core/java/android/bluetooth/BluetoothSap.java
|
6a3083555153bff7a65f86c16248cf0a063919aa |
|
15-Apr-2015 |
Yorke Lee <yorkelee@google.com> |
Fix make update-api Change-Id: Iaee002c64096fbd6ba05d6484cc50840146a4af0
/frameworks/base/core/java/android/bluetooth/BluetoothSap.java
|
2a5f608e7a5765db3b91165dac5b6280b26da26c |
|
19-Mar-2015 |
Casper Bonde <c.bonde@samsung.com> |
Add support for Bluetooth Sim Access Profile (2/4) Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
/frameworks/base/core/java/android/bluetooth/BluetoothSap.java
|