| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| | |
Test: sl4a GattOverBrEdrTest
Bug: 62387078
Change-Id: I5bfb87683e25f8862587e8000eb4c9bb6ff14f99
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Restores previous behaviour where GATT callbacks are invoked on the
binder thread and not the calling process main looper thread.
This fixes performance regressions as well as some
NetworkOnMainThreadException's for some applications.
Bug: 37544152
Bug: 37871717
Test: Covered by prior API tests.
Change-Id: Id8ab705dd4d7f00030e6ac29e056dde5180670e9
(cherry picked from commit 98024a83d50f8cfcc02701403de5f99bcf8e50d6)
|
| | |
| |
| |
| |
| |
| | |
Bug: 37544152
Test: the all-knowing eyes of the reviewers
Change-Id: I8f5a756a204fe90960700e1dc42f64824d3b844a
|
| | |
| |
| |
| |
| |
| | |
Bug: 37544152
Test: sl4a GattReadTest GattWriteTest
Change-Id: I043dfefaafe9f3700418f2c855c52aac3644310f
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Having PHY_LE_* constants defined in four different places, with one
value being different than others is misleading. Leave just PHY_LE_*
definitions in BluetoothDevice, and add PHY_LE*_MASK for the mask used
in PHY update API.
This patch also removes need to translate PHY value between PHY update
request and event, as mask is used for request, and the value is
returned in event.
Bug: 30622771
Test: manual
Change-Id: I897effa1204a024465d55501c83c542566c4d37c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Restores previous behaviour where GATT callbacks are invoked on the
binder thread and not the calling process main looper thread.
This fixes performance regressions as well as some
NetworkOnMainThreadException's for some applications.
Bug: 37544152
Bug: 37871717
Test: Covered by prior API tests.
Change-Id: Id8ab705dd4d7f00030e6ac29e056dde5180670e9
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 37544152
Test: the all-knowing eyes of the reviewers
Change-Id: I8f5a756a204fe90960700e1dc42f64824d3b844a
(cherry picked from commit 60c7dac77533163ed951dee09ec7b42a49bdf54a)
|
| | |
| |
| |
| |
| |
| |
| | |
Bug: 37544152
Test: sl4a GattReadTest GattWriteTest
Change-Id: I043dfefaafe9f3700418f2c855c52aac3644310f
(cherry picked from commit 4eab49652e48159fd37f827d30b822f2f187551e)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for AnyThread, CallSuper, and UiThread.
Another related CL started documenting @RequiresPermission, so remove
duplicated information in existing APIs.
Suppress auto-doc on a handful of classes that are already
well-documented.
Test: make -j32 offline-sdk-docs
Bug: 37526420
Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having PHY_LE_* constants defined in four different places, with one
value being different than others is misleading. Leave just PHY_LE_*
definitions in BluetoothDevice, and add PHY_LE*_MASK for the mask used
in PHY update API.
This patch also removes need to translate PHY value between PHY update
request and event, as mask is used for request, and the value is
returned in event.
Bug: 30622771
Test: manual
Change-Id: I897effa1204a024465d55501c83c542566c4d37c
(cherry picked from commit 9e377194e35c0fb9ac5771f5658c095ed97e0838)
|
| |
|
|
|
|
|
|
|
| |
New methods should be added to BluetoothGattCallback, instead of
creating Ext class.
Test: manual
Bug: 30622771
Change-Id: I2567df5baace6bd2d2f30c36d2f62056408ca5d0
|
| |
|
|
|
|
|
| |
Bug: 30622771
Test: manual
Change-Id: I50262a56a70466439f9700549c3c0e7bd49e2e8d
(cherry picked from commit db5a87d50db9d4b3d642603f6c329b83ee5851f6)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add changes to expose L2CAP API to create an insecure L2CAP socket
for supporting OPP 1.2.
Test: Connect with Remote OPP Client supporting OPP 1.2 and verify
that connection and transfer happens over L2CAP. Connect with Remote
OPP Client supporting OPP 1.1 and verify that connection and transfer
happens over RFCOMM.
Bug: 33010988
Change-Id: I21ed672afb4ed5d2355ff0a0f9691af220921c1f
|
| |\
| |
| |
| |
| |
| |
| |
| | |
44c013d739 am: 6fe3900791
am: 853e3e50ac
Change-Id: I3bdacc816923d012f061e5310d5e076fcaf9d387
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
44c013d739
am: 6fe3900791
Change-Id: I8e04aa89379c4a50031fade065c288fd1cc30668
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When bond is created from Bluetooth Settings, profiles gets properly
auto connected when services are discovered. If pairing is done from any
other app, i.e. NFC app, the bond is not being recognized as initiated
from local device, and profiles are not connected.
This patch makes sure that if bonding is initiated, no matter from which
app, it will cause proper profiles to connect.
Bug: 30211618
Change-Id: I71131f33eb5b9db2f5b4a8737b191d541bf1fd3d
|
| | | |
| | |
| | |
| | | |
Change-Id: I5798c3d71c7cc9c509e0f7b04fa140168b0fdc11
|
| | | |\
| | | |
| | | |
| | | | |
Change-Id: Ifc45930160cf01ee78ecfbfdc48697055f82e0a7
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.
Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All that this member variable is doing right now is leaking a
reference to a context without any benefit.
Bug: 31752040
Bug: 31710795
Change-Id: If2241422533318b866340e8dcc9f5fbd9518349c
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
3106e3ae27 am: c7a343fcb6
am: 532d2b11a3
Change-Id: Iee468d3bcfd72b33475e9bf1d51865f3c5e8a4a2
|
| | |\ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
am: 3106e3ae27
Change-Id: I0748eed7b884294d993b4538e4e65397b6f0dbb2
|
| | | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
setPairingConfirmation was set to only require BLUETOOTH_ADMIN
permission which shouldn't be able to set the confirmation itself.
This is restricted to BLUETOOTH_PRIVILEGED permission.
Bug: 29043989
Change-Id: I887de32d156e672ec44aa0b286cd7ea7f9f8ad55
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed the link that points to the Bluetooth guide.
Bug: 29268546
Change-Id: I51c48cebf45c78481f8853a93ff7bcd8483d69ba
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This patch implements out of band pairing that uses optional data.
Currently, it works only for LE transport, using Temporary Key value.
In the future fields might be added to OOBData to support other options for
optional data.
Change-Id: I0811182efb72ac5f80521ed4876b32603cb628c1
|
| |/
|
|
|
|
|
|
|
| |
In an attempt to better be able to debug Bluetooth-related parts of
the system, add info-level logging including calling process and
thread whenever the aforementioned functions are called.
Bug: 25996120
Change-Id: I5a72b2ab929f805ec1c43cc54879ed079a8dfe34
|
| |
|
|
|
|
|
|
| |
Receivers of ACTION_FOUND intent are now required to have
ACCESS_COARSE_LOCATION permission.
Bug: 21852542
Change-Id: I8306f7431f067ca36bfc568a912385153fa3d496
|
| |
|
|
|
|
|
|
|
|
| |
This change enable the posibility to enforce using a
16-digit pin or MITM for a RFCOMM or L2CAP connection.
This is needed for the SIM access profile.
Change-Id: I3205013f9e758c353381442a86845dab467780f8
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
|
| |
|
|
| |
Change-Id: I1d3c512160de2bd68550faf243bb151d5cf7f3c9
|
| |
|
|
| |
Change-Id: I5bc86f8ec6ea5c873f1e14dab0e0c47c5c9df7f7
|
| |
|
|
| |
Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
|
| |
|
|
|
|
|
|
| |
Changes include new framework APIs to enable and disable Bluetooth LE
separately from Bluetooth Classic. Along with handling the new states
in the Bluetooth manager service.
Change-Id: Idf667981f48fcbcb6dfda1aa77ea8bab1b2361f0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Updated OBEX to support SRM
- Added support for OBEX over l2cap and SRM.
- Minor bugfixes, and reduce CPU load ALOT
- Added support to send responses without body data.
- Extend BluetoothSocket to support L2CAP
- Added functionality to get the channel number
needed to be able to create an SDP record with the channel number.
- Added interface to get socket type and max packet sizes.
- Added interface to perform SDP search and get the resulting
SDP record data.
Change-Id: I9d37a00ce73dfffc0e3ce03eab5511ba3a86e5b8
|
| |
|
|
|
| |
Bug: 19186961
Change-Id: I24656a07ee23ebfe067a9dfb9c1bc4041c782d8c
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, users' preference in phonebook and call history or message
access per each Bluetooth-paired device is stored in Settings application's
shared preferences.
However, some privileged applications other than Settings need to access
such data. So we decided to migrate the data from Settings application's
shared preferences to Bluetooth application's.
Bug: 17158953
Change-Id: I3771f03eaea3f57cf60d93ab9fd41c9eb3e1e99c
|
| |
|
|
|
| |
Bug: 14063256
Change-Id: I096248b60752992aa23ce5bfbfc47fda95773db2
|
| |
|
|
|
|
|
| |
Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.
Change-Id: I1733a67bf5256bd7b181bd5e68e40b476994ebfd
|
| |
|
|
|
|
|
| |
Adding a new method to BluetoothDevice that lets callers know whether a remote device is
connected.
Change-Id: I6f7cb99147f3cdad1d676a93183856dbb4083a06
|
| |
|
|
|
|
|
| |
Support for passing preferred transport for GATT connections as part of
Connect APIs
Change-Id: I93938dce519b8fa12de41d7e8690dc9355ce2dc5
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This is caused by access fetchUuidsWithSdp after bluetooth is turned off.
We can add check null pointer for sService,
before call sService.fetchRemoteUuids(this) to fix this problem;
bug:12533948
Change-Id: Id2cab92a56185073fabcabcfb21a243e99a60cee
|
| |/
|
|
| |
Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
|
| |
|
|
|
|
|
|
| |
The APIs are createBond, setPin, setPairingConfirmation
The intent is ACTION_PAIRING_REQUEST
bug 11101076
Change-Id: I3a314efd973b3ce078ab5347159c336f222d9f15
|
| |
|
|
|
| |
Bug: 11087521
Change-Id: I99cc584987bf12fe0648b048398b4eb9836e6172
|
| |
|
|
| |
This reverts commit 008ce9e07b5e58c5ab31c5d73ec3d1ad1a6cf605.
|
| |
|
|
|
|
| |
bug 9987787
Change-Id: Id1c149964137e35703310e2f2893c8830aacddea
|
| |
|
|
| |
Change-Id: Icb498e6c0430789b6168bec3beb1d4650e4f1238
|
| |
|
|
|
|
| |
bug:10116530
Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744
|
| |
|
|
|
|
|
|
| |
Update javadoc of close methods of GATT cliet and server
Update javadoc of BluetoothAdapter
bug 8963528
Change-Id: I45ec618fd495225ed11a6171f33bfdc218397d4c
|
| |
|
|
|
|
| |
bug 8664724
Change-Id: I9b9222cd5877babcded73798a5d1ff13fd10e791
|