OSDN Git Service
Andre Eisenbach [Sat, 19 Sep 2015 16:21:30 +0000 (16:21 +0000)]
am
c7cb8f07: am
ef7d8cb8: Change UHID socket to be non-blocking
* commit '
c7cb8f0715263404ab78f864933567e5e870ab49':
Change UHID socket to be non-blocking
Andre Eisenbach [Sat, 19 Sep 2015 16:07:40 +0000 (16:07 +0000)]
am
ef7d8cb8: Change UHID socket to be non-blocking
* commit '
ef7d8cb8b012e77c9b0c596c5ad4b0ffb7e5dde9':
Change UHID socket to be non-blocking
Arman Uguray [Fri, 18 Sep 2015 02:18:29 +0000 (02:18 +0000)]
am
5f5d1e54: am
52bfc606: service: Add binder stubs for advertising API
* commit '
5f5d1e545ac5db670ee3404a031ba11d79fb53e8':
service: Add binder stubs for advertising API
Arman Uguray [Fri, 18 Sep 2015 02:18:29 +0000 (02:18 +0000)]
am
b3234cf1: am
3d73f617: service: Add AdvertiseData and AdvertiseSettings
* commit '
b3234cf14c10ff0f72458013ab5f4df28aff4bd6':
service: Add AdvertiseData and AdvertiseSettings
Arman Uguray [Fri, 18 Sep 2015 02:09:00 +0000 (02:09 +0000)]
am
52bfc606: service: Add binder stubs for advertising API
* commit '
52bfc6060cec652a67c8989e0548225af0008be1':
service: Add binder stubs for advertising API
Arman Uguray [Fri, 18 Sep 2015 02:08:59 +0000 (02:08 +0000)]
am
3d73f617: service: Add AdvertiseData and AdvertiseSettings
* commit '
3d73f617610de09a68243852c91a2fffcabc367c':
service: Add AdvertiseData and AdvertiseSettings
Arman Uguray [Thu, 10 Sep 2015 21:28:54 +0000 (14:28 -0700)]
service: Add binder stubs for advertising API
Added native binder proxy stubs for IBluetoothLowEnergy interface
startMultiAdvertising and stopMultiAdvertising methods and
IBluetoothLowEnergyCallback.onMultiAdvertiseCallback.
Bug:
23793954
Change-Id: I0577619502042f612bf17f2a0affb2a9a1eaed38
Arman Uguray [Mon, 31 Aug 2015 21:31:02 +0000 (14:31 -0700)]
service: Add AdvertiseData and AdvertiseSettings
Added native definitions for AdvertiseData and AdvertiseSettings
framework objects. Also introduced parcel_helpers, which currently
provides functions to convert AdvertiseData and AdvertiseSettings
to/from Parcel.
As part of this, the bt_service_binder_unittests executable has been
added. This is built for the target device rather than host, as it
requires libbinder and libbinder currently can't be built for host.
Bug:
23793954
Change-Id: Ic55d7f48579e519006decaada5b6f2ef7aefe595
Arman Uguray [Fri, 18 Sep 2015 00:00:18 +0000 (00:00 +0000)]
am
e78161ae: am
2e434148: service/client: Add first BLE interface commands
* commit '
e78161ae439db5577fca6accb857e7e996fa91fd':
service/client: Add first BLE interface commands
Arman Uguray [Thu, 17 Sep 2015 23:54:28 +0000 (23:54 +0000)]
am
2e434148: service/client: Add first BLE interface commands
* commit '
2e4341488064be7e8f4d575c8de0a1670ddc81a0':
service/client: Add first BLE interface commands
Arman Uguray [Thu, 17 Sep 2015 23:50:32 +0000 (23:50 +0000)]
am
f35612aa: am
15cf17fc: service: Implement IBluetoothLowEnergy client registration
* commit '
f35612aad0f1de5f480cc48a4df7332276f994d0':
service: Implement IBluetoothLowEnergy client registration
Arman Uguray [Thu, 17 Sep 2015 23:50:31 +0000 (23:50 +0000)]
am
38ddd10b: am
f8711f2e: service: Added RemoteCallbackMap
* commit '
38ddd10ba4d5126f52ae7d4b83306f029602e623':
service: Added RemoteCallbackMap
Arman Uguray [Thu, 17 Sep 2015 23:50:30 +0000 (23:50 +0000)]
am
889cc102: am
81f82d27: service: Add IBluetoothLowEnergy interface
* commit '
889cc1026fe680747df8a4ef650de44c3fd8b563':
service: Add IBluetoothLowEnergy interface
Arman Uguray [Thu, 17 Sep 2015 23:47:23 +0000 (23:47 +0000)]
am
15cf17fc: service: Implement IBluetoothLowEnergy client registration
* commit '
15cf17fc406f7796b33dc56585eccbcd1c9c6df9':
service: Implement IBluetoothLowEnergy client registration
Arman Uguray [Thu, 17 Sep 2015 23:47:22 +0000 (23:47 +0000)]
am
f8711f2e: service: Added RemoteCallbackMap
* commit '
f8711f2e95343f2c9673ab4ffc0bebbdba16c452':
service: Added RemoteCallbackMap
Arman Uguray [Thu, 17 Sep 2015 23:43:28 +0000 (23:43 +0000)]
am
81f82d27: service: Add IBluetoothLowEnergy interface
* commit '
81f82d278f4d5593012357857c5bc1d0cd758c82':
service: Add IBluetoothLowEnergy interface
Arman Uguray [Fri, 4 Sep 2015 20:17:39 +0000 (13:17 -0700)]
service/client: Add first BLE interface commands
Added the register-ble, unregister-ble, and unregister-all-ble
commands to FCLI. Also added a DeathListener for the IBluetooth
interface to handle the case when bluetoothtbd dies.
Bug:
23793954
Change-Id: I3c549ea59665cf174fb47114b879f679c0aafcb4
Arman Uguray [Fri, 4 Sep 2015 20:11:39 +0000 (13:11 -0700)]
service: Implement IBluetoothLowEnergy client registration
This CL adds support for the IBluetoothLowEnergy registerClient and
unregisterClient methods. A lot of the code added here deals with
asynchronous callback registration and can be generalized to other
interfaces that asynchronously associate and return client
interface IDs with callback binders.
Bug:
23793954
Change-Id: I82cf26e194c456f04363fe66f094bc803a5aa436
Arman Uguray [Fri, 4 Sep 2015 19:57:37 +0000 (12:57 -0700)]
service: Added RemoteCallbackMap
Added the RemoteCallbackMap template class which allows storing
IInterface subclasses in an associative array while tracking the
death of the remote process that owns the associated binder. This is
similar to RemoteCallbackList but stores entries in key-value pairs.
Also fixed some RemoteCallbackList documentation and change the code to
use std::unordered_map rather than std::map.
Bug:
23793954
Change-Id: I205c0491d21fef3bc5eeb5c4a7356dab4b6eb8dc
Arman Uguray [Wed, 2 Sep 2015 00:22:29 +0000 (17:22 -0700)]
service: Add IBluetoothLowEnergy interface
Introduce the IBluetoothLowEnergy and IBluetoothLowEnergyCallback
interfaces with stub implementations for three methods only. Added
the definition and implementation for IBluetooth.GetLowEnergyInterface.
Bug:
23395353
Change-Id: Iba4d9aa20779956b486c0b46e752e0e00be3aeea
Andre Eisenbach [Thu, 17 Sep 2015 22:16:20 +0000 (15:16 -0700)]
Change UHID socket to be non-blocking
On some platforms, the logs indicate that the BTU task is stalled by
UHID driver when writing the HID descriptor to the kernel. This patch
converts the UHID socket to non-blocking to avoid stalling the main
BTU task.
Bug:
23978964
Change-Id: I5a7a3e106fb2c967d68f077faedcd4fe62bbd912
Arman Uguray [Thu, 17 Sep 2015 02:02:36 +0000 (02:02 +0000)]
am
d7b31304: am
c2fc0f28: service: Introduce bluetooth::LowEnergyClient
* commit '
d7b313043c124383075f9c89e2a94ca266524f91':
service: Introduce bluetooth::LowEnergyClient
Arman Uguray [Thu, 17 Sep 2015 01:55:07 +0000 (01:55 +0000)]
am
c2fc0f28: service: Introduce bluetooth::LowEnergyClient
* commit '
c2fc0f287f4dfaf206a51856b8d5dfa923af3c05':
service: Introduce bluetooth::LowEnergyClient
Arman Uguray [Thu, 3 Sep 2015 22:09:41 +0000 (15:09 -0700)]
service: Introduce bluetooth::LowEnergyClient
Added the LowEnergyClient class which manages a per-application BLE
API client instance. This currently only supports getting registered
with the stack and obtaining a client_if handle but will expose APIs
in the future for various BLE operations.
Bug:
23793954
Change-Id: I423f6d12321877826525e5e52136682fa9d5a441
Sharvil Nanavati [Tue, 15 Sep 2015 05:11:51 +0000 (22:11 -0700)]
Fix build: use unsigned long long in arithmetic expression.
Change-Id: Ibaa407cc7456969b177cf4c2038f90b388707786
Sharvil Nanavati [Tue, 15 Sep 2015 04:47:53 +0000 (21:47 -0700)]
Fix build: add LOG_TAG parameter to LOG_* macros.
Change-Id: I455fdde6264cd17cd2b73dbd1f70c68e7d632ec7
Sharvil Nanavati [Tue, 15 Sep 2015 04:21:24 +0000 (21:21 -0700)]
resolved conflicts for
b8cc54d1 to mnc-dr-dev-plus-aosp
Change-Id: I157c86604ccaf0635bdf9a132145af3552407cd0
Arman Uguray [Mon, 14 Sep 2015 21:20:23 +0000 (21:20 +0000)]
am
21d6dc21: am
e9c82dca: service: Add UUID::GetRandom
* commit '
21d6dc2100ac14455092972abca3a7ec5a3343db':
service: Add UUID::GetRandom
Arman Uguray [Mon, 14 Sep 2015 21:20:22 +0000 (21:20 +0000)]
am
ae789289: am
9ded7b61: service: Add hal::BluetoothGattInterface
* commit '
ae78928948557558437b006bbeaa65b6e5988be8':
service: Add hal::BluetoothGattInterface
Arman Uguray [Mon, 14 Sep 2015 21:14:32 +0000 (21:14 +0000)]
am
e9c82dca: service: Add UUID::GetRandom
* commit '
e9c82dca471da42c5a5dddb4582b70b3681758af':
service: Add UUID::GetRandom
Arman Uguray [Mon, 14 Sep 2015 21:14:32 +0000 (21:14 +0000)]
am
9ded7b61: service: Add hal::BluetoothGattInterface
* commit '
9ded7b6175825afdac0e2cebef8755e4d7b03103':
service: Add hal::BluetoothGattInterface
Arman Uguray [Thu, 3 Sep 2015 22:00:52 +0000 (15:00 -0700)]
service: Add UUID::GetRandom
Added a static class method to UUID that returns a random 128-bit UUID.
Also converted the enum constants to pure integer constants to make
their meaning more explicit.
Bug:
23395353
Change-Id: If8b97d40c020fdfc8b460b537b2da7c62b0c24ad
Arman Uguray [Mon, 31 Aug 2015 23:29:07 +0000 (16:29 -0700)]
service: Add hal::BluetoothGattInterface
Added hal::BluetoothGattInterface which is a C++ wrapper around the
HAL Bluetooth GATT interfaces. This follows the current pattern of hal/*
wrappers and is meant to be fakeable.
Bug:
23395353
Change-Id: Ib11afba9fe2f4632591d5db384edf32ca788bf2c
Sharvil Nanavati [Mon, 7 Sep 2015 08:05:19 +0000 (01:05 -0700)]
DO NOT MERGE Use POSIX timer API for wake alarms instead of OSI callouts.
This change increases RFCOMM throughput by a little over 50%. We
were paying a pretty major cost in setting up / tearing down wake
timers by going through JNI and Binder over to AlarmService.
There are a few gotchas with this implementation, particularly
because the Linux kernel implementation of wake timers is somewhat
buggy.
Bug:
23375670
Change-Id: I27558f439e57696d912b968f56a48e5e4098860b
Sharvil Nanavati [Wed, 9 Sep 2015 22:56:17 +0000 (15:56 -0700)]
Add libpower as a dependency to all device targets that include libosi.
Bug:
23902077
Change-Id: Icc7119a2b3199310e2210d46f599da00261fdff6
Bart Sears [Thu, 10 Sep 2015 00:11:40 +0000 (00:11 +0000)]
Revert "Add libpower to all build targets that depend on libosi."
This reverts commit
5997f91a5224ac6072eff11c89b7b9658d3d7df0.
Change-Id: If682757bca55ecc0057bdd058b654ecbdcc7e50a
Sharvil Nanavati [Wed, 9 Sep 2015 22:23:56 +0000 (15:23 -0700)]
Add libpower to all build targets that depend on libosi.
Change-Id: I26e8b27077a6bd016198b90c5aabb2b2d7cdcaa2
Andre Eisenbach [Wed, 9 Sep 2015 18:31:39 +0000 (18:31 +0000)]
am
043257b2: am
03ca1894: Merge "Allow BT inquiry while discovery is in progress." into mnc-dr-dev
* commit '
043257b2ab96b07ba24e97dc6031536f8edba075':
Allow BT inquiry while discovery is in progress.
Andre Eisenbach [Wed, 9 Sep 2015 18:19:23 +0000 (18:19 +0000)]
am
1a2053f0: am
313a933e: Merge "Eliminate recursive calling when handling GATT related errors" into mnc-dr-dev
* commit '
1a2053f0fff145a6437261581c361048b328b2b4':
Eliminate recursive calling when handling GATT related errors
Andre Eisenbach [Wed, 9 Sep 2015 18:15:41 +0000 (18:15 +0000)]
am
03ca1894: Merge "Allow BT inquiry while discovery is in progress." into mnc-dr-dev
* commit '
03ca189412e3f8ec7c5963339af172c9276b3b9b':
Allow BT inquiry while discovery is in progress.
Andre Eisenbach [Wed, 9 Sep 2015 18:10:57 +0000 (18:10 +0000)]
Merge "Allow BT inquiry while discovery is in progress." into mnc-dr-dev
Andre Eisenbach [Wed, 9 Sep 2015 18:04:33 +0000 (18:04 +0000)]
am
313a933e: Merge "Eliminate recursive calling when handling GATT related errors" into mnc-dr-dev
* commit '
313a933ef3f55ad5121ff70851718b812cf05135':
Eliminate recursive calling when handling GATT related errors
Andre Eisenbach [Wed, 9 Sep 2015 17:55:55 +0000 (17:55 +0000)]
Merge "Eliminate recursive calling when handling GATT related errors" into mnc-dr-dev
tturney [Tue, 8 Sep 2015 21:42:09 +0000 (14:42 -0700)]
Allow BT inquiry while discovery is in progress.
BT Inquiry is disallowed when service discovery
is in progress. Innitially when GATT discovery
is in progress (crosskey pairing), it resulted
in inquiry requests being rejected. During an
insecure connection like OPP, bonding link key
is not stored. In an earlier patch (
b820aec7),
BR/EDR discovery was bypassed if the bonding was
temporary. However, this was not done for LE.
Applying the same logic to LE, resolved the
inquiry issue reported in this bug.
Bug:
23468169
Change-Id: I6111c80a420aeb0bc36a0393eb215c112512d251
Pavlin Radoslavov [Sat, 5 Sep 2015 00:55:09 +0000 (17:55 -0700)]
Eliminate recursive calling when handling GATT related errors
If there are errors when processing GATT related events (e.g.,
configuring the MTU), don't use recursive calls into
bta_gattc_sm_execute(), because it breaks the free-ing of some
of the memory.
Bug:
23756301
Change-Id: I3c685170e868ffbf4e488d2bb5a31904e3f7b39d
wang ping [Tue, 8 Sep 2015 00:10:13 +0000 (00:10 +0000)]
am
2cf3fc0c: am
72abbbea: Fix issue where bluesleep idle timer is not started
* commit '
2cf3fc0c9ca6c7971fa55c6bdacf4aa9fe32e452':
Fix issue where bluesleep idle timer is not started
wang ping [Mon, 7 Sep 2015 23:56:39 +0000 (23:56 +0000)]
am
72abbbea: Fix issue where bluesleep idle timer is not started
* commit '
72abbbeaa9220cf30c1d9f21aadd52ba3dd6ea4e':
Fix issue where bluesleep idle timer is not started
wang ping [Sat, 5 Sep 2015 17:48:09 +0000 (10:48 -0700)]
Fix issue where bluesleep idle timer is not started
Sometimes allow_device_sleep() is called before wake_assert, this result in transmit_done
does not start idle timer. This is because the "wake_state" does not match while
allow_device_sleep() is called before wake_assert() is called. So start idle timer
anyway when transmit_done is called.
Bug:
23754156
Change-Id: I5437aea0abc4b7f5cf847701e2d0a889c6823fcb
Sharvil Nanavati [Fri, 4 Sep 2015 02:07:55 +0000 (19:07 -0700)]
resolved conflicts for merge of
a905eb62 to mnc-dr-dev-plus-aosp
Change-Id: I331ff78fefe13bd6fddd74d5c7e27f35dcd1c419
Sharvil Nanavati [Thu, 3 Sep 2015 21:03:00 +0000 (21:03 +0000)]
Merge "DO NOT MERGE Directly acquire wake locks from the Bluetooth stack." into cw-e-dev
Joshua Schwarz [Thu, 3 Sep 2015 06:21:02 +0000 (06:21 +0000)]
am
9ae991c1: Merge "Implementation of net_test_bluedroid as a GTest." into cw-e-dev
* commit '
9ae991c115a7a73e1bbcd5fc6faef1b7f59ae72e':
Implementation of net_test_bluedroid as a GTest.
tturney [Thu, 3 Sep 2015 04:24:11 +0000 (04:24 +0000)]
am
9863e115: am
65d1c84f: Fix btwrite timer timeout for Angler (2/2)
* commit '
9863e115d28a5c21c3ba7b5df44fc58c5b5d022b':
Fix btwrite timer timeout for Angler (2/2)
Joshua Schwarz [Wed, 2 Sep 2015 07:26:59 +0000 (07:26 +0000)]
Merge "Implementation of net_test_bluedroid as a GTest." into cw-e-dev
tturney [Wed, 2 Sep 2015 01:12:48 +0000 (01:12 +0000)]
am
65d1c84f: Fix btwrite timer timeout for Angler (2/2)
* commit '
65d1c84f5b4c2d452b4927ab7f8670a4951db3ce':
Fix btwrite timer timeout for Angler (2/2)
Arman Uguray [Tue, 1 Sep 2015 16:51:32 +0000 (16:51 +0000)]
am
fda4dc4a: am
10b54c4b: service: Implement IBluetooth.isMultiAdvertisementSupported()
* commit '
fda4dc4a9da7b846f971d9f053602abe6eac524b':
service: Implement IBluetooth.isMultiAdvertisementSupported()
Arman Uguray [Tue, 1 Sep 2015 16:51:31 +0000 (16:51 +0000)]
am
d7ae39a3: am
5d22fabf: gn-build: Add secondary build tree for gmock
* commit '
d7ae39a332d9119420ed08b15822c6cdd6a6328d':
gn-build: Add secondary build tree for gmock
Marie Janssen [Tue, 1 Sep 2015 16:51:30 +0000 (16:51 +0000)]
am
3ea68bbc: am
888f8856: brillo: add and install system startup files
* commit '
3ea68bbc7a9e8ec688adb820c649da2786f598e6':
brillo: add and install system startup files
Arman Uguray [Tue, 1 Sep 2015 16:37:35 +0000 (16:37 +0000)]
am
10b54c4b: service: Implement IBluetooth.isMultiAdvertisementSupported()
* commit '
10b54c4b7f1a863a27eca4158f256062ec9c3770':
service: Implement IBluetooth.isMultiAdvertisementSupported()
Arman Uguray [Tue, 1 Sep 2015 16:37:33 +0000 (16:37 +0000)]
am
5d22fabf: gn-build: Add secondary build tree for gmock
* commit '
5d22fabf158ca476623068db46a05345c8791760':
gn-build: Add secondary build tree for gmock
Marie Janssen [Tue, 1 Sep 2015 16:37:33 +0000 (16:37 +0000)]
am
888f8856: brillo: add and install system startup files
* commit '
888f8856774e9628b670da6ba779a36dd6a19ab9':
brillo: add and install system startup files
Sharvil Nanavati [Tue, 1 Sep 2015 06:50:05 +0000 (23:50 -0700)]
DO NOT MERGE Directly acquire wake locks from the Bluetooth stack.
The wake lock callouts go through JNI and then across Binder to
PowerManager. As a result, the cost of each callout is very high.
There are cases where the stack is acquiring and releasing the wake
lock tens of times per second. When that happens, the CPU load on
some devices can reach 100% and the RFCOMM throughput can drop by
50% or more.
This change reduces the cost of acqiring / releasing a wake lock.
Instead of JNI + Binder + PowerManager overhead, we simply write to
the /sys/power/wake_lock and /sys/power/wake_unlock nodes. The cost
of each is a single syscall.
Bug:
23375670
Change-Id: I760a86b557b02c3d70be7a902c943b7ee2f515b1
tturney [Mon, 31 Aug 2015 22:16:59 +0000 (15:16 -0700)]
Fix btwrite timer timeout for Angler (2/2)
When calculating the appropriate LPM's idle timeout,
the local chip name was NULL. This is fixed by calculating
LMP's idle timeout when the chip is enabling.
Bug:
23248798
Change-Id: I8ee2b28fb4363359e035e242fdcff8a736ee448c
Arman Uguray [Fri, 21 Aug 2015 21:59:57 +0000 (14:59 -0700)]
service: Implement IBluetooth.isMultiAdvertisementSupported()
Added the Binder bindings, bluetoothtbd implementation, and new
bluetooth-cli command for testing it.
Bug:
23227962
Change-Id: I2de62e49e5d8b0bcc118ccb654d72fdd9f11f748
Arman Uguray [Fri, 28 Aug 2015 19:15:09 +0000 (12:15 -0700)]
gn-build: Add secondary build tree for gmock
Added a BUILD.gn file for gmock under third_party/gmock.
Change-Id: Icbe93f118142ab8e0ea3a46672a74dd2d7466868
Joshua Schwarz [Thu, 27 Aug 2015 21:15:26 +0000 (14:15 -0700)]
Implementation of net_test_bluedroid as a GTest.
Change-Id: If9fc9a26fe58858a107b8ad6ac9f1e757ba07f90
Jacob Lee [Sat, 29 Aug 2015 00:31:39 +0000 (00:31 +0000)]
am
6d72578c: am
0908eac5: am
24923939: LE Multi-Advertising State Change Sub-event Wrong Variable Type
* commit '
6d72578ca3a8dcbfc735cd000145a3599dcba548':
LE Multi-Advertising State Change Sub-event Wrong Variable Type
Jacob Lee [Sat, 29 Aug 2015 00:12:39 +0000 (00:12 +0000)]
am
0908eac5: am
24923939: LE Multi-Advertising State Change Sub-event Wrong Variable Type
* commit '
0908eac54232fd876e355baf50c74edd91f2b89a':
LE Multi-Advertising State Change Sub-event Wrong Variable Type
Jacob Lee [Sat, 29 Aug 2015 00:04:35 +0000 (00:04 +0000)]
am
24923939: LE Multi-Advertising State Change Sub-event Wrong Variable Type
* commit '
249239391c732c25c5edb62636cfe188131af3a4':
LE Multi-Advertising State Change Sub-event Wrong Variable Type
Jacob Lee [Wed, 26 Aug 2015 06:43:59 +0000 (14:43 +0800)]
LE Multi-Advertising State Change Sub-event Wrong Variable Type
Wrong connection handle type in multi-adv event parsing,
causing random address (confirm value) mismatch and pairing failure.
Bug id:
23201007
Change-Id: I13ce231360937e711f61eb0777805b07bcde7074
Sunny Kapdi [Fri, 28 Aug 2015 21:51:14 +0000 (21:51 +0000)]
am
167c6c39: am
ed9a5c76: am
dcfafe9a: Fix incorrect SetConnScanParam function mapping
* commit '
167c6c395de10f0a7cd6d3d901de4c26a4e993b0':
Fix incorrect SetConnScanParam function mapping
Sunny Kapdi [Fri, 28 Aug 2015 21:26:02 +0000 (21:26 +0000)]
am
ed9a5c76: am
dcfafe9a: Fix incorrect SetConnScanParam function mapping
* commit '
ed9a5c76f2807676155970535138ca51c072aab1':
Fix incorrect SetConnScanParam function mapping
Sunny Kapdi [Fri, 28 Aug 2015 21:16:26 +0000 (21:16 +0000)]
am
dcfafe9a: Fix incorrect SetConnScanParam function mapping
* commit '
dcfafe9af755c06bc64fd7ad072233ceb7a1abc6':
Fix incorrect SetConnScanParam function mapping
Sunny Kapdi [Thu, 27 Aug 2015 07:37:31 +0000 (00:37 -0700)]
Fix incorrect SetConnScanParam function mapping
BTA_DM_API_BLE_CONN_SCAN_PARAM_EVT is defined before
BTA_DM_API_BLE_SCAN_PARAM_EVT in the enum but the corresponding
entries in bta_dm_action were inverted. This resulted in incorrect
invocation of set_conn_scan_params while trying to set parameters
for scanning. The call was hence failing here and was not
resulting in setting of the new scan parameters in the Controller
irrespective of the scan mode selected from the App. This would
essentially result in the breakage of ScanSettings.SCAN_MODE_<xx>
Android SDK APIs.
Bug:
23602042
Change-Id: I17e1b14a32250e3ccb7631a67690ec2e0a6bc321
Nitin Arora [Thu, 27 Aug 2015 10:55:53 +0000 (10:55 +0000)]
am
8ebc2f2c: (-s ours) am
b7460434: Fix memory corruption of BLE whitelist hashmap
* commit '
8ebc2f2c9e582d147b10d14abbef8ed249c86361':
Arman Uguray [Thu, 27 Aug 2015 10:55:53 +0000 (10:55 +0000)]
am
002d74a2: (-s ours) am
3644c2a3: service: Check for NULL IBinder in registerCallback
* commit '
002d74a2fe37fa168a5e904802d5ab2aa8fb4c13':
Arman Uguray [Thu, 27 Aug 2015 10:55:52 +0000 (10:55 +0000)]
am
b4521b11: (-s ours) am
d0835477: service: Return SUCCESS from Acquire|ReleaseWakeLock
* commit '
b4521b11188b1a1abd704055017bc154c00b0fc0':
Ian Coolidge [Thu, 27 Aug 2015 10:55:52 +0000 (10:55 +0000)]
am
1a1b3ebb: (-s ours) am
bc6ad53e: Merge "Improve adv_data transfer between contexts."
* commit '
1a1b3ebb41aa89f0ab38ea6ef41444f7f9b010f5':
Pavlin Radoslavov [Thu, 27 Aug 2015 10:55:51 +0000 (10:55 +0000)]
am
7c05120e: (-s ours) resolved conflicts for merge of
aa41fec0 to mnc-dev-plus-aosp
* commit '
7c05120e699459c819506fd6b8fa704be9f4a14a':
Dennis Cheng [Thu, 27 Aug 2015 10:55:51 +0000 (10:55 +0000)]
am
0cc114ec: (-s ours) am
6f5f0540: test_vendor_lib: Clean up controller documentation and address style issues
* commit '
0cc114ec2762298a5afb8f219f3f2675061fb58c':
Dennis Cheng [Thu, 27 Aug 2015 10:55:50 +0000 (10:55 +0000)]
am
120e6040: (-s ours) am
2e00ba9b: test_vendor_lib: Add tests
* commit '
120e60401c3ad2824b96edc7ef17e05f7c5154a6':
Chih-hung Hsieh [Thu, 27 Aug 2015 10:55:49 +0000 (10:55 +0000)]
am
1da5196b: (-s ours) am
ad588372: Merge "Enable clang compilation, use stdatomic.h."
* commit '
1da5196b9dd61f835ed54571e5a5c7044065cd8a':
Arman Uguray [Thu, 27 Aug 2015 10:55:49 +0000 (10:55 +0000)]
am
35a77330: (-s ours) am
e2982ad5: service: Don\'t lie about supporting wake locks
* commit '
35a77330c61a76a4f1597475ec0c8bd9a09e66ee':
Dennis Cheng [Thu, 27 Aug 2015 10:55:48 +0000 (10:55 +0000)]
am
d9d47df5: (-s ours) am
7a87e719: test_vendor_lib: Add working post delayed task
* commit '
d9d47df5a1218c13a04cce146584fcef744ccf98':
Arman Uguray [Thu, 27 Aug 2015 10:55:47 +0000 (10:55 +0000)]
am
ded51cb9: (-s ours) am
39a66bed: service/client: Register IBluetoothCallback
* commit '
ded51cb9596c41a3aef7fccdb5fece92e22b384f':
Arman Uguray [Thu, 27 Aug 2015 10:55:47 +0000 (10:55 +0000)]
am
71664189: (-s ours) am
67ab1c85: service: Introduce IBluetoothCallback.h
* commit '
71664189996923c9e1ae8f06e072ca49a68ce069':
Arman Uguray [Thu, 27 Aug 2015 10:55:46 +0000 (10:55 +0000)]
am
d4ef6d38: (-s ours) am
5bb6aa6a: service: Add native RemoteCallbackList
* commit '
d4ef6d3864ce3462b02017d0ba924ee516402400':
Arman Uguray [Thu, 27 Aug 2015 10:55:45 +0000 (10:55 +0000)]
am
e16e81e7: (-s ours) am
8f3595f8: service: Add complete IBluetooth transaction enums
* commit '
e16e81e76c374dde85b4d135d763fc616325dd33':
Arman Uguray [Thu, 27 Aug 2015 10:55:44 +0000 (10:55 +0000)]
am
505ab564: (-s ours) am
42feba6b: Revert "service: Move UNIX IPC code into ipc/unix/"
* commit '
505ab564a8c933015bb4d7fd8989fd533cc5e73d':
Arman Uguray [Thu, 27 Aug 2015 10:55:43 +0000 (10:55 +0000)]
am
4cdc41d0: (-s ours) am
4cebc7e1: service: Introduce bluetooth::Adapter::Observer
* commit '
4cdc41d03425adbf9e540fb63caf9bd2803c8fe7':
Arman Uguray [Thu, 27 Aug 2015 10:55:42 +0000 (10:55 +0000)]
am
8cfb69e3: (-s ours) am
503baaae: service: Support base switches::kV
* commit '
8cfb69e3ee81b525c854e974af1f6f3e9e797382':
Arman Uguray [Thu, 27 Aug 2015 10:55:42 +0000 (10:55 +0000)]
am
58c34b6b: (-s ours) am
93e66a66: service: Move UNIX IPC code into ipc/unix/
* commit '
58c34b6bcd69dc86f10211480800776f8e447eb9':
Dennis Cheng [Thu, 27 Aug 2015 10:55:41 +0000 (10:55 +0000)]
am
bc874c49: (-s ours) am
bf7db314: test_vendor_lib: Read controller properties from file.
* commit '
bc874c497e0720aba004e96e9c0dd3076954abb8':
Pavlin Radoslavov [Thu, 27 Aug 2015 10:55:40 +0000 (10:55 +0000)]
am
480c2b44: (-s ours) am
d2199cbb: Disable remote TCP connections
* commit '
480c2b4428793ecfb9668789e9de77ea230dca5a':
Arman Uguray [Thu, 27 Aug 2015 10:55:40 +0000 (10:55 +0000)]
am
18c47750: (-s ours) am
5192309a: service/client: Add support for the latest methods
* commit '
18c477507aa57a39f4e99474f7e7056713d7ea90':
Arman Uguray [Thu, 27 Aug 2015 10:55:39 +0000 (10:55 +0000)]
am
7c06e888: (-s ours) am
03b1f0fb: service: Implement IBluetooth getAddress, getName, and setName
* commit '
7c06e8888f6252edb3242da86f07b53f9257f2d1':
Miao Chou [Thu, 27 Aug 2015 10:55:38 +0000 (10:55 +0000)]
am
abea99e0: (-s ours) am
fb685ef1: Fix typo in main/bte_main.c.
* commit '
abea99e094de128ab95960783946b12011b574cf':
Arman Uguray [Thu, 27 Aug 2015 10:55:38 +0000 (10:55 +0000)]
am
c614705d: (-s ours) am
77bf8137: service: Add four more IBluetooth API definitions
* commit '
c614705db3153565ab6d95be023a5e08b8264286':
Arman Uguray [Thu, 27 Aug 2015 10:55:37 +0000 (10:55 +0000)]
am
557e992b: (-s ours) am
fe6dd2a7: service: Rename Uuid to UUID
* commit '
557e992b13b0f393fedc55c316af819d594638c6':
Arman Uguray [Thu, 27 Aug 2015 10:55:36 +0000 (10:55 +0000)]
am
11210840: (-s ours) am
2117e520: service: Implement IBluetooth::GetState
* commit '
11210840343c0563b9a19911953f2a2ec82a9e0c':
Arman Uguray [Thu, 27 Aug 2015 10:55:36 +0000 (10:55 +0000)]
am
02c6338f: (-s ours) am
fcf2e039: service: Implement IBluetooth IsEnabled, Enable, and Disable
* commit '
02c6338f302df426bcf123e6e67313c75bd65710':