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/BluetoothInputDevice.java
|
707fd39f8bac49e216de3bd6f4248ee61d207aec |
|
25-Jun-2014 |
Ang Li <angli@google.com> |
Fix comment for sendData. Merging kwd commit dfb40d5c51411b0d10ec22a9af283f349d8904d7 Change-Id: I5f3c16f3e99dce8bbb0011af3322ce3e6487d6d9
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
466ce96da8ca7ea8c97e716b02a7d55007179aa1 |
|
20-Mar-2014 |
Dianne Hackborn <hackbod@google.com> |
Get rid of not specifying a user errors in bluetooth. W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothInputDevice.doBind:262 android.bluetooth.BluetoothInputDevice.<init>:255 android.bluetooth.BluetoothAdapter.getProfileProxy:1365 W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothPan.doBind:148 android.bluetooth.BluetoothPan.<init>:140 android.bluetooth.BluetoothAdapter.getProfileProxy:1368 W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothMap.doBind:108 android.bluetooth.BluetoothMap.<init>:101 android.bluetooth.BluetoothAdapter.getProfileProxy:1374 W/ContextImpl( 1772): Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1559 android.content.ContextWrapper.bindService:513 android.bluetooth.BluetoothPbap.doBind:163 android.bluetooth.BluetoothPbap.<init>:156 com.android.settings.bluetooth.PbapServerProfile.<init>:68 Change-Id: I0a1e24ee71aef7d796fcee5692b9d19462a93637
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
8169bc78a1222ff0797ca53fe5fa19c8cf6fc70a |
|
07-Mar-2014 |
Mike J. Chen <mjchen@google.com> |
am 5adbea2e: am 784224d2: am b8a7dd63: Merge "Add handshake broadcast support" into klp-modular-dev * commit '5adbea2e2da3a0af1357de05a04534c65a7c9f76': Add handshake broadcast support
|
8faffa400b6dea9134f9d419196bf18994f3363d |
|
05-Mar-2014 |
Mike J. Chen <mjchen@google.com> |
Add handshake broadcast support Also make a log message verbose only. Change-Id: I805ca376c0c0c37ec67897e5473a78fc943fdc63 Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
5dadeba229a9e844ef9064b1b0d67756deb7e91e |
|
28-Jan-2014 |
Mike J. Chen <mjchen@google.com> |
am 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev * commit '1ece04f37fc93983ee058916e9913b6341e6de83': BluetoothInputJava: Add broadcast action REPORT
|
d96d5cfffcfb4975c462c0b9feff753fba4f8709 |
|
28-Jan-2014 |
Mike J. Chen <mjchen@google.com> |
BluetoothInputJava: Add broadcast action REPORT It's returned by getReport() when callback data is ready. Change-Id: I751c9e31de3d82a454a62cb8485a230e722b740d Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
729b12c7a91f9caa65af77197cf6a8814a5a2051 |
|
28-Jan-2014 |
Mike J. Chen <mjchen@google.com> |
am bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev * commit 'bfa3f4fd5c30b0d53addc071ecf8e099529f2c77': BluetoothInputDevice: make REPORT_TYPE values match hal
|
1b47f7cc1af63b3ae8ec79808dbf6147b73db605 |
|
28-Jan-2014 |
Mike J. Chen <mjchen@google.com> |
BluetoothInputDevice: make REPORT_TYPE values match hal So we don't have to do conversion when using getReport/setReport and can pass the value to the BT HAL directly. Change-Id: I8d4af72d2e040d43cc9ff8a8cddfbe6cc8cfdb9a Signed-off-by: Mike J. Chen <mjchen@google.com>
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
9b6939939901cb82bc6fca93aad3810a4936dfc6 |
|
10-Oct-2013 |
Matthew Xie <mattx@google.com> |
Check callback null condition for register/unregsiter state change callback Fix BluetoothPan closing sequence for unregsiter state change callback bug 11160007 Change-Id: I405ec91a938289fe9541de2ebd9abc1fb938f44a
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
221ea892dcc661bd07d6f36ff012edca2c48aed4 |
|
05-Aug-2013 |
Dianne Hackborn <hackbod@google.com> |
Start restricting service calls with implicit intents. The bindService() and startService() calls have always had undefined behavior when used with an implicit Intent and there are multiple matching services. Because of this, it is not safe for applications to use such Intents when interacting with services, yet the platform would merrily go about doing... something. In KLP I want to cause this case to be invalid, resulting in an exception thrown back to the app. Unfortunately there are lots of (scary) things relying on this behavior, so we can't immediately turn it into an exception, even one qualified by the caller's target SDK version. In this change, we start loggin a WTF when such a call happens, and clean up some stuff in Bluetooth that was doing this behavior. Change-Id: I62e25d07890588d2362104e20b054aebb6c0e007
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
3e4a3ea2ff03a6a1f1f7a2bebac9a86fe6555754 |
|
27-Mar-2013 |
Chirayu Desai <cdesai@cyanogenmod.org> |
Correct executable bit for source files [Take 2] Change Ieb51bafb46c895a21d2e83696f5a901ba752b2c5 left out some files, this fixes them. Change-Id: Ia949a8581668836ea0251602e048f09c852f5169
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
563e414784eb81e4ea4051667d5c8855b17f7534 |
|
10-Oct-2012 |
Matthew Xie <mattx@google.com> |
Reduce android.bluetooth package debug messages bug 7174712 Change-Id: I8d3fdc8edbe42068b5a550660d7b24854c3c4af4
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
0f42037eb7b5118015c2caca635538324ccf0ccf |
|
12-Apr-2012 |
fredc <fredc@broadcom.com> |
Non persistent adapter service Change-Id: Ib13d5c77416e58161df0e04d7a15ec0dddbde8b5 Conflicts: core/java/android/bluetooth/BluetoothInputDevice.java Conflicts: core/java/com/android/internal/app/ShutdownThread.java services/java/com/android/server/SystemServer.java Conflicts: services/java/com/android/server/SystemServer.java services/java/com/android/server/pm/ShutdownThread.java
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
349e62f329bbb8edab89356973773a5648f26751 |
|
09-Apr-2012 |
Priti Aghera <paghera@broadcom.com> |
HID-PTS: Included apis' for pts tests Change-Id: I7dc0a893ee86a2560c351a565bd170517f6c6079
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
bf246ef0abb6ea354fe412b139dec1adb4e5791d |
|
22-Mar-2012 |
Matthew Xie <mattx@google.com> |
Initial implementation of HID, add IBluetoothInputDevice idl Change-Id: Iadc79a425b4b6e12329d86dd2ac0782adcb0174d
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
e4caddbb7a3b39fd6a1ccf107c7dbf09bc8978e8 |
|
26-Jan-2012 |
Jaikumar Ganesh <jaikumar@google.com> |
Changes for new Bluetooth APIs. Changes to Bluetooth Adapter, Device and IBluetooth interfaces for new Bluetooth APIs. Delete AudioGateway. Change-Id: Ib51b31187eafde261441b9311b5e7e13c8bff82f
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
9bb275197df8eb999eab4cdd0a2aff83c2bb2ef6 |
|
28-Nov-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Cleanup references when turning BT off. Bug: 5572649 Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
bbd86750570ff75e428b3810dc2e65db558c14b2 |
|
02-Aug-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix tethering using BT. 1. Since Input device runs in Bluetooth Service, avoid the proxy call. 2. Accept or reject incoming tethering connections. This broke because of incoming connection request change for phonebook, HID, A2DP. Change-Id: Ia8c537bb79e4dbc66cfb6b23dcad4f99dbf950b3
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
a0c680393f2dd03a937c598b2cb9abf98a58152c |
|
26-Jun-2011 |
Matthew Xie <mattx@google.com> |
Incoming Bluetooth Connection requests - dialog. This sends the intents to the Settings app to show the dialogs for the incoming connection requests. Includes down merged contributions from Jaikumar Ganesh. Change-Id: Ic8b857aad3554315aae39a0e871eb94d0ac98a91
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
f8789167e903b637b1dbe8f710e7c66c4cfd74fd |
|
26-May-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Refactor Bluetooth Profile. Move connect / disconnect / set and get priority functions down the interface as they are not generic enough for all profiles. Change-Id: I2656e1bdbc8046c53bb0dfbd9172f5f10b57aa7d
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
4ab0e7746fe74a9e4d75d374f73b7af87420b2f6 |
|
18-Feb-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make BluetoothInputDevice inherit from BluetoothProfile. This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles. Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
fbe807d064ada99211b102914df514aa562256f8 |
|
19-Jan-2011 |
Jaikumar Ganesh <jaikumar@google.com> |
Make connection / disconnect failure more robust. Add error codes so that the states can be tracked better. Change-Id: Ic07a5d34589134b68dedeb4803ccb523aa01b567
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
5a1e4cf83f5be1b5d79e2643fa791aa269b6a4bc |
|
19-Oct-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Update BT APIs return type from Set to List. Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|
545e6708adda6859932b55fd824794b1401f5318 |
|
04-Jun-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
HID profile. Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
/frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java
|