OSDN Git Service

android-x86/system-bt.git
8 years agotest_vendor: Refactor controller timing am: caa53d094c am: 4d2c850154
Myles Watson [Thu, 8 Sep 2016 17:10:20 +0000 (17:10 +0000)]
test_vendor: Refactor controller timing am: caa53d094c am: 4d2c850154
am: 2b96d501bd

Change-Id: I2122132294c7103cc40e98c17a176b597a4b9872

8 years agotest_vendor: Refactor controller timing am: caa53d094c
Myles Watson [Thu, 8 Sep 2016 17:07:51 +0000 (17:07 +0000)]
test_vendor: Refactor controller timing am: caa53d094c
am: 4d2c850154

Change-Id: Ie695304b2f3022406c3b590fa04ca88380ffe250

8 years agotest_vendor: Refactor controller timing
Myles Watson [Thu, 8 Sep 2016 17:05:22 +0000 (17:05 +0000)]
test_vendor: Refactor controller timing
am: caa53d094c

Change-Id: Icc42613ca45a2140461a92eafc9809aa29edc24d

8 years agotest_vendor: Refactor controller timing
Myles Watson [Thu, 16 Jun 2016 10:54:23 +0000 (03:54 -0700)]
test_vendor: Refactor controller timing

Use AsyncManager to implement a timer tick and an event queue.

Change-Id: Iec2a0ef06f17ecce0652ecc52f5ef732fc4af026
Signed-off-by: Myles Watson <mylesgw@google.com>
8 years agoUse proper type in filter init am: 803fb5db92 am: 1fdd0b9e81
Jakub Pawlowski [Wed, 7 Sep 2016 17:31:15 +0000 (17:31 +0000)]
Use proper type in filter init am: 803fb5db92 am: 1fdd0b9e81
am: 9dbb37694b

Change-Id: Ic0600325f73bcdd4446c54430be53e729f0618aa

8 years agoUse proper type in filter init am: 803fb5db92
Jakub Pawlowski [Wed, 7 Sep 2016 17:28:45 +0000 (17:28 +0000)]
Use proper type in filter init am: 803fb5db92
am: 1fdd0b9e81

Change-Id: Icc80bdb3fa60d892463a5784d2d00fa740ca87f6

8 years agoUse proper type in filter init
Jakub Pawlowski [Wed, 7 Sep 2016 17:26:14 +0000 (17:26 +0000)]
Use proper type in filter init
am: 803fb5db92

Change-Id: I63283f1cf5acea4ab2feb4b0ce1b991b9b1e4022

8 years agoUse proper type in filter init
Jakub Pawlowski [Mon, 5 Sep 2016 16:11:27 +0000 (09:11 -0700)]
Use proper type in filter init

Change-Id: I429ea832f32cb4c67525dda71f9e05ba60110e1e

8 years agoMerge "Updating QDID to reflect the certfication done for N." am: 66244795b0 am:...
pkanwar [Wed, 7 Sep 2016 01:35:20 +0000 (01:35 +0000)]
Merge "Updating QDID to reflect the certfication done for N." am: 66244795b0 am: 92f129a72c
am: 462e867d41

Change-Id: I43a0e96dcbd86b79b2160f090cb773e26127782e

8 years agoMerge "Updating QDID to reflect the certfication done for N." am: 66244795b0
pkanwar [Wed, 7 Sep 2016 01:32:49 +0000 (01:32 +0000)]
Merge "Updating QDID to reflect the certfication done for N." am: 66244795b0
am: 92f129a72c

Change-Id: I5e6c5e17f9ba8a8da6685ed64a689e94e4b40eb5

8 years agoMerge "Updating QDID to reflect the certfication done for N."
pkanwar [Wed, 7 Sep 2016 01:30:19 +0000 (01:30 +0000)]
Merge "Updating QDID to reflect the certfication done for N."
am: 66244795b0

Change-Id: I218d1208aa3975ee8e61226ed632f766fba76068

8 years agoMerge "Updating QDID to reflect the certfication done for N."
Treehugger Robot [Wed, 7 Sep 2016 01:24:09 +0000 (01:24 +0000)]
Merge "Updating QDID to reflect the certfication done for N."

8 years agoUpdating QDID to reflect the certfication done for N. am: a1e4dd95ea
pkanwar [Tue, 6 Sep 2016 22:33:46 +0000 (22:33 +0000)]
Updating QDID to reflect the certfication done for N. am: a1e4dd95ea
am: bbc66bc77f

Change-Id: I0331df6b7a4c35db1ab92572d20d0af0b00d9412

8 years agoUpdating QDID to reflect the certfication done for N.
pkanwar [Tue, 6 Sep 2016 22:29:58 +0000 (22:29 +0000)]
Updating QDID to reflect the certfication done for N.
am: a1e4dd95ea

