History log of /frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/BluetoothA2dp.java
6f6c54519a9b15379bb79e195655b6bd4fc5967a 01-Aug-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Auto connection/disconnection related changes

Remove ACTION_CONNECT_OTHER_PROFILES as it is no longer used
Allow only PRIORITY_ON and PRIORTY_OFF as priority params for SetPriority()
API in BluetoothA2DP and BluetoothHeadset
BluetoothPBAP: Pass on proxy object as part of Service Connected callback

Change-Id: Ida00fc2b7d1dcb91b01f7ddd2cea482367a3b334
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
82e57fe1741e225a65bc69004ae12cbbdfae5737 29-Jun-2012 Ravi Nagarajan <nravi@broadcom.com> Reset priority on unbond

Change-Id: I8232c666bde26235ad527c96e5218fc1b3e7a1db
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
20738945d482d9e313cd8b48c1bd83b6278934c7 27-Apr-2012 Swaminatha Balaji <swbalaji@broadcom.com> Auto connect hf/a2dp

Change-Id: I7c1fb4e2614f65e6810f195814dcf0cad88aee21
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.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/BluetoothA2dp.java
3e8c82edb1feafc796aa52efafedc13f794c4dcd 17-Feb-2012 Matthew Xie <mattx@google.com> Framework changes for HFP and A2DP profile implementation of the new stack.
Add IBluetoothHeadsetPhone.aidl for a small service in Phone to get
phone state changes

Change-Id: I1015e4a69720c4e9cd18ae4236ccd0dbff2e1b2c
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
313a2167098ce8498db3a50d70724f260e8169c0 18-Jan-2012 Jaikumar Ganesh <jaikumar@google.com> Delete various Bluetooth files for stack integration.
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.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/BluetoothA2dp.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/BluetoothA2dp.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/BluetoothA2dp.java
0706fed52075f7f2b25101a40287519ac18d3184 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Fix some unmatched javadoc tags.

Bug: 3392175
Change-Id: I84aa86c07060bc4ba399fd5c8f7cda162b432031
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
c8fa4ff838a0c3d2c67db65540fa751e5abe27ed 26-Jan-2011 Jaikumar Ganesh <jaikumar@google.com> Improve readability of java docs for the public APIs.

Change-Id: I0a0f1be04ed2ea2c14498a1a2ed4b050191ec95b
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
03cd78cf5e51c3adb78d2e3d314838dcf3e36b26 19-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Convert return type of APIs from Set to List.

Most of the time it will either be empty or have 1 device.
Using list makes it much a better API and since its supported
by the AIDL format, the code becomes much nicer.

Change-Id: I5a2508b33ba754fc8cc738409d658e1235aaf2cf
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
41d5c805d96aef0aaa9a2aaa86ccc4b77ca75e11 14-Oct-2010 Jaikumar Ganesh <jaikumar@google.com> Add function to check for AVRCP target to send volume keys.

Currently, when A2DP is connected and the user changes volume
keys on the device, we just change the volume on the device.
We are not supposed to do that. The white paper recommendation
is to keep the volume stream at max and just send the volume
keys over. But then not all A2DP headsets act as AVRCP targets,
hence check for that.

So now the media code should use the API and not change the volume
at the device but just send the keys.

Bug: 3071356
Change-Id: I03a8b6f7619cf860c4e63979bf4903ded9ecd314
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
62c37efc9e894809b29a004c142a8e0a6b374db7 25-Aug-2010 Jaikumar Ganesh <jaikumar@google.com> New public APIs for BluetoothA2dp and BluetoothHeadset profiles.

Change-Id: I1cc4b109542dfd62473cb95797c8c3d0d15725f4
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
551ed72940af6e4f0b34a1d05282497a547e9a7c 11-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Use UNDEFINED priorities when unpaired.

For the docks, we can set if a device is preferred or not
before pairing process. This was getting overridden when we pair.
This problem doesn't happen with normal headsets.

Dr No: Eastham
Bug: 2318290
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
b16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3 05-Dec-2009 Jaikumar Ganesh <jaikumar@google.com> Add API to get Active Sinks.

Allow incoming connections only when there are no active sinks.

Dr No: Eastham
Bug: 2133530
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
721361f1a74b876c42cc0533c9c19320e8c09927 21-Nov-2009 Jaikumar Ganesh <jaikumar@google.com> Add a new priority for Auto Connection of A2DP. DO NOT MERGE.

1. PRIORITY_OFF is when user unchecks A2DP connection profile box.
2. By default, when you bond, it will be PRIORITY_ON.
3. When the profile gets connected, the priority gets set to
PRIORITY_AUTO_CONNECT. This means that we will connect
automatically to this profile.
4. When the user disconnects, we downgrade the priority to PRIORITY_ON,
which means we won't reconnect automatically.

