summaryrefslogtreecommitdiff
path: root/core/java/android/server/BluetoothHealthProfileHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete various Bluetooth files for stack integration.Jaikumar Ganesh2012-07-131-671/+0
|
* Turn off debug messgeMatthew Xie2011-10-071-2/+1
| | | | | | Bug 5425619 Change-Id: I7accb88a40604c5b8a8f2323e751a7f8f3cb9da8
* Use an integer for the channel id.Jaikumar Ganesh2011-09-121-11/+31
| | | | | | Hashcode are not guranteed to be unique. Change-Id: I905c4855785ac3da9fde8bb41e1a2678f1e9e5cc
* Don't override the hash code for the channel.Jaikumar Ganesh2011-09-091-10/+0
| | | | | | | | | | Each channel is uniquely represented by the object itself, so use the hash code to identify it. Using channelPath in the calculation will mess up things - since in Connecting state the channel path is null and when its connected, we will get a different hash code. Change-Id: I6af6c783e18fddbd38344432b8156e000baafb15
* Add error codes for channel disconnection / connection.Jaikumar Ganesh2011-09-081-18/+28
| | | | | | | | Channel connection / disconnection was handled as boolean, doesn't capture all the values. Also make it asynchronous instead of the dbus call being synchronous. Change-Id: If30177b9f93b7c83f162fbbc1233edf3e46dbfea
* Fix crash while connecting channel.Jaikumar Ganesh2011-09-081-1/+1
| | | | | | | | When an incoming connection comes and then we disconnect it, and then launch the outgoing connection - we crash because the channel path chan.mChannelPath is null. Change-Id: I9115cc038f7ce85a193bf05d14b2b0a5e0579a69
* Make Bluetooth Health APIs public.Jaikumar Ganesh2011-09-081-101/+150
| | | | | | | | Fix a few bugs: a) Pass a integer token to identify the channel. b) Close fds in case of errors. Change-Id: I2046787be5008769435f2f72a5bd67c19b749da0
* Fix sendConnection State intent api params.Jaikumar Ganesh2011-08-221-1/+1
| | | | | | Reported by: sj222.choi@samsung.com Change-Id: I2e767b372bd5d9fa42d083a37e402a013388a3c2
* Add Api to get profile connection state.Jaikumar Ganesh2011-08-221-1/+3
| | | | | | | This gets the current connection state of the profile with respect to the local Bluetooth adapter. Change-Id: I7cff6c9201d29a8b45413cff7384b7483f21bd5c
* Bluetooth Health APIsJaikumar Ganesh2011-07-111-24/+25
| | | | | | | | | | 1. Remove the check of configs in BluetoothHealth. This check is useless since BluetoothHealth is a proxy. 2. Add a wrapper and a callback class. We shouldn't expose Binder interfaces as public APIs. Change-Id: If62620b4251cf93f3f97d2fe63099e40fae7da4d
* Implement APIs for Bluetooth Health profile.Jaikumar Ganesh2011-06-241-0/+600
This first patch implements all the APIs. The APIs wil be made public soon. The data specification API will be submited in another patchset. Change-Id: I2462683b7e07380e2c42474b0036b34d03b4bed1