Change-Id: Ic057ec7cc1ffc73073f35c1d7c828c3904a5065d

8 years agotest_vendor: Refactor test channel am: e3ab96a689 am: 828f404082
Myles Watson [Tue, 6 Sep 2016 19:48:05 +0000 (19:48 +0000)]
test_vendor: Refactor test channel am: e3ab96a689 am: 828f404082
am: a69336d711

Change-Id: I0e44277dd63480f388c50ce8d097cd6ff06d6c66

8 years agotest_vendor: Refactor test channel am: e3ab96a689
Myles Watson [Tue, 6 Sep 2016 19:44:35 +0000 (19:44 +0000)]
test_vendor: Refactor test channel am: e3ab96a689
am: 828f404082

Change-Id: I0dcf1b7e1c1c2a4d2dd14e5762cfe9c2800daf25

8 years agotest_vendor: Refactor test channel
Myles Watson [Tue, 6 Sep 2016 19:41:09 +0000 (19:41 +0000)]
test_vendor: Refactor test channel
am: e3ab96a689

Change-Id: Ib7c83ff478b40244038faf52c91c0f18496957cc

8 years agoUpdating QDID to reflect the certfication done for N.
pkanwar [Tue, 6 Sep 2016 16:21:35 +0000 (09:21 -0700)]
Updating QDID to reflect the certfication done for N.

Change-Id: Ia80cb82c833df341f832d2ab8cc71a868e2c8f5e
(cherry picked from commit a1e4dd95ea389036c9e59872de09059726723fb4)

8 years agotest_vendor: Refactor test channel
Myles Watson [Fri, 20 May 2016 19:06:19 +0000 (12:06 -0700)]
test_vendor: Refactor test channel

The test channel can always be enabled when using the AsyncManager.
 - Remove enabled_ and port_
 - Allow multiple connections
 - Pass file descriptors as parameters instead of private variables
 - Add a clean up function to the Test Channel
 - Add a static class in bt_vendor.cc and always EXPORT the entry point
 - Move the vendor callbacks and the global pointer to the vendor
   manager object from vendor_manager to bt_vendor

Change-Id: I3e0dee846eb89f434893603a705c2b13219272be
Signed-off-by: Myles Watson <mylesgw@google.com>
Signed-off-by: Jorge E. Moreira <jemoreira@google.com>
8 years agoUpdating QDID to reflect the certfication done for N.
pkanwar [Tue, 6 Sep 2016 16:21:35 +0000 (09:21 -0700)]
Updating QDID to reflect the certfication done for N.

Change-Id: Ia80cb82c833df341f832d2ab8cc71a868e2c8f5e

8 years agoMerge "gatt_db: Fix uuid_to_str for UUID_32" am: b4f8b75e88 am: def1b8d418
Greg Kaiser [Sat, 3 Sep 2016 13:19:08 +0000 (13:19 +0000)]
Merge "gatt_db: Fix uuid_to_str for UUID_32" am: b4f8b75e88 am: def1b8d418
am: 0bee39d2f7

Change-Id: I4d64b0c1f75e31069f1437afbaf039e5d337c5c7

8 years agoMerge "gatt_db: Fix uuid_to_str for UUID_32" am: b4f8b75e88
Greg Kaiser [Sat, 3 Sep 2016 13:16:37 +0000 (13:16 +0000)]
Merge "gatt_db: Fix uuid_to_str for UUID_32" am: b4f8b75e88
am: def1b8d418

Change-Id: I50e6d4e3e4ffd76e80c114a0b69f956eaad59e75

8 years agoMerge "gatt_db: Fix uuid_to_str for UUID_32"
Greg Kaiser [Sat, 3 Sep 2016 13:14:09 +0000 (13:14 +0000)]
Merge "gatt_db: Fix uuid_to_str for UUID_32"
am: b4f8b75e88

Change-Id: I0ddbf8e4dfe0010786334a722c7938b031e710c1

8 years agoMerge "gatt_db: Fix uuid_to_str for UUID_32"
Treehugger Robot [Sat, 3 Sep 2016 13:09:30 +0000 (13:09 +0000)]
Merge "gatt_db: Fix uuid_to_str for UUID_32"

8 years agoMerge "Deregister from notifications when an HOGP background connection is cancelled...
IHLHO KIM [Sat, 3 Sep 2016 05:05:40 +0000 (05:05 +0000)]
Merge "Deregister from notifications when an HOGP background connection is cancelled" am: 629f814b9a am: 2c77487f81
am: 6a86f43135

Change-Id: Ie1dac47bb25464e21ebc2d9d88cd61e0ef6190f7

8 years agoMerge "Deregister from notifications when an HOGP background connection is cancelled...
IHLHO KIM [Sat, 3 Sep 2016 05:03:10 +0000 (05:03 +0000)]
Merge "Deregister from notifications when an HOGP background connection is cancelled" am: 629f814b9a
am: 2c77487f81