a) We need to make a similar change to Handsfree profile.
b) We need to rework the profile management design and code which
will fix the 6 second timer that we have for A2DP reconnection.

Add AUTO_CONNECT priority for Headset profile.
Also, don't set priority to ON while disconnecting.
This logic has been pushed up to the Settings app.

Dr No: Eastham
Bug: 2133530
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
081f58abb7ceb702fdb0b65ff0e0ff70dd265a30 01-Oct-2009 Michael Chan <mchan@android.com> b/2148252 Fix emulator

Change-Id: Ic2a16d4fac2a2a12a209c83ad2049829255cb31f
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
e766eae93890b09db67d2c6a599c25fdae103f20 30-Sep-2009 Nick Pelly <npelly@google.com> Fix broken build.

Should be bool not int. Forgot to roll in local changes to last commit.

Change-Id: I28bad88238e5b715a5033b0d5a897d924ef8b538
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
f9bbe1e71a502fe7bd1f4a23ba5bbe4dde0d9d57 24-Jun-2009 Zhu Lan <mtcb47@motorola.com> Bluetooth A2DP suspend/resume functionality

Change-Id: I8366852fa9b6ff9dacf18db00ea1c2be0c00ff34
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
005b228cdfb369d9b3b325884c0337ba5968bf8c 10-Sep-2009 Nick Pelly <npelly@google.com> API_CHANGE: Cleanup, javadoc and unhide more Bluetooth API.

This is a large batch, and covers:

-- Bluetooth Device Discovery --
BluetoothAdapter.ACTION_DISCOVERY_STARTED
BluetoothAdapter.ACTION_DISCOVERY_FINISHED
BluetoothAdapter.startDiscovery()
BluetoothAdapter.cancelDiscovery()
BluetoothAdapter.isDiscovering()

-- Bluetooth bonding (pairing) --
BluetoothAdapter.getBondedDevices()
BluetoothDevice.ACTION_BOND_STATE_CHANGED
BluetoothDevice.EXTRA_BOND_STATE
BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE
BluetoothDevice.BOND_NONE
BluetoothDevice.BOND_BONDING
BluetoothDevice.BOND_BONDED
BluetoothDevice.getBondState()
BluetoothDevice.createBond()
BluetoothDevice.cancelBondProcess()
BluetoothDevice.removeBond()

-- BluetoothClass --
BluetoothDevice.ACTION_CLASS_CHANGED
BluetoothDevice.EXTRA_CLASS
BluetoothDevice.getBluetoothClass()
BluetoothClass.Service.*
BluetoothClass.Device.Major.*
BluetoothClass.Device.*
BluetoothClass.getDeviceClass()
BluetoothClass.getMajorDeviceClass()
BluetoothClass.hasService()

-- Misc BluetoothDevice --
BluetoothDevice.ACTION_ACL_CONNECTED
BluetoothDevice.ACTION_ACL_DISCONNECTED_REQUESTED
BluetoothDevice.ACTION_ACL_DISCONNECTED
BluetoothDevice.ACTION_DISCOVERED
BluetoothDevice.ACTION_NAME_CHANGED
BluetoothDevice.EXTRA_DEVICE
BluetoothDevice.EXTRA_NAME
BluetoothDevice.EXTRA_RSSI

-- Misc BluetoothAdapter --
BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED
BluetoothAdapter.EXTRA_LOCAL_NAME
BluetoothAdapter.checkBluetoothAddress()

I deprecated BluetoothIntent and moved each intent into the class it relates
to.

Change-Id: I877b1280428ab46278b2bc25668bb44cda22dc36
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
b24e11baac589fe16426f2d243b460ab84991c7b 09-Sep-2009 Nick Pelly <npelly@google.com> API_CHANGE

Deprecate BluetoothError.java.

I spent a lot of time experimenting with a class BluetoothError to enumerate
the many error codes returned by the Bluetooth API. But at the end of the day
they were never used. The vast majority of method calls only really need a
true/false error value, and often not even that.

Methods which do need more detailed error enumeration (for example, bonding
failures) can have there own enumerated error codes. But there is no need
for a common set of error codes.

Also change the IPC failed warnings in BluetoothA2dp to Log.e. These indicate
a very serious error.

Introduce BluetoothAdapter.ERROR and BluetoothDevice.ERROR as helper sentinel
values.
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
a4433af5ac677be7c1f63447c0cd78829bdee159 09-Jul-2009 Yue Lixin <a5206c@motorola.com> Add Bluetooth device picker support

- add Intent and Extra definition
- move profile filter into BluetoothClass
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
bd022f423a33f0794bb53e5b0720da2d67e4631c 15-Aug-2009 Nick Pelly <npelly@google.com> Bluetooth: API change.

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
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
f5b4b98fada53d91c4c2ebeb5a1d33ccc95c94d2 06-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136745
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/bluetooth/BluetoothA2dp.java