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/services/java/com/android/server/BluetoothManagerService.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/services/java/com/android/server/BluetoothManagerService.java
|
af5971ef27557f02f93b399c92d7e67106d825fe |
|
11-Jun-2013 |
Zhihai Xu <zhihaixu@google.com> |
Add debug menu to enable btsnoop bug: 8059358 Change-Id: I2d5f13e68defefb92e0b11b749fe77ad67215f36
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
2d704d215fcd2b065bfce01da7f008a2bfaa0adc |
|
15-May-2013 |
Matthew Xie <mattx@google.com> |
am b82fc420: am f270fc3b: Merge "cannot turn on bluetooth" into jb-mr2-dev * commit 'b82fc420f38c48a3bf9f379de5126906497f2440': cannot turn on bluetooth
|
dd9d17d45836bc1cc00136e088445fbca9244e0e |
|
09-Jan-2013 |
Zhihai Xu <zhihaixu@google.com> |
cannot turn on bluetooth implement error recovery when bluetooth stack return error with error transition state from TURNING_ON to OFF due to ENABLE_TIMEOUT. issue 7566317 Change-Id: I709b475bbfbd90e4f6e423f9eedc5340c89b2cb0
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
b50619cc14060e9a98477ec866c0302d52a75f0c |
|
10-May-2013 |
Matthew Xie <mattx@google.com> |
am c0c7cebe: am b566c466: Merge "Donot bind to GATT service when BLE is not supported" into jb-mr2-dev * commit 'c0c7cebe3f5da99aeb48eb62bffbaf3183814194': Donot bind to GATT service when BLE is not supported
|
32ab77b4c52db78aea22cb32824c7fd68d6f8c21 |
|
09-May-2013 |
Matthew Xie <mattx@google.com> |
Donot bind to GATT service when BLE is not supported bug 8664724 Change-Id: I9b9222cd5877babcded73798a5d1ff13fd10e791
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
8d044e8bc287c1a567d82aedbe30085b011544c3 |
|
01-May-2013 |
Dianne Hackborn <hackbod@google.com> |
Start combining threads in system process. This introduces four generic thread that services can use in the system process: - Background: part of the framework for all processes, for work that is purely background (no timing constraint). - UI: for time-critical display of UI. - Foreground: normal foreground work. - IO: performing IO operations. I went through and moved services into these threads in the places I felt relatively comfortable about understanding what they are doing. There are still a bunch more we need to look at -- lots of networking stuff left, 3 or so different native daemon connectors which I didn't know how much would block, audio stuff, etc. Also updated Watchdog to be aware of and check these new threads, with a new API for other threads to also participate in this checking. Change-Id: Ie2f11061cebde5f018d7383b3a910fbbd11d5e11
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
84e594f7dbe6108a2c6c57d5d9d941d0b0563b4b |
|
29-Mar-2013 |
Matthew Xie <mattx@google.com> |
Merge "Unhide Bluetooth Low Energy public APIs" into jb-mr2-dev
|
ddf7e4756c31d0ed90802f98abeaa79df6d16b2a |
|
02-Mar-2013 |
Matthew Xie <mattx@google.com> |
Unhide Bluetooth Low Energy public APIs Updated API headers. Add BluetoothManager to be retrieved by context.getSystemService(Context.BLUETOOTH_SERVICE). LE scan functions are placed in BluetoothAdapter The GATT API are device driven instead of a profile-driver. bug 8450158 Change-Id: I424a4cedaac3ef8120a05996500008dd210d2553
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
94eaab4a5ddd6db4bcbc8a1e65a4d8e60d1d1274 |
|
28-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 3ae30483: am a19647d3: Merge "Correct executable bit for source files [Take 2]" * commit '3ae30483777708ff3a4f59a4fa75c6a76213cc30': Correct executable bit for source files [Take 2]
|
665e1aed5e99af1e66af56c0d73e32fd86f57273 |
|
22-Aug-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Add BT - DataTracker connection Allows the external BT stack the means to communicate with ConnectivityService during reverse tethering. bug:8445208 Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
/frameworks/base/services/java/com/android/server/BluetoothManagerService.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/services/java/com/android/server/BluetoothManagerService.java
|
27b89e6658a0d233a53f5d7ca20dc57fec82d955 |
|
16-Jan-2013 |
Amith Yamasani <yamasani@google.com> |
Rename bindService to bindServiceAsUser to follow convention. This is for the multi-user version of bindService, not the original. Change-Id: Ib2de35941196accf387b1a276a77e6f9af805ec0
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
af5ddbfcf59e1e0bcbd43f1f88270f822c5083b8 |
|
04-Dec-2012 |
Matthew Xie <mattx@google.com> |
Change getName and getAddress permission to BLUETOOTH The permissions were set as BLUETOOTH_ADMIN by mistake. Correct them bug 7665249 Change-Id: Ic1bdbeb25e8f55d886f9a8d38920cbb769dd38ca
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
401202b5fe3d67bdf2ae6991fc451f444ecd6989 |
|
03-Dec-2012 |
Zhihai Xu <zhihaixu@google.com> |
BT is still on after enable flight mode, and reboot the DUT bug 7275625 Change-Id: I4f8952a06152eb5f5775c1f616f6383e4f20e352
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
b1a01ab01c2aa5136f7781c3a6ec682590e38ac4 |
|
30-Nov-2012 |
Martijn Coenen <maco@google.com> |
Merge "Allow the NFC process to call Bluetooth APIs." into jb-mr1.1-dev
|
6eb7652b04b92b0c3786d96e6a97f5f4e46aec69 |
|
30-Nov-2012 |
Zhihai Xu <zhihaixu@google.com> |
BluetoothManagerService call should allow SYSTEM_UID bug 7561429 Change-Id: I1483bfe1361f71c7ae3529ea496b33504b95413e
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
8385c5afbd92da5f2e8bc13d153114bc3a7cb0f5 |
|
29-Nov-2012 |
Martijn Coenen <maco@google.com> |
Allow the NFC process to call Bluetooth APIs. The NFC process used to be only running as user 0, and it may be calling into Bluetooth. Most of the handover code has now moved to a separate process running as the current user. Fix the existing checks to take into account the correct NFC UID, whatever user it is running as. Bug: 7309141 Change-Id: I953cfb263a28aef7fe1be5880b053425dc359a29
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
e3f7c45241a90d3e4b76d28911831f5dcbaaa038 |
|
28-Nov-2012 |
Zhihai Xu <zhihaixu@google.com> |
Merge "Settings shows it is connected to A2DP, though the device is not actually connected" into jb-mr1.1-dev
|
681ae7fc5e36f8da0c6975b316c93834c0d7b8a3 |
|
13-Nov-2012 |
Zhihai Xu <zhihaixu@google.com> |
Cannot enable Bluetooth after using airplane and Bluetooth tethering sequentially The root cause is we can't unbind blue service when bluetooth isnot disbaled Otherwise the bluedroid stack will be out of sync with bluetooth service only unbind bluetoothservice, when bluetooth is at OFF state. bug 7376846 Change-Id: If5a11926f77a1ac29e75cdddbf5e90d492179f43
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
4e22ad35045dc5861193526afe1565d52f983698 |
|
14-Nov-2012 |
Zhihai Xu <zhihaixu@google.com> |
Settings shows it is connected to A2DP, though the device is not actually connected the root cause is the A2dp and Pbap service need receive STATE_TURNING_OFF intent to shutdown cleanly. So we need send completely state transition intents in user switch handler. bug7403171 Change-Id: Ic92bc85c2b74ae7c95440b237ea8851771ee9f04
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
d31c32217c17f402c295514a862347dd68c9e16d |
|
01-Nov-2012 |
Zhihai Xu <zhihaixu@google.com> |
Fix for BluetoothAdapter.getAddress() when BT is off on some devices There are two problem, 1.If we have wrong bluetooth address in global settings db, we never will update it 2. We need enable bluetooth to get the bluetooth address for some devices. For 1, we fix it by add a valid flag in global setting db, this flag will be set when we stored correct address and name to db. We only load the name and address from global setting db when this valid flag is set during power up. For2. we will read BT address after bluetooth is at ON state. bug 7440409 Change-Id: Ic4740b3f0b2fcd214c7ca8393f7331c140eec66d
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
fa0fd39a4bf296d254aa398c1b19ec960efa641d |
|
24-Oct-2012 |
Zhihai Xu <zhihaixu@google.com> |
License of files Bluetooth package is not updated to ASL2 bug 7385618 Change-Id: I6232f537f4fda979d3aabe3a059c11d3299de9b8
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
a517de36c44ab8cad5a267315aedf940aefa44cb |
|
11-Oct-2012 |
Matthew Xie <mattx@google.com> |
Donot reset mEnable flag when binding timeout. During start up, binding could take a while. When binding timeout only reset mBinding but not mEnable. bug 7328147 Change-Id: I306a84ca53d9e1d05111395642626e68d19e9663
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
40874a096ba6448ebffea4b17486dbfbc957c0df |
|
09-Oct-2012 |
Zhihai Xu <zhihaixu@google.com> |
Bluetooth multi-user updates: change bluetooth manager system service to reject background user access. disable and enable Bluetooth when user is switched bug 6925422 Change-Id: I52136e707da2d1ba8228c1bb8beef1414ead1893
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
fca9d63635d9603c318a089397b23c17682453e3 |
|
04-Oct-2012 |
Matthew Xie <mattx@google.com> |
Add multi user support for bluetooth Create a BLUETOOTH_STACK permission to share between all users of Bluetooth apk. Bluetooth Manager binds to apk of current user bug 6925422 Change-Id: I2df5546e977c2d77bc66d97d12479d933826922a
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
5e1c74dbbe1ccf93ab13a3cc9e46e98988036762 |
|
26-Sep-2012 |
Matthew Xie <mattx@google.com> |
Merge "Remove permission check in registerAdapter" into jb-mr1-dev
|
670ef53353f0fc6f295df2f440bf8a159cc283f4 |
|
26-Sep-2012 |
Matthew Xie <mattx@google.com> |
Remove permission check in registerAdapter This matches the JB behavior of getDefaultAdapter public api bug 6948829 Change-Id: I86135bf45fddbb2d078f855f91a34d6fcce237a2
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 |
|
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Update references to migrated global settings. Fixed one setting that was migrated but not marked deprecated. Removed a hidden setting that is no longer used by the new power manager service. Bug: 7231172 Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
c09cdce1b05075da808ae080b9905a14a3e1e627 |
|
11-Sep-2012 |
Christopher Tate <ctate@google.com> |
Update airplane-mode manipulation for the new Settings namespace Quick Settings and global actions (aka longpress-Power) toggles are included in this CL. The Settings app manipulations are updated in a different CL because that's a different git package. Bug 7132230 Change-Id: I50838f5e8d7b25a750d2bcae90bf384b09816dbb
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
1223e5a3115e825567972da26e38c0016bdfa268 |
|
29-Aug-2012 |
Syed Ibrahim M <syedibra@broadcom.com> |
Fault tolerance in Bluedroid When bluetooth process gets crashed/killed/stopped by Android system, BluetoothManagerService will re-start AdapterService to recover from the crash appropriately. Change-Id: Iacb1a06a8245089517bbbd57de1378ca8ce4b41e
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
5ac72a29593ab9a20337a2225df52bdf4754be02 |
|
30-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Improve multi-user broadcasts. You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
fffa86ba834d37684238c83c0dd081133324984d |
|
09-Aug-2012 |
Ganesh Ganapathi Batta <ganeshg@broadcom.com> |
Implement enableNoAutoconnect() Adding enableNoAutoconnect() API support in Bluetooth service to let BT enable in quiet mode Change-Id: I546f3ceb298082a9c9a698f406379470e3cc0d4f
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
cdce0b9897183f8aef08fe200feb4027fac56290 |
|
13-Jul-2012 |
Matthew Xie <mattx@google.com> |
Handle airplane mode messages in BroadcastReceiver, safe locking, etc Handle airplane mode messages in BroadcastReceiver Safe-lock the access of mBluetooth as a indication of binding state break indent Change-Id: Ib24ba0b1f5102c80e55e44b40a8dbf88bc2fad2e
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
6fde3098074ab2551867d1cd919958383b15725f |
|
12-Jul-2012 |
Matthew Xie <mattx@google.com> |
Minor changes. Change some instance variables to be final. Variable name changes, better code reability. Change-Id: I9f0e9c8a57d4bacf0723be1f91d621c592860683
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
a8c6df0d3a6b929cac3e59abde8309e8a45ea78a |
|
11-Jul-2012 |
Fred <fredc@broadcom.com> |
Removed startService() call from BluetoothManagerService. BT enable()/disable() are handled by using the binder interface Change-Id: I0bb8d4984129706e424320241ca3ea7e12caf0d3 Conflicts: core/java/android/bluetooth/IBluetooth.aidl
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
bf072a712f584ae1c01022835b0de21c40513d06 |
|
10-May-2012 |
fredc <fredc@broadcom.com> |
Moved BluetoothAdapter.ACTION_STATE_CHANGED broadcast from AdapterService to BluetoothManagerService Change-Id: I88e5f3fe050cf11eae9c5cf1b7c393a178b8f9b1
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
c2f5cc50f70bbb82729659f72e1491de137f7fe2 |
|
02-May-2012 |
zzy <zhenye@broadcom.com> |
disable the sync addr flag
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
a732ffd8e07a024fb15832990546d38d1ddf384e |
|
02-May-2012 |
Andre Eisenbach <andre@broadcom.com> |
Re-enable Bluetooth after a reboot, even if airplane mode is enabled. This is to resolve Buganizer issue 6325950 and make the behaviour of Blueooth and Wifi consistant. Change-Id: Idd6cfa79136f7847e9e670d6d2aa0bf613b0381f
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
d6883533e4ac3f73d2fde1db9a1dddf06dac6709 |
|
26-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed socket not closing on BT off. Used RemoteCallbackList to monitor binder deaths in BluetoothManagerService. Change-Id: I524964bd2836d8c5a4bae095b93ac9481337941d
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
116d1d4696ac8e300c83dd8a95e20e67717ef520 |
|
20-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed issue with getting Bluetooth adapter's name and airplane mode Change-Id: I18b632223574aa41b09ba30de8e35417fad86cbe
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
649fe497cea2f19e937f84218d1080bdcefe47f2 |
|
19-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed BT on/off issues and added airplane mode handling Change-Id: If39df19b99a3f45ebe82e89205d8bb0ff036e2a2
/frameworks/base/services/java/com/android/server/BluetoothManagerService.java
|
f24588615efa6c781ad963f1a5bbdf47359e1b53 |
|
17-Apr-2012 |
fredc <fredc@broadcom.com> |
Fixed issue with Bluetooth not turning on if enabled called twice in a row or disabled called twice in a row Change-Id: I26cac2fa347934e0740578b811aa5a6767cf4862
/frameworks/base/services/java/com/android/server/BluetoothManagerService.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/services/java/com/android/server/BluetoothManagerService.java
|