Change-Id: I9e614b3d873d99232b9523a9112464c5831fbc2b

8 years agoMerge "Deregister from notifications when an HOGP background connection is cancelled"
IHLHO KIM [Sat, 3 Sep 2016 05:00:42 +0000 (05:00 +0000)]
Merge "Deregister from notifications when an HOGP background connection is cancelled"
am: 629f814b9a

Change-Id: Ia0ad02b5b43f5f2ccadbd082f53a3c7a72dd19f1

8 years agoMerge "Deregister from notifications when an HOGP background connection is cancelled"
Treehugger Robot [Sat, 3 Sep 2016 04:55:53 +0000 (04:55 +0000)]
Merge "Deregister from notifications when an HOGP background connection is cancelled"

8 years agogatt_db: Fix uuid_to_str for UUID_32
Greg Kaiser [Sat, 3 Sep 2016 00:34:32 +0000 (17:34 -0700)]
gatt_db: Fix uuid_to_str for UUID_32

A typo in a conditional had us treating LEN_UUID_32 as
an unknown length in this function.

Change-Id: Iec0190fd70859d9b72295e91798af5fdc4dfae93

8 years agoMerge "AVRCP 1.6: media browsing support on Target(1/3)" am: 6d488f5272 am: 52c4699341
Ajay Panicker [Fri, 2 Sep 2016 20:54:59 +0000 (20:54 +0000)]
Merge "AVRCP 1.6: media browsing support on Target(1/3)" am: 6d488f5272 am: 52c4699341
am: e645640ae6

Change-Id: I7bc710054cb2a3da96873ea66d4aec7c87c8385b

8 years agoMerge "Remove BTA layer components for LE advertising" am: ee1e3df872 am: 87decb7aa9
Jakub Pawlowski [Fri, 2 Sep 2016 20:54:58 +0000 (20:54 +0000)]
Merge "Remove BTA layer components for LE advertising" am: ee1e3df872 am: 87decb7aa9
am: 9dce7459d4

Change-Id: I868a0a94d349cee0684fbe68e703f02c9bee9bbe

8 years agotest_vendor: Add BtAddress unit tests am: b3a80b682f am: 2cb9770708
Myles Watson [Fri, 2 Sep 2016 20:54:58 +0000 (20:54 +0000)]
test_vendor: Add BtAddress unit tests am: b3a80b682f am: 2cb9770708
am: c61527cedf

Change-Id: I77899607fa64b9889d170f3450ef5d845e4d06cb

8 years agotest_vendor: Add a BtAddress class am: 6f8593ec98 am: 0e0f3abf74
Myles Watson [Fri, 2 Sep 2016 20:54:57 +0000 (20:54 +0000)]
test_vendor: Add a BtAddress class am: 6f8593ec98 am: 0e0f3abf74
am: 465298ba68

Change-Id: I4a2e065e4e3038552e520bfda1ab9f61a14faaa7

8 years agoMerge "AVRCP 1.6: media browsing support on Target(1/3)" am: 6d488f5272
Ajay Panicker [Fri, 2 Sep 2016 20:52:04 +0000 (20:52 +0000)]
Merge "AVRCP 1.6: media browsing support on Target(1/3)" am: 6d488f5272
am: 52c4699341

Change-Id: I23dc6ce863460af96cf5da733270644aa7076d45

8 years agoMerge "AVRCP 1.6: media browsing support on Target(1/3)"
Ajay Panicker [Fri, 2 Sep 2016 20:49:35 +0000 (20:49 +0000)]
Merge "AVRCP 1.6: media browsing support on Target(1/3)"
am: 6d488f5272

Change-Id: If9a2b360f190a1799499a71e0ab0429180b8c348

8 years agoMerge "Remove BTA layer components for LE advertising" am: ee1e3df872
Jakub Pawlowski [Fri, 2 Sep 2016 20:47:22 +0000 (20:47 +0000)]
Merge "Remove BTA layer components for LE advertising" am: ee1e3df872
am: 87decb7aa9

Change-Id: Iecf36597ac502299aef1f1d99842886eddabe716

8 years agotest_vendor: Add BtAddress unit tests am: b3a80b682f
Myles Watson [Fri, 2 Sep 2016 20:47:22 +0000 (20:47 +0000)]
test_vendor: Add BtAddress unit tests am: b3a80b682f
am: 2cb9770708

Change-Id: Id666378631d06563fbb01e349085e70f3a42230b

8 years agotest_vendor: Add a BtAddress class am: 6f8593ec98
Myles Watson [Fri, 2 Sep 2016 20:47:22 +0000 (20:47 +0000)]
test_vendor: Add a BtAddress class am: 6f8593ec98
am: 0e0f3abf74

