History log of /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2db3f99cfe94d8192f8835947c5fb3b6e74abd47 30-Jan-2017 Marie Janssen <jamuraa@google.com> Merge "Bluetooth: add getDiscoveryEndMillis() call" am: 1785fc4eea am: 7f8d8638eb am: ca312c1cd3
am: 9eb3d7e335

Change-Id: I45a29862c9a841b68bee41daff1d8e46145cbd79
23a48331571cdee029539aa9025ccff2053d8cf0 24-Jan-2017 Marie Janssen <jamuraa@google.com> Bluetooth: add getDiscoveryEndMillis() call

Method to tell when the adapter finished (or will finish) being in
discovery mode.

Test: compiles and still can scan
Bug: 34395439
Change-Id: I41b48c2b934c0a1d5e1727cec08f3f762e3cb309
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
82dd3b0bf6716ccee0f82b2b2db234cdefd34ff6 27-Dec-2016 Fan Zhang <zhfan@google.com> Make classes non-final so mockito can mock them.

Bug: 33341275
Test: RunSettingsRoboTests
Change-Id: If83180d7caf3af29c9d0dcdc20d557d8d9827c74
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
090bf551308e68b1b2a996c959b608cabd025c5c 21-Apr-2016 Sanket Agarwal <sanketa@google.com> While turning OFF do not honor ON requests.

Native stack does not handle being put from OFF -> ON state without
doing a complete cleanup. Hence instead of going from start -> ON -> OFF
-> cleanup it goes start -> ON -> OFF ->ON -> ... usually leads to race
conditions down the road in native.

This patch is a workaround so that we can throw away the requests if we
are in currently "turning off" phase. The side-effect would be that user
will need to turn it ON again. The race happens when the turn OFF time
is longer but usually it is found to be close to order of seconds hence
the wait should be bounded.

Bug: b/28318203
Change-Id: I14f6633f31311e5b561e1dcbc8a9d6d2a5dd6fdc
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
1bec6a5b0d67f120b7013572f6b1a4f1e1b3c584 22-Oct-2015 Sanket Agarwal <sanketa@google.com> Add support for AVRCP 1.3.

* Add metadata support.
* Add player settings support.
* Add playback support.

A2DP Settings App support.

Bluetooth: A2DP Sink support for Settings App

- add support for A2DP Sink in Settings App. This will enable connection
initiation and updation on Settings App
- add framework Apis to support A2DP Sink. Any third party Apps can access
A2DP Sink priority of device and playing state of device
- add support for key to set priority. This manages priority of device for
A2DP Sink profile

Change-Id: If5f9139f37cdb9d200387877c7801075205c78a0
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb 03-Sep-2015 Michael Wright <michaelwr@google.com> Add SystemUI component to watch for keyboard attachment.

Add a new SystemUI component to watch for keyboard attachment /
detachment. If the config specifies the name of a keyboard that is
packaged with the device, then SystemUI will ask the user if they
would like to enable BT (if disabled) and then attempt to pair to the
device.

Bug: 22876536
Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
64ff8a541c579668f481cdb9a642c054ebfd30e2 02-Jun-2015 Jason Monk <jmonk@google.com> Add ability to get device by address

Bug: 21444336
Change-Id: I003092a12e93e2eccab736e7da20a6a23df30bbf
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
be3c5dbee66758517a8198f98ed2e20c80af326b 04-Feb-2015 Jason Monk <jmonk@google.com> Make QS use SettingsLib's BT code

A couple of changes needed to be made to SettingsLib to support this.
- SettingsLib needed to track ACTION_CONNECTION_STATE_CHANGED
- The summary code needed to move from Settings up into SettingsLib
- Added a getMaxConnectionState to CachedBluetoothDevice
- This simplifies the states of all of the profiles into
one.

Change-Id: I7f828f0038ad0cf39274986ece6d486d545f0286
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java
7ce96b9e610de2782ec5f2af806e7bc0f90c8578 02-Feb-2015 Jason Monk <jmonk@google.com> Move non-ui bt settings code to SettingsLib

Mostly this is moving classes from Settings to SettingsLib but there
were a few changes to support this separation.
- A bunch of things became public rather than package
- Moved some settings only code out of these classes
- Added error callback to handle errors

To see the changes from original classes view the diff against
patch-set 1.

Bug: 19180466
Change-Id: I69fd888362c6dbb325f6113b32c4b15cc6a23a41
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothAdapter.java