summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/HeadsetBase.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete various Bluetooth files for stack integration.Jaikumar Ganesh2012-07-131-298/+0
|
* BluetoothHeadset.java:Herb Jellinek2010-08-131-12/+11
| | | | | | | | | | | | | | | | | | | | | Added ACTION_VENDOR_SPECIFIC_HEADSET_EVENT, EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD, EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS. BluetoothAssignedNumbers.java (new file): A home for BT assigned numbers, beginning with the company IDs. HeadsetBase.java: Reformatted some code. AtCommandHandler.java: Fixed comment typos. Change-Id: I34d6f248166305d72be66632779fc963b894379c Added EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID. Fixed a minor comment typo. Change-Id: I8550692c13510a853c894b2d108bef4520d931c2
* Try to reconnect twice when the rfcomm error code is Connection Refused.Jaikumar Ganesh2009-09-301-2/+3
| | | | | | | This happens when the the remote headset is in a bad state or is not accepting connections. Try twice before giving up. Change-Id: I55e15bad6b72904b8e4ccbca89e17e9bd3ddb61e
* Bluetooth: API change.Nick Pelly2009-08-181-17/+16
| | | | | | | | | | | | | | | Split BluetoothDevice into BluetoothDevice and BluetoothAdapter. BluetoothAdapter: Represents the local BT adapter. Operations on the local adapter (start a scan, etc). BluetoothDevice: Represents a remote BT device. Operations on remote devices (pair, connect, etc). IBluetoothDevice.aidl -> Bluetooth.aidl BluetoothDeviceService.java -> BluetoothDeviceService.java TODO: Javadoc
* Add getBatteryUsageHint() to BluetoothHeadset for power monitoring.Nick Pelly2009-06-191-1/+15
| | | | | | | | | This is a monotonically increasing integer. Wraps to 0 at Integer.MAX_INT, and at boot. Current implementation returns the number of AT commands handled since boot. This is a good indicator for spammy headset/handsfree units that can keep the device awake by polling for cellular status updates. As a rule of thumb, each AT command prevents the CPU from sleeping for 500 ms
* Automated import from //branches/donutburger/...@141864,141864Jaikumar Ganesh2009-03-241-3/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+285
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-285/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-29/+4
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+310