Change-Id: I89be0eb31990ede581edd39c8511f8ff221af4af

8 years agoMerge "AVRCP 1.6: media browsing support on Target(1/3)"
Ajay Panicker [Fri, 2 Sep 2016 20:46:00 +0000 (20:46 +0000)]
Merge "AVRCP 1.6: media browsing support on Target(1/3)"

8 years agoDeregister from notifications when an HOGP background connection is cancelled
IHLHO KIM [Tue, 16 Aug 2016 08:55:47 +0000 (08:55 +0000)]
Deregister from notifications when an HOGP background connection is cancelled

Bug: 29111689
Change-Id: I5b57da9e08dea372e9b236b360ffeeae4f6b49af

8 years agoMerge "Remove BTA layer components for LE advertising"
Jakub Pawlowski [Fri, 2 Sep 2016 20:26:27 +0000 (20:26 +0000)]
Merge "Remove BTA layer components for LE advertising"
am: ee1e3df872

Change-Id: I6c397d8b87dafc8ba8067e8694a77506e9218a72

8 years agotest_vendor: Add BtAddress unit tests
Myles Watson [Fri, 2 Sep 2016 20:26:25 +0000 (20:26 +0000)]
test_vendor: Add BtAddress unit tests
am: b3a80b682f

Change-Id: Iab8e73b89459a701ebec1cbc3df83f7f6a3ee0c3

8 years agotest_vendor: Add a BtAddress class
Myles Watson [Fri, 2 Sep 2016 20:26:22 +0000 (20:26 +0000)]
test_vendor: Add a BtAddress class
am: 6f8593ec98

Change-Id: I07cfa4b9156807c0d3d20a90eca547ad022c6dbf

8 years agoMerge "Remove BTA layer components for LE advertising"
Jakub Pawlowski [Fri, 2 Sep 2016 20:09:27 +0000 (20:09 +0000)]
Merge "Remove BTA layer components for LE advertising"

8 years agoAVRCP 1.6: media browsing support on Target(1/3)
Avish Shah [Wed, 22 Jun 2016 01:17:20 +0000 (06:47 +0530)]
AVRCP 1.6: media browsing support on Target(1/3)

-> As a part of Avrcp 1.6 upgrade, added support
   for following features:
   [1] setAddressedPlayer
   [2] setBrowsedPlayer
   [3] getFolderItems scope=VFS/NowPlaying/Search
   [4] changePath
   [5] getItemAttributes
   [6] playItem
   [7] getTotalNumberOfItems
   [8] search string in current browsed path.
   [9] AddToNowPlaying
-> Defined functions and enhanced structures to
   support above mentioned features.
-> Added Dual RC support.

Bug: 19361366
Merged-In: I45ed60e337b57c686d9693e19993fee1ce3c2504
Change-Id: I45ed60e337b57c686d9693e19993fee1ce3c2504

8 years agotest_vendor: Add BtAddress unit tests
Myles Watson [Wed, 22 Jun 2016 21:55:10 +0000 (14:55 -0700)]
test_vendor: Add BtAddress unit tests

Change-Id: I23d27a1a5c258de330f4eac23d314ef8b9200d2a
Signed-off-by: Myles Watson <mylesgw@google.com>
8 years agotest_vendor: Add a BtAddress class
Myles Watson [Tue, 7 Jun 2016 17:01:28 +0000 (10:01 -0700)]
test_vendor: Add a BtAddress class

The class provides IsValidBtAddress(string), functions to convert
from vectors and strings, and some operators.

Change-Id: I553c47e698ec46ed0e24656f89141c23f7369380
Signed-off-by: Myles Watson <mylesgw@google.com>
8 years agoRemove BTA layer components for LE advertising
Jakub Pawlowski [Tue, 16 Aug 2016 16:41:55 +0000 (09:41 -0700)]
Remove BTA layer components for LE advertising

Advertising is so simple, it doesn't need the BTA layer.
Values returned by BTM_VendorSpecificCommand shouldn't be handled as
success or failure, it's just to inform wether we sent the callback.

Bug: 30622771
Change-Id: I104c4fbf84d3818b76fe8c527fbde4e6c4336c3a

8 years agoUnify LE advertising instance identifiers am: 6a96661166 am: 1951d644d6
Jakub Pawlowski [Fri, 2 Sep 2016 17:43:49 +0000 (17:43 +0000)]
Unify LE advertising instance identifiers am: 6a96661166 am: 1951d644d6
am: 3f7b3698c6

Change-Id: I9f8bae0c61cb3a765a72b2a62dc8774185ac51a1

8 years agoUnify LE advertising instance identifiers am: 6a96661166
Jakub Pawlowski [Fri, 2 Sep 2016 17:30:37 +0000 (17:30 +0000)]
Unify LE advertising instance identifiers am: 6a96661166
am: 1951d644d6

