OSDN Git Service

android-x86/system-bt.git
8 years agoam 38ddd10b: am f8711f2e: service: Added RemoteCallbackMap
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

8 years agoam 889cc102: am 81f82d27: service: Add IBluetoothLowEnergy interface
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

8 years agoam f8711f2e: service: Added RemoteCallbackMap
Arman Uguray [Thu, 17 Sep 2015 23:47:22 +0000 (23:47 +0000)]
am f8711f2e: service: Added RemoteCallbackMap

* commit 'f8711f2e95343f2c9673ab4ffc0bebbdba16c452':
  service: Added RemoteCallbackMap

8 years agoam 81f82d27: service: Add IBluetoothLowEnergy interface
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

8 years agoservice: Added RemoteCallbackMap
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

8 years agoservice: Add IBluetoothLowEnergy interface
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

8 years agoam d7b31304: am c2fc0f28: service: Introduce bluetooth::LowEnergyClient
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

8 years agoam c2fc0f28: 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

8 years agoservice: 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

8 years agoFix build: use unsigned long long in arithmetic expression.
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

8 years agoFix build: add LOG_TAG parameter to LOG_* macros.
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

8 years agoresolved conflicts for b8cc54d1 to mnc-dr-dev-plus-aosp
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

8 years agoam 21d6dc21: am e9c82dca: service: Add UUID::GetRandom
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

8 years agoam ae789289: am 9ded7b61: service: Add hal::BluetoothGattInterface
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

8 years agoam e9c82dca: service: Add UUID::GetRandom
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

8 years agoam 9ded7b61: service: Add hal::BluetoothGattInterface
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

8 years agoservice: Add UUID::GetRandom
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

8 years agoservice: Add hal::BluetoothGattInterface
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

8 years agoDO NOT MERGE Use POSIX timer API for wake alarms instead of OSI callouts.
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

8 years agoAdd libpower as a dependency to all device targets that include libosi.
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

8 years agoRevert "Add libpower to all build targets that depend on libosi."
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

8 years agoAdd libpower to all build targets that depend on libosi.
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

8 years agoam 043257b2: am 03ca1894: Merge "Allow BT inquiry while discovery is in progress...
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.

8 years agoam 1a2053f0: am 313a933e: Merge "Eliminate recursive calling when handling GATT relat...
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

8 years agoam 03ca1894: Merge "Allow BT inquiry while discovery is in progress." into mnc-dr-dev
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.

8 years agoMerge "Allow BT inquiry while discovery is in progress." into mnc-dr-dev
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

8 years agoam 313a933e: Merge "Eliminate recursive calling when handling GATT related errors...
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

8 years agoMerge "Eliminate recursive calling when handling GATT related errors" into mnc-dr-dev
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

8 years agoAllow BT inquiry while discovery is in progress.
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

8 years agoEliminate recursive calling when handling GATT related errors
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

8 years agoam 2cf3fc0c: am 72abbbea: Fix issue where bluesleep idle timer is not started
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

8 years agoam 72abbbea: 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

8 years agoFix 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

8 years agoresolved conflicts for merge of a905eb62 to mnc-dr-dev-plus-aosp
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

8 years agoMerge "DO NOT MERGE Directly acquire wake locks from the Bluetooth stack." into cw...
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

8 years agoam 9ae991c1: Merge "Implementation of net_test_bluedroid as a GTest." 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.

8 years agoam 9863e115: am 65d1c84f: Fix btwrite timer timeout for Angler (2/2)
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)

8 years agoMerge "Implementation of net_test_bluedroid as a GTest." into cw-e-dev
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

8 years agoam 65d1c84f: Fix btwrite timer timeout for Angler (2/2)
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)

8 years agoam fda4dc4a: am 10b54c4b: service: Implement IBluetooth.isMultiAdvertisementSupported()
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()

8 years agoam d7ae39a3: am 5d22fabf: gn-build: Add secondary build tree for gmock
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

8 years agoam 3ea68bbc: am 888f8856: brillo: add and install system startup files
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

8 years agoam 10b54c4b: service: Implement IBluetooth.isMultiAdvertisementSupported()
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()

8 years agoam 5d22fabf: gn-build: Add secondary build tree for gmock
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

8 years agoam 888f8856: brillo: add and install system startup files
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

8 years agoDO NOT MERGE Directly acquire wake locks from the Bluetooth stack.
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

8 years agoFix btwrite timer timeout for Angler (2/2)
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

8 years agoservice: Implement IBluetooth.isMultiAdvertisementSupported()
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

8 years agogn-build: Add secondary build tree for gmock
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

8 years agoImplementation of net_test_bluedroid as a GTest.
Joshua Schwarz [Thu, 27 Aug 2015 21:15:26 +0000 (14:15 -0700)]
Implementation of net_test_bluedroid as a GTest.

Change-Id: If9fc9a26fe58858a107b8ad6ac9f1e757ba07f90

8 years agoam 6d72578c: am 0908eac5: am 24923939: LE Multi-Advertising State Change Sub-event...
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