Change-Id: Iaceca9a422ce960e98232bdf624e03b017617911

8 years agoUnify LE advertising instance identifiers
Jakub Pawlowski [Fri, 2 Sep 2016 17:20:26 +0000 (17:20 +0000)]
Unify LE advertising instance identifiers
am: 6a96661166

Change-Id: If5385cb981686925dd42fa6616185f5c282557ee

8 years agoUnify LE advertising instance identifiers
Jakub Pawlowski [Tue, 16 Aug 2016 10:25:45 +0000 (03:25 -0700)]
Unify LE advertising instance identifiers

Up till now, we had three numbers associated with each advertising
instance: client_id, inst_id, and cbindex. We also had special structure
mapping each of those numbers to another.

From now on, when registering advertiser, we'll grab next free
advertising instance id and make advertiser_id equal to it. Thanks to
this, we can remove all the mapping and have just one number associated
with each advertising instance.

This also means we no longer need to pass *p_ref value to the BTM layer
with each request, as advertiser_id is equal to inst_id.

Bug: 30622771
Change-Id: Ied71bff36e30d6c6ce4ca3e62d46ba96320cf597

8 years agoCleanup in the bta/av layer am: d8c312e624 am: cb04cb59c7
Pavlin Radoslavov [Thu, 1 Sep 2016 22:11:23 +0000 (22:11 +0000)]
Cleanup in the bta/av layer am: d8c312e624 am: cb04cb59c7
am: d4dc1dce0f

Change-Id: I6187f8f74b4d48efea1a5d407afd39a0dc06e633

8 years agoCleanup in the bta/av layer am: d8c312e624
Pavlin Radoslavov [Thu, 1 Sep 2016 22:08:23 +0000 (22:08 +0000)]
Cleanup in the bta/av layer am: d8c312e624
am: cb04cb59c7

Change-Id: Idfdd8d290074d202200dd3e1ebdef2d6fffd52ec

8 years agoCleanup in the bta/av layer
Pavlin Radoslavov [Thu, 1 Sep 2016 22:05:24 +0000 (22:05 +0000)]
Cleanup in the bta/av layer
am: d8c312e624

Change-Id: I33c18706dc9490bddf482a447baaf29506b994b3

8 years agoFix HID crashing on reconnect am: 0afaaa41b5
Jakub Pawlowski [Thu, 1 Sep 2016 21:21:24 +0000 (21:21 +0000)]
Fix HID crashing on reconnect am: 0afaaa41b5
am: 3d296192d5  -s ours

Change-Id: I1b57d65698e69bde19143cb1d8defc0958071a3e

8 years agoFix HID crashing on reconnect
Jakub Pawlowski [Thu, 1 Sep 2016 21:08:50 +0000 (21:08 +0000)]
Fix HID crashing on reconnect
am: 0afaaa41b5

Change-Id: I04188383c9a7dc73b4988fd5e791c2ad625080f5

8 years agoFix HID crashing on reconnect
Jakub Pawlowski [Thu, 1 Sep 2016 10:29:51 +0000 (03:29 -0700)]
Fix HID crashing on reconnect

This patch fixes crashes on reconnection to HID device.
All those issues are already fixed in AOSP.

Bug: 31221398
Change-Id: I43b64d0b11b1f548cb373332777ea92d8a075466

8 years agoCleanup in the bta/av layer
Pavlin Radoslavov [Wed, 31 Aug 2016 00:48:01 +0000 (17:48 -0700)]
Cleanup in the bta/av layer

* Removed unused defines and function declarations
* Removed unused tBTA_AV_Q_INFO.vdp
* Cleanup of some of the log messages

Also:
* Added constant AVDT_TSEP_INVALID instead of using a hard-coded value

Change-Id: I9ce7b5b08dec7c9ea9699d9f6c598acb39fb105a

8 years agoAdded A2DP codec-related APIs am: 7e5862624f am: d162323cbc
Pavlin Radoslavov [Wed, 31 Aug 2016 20:41:46 +0000 (20:41 +0000)]
Added A2DP codec-related APIs am: 7e5862624f am: d162323cbc
am: 9cf1b9f648

Change-Id: Ic377665f3d7830d78bd9d8f69f1fb1c8968cc60f

8 years agoAdded A2DP codec-related APIs am: 7e5862624f
Pavlin Radoslavov [Wed, 31 Aug 2016 20:38:45 +0000 (20:38 +0000)]
Added A2DP codec-related APIs am: 7e5862624f
am: d162323cbc

Change-Id: I19ebc778c84b1b722b962b9ba52a97c016fbada6

8 years agoAdded A2DP codec-related APIs
Pavlin Radoslavov [Wed, 31 Aug 2016 20:36:19 +0000 (20:36 +0000)]
Added A2DP codec-related APIs
am: 7e5862624f

Change-Id: I4841099c07df6353cf9bfd16bc845d2b0ea01b18

8 years agoSeparate advertiser from GATT client (4/4) am: 67d5a25233 am: 93f37868fa
Jakub Pawlowski [Wed, 31 Aug 2016 18:28:49 +0000 (18:28 +0000)]
Separate advertiser from GATT client (4/4) am: 67d5a25233 am: 93f37868fa
am: 1ff79bd349

Change-Id: I9b9c1810c2ad87b30c21b2c5af7c273e662cc5e8

8 years agoAdded A2DP codec-related APIs
Pavlin Radoslavov [Sun, 28 Aug 2016 23:59:51 +0000 (16:59 -0700)]
Added A2DP codec-related APIs

Those APIs can be used to check various codec-related characterictics,
and minimize the codec-specific knowledge in the rest of the code.

The added APIs are:
 - A2D_GetCodecType()
 - A2D_IsCodecSupported()
 - A2D_UsesRtpHeader()
 - A2D_IsVendorCodecSupported()
 - A2D_VendorCodecGetVendorId()
 - A2D_VendorCodecGetCodecId()
 - A2D_VendorUsesRtpHeader()

Also:
 - Added unit tests for the new API calls
 - Removed redundant definition of BTA_AV_CODEC_TYPE_IDX
 - Removed unused A2D_MEDIA_CT_* codec type defines

Bug: 30958229
Change-Id: Id9ab01fd93b0b0a9b55a0af9bfb482310ae0ade4

8 years agoSeparate advertiser from GATT client (4/4) am: 67d5a25233
Jakub Pawlowski [Wed, 31 Aug 2016 18:21:05 +0000 (18:21 +0000)]
Separate advertiser from GATT client (4/4) am: 67d5a25233
am: 93f37868fa

Change-Id: Iaec886c54568b2392efcc6e5286a7cb5d854d42d

8 years agoSeparate advertiser from GATT client (4/4)
Jakub Pawlowski [Wed, 31 Aug 2016 18:14:48 +0000 (18:14 +0000)]
Separate advertiser from GATT client (4/4)
am: 67d5a25233

Change-Id: I1640cd73003ab4d37b751ecb8e47f7da5bbf4588

8 years agoSeparate advertiser from GATT client (4/4)
Jakub Pawlowski [Wed, 13 Jul 2016 18:55:16 +0000 (11:55 -0700)]
Separate advertiser from GATT client (4/4)

Bug: 30622771
Change-Id: I761f0bff09aec1047bd512915960021e4fbdc0c8

8 years agoUse closures in advertising related code am: 5b12a83ba9 am: 8b4db1a134
Jakub Pawlowski [Tue, 30 Aug 2016 21:26:12 +0000 (21:26 +0000)]
Use closures in advertising related code am: 5b12a83ba9 am: 8b4db1a134
am: 8b16e42141

Change-Id: Ib2ba3a8a4017c20b9c19553fe9381c8e4fc21798

8 years agoUse closures in advertising related code am: 5b12a83ba9
Jakub Pawlowski [Tue, 30 Aug 2016 21:23:41 +0000 (21:23 +0000)]
Use closures in advertising related code am: 5b12a83ba9
am: 8b4db1a134

Change-Id: Ia93ee57dd132e3795feee06775d15072d2647303

8 years agoUse closures in advertising related code
Jakub Pawlowski [Tue, 30 Aug 2016 21:20:43 +0000 (21:20 +0000)]
Use closures in advertising related code
am: 5b12a83ba9

Change-Id: I2ad76a71fc3af35c5c60a5d44be6eff5cc827d6c

8 years agoUse closures in advertising related code
Jakub Pawlowski [Thu, 11 Aug 2016 10:30:47 +0000 (03:30 -0700)]
Use closures in advertising related code

This patch is a preparation to get rid of BTA layer for advertising, and
for further refactoring required to keep this code maintainable.