8 years agoam 0908eac5: am 24923939: LE Multi-Advertising State Change Sub-event Wrong Variable...
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

8 years agoam 24923939: 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

8 years agoLE 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

8 years agoam 167c6c39: am ed9a5c76: am dcfafe9a: Fix incorrect SetConnScanParam function mapping
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

8 years agoam ed9a5c76: am dcfafe9a: 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

8 years agoam dcfafe9a: 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

8 years agoFix 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

8 years agoam 8ebc2f2c: (-s ours) am b7460434: Fix memory corruption of BLE whitelist hashmap
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':

8 years agoam 002d74a2: (-s ours) am 3644c2a3: service: Check for NULL IBinder in registerCallback
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':

8 years agoam b4521b11: (-s ours) am d0835477: service: Return SUCCESS from Acquire|ReleaseWakeLock
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':

8 years agoam 1a1b3ebb: (-s ours) am bc6ad53e: Merge "Improve adv_data transfer between contexts."
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':

8 years agoam 7c05120e: (-s ours) resolved conflicts for merge of aa41fec0 to mnc-dev-plus-aosp
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':

8 years agoam 0cc114ec: (-s ours) am 6f5f0540: test_vendor_lib: Clean up controller documentatio...
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':

8 years agoam 120e6040: (-s ours) am 2e00ba9b: test_vendor_lib: Add tests
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':

8 years agoam 1da5196b: (-s ours) am ad588372: Merge "Enable clang compilation, use stdatomic.h."
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':

8 years agoam 35a77330: (-s ours) am e2982ad5: service: Don\'t lie about supporting wake locks
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':

8 years agoam d9d47df5: (-s ours) am 7a87e719: test_vendor_lib: Add working post delayed task
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':

8 years agoam ded51cb9: (-s ours) am 39a66bed: service/client: Register IBluetoothCallback
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':

8 years agoam 71664189: (-s ours) am 67ab1c85: service: Introduce IBluetoothCallback.h
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':

8 years agoam d4ef6d38: (-s ours) am 5bb6aa6a: service: Add native RemoteCallbackList
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':

8 years agoam e16e81e7: (-s ours) am 8f3595f8: service: Add complete IBluetooth transaction...
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':

8 years agoam 505ab564: (-s ours) am 42feba6b: Revert "service: Move UNIX IPC code into ipc...
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':

8 years agoam 4cdc41d0: (-s ours) am 4cebc7e1: service: Introduce bluetooth::Adapter::Observer
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':

8 years agoam 8cfb69e3: (-s ours) am 503baaae: service: Support base switches::kV
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':

8 years agoam 58c34b6b: (-s ours) am 93e66a66: service: Move UNIX IPC code into ipc/unix/
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':

8 years agoam bc874c49: (-s ours) am bf7db314: test_vendor_lib: Read controller properties from...
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':

8 years agoam 480c2b44: (-s ours) am d2199cbb: Disable remote TCP connections
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':

8 years agoam 18c47750: (-s ours) am 5192309a: service/client: Add support for the latest methods
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':

8 years agoam 7c06e888: (-s ours) am 03b1f0fb: service: Implement IBluetooth getAddress, getName...
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':

8 years agoam abea99e0: (-s ours) am fb685ef1: Fix typo in main/bte_main.c.
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':

8 years agoam c614705d: (-s ours) am 77bf8137: service: Add four more IBluetooth API definitions
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':

8 years agoam 557e992b: (-s ours) am fe6dd2a7: service: Rename Uuid to UUID
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':

8 years agoam 11210840: (-s ours) am 2117e520: service: Implement IBluetooth::GetState
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':

8 years agoam 02c6338f: (-s ours) am fcf2e039: service: Implement IBluetooth IsEnabled, Enable...
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':

8 years agoam 9dc9567d: (-s ours) am d6a4b0c9: service: Replace CoreStack with Adapter
Arman Uguray [Thu, 27 Aug 2015 10:55:35 +0000 (10:55 +0000)]
am 9dc9567d: (-s ours) am d6a4b0c9: service: Replace CoreStack with Adapter

* commit '9dc9567d66d8551851e85bad67058f44dbda002f':

8 years agoam 81191f2d: (-s ours) am 4fdadb6c: service: Introduce Adapter
Arman Uguray [Thu, 27 Aug 2015 10:55:35 +0000 (10:55 +0000)]
am 81191f2d: (-s ours) am 4fdadb6c: service: Introduce Adapter

* commit '81191f2d2382c4ed7ab61226aecda329e5465118':

8 years agoam f1e279f1: (-s ours) am 2202cd58: service: Introduce hal::BluetoothInterface
Arman Uguray [Thu, 27 Aug 2015 10:55:34 +0000 (10:55 +0000)]
am f1e279f1: (-s ours) am 2202cd58: service: Introduce hal::BluetoothInterface

* commit 'f1e279f14577cac8cac6a944bf1e8f7e25ae7374':

8 years agoam 6f6fc65a: (-s ours) am 9cd603f0: test_vendor_lib: Remove handlers
Dennis Cheng [Thu, 27 Aug 2015 10:55:33 +0000 (10:55 +0000)]
am 6f6fc65a: (-s ours) am 9cd603f0: test_vendor_lib: Remove handlers

* commit '6f6fc65a4cf439f26fd86a9539673e0fd41bb3a6':

8 years agoam ee480674: (-s ours) am f1548336: test_vnd_lib: Discover devices
Dennis Cheng [Thu, 27 Aug 2015 10:55:33 +0000 (10:55 +0000)]
am ee480674: (-s ours) am f1548336: test_vnd_lib: Discover devices

* commit 'ee48067483974e4dfba4bb7b3a68772c7281446f':

8 years agoam cee568cd: (-s ours) am 8bb61fe2: test_vendor_lib: Add test channel command transpo...
Dennis Cheng [Thu, 27 Aug 2015 10:55:32 +0000 (10:55 +0000)]
am cee568cd: (-s ours) am 8bb61fe2: test_vendor_lib: Add test channel command transport and handler

* commit 'cee568cdcdfa40fef17f5d8374a87556c022ef27':

8 years agoam 28db9c99: (-s ours) am 2d96c880: test_vendor_lib: Add test channel for run-time...
Dennis Cheng [Thu, 27 Aug 2015 10:55:32 +0000 (10:55 +0000)]
am 28db9c99: (-s ours) am 2d96c880: test_vendor_lib: Add test channel for run-time input

* commit '28db9c996f62ba24bcb2a1eea8217a21031f550c':

8 years agoam 7af80bbe: (-s ours) am 1e1f1598: Merge "[DS] BTM_VSC_CHIP_CAPABILITY_M_VERSION...
Iliyan Malchev [Thu, 27 Aug 2015 10:55:31 +0000 (10:55 +0000)]
am 7af80bbe: (-s ours) am 1e1f1598: Merge "[DS] BTM_VSC_CHIP_CAPABILITY_M_VERSION doesn\'t match" into mnc-dev

* commit '7af80bbe9c57086b0d1e62168f7787484a8a231f':

8 years agoam 67671e52: (-s ours) am afcf2a26: Merge "Restore LOG_NDEBUG condition on verbose...
Ian Coolidge [Thu, 27 Aug 2015 10:55:31 +0000 (10:55 +0000)]
am 67671e52: (-s ours) am afcf2a26: Merge "Restore LOG_NDEBUG condition on verbose logging."

* commit '67671e52b0a8bef7a2403aea892a042b3da2da43':

8 years agoam e90357a8: (-s ours) am aa9e17bc: service: Allow manufacturer data to be set.
Ian Coolidge [Thu, 27 Aug 2015 10:55:30 +0000 (10:55 +0000)]
am e90357a8: (-s ours) am aa9e17bc: service: Allow manufacturer data to be set.

* commit 'e90357a8872e376cb37cfd438fc4a31cc464a4a2':

8 years agoam 9fa19a2e: (-s ours) am f993f137: Merge "service: Fix permissions/properties argume...
Ian Coolidge [Thu, 27 Aug 2015 10:55:30 +0000 (10:55 +0000)]
am 9fa19a2e: (-s ours) am f993f137: Merge "service: Fix permissions/properties argument order."

* commit '9fa19a2e3e3cfa0635eeebd4983fbd265968deb4':

8 years agoam 4e0ab330: (-s ours) am f5209525: service: Introduce a command-line client
Arman Uguray [Thu, 27 Aug 2015 10:55:29 +0000 (10:55 +0000)]
am 4e0ab330: (-s ours) am f5209525: service: Introduce a command-line client

* commit '4e0ab330ffcad72934a8c48611565913f6834937':

8 years agoam 92edaa76: (-s ours) am b2286f38: service: Add IPCHandlerBinder
Arman Uguray [Thu, 27 Aug 2015 10:55:29 +0000 (10:55 +0000)]
am 92edaa76: (-s ours) am b2286f38: service: Add IPCHandlerBinder

* commit '92edaa76ef3f846f666b8cf82db1e2c4be970aaa':

8 years agoam 2fc5bf59: (-s ours) am 8d88b1b7: Allocate large enough buffers when copying AVRC...
Satya Calloji [Thu, 27 Aug 2015 10:55:29 +0000 (10:55 +0000)]
am 2fc5bf59: (-s ours) am 8d88b1b7: Allocate large enough buffers when copying AVRC packets

* commit '2fc5bf59e25b49272ee65fc95eb7921fb7474f25':

8 years agoam 83f9ff85: (-s ours) am 61f2f365: service: Add IBluetooth interface definition
Arman Uguray [Thu, 27 Aug 2015 10:55:28 +0000 (10:55 +0000)]
am 83f9ff85: (-s ours) am 61f2f365: service: Add IBluetooth interface definition

* commit '83f9ff851c5927e60358429ed51c2b9b2bf3fadf':