Tests: SL4A/ConcurrentBleAdvertisingTest
Bug: 30622771
Change-Id: I574b57159390d090b16d264d3c1fba2f07b70d4c

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7 am...
Andre Eisenbach [Mon, 29 Aug 2016 22:38:44 +0000 (22:38 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7 am: 88cc389d84 am: d810039327
am: 164aa217b2

Change-Id: Id974fde4b1a8094576bc8d8682326abe20a9f0c1

8 years agoDisable auto-pairing for hands-free devices am: d2a37effc2 am: f7d632a29d am: d3b760ac45
Andre Eisenbach [Mon, 29 Aug 2016 22:38:44 +0000 (22:38 +0000)]
Disable auto-pairing for hands-free devices am: d2a37effc2 am: f7d632a29d am: d3b760ac45
am: f6186c818f

Change-Id: Ia371e522ef8cab4f604644dca7dd6dd6dadda68e

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7 am...
Andre Eisenbach [Mon, 29 Aug 2016 22:23:24 +0000 (22:23 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7 am: 88cc389d84
am: d810039327

Change-Id: I8f8921f7930a877c2dd7cbf5af24856ad7398e3a

8 years agoDisable auto-pairing for hands-free devices am: d2a37effc2 am: f7d632a29d
Andre Eisenbach [Mon, 29 Aug 2016 22:23:23 +0000 (22:23 +0000)]
Disable auto-pairing for hands-free devices am: d2a37effc2 am: f7d632a29d
am: d3b760ac45

Change-Id: Ia6057d521cb2e64d53e67400543607aef375e3cf

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7
Andre Eisenbach [Mon, 29 Aug 2016 22:12:50 +0000 (22:12 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7
am: db8197db5c

Change-Id: If199026b864bc429df2f605b63dd0b36e96913cb

8 years agoDisable auto-pairing for hands-free devices am: d2a37effc2
Andre Eisenbach [Mon, 29 Aug 2016 22:12:50 +0000 (22:12 +0000)]
Disable auto-pairing for hands-free devices am: d2a37effc2
am: 3692043b15

Change-Id: I388c022a74931cdb750a68d0da3815656a8f832c

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev
Andre Eisenbach [Mon, 29 Aug 2016 22:09:49 +0000 (22:09 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev
am: fb309b3ce7

Change-Id: Ie6a548d7d0bdcad3a30ef7be3868df1b2a264873

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7
Andre Eisenbach [Mon, 29 Aug 2016 22:09:48 +0000 (22:09 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev am: fb309b3ce7
am: 88cc389d84

Change-Id: I6c325fa710adfefbbe3e448ebc28a0777253d5d3

8 years agoDisable auto-pairing for hands-free devices am: d2a37effc2
Andre Eisenbach [Mon, 29 Aug 2016 22:09:48 +0000 (22:09 +0000)]
Disable auto-pairing for hands-free devices am: d2a37effc2
am: f7d632a29d

Change-Id: I6cf3f7c2579e0ef395142aa3165c1e608e7e2fbc

8 years agoDisable auto-pairing for hands-free devices
Andre Eisenbach [Mon, 29 Aug 2016 22:09:48 +0000 (22:09 +0000)]
Disable auto-pairing for hands-free devices
am: d2a37effc2

Change-Id: If399b79af277ec9c7c99934ff4b320de4daf903f

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev
Andre Eisenbach [Mon, 29 Aug 2016 22:05:26 +0000 (22:05 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev
am: fb309b3ce7

Change-Id: Ib7494cc47ff0e93f7f20a12dc79695697d2eecf0

8 years agoDisable auto-pairing for hands-free devices
Andre Eisenbach [Mon, 29 Aug 2016 22:05:26 +0000 (22:05 +0000)]
Disable auto-pairing for hands-free devices
am: d2a37effc2

Change-Id: I87c0ba767d7dcf91cfd6cb4903fea4efd6df392b

8 years agoMerge "Disable auto-pairing for hands-free devices" into nyc-dev
TreeHugger Robot [Mon, 29 Aug 2016 21:51:21 +0000 (21:51 +0000)]
Merge "Disable auto-pairing for hands-free devices" into nyc-dev

8 years agoaudio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31 am: 12851e1b46...
Andy Hung [Mon, 29 Aug 2016 21:29:08 +0000 (21:29 +0000)]
audio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31 am: 12851e1b46 am: 9cc786805b
am: 1a4a7c28ad

Change-Id: I906c44a91d6118a39247fe7c7ca885eec0ebcab4

8 years agoaudio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31 am: 12851e1b46
Andy Hung [Mon, 29 Aug 2016 21:20:21 +0000 (21:20 +0000)]
audio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31 am: 12851e1b46
am: 9cc786805b

Change-Id: I66972340a617f44d4d9ca993f9ab394065947a8e

8 years agoaudio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31
Andy Hung [Mon, 29 Aug 2016 21:15:53 +0000 (21:15 +0000)]
audio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31
am: c2fb704838

Change-Id: I24d2a8eb6f6d508211e10938f6b55afaddde8bbd

8 years agoaudio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31
Andy Hung [Mon, 29 Aug 2016 21:15:52 +0000 (21:15 +0000)]
audio_a2dp_hw: Always update frame counter in out_write am: 5274ab7a31
am: 12851e1b46

Change-Id: I16468c6316fc48923e63f9a52276a2307ce0ae56

8 years agoaudio_a2dp_hw: Always update frame counter in out_write
Andy Hung [Mon, 29 Aug 2016 21:12:22 +0000 (21:12 +0000)]
audio_a2dp_hw: Always update frame counter in out_write
am: 5274ab7a31

Change-Id: I6f40e0c813cbc7fe9801903f8c2cbfb08e05f6c0

8 years agoaudio_a2dp_hw: Always update frame counter in out_write
Andy Hung [Mon, 29 Aug 2016 21:12:21 +0000 (21:12 +0000)]
audio_a2dp_hw: Always update frame counter in out_write
am: 5274ab7a31

Change-Id: I1749b616522346a733b2bcfc0273851b7babe437

8 years agoaudio_a2dp_hw: Always update frame counter in out_write
Andy Hung [Thu, 28 Jul 2016 17:45:54 +0000 (10:45 -0700)]
audio_a2dp_hw: Always update frame counter in out_write

Required now that we always return success.

Bug: 30025777
Change-Id: I7db51321672c128039545cc0fb604c615f169bc3
(cherry picked from commit f4a37b255d1d6fa4cf7cefe2aeb1c3f4fdf33f3c)

8 years agoCleanup and removed BTIF-related unused code am: a62c5a302e am: 7a84515916
Pavlin Radoslavov [Mon, 29 Aug 2016 18:02:32 +0000 (18:02 +0000)]
Cleanup and removed BTIF-related unused code am: a62c5a302e am: 7a84515916
am: 1a1f0c1184

Change-Id: I5157ce8d506f31c28daa69d642ace5e5cda7e84d

8 years agoCleanup and removed BTIF-related unused code am: a62c5a302e
Pavlin Radoslavov [Mon, 29 Aug 2016 17:59:01 +0000 (17:59 +0000)]
Cleanup and removed BTIF-related unused code am: a62c5a302e
am: 7a84515916

Change-Id: Ia7a15974a43929b3e73dba0cf380aa7cac87f1a2

8 years agoCleanup and removed BTIF-related unused code
Pavlin Radoslavov [Mon, 29 Aug 2016 17:56:42 +0000 (17:56 +0000)]
Cleanup and removed BTIF-related unused code
am: a62c5a302e

Change-Id: I449704fafd17f331fac8c201eabdf9f3af30fc4e

8 years agoCleanup and removed BTIF-related unused code
Pavlin Radoslavov [Thu, 25 Aug 2016 22:34:57 +0000 (15:34 -0700)]
Cleanup and removed BTIF-related unused code

* Removed field tBTIF_MEDIA_CB.av_sm_hdl, because it is never used
  after an assignment.
* Removed the corresponding function btif_av_get_sm_handle() which
  is not used/needed anymore.
* Declared btif_hf_is_call_idle() function in a new header file
  "btif_hf.h"
* Removed tBTIF_STATUS, BTIF_SUCCESS and BTIF_ERROR_SRV_* error codes
  which are never used.
* Removed duplicate conditional define of BTA_AV_CO_CP_SCMS_T
* Removed unused typedef tBTA_AV_AUDIO_CODEC_INFO, and unused
  BTA_AV_CO_* defines and enums.

Change-Id: I7bb49957fad94073d474fea6ea0d466f36df37fb

8 years agoMerge "Update linux BUILD.gn files" am: c143b4a3fa am: 0c3164c963
Jakub Pawlowski [Thu, 25 Aug 2016 23:00:55 +0000 (23:00 +0000)]
Merge "Update linux BUILD.gn files" am: c143b4a3fa am: 0c3164c963
am: 9ac66e0186

Change-Id: I9c7eba4b1c51e46e4a7a03fc17f8d0e485d829b8

8 years agoMerge "Update linux BUILD.gn files" am: c143b4a3fa
Jakub Pawlowski [Thu, 25 Aug 2016 22:26:14 +0000 (22:26 +0000)]
Merge "Update linux BUILD.gn files" am: c143b4a3fa
am: 0c3164c963

Change-Id: I0d9dd8ac08e6e20eb0078240000898611f3cf839

8 years agoMerge "Update linux BUILD.gn files"
Jakub Pawlowski [Thu, 25 Aug 2016 22:20:50 +0000 (22:20 +0000)]
Merge "Update linux BUILD.gn files"
am: c143b4a3fa

Change-Id: Iad689fa7313868a072f7e1836d39d47ca4e471aa

8 years agoMerge "Update linux BUILD.gn files"
Treehugger Robot [Thu, 25 Aug 2016 22:11:07 +0000 (22:11 +0000)]
Merge "Update linux BUILD.gn files"

8 years agoFree av_open_on_rc_timer on cleanup am: 8981fb2f35 am: 5a79d6da20
Pavlin Radoslavov [Thu, 25 Aug 2016 21:06:15 +0000 (21:06 +0000)]
Free av_open_on_rc_timer on cleanup am: 8981fb2f35 am: 5a79d6da20
am: 290b4ca86b

Change-Id: I819e1574c32a24c334cbdc14eb781d2d5bdb2a0f