OSDN Git Service

android-x86/system-bt.git
7 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

7 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

7 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

7 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"

7 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

7 years agoFree av_open_on_rc_timer on cleanup am: 8981fb2f35
Pavlin Radoslavov [Thu, 25 Aug 2016 21:03:45 +0000 (21:03 +0000)]
Free av_open_on_rc_timer on cleanup am: 8981fb2f35
am: 5a79d6da20

Change-Id: I3f8f9724c571afcb10b98123b8cffdd795701fdd

7 years agoFree av_open_on_rc_timer on cleanup
Pavlin Radoslavov [Thu, 25 Aug 2016 21:00:17 +0000 (21:00 +0000)]
Free av_open_on_rc_timer on cleanup
am: 8981fb2f35

Change-Id: I4a429c099df2ca47c1759499127aeb267bb22937

7 years agoUpdate linux BUILD.gn files
Jakub Pawlowski [Thu, 25 Aug 2016 20:14:26 +0000 (13:14 -0700)]
Update linux BUILD.gn files

Change-Id: Iccec195d35b5a62d7b45834670229a68deeb4add

7 years agoRemove log spam in btif_gattc_update_properties am: 831bec7af3 am: e678af1282
Andre Eisenbach [Thu, 25 Aug 2016 18:35:55 +0000 (18:35 +0000)]
Remove log spam in btif_gattc_update_properties am: 831bec7af3 am: e678af1282
am: 3b22957389

Change-Id: I0c77c3d1103e8128071b06b8e28e87b3f81dce6a

7 years agoRemove log spam in btif_gattc_update_properties am: 831bec7af3
Andre Eisenbach [Thu, 25 Aug 2016 18:33:25 +0000 (18:33 +0000)]
Remove log spam in btif_gattc_update_properties am: 831bec7af3
am: e678af1282

Change-Id: I6bf3ea3065403197f46edef8817a9a8a8b7eaf31

7 years agoRemove log spam in btif_gattc_update_properties
Andre Eisenbach [Thu, 25 Aug 2016 18:30:27 +0000 (18:30 +0000)]
Remove log spam in btif_gattc_update_properties
am: 831bec7af3

Change-Id: I1c967f90cbb87551b9a50ff2cc6da019871afbfc

7 years agoFree av_open_on_rc_timer on cleanup
Pavlin Radoslavov [Wed, 16 Mar 2016 22:28:07 +0000 (15:28 -0700)]
Free av_open_on_rc_timer on cleanup

Bug: 27602473
Change-Id: I4b0f1563952be75a6dee238607e6674ce98ea623

7 years agoRemove log spam in btif_gattc_update_properties
Andre Eisenbach [Thu, 23 Jun 2016 21:22:35 +0000 (14:22 -0700)]
Remove log spam in btif_gattc_update_properties

Bug: 29601962
Change-Id: Ibcccbe20a4b7c79edcaff162e4f4a19078ffb75d
(cherry picked from commit ffdb33b5fcfa0a652e9fa368f7f8c3bb0654b46e)

7 years agoMerge "Don't set the A2DP sink data callback when registering A2DP source" am: e12118...
Pavlin Radoslavov [Thu, 25 Aug 2016 08:58:19 +0000 (08:58 +0000)]
Merge "Don't set the A2DP sink data callback when registering A2DP source" am: e1211822cc am: 245e7ee851
am: 360523bd48

Change-Id: Iec5368e06680d96e058544e2416848f7e458f59e

7 years agoMerge "Don't set the A2DP sink data callback when registering A2DP source" am: e1211822cc
Pavlin Radoslavov [Thu, 25 Aug 2016 08:55:19 +0000 (08:55 +0000)]
Merge "Don't set the A2DP sink data callback when registering A2DP source" am: e1211822cc
am: 245e7ee851

Change-Id: Ifd9a276afed3d4051ed0d0e54074b8523a543c48

7 years agoMerge "Don't set the A2DP sink data callback when registering A2DP source"
Pavlin Radoslavov [Thu, 25 Aug 2016 08:52:21 +0000 (08:52 +0000)]
Merge "Don't set the A2DP sink data callback when registering A2DP source"
am: e1211822cc

Change-Id: I4f984c5ebdfdb7c5d03f92c05bf98209bbd82a9d

7 years agoMerge "Don't set the A2DP sink data callback when registering A2DP source"
Treehugger Robot [Thu, 25 Aug 2016 08:44:55 +0000 (08:44 +0000)]
Merge "Don't set the A2DP sink data callback when registering A2DP source"

7 years agoRemoved duplicate and unused BTA_AV_ and BTIF_AV_ constants am: 89330a3888 am: cce0a0674a
Pavlin Radoslavov [Thu, 25 Aug 2016 07:46:45 +0000 (07:46 +0000)]
Removed duplicate and unused BTA_AV_ and BTIF_AV_ constants am: 89330a3888 am: cce0a0674a
am: 38f74645e3

Change-Id: I159049879e03fd256edd7ccde8ecfd135e8d931f

7 years agoRemoved duplicate and unused BTA_AV_ and BTIF_AV_ constants am: 89330a3888
Pavlin Radoslavov [Thu, 25 Aug 2016 07:43:44 +0000 (07:43 +0000)]
Removed duplicate and unused BTA_AV_ and BTIF_AV_ constants am: 89330a3888
am: cce0a0674a

Change-Id: I3bbebe617d401e18467298cfcdf7caf3ea9002a0

7 years agoRemoved duplicate and unused BTA_AV_ and BTIF_AV_ constants
Pavlin Radoslavov [Thu, 25 Aug 2016 07:40:16 +0000 (07:40 +0000)]
Removed duplicate and unused BTA_AV_ and BTIF_AV_ constants
am: 89330a3888

Change-Id: I4d2b8e6816b589d5f83978098a3754f66c6e896c

7 years agoRemoved duplicate and unused BTA_AV_ and BTIF_AV_ constants
Pavlin Radoslavov [Wed, 24 Aug 2016 18:46:58 +0000 (11:46 -0700)]
Removed duplicate and unused BTA_AV_ and BTIF_AV_ constants

* Replaced usage of BTA_AV_CODEC_SBC and BTIF_AV_CODEC_SBC
  with A2D_MEDIA_CT_SBC
* Removed remaining unused BTA_AV_CODEC_* re-defines
* Removed other BTA_* constants and re-defines that are never used
* Removed unused BTIF_AV_ constants and typedefs

Change-Id: I38090acee3dfdcd1196185e0b060cdad7572003a

7 years agoDon't set the A2DP sink data callback when registering A2DP source
Pavlin Radoslavov [Wed, 24 Aug 2016 17:42:22 +0000 (10:42 -0700)]
Don't set the A2DP sink data callback when registering A2DP source

The p_sink_data_cback pointer should be NULL when registering
A2DP source with BTA_AvRegister()

Change-Id: I1a709c4e0d3cfe6faf0368a013b391c6e6a53a82

7 years agoMerge "Removed unused log-related defines and typedefs" am: fc32808f2f am: 1d1f81df8d
Pavlin Radoslavov [Wed, 24 Aug 2016 21:08:59 +0000 (21:08 +0000)]
Merge "Removed unused log-related defines and typedefs" am: fc32808f2f am: 1d1f81df8d
am: 0c16b37b6c

Change-Id: Id1a1bb90496f850088b932243d42e6519114d962

7 years agoMerge "Removed unused log-related defines and typedefs" am: fc32808f2f
Pavlin Radoslavov [Wed, 24 Aug 2016 21:05:59 +0000 (21:05 +0000)]
Merge "Removed unused log-related defines and typedefs" am: fc32808f2f
am: 1d1f81df8d

Change-Id: I204a6f1f1e270dd84bdfcf4faa0123189a14ed76

7 years agoMerge "Removed unused log-related defines and typedefs"
Pavlin Radoslavov [Wed, 24 Aug 2016 21:03:01 +0000 (21:03 +0000)]
Merge "Removed unused log-related defines and typedefs"
am: fc32808f2f

Change-Id: Ie48e32bafe7a0ba7baedc1138b525062d136127d

7 years agoMerge "Removed unused log-related defines and typedefs"
Treehugger Robot [Wed, 24 Aug 2016 20:55:54 +0000 (20:55 +0000)]
Merge "Removed unused log-related defines and typedefs"

7 years agoMake it possible to post closures to BTA message queue am: e5c78954fb am: b981c12c3b
Jakub Pawlowski [Wed, 24 Aug 2016 20:44:50 +0000 (20:44 +0000)]
Make it possible to post closures to BTA message queue am: e5c78954fb am: b981c12c3b
am: eb5819d077

Change-Id: Id8579a1e39ea980f93e463e42df473be4ad6e1a3

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 2cb07a3468 am...
Bill Yi [Wed, 24 Aug 2016 20:44:49 +0000 (20:44 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 2cb07a3468 am: 66e7938a30
am: 12dd2d65eb

Change-Id: I4ecdbfb6dcc7479bed2a3e3f34eda6efde35b056

7 years agotest_vendor: Build independently from the stack am: 8f981328ad am: 735ce72d77
Myles Watson [Wed, 24 Aug 2016 20:44:49 +0000 (20:44 +0000)]
test_vendor: Build independently from the stack am: 8f981328ad am: 735ce72d77
am: 1602be2ec8

Change-Id: Id1eb2e93e268ef0f4edf1fcd14ac42778410377e

7 years agotest_vendor: Fix style for UNUSED_ATTR, whitespace am: 98dcd0babf am: 46fedfd9bb
Myles Watson [Wed, 24 Aug 2016 20:44:47 +0000 (20:44 +0000)]
test_vendor: Fix style for UNUSED_ATTR, whitespace am: 98dcd0babf am: 46fedfd9bb
am: a938cb7751

Change-Id: If183c6881c3f73a8da0fef62bab631667f024583

7 years agoMake it possible to post closures to BTA message queue am: e5c78954fb
Jakub Pawlowski [Wed, 24 Aug 2016 20:25:54 +0000 (20:25 +0000)]
Make it possible to post closures to BTA message queue am: e5c78954fb
am: b981c12c3b

Change-Id: Ia3f3f48479eee6fc0cb6ac177b2b3cc8499b8428

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 2cb07a3468
Bill Yi [Wed, 24 Aug 2016 20:25:54 +0000 (20:25 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD am: 2cb07a3468
am: 66e7938a30

Change-Id: Id92e90db29d3692028861bc672e194ee6892d86d

7 years agotest_vendor: Build independently from the stack am: 8f981328ad
Myles Watson [Wed, 24 Aug 2016 20:25:53 +0000 (20:25 +0000)]
test_vendor: Build independently from the stack am: 8f981328ad
am: 735ce72d77

Change-Id: Ib29e7ad0b6fda22e9ea6892060cd91aa4d0fb691

7 years agotest_vendor: Fix style for UNUSED_ATTR, whitespace am: 98dcd0babf
Myles Watson [Wed, 24 Aug 2016 20:25:52 +0000 (20:25 +0000)]
test_vendor: Fix style for UNUSED_ATTR, whitespace am: 98dcd0babf
am: 46fedfd9bb

Change-Id: I3cfc9ba5570ea50596f0f7c58c4b0906d602a35c

7 years agoMake it possible to post closures to BTA message queue
Jakub Pawlowski [Wed, 24 Aug 2016 20:15:25 +0000 (20:15 +0000)]
Make it possible to post closures to BTA message queue
am: e5c78954fb

Change-Id: Ic90c6e430f33949695926f602ed9f801bebed6cc

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Wed, 24 Aug 2016 20:15:23 +0000 (20:15 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 2cb07a3468

Change-Id: Idfe3f56752b12a4961c692f2dd33117c0c02a77b

7 years agotest_vendor: Build independently from the stack
Myles Watson [Wed, 24 Aug 2016 20:15:22 +0000 (20:15 +0000)]
test_vendor: Build independently from the stack
am: 8f981328ad

Change-Id: I8635261da07e0ea20a3db3624e776c69d467ec6e

7 years agotest_vendor: Fix style for UNUSED_ATTR, whitespace
Myles Watson [Wed, 24 Aug 2016 20:15:21 +0000 (20:15 +0000)]
test_vendor: Fix style for UNUSED_ATTR, whitespace
am: 98dcd0babf

Change-Id: Idc44d0bc0f1c445d2b08bdd22436c47e062504e4

7 years agoMake it possible to post closures to BTA message queue
Jakub Pawlowski [Wed, 10 Aug 2016 16:07:44 +0000 (09:07 -0700)]
Make it possible to post closures to BTA message queue

Currently, every task executed on bta thread needs a separate event id,
structure holding its parameters, API method, and method that will be
executed in bta thread, which must accept generic tBTA_DM_MSG.

Because of that we end up with lots of boilerplate code, and possibility
to misinterpret bytes in tBTA_DM_MSG struct.

After this patch, we can post closures onto bta thread. Thanks to it we
don't need a struct to hold parameters, and the executed method can have
a meaningful parameters.

First experiments showed over 50% reduction in code size when rewriting
advertising code to new style, not to mention much better readability.

Bug: 30622771
Change-Id: I400839b920c04c67c893899969d07a02d9c1b2e6

7 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Bill Yi [Wed, 24 Aug 2016 18:18:47 +0000 (11:18 -0700)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

7 years agoRemoved unused log-related defines and typedefs
Pavlin Radoslavov [Wed, 24 Aug 2016 18:01:42 +0000 (11:01 -0700)]
Removed unused log-related defines and typedefs

Change-Id: I794f07821a653f03e02cb5ad11790dfe2dfaea98

7 years agotest_vendor: Build independently from the stack
Myles Watson [Tue, 21 Jun 2016 23:45:02 +0000 (16:45 -0700)]
test_vendor: Build independently from the stack

Remove the dependency on bluetooth_* flags.
Enable more warnings.

(Based on the build flags in system/bt/Android.mk)

Change-Id: I5f480f15c037955404502a0216b61aa407670163
Signed-off-by: Myles Watson <mylesgw@google.com>
7 years agotest_vendor: Fix style for UNUSED_ATTR, whitespace
Myles Watson [Wed, 24 Aug 2016 16:03:32 +0000 (09:03 -0700)]
test_vendor: Fix style for UNUSED_ATTR, whitespace

Remove "/* args */" and use UNUSED_ATTR.  It's easier to find using grep.

Change-Id: Ic1a95e44b86d019647acafe982cfef5c69e1da1a
Signed-off-by: Myles Watson <mylesgw@google.com>
7 years agoFix a typo: __func_ -> __func__ am: 3e0f253c28 am: 3426fd6085
Pavlin Radoslavov [Wed, 24 Aug 2016 09:07:41 +0000 (09:07 +0000)]
Fix a typo: __func_ -> __func__ am: 3e0f253c28 am: 3426fd6085
am: 9dbac643a7

Change-Id: I42a03d87c136f233201cfc1676552655ccd079bb

7 years agoFix a typo: __func_ -> __func__ am: 3e0f253c28
Pavlin Radoslavov [Wed, 24 Aug 2016 09:05:10 +0000 (09:05 +0000)]
Fix a typo: __func_ -> __func__ am: 3e0f253c28
am: 3426fd6085

Change-Id: Iff5a8701c63ab68e280fd166d899aa58e41ea3d9

7 years agoFix a typo: __func_ -> __func__
Pavlin Radoslavov [Wed, 24 Aug 2016 09:01:30 +0000 (09:01 +0000)]
Fix a typo: __func_ -> __func__
am: 3e0f253c28

Change-Id: I4309954020a7630fa1dc4eca766fc12e982fbefc

7 years agoFix a typo: __func_ -> __func__
Pavlin Radoslavov [Wed, 24 Aug 2016 08:44:41 +0000 (01:44 -0700)]
Fix a typo: __func_ -> __func__

Change-Id: I8b6f0664a96932c35a804541d54a50370d09c022

7 years agoA2DP-related naming refactoring and cleanup am: 7aaf7c6c42 am: 4e89dc5ac8
Pavlin Radoslavov [Wed, 24 Aug 2016 05:22:26 +0000 (05:22 +0000)]
A2DP-related naming refactoring and cleanup am: 7aaf7c6c42 am: 4e89dc5ac8
am: 3bf6494ed7

Change-Id: I561c46ee2026122654de3b1b2f3c13538b676479

7 years agoA2DP-related naming refactoring and cleanup am: 7aaf7c6c42
Pavlin Radoslavov [Wed, 24 Aug 2016 05:19:55 +0000 (05:19 +0000)]
A2DP-related naming refactoring and cleanup am: 7aaf7c6c42
am: 4e89dc5ac8

Change-Id: I40b313ac63ca8092a73901e64a5a80e78e9ffda5

7 years agoA2DP-related naming refactoring and cleanup
Pavlin Radoslavov [Wed, 24 Aug 2016 05:17:32 +0000 (05:17 +0000)]
A2DP-related naming refactoring and cleanup
am: 7aaf7c6c42

Change-Id: I2420388d1335ab2ff9edef957ed0934433e3e63e

7 years agoA2DP-related naming refactoring and cleanup
Pavlin Radoslavov [Tue, 23 Aug 2016 19:24:03 +0000 (12:24 -0700)]
A2DP-related naming refactoring and cleanup

* Renamed A2DP-related function names, types, constants and fields.
  Also, move some of those functions to a better location.
 - tAVDT_DATA_CBACK -> tAVDT_SINK_DATA_CBACK
 - tAVDT_MEDIA_CBACK -> tAVDT_SINK_MEDIA_CBACK
 - p_data_cback -> p_sink_data_cback
 - p_media_cback -> p_sink_media_cback
 - p_app_data_cback -> p_app_sink_data_cback
 - tBTA_AV_DATA_CBACK -> tBTA_AV_SINK_DATA_CBACK
 - BTA_AV_MEDIA_SINK_CFG_EVT -> BTA_AV_SINK_MEDIA_CFG_EVT
 - BTA_AV_MEDIA_DATA_EVT -> BTA_AV_SINK_MEDIA_DATA_EVT
 - bta_av_stream_data_cback() -> bta_av_sink_data_cback()
 - bte_av_media_callback() -> bte_av_sink_media_callback()
 - tBTA_AV_CODEC -> tA2D_CODEC
 - btif_a2dp_get_track_frequency() -> A2D_sbc_get_track_frequency()
 - btif_a2dp_get_track_channel_count() -> A2D_sbc_get_track_channel_count()
 - dump_codec_info() -> A2D_sbc_dump_codec_info()

* Misc. other cleanup:
  - log messages cleanup
  - normalize usage of "+=" in Android.mk files

Change-Id: Ida1528fb5d75cc322533f921daefb65be44562f1

7 years agoMake gatt_attr use opportunistic connection am: 970d9d18ec am: de0eabbc05
Jakub Pawlowski [Tue, 23 Aug 2016 20:45:29 +0000 (20:45 +0000)]
Make gatt_attr use opportunistic connection am: 970d9d18ec am: de0eabbc05
am: 6d5eee2116

Change-Id: I1da27ef4b5cb5470260f8d0a67c863f52120d95a

7 years agoGATT: don't update link status for apps that were never connected am: aab757d3d6...
Jakub Pawlowski [Tue, 23 Aug 2016 20:45:25 +0000 (20:45 +0000)]
GATT: don't update link status for apps that were never connected am: aab757d3d6 am: a7dd707914
am: 72b3b6fdf2

Change-Id: I499ea347d63f2b6c0c71d663c8845ef5fce41ef5

7 years agoMake gatt_attr use opportunistic connection am: 970d9d18ec
Jakub Pawlowski [Tue, 23 Aug 2016 20:32:50 +0000 (20:32 +0000)]
Make gatt_attr use opportunistic connection am: 970d9d18ec
am: de0eabbc05

Change-Id: Ic84f963c1efa375a643fe4c08ef0716c21e209b6

7 years agoGATT: don't update link status for apps that were never connected am: aab757d3d6
Jakub Pawlowski [Tue, 23 Aug 2016 20:32:48 +0000 (20:32 +0000)]
GATT: don't update link status for apps that were never connected am: aab757d3d6
am: a7dd707914

Change-Id: I9256c0f1ad331bca8b62e01790dcc9d6c5248e87

7 years agoMake gatt_attr use opportunistic connection
Jakub Pawlowski [Tue, 23 Aug 2016 20:27:39 +0000 (20:27 +0000)]
Make gatt_attr use opportunistic connection
am: 970d9d18ec

Change-Id: Iaff1375e619409afe9570b6fb79867070a339902

7 years agoGATT: don't update link status for apps that were never connected
Jakub Pawlowski [Tue, 23 Aug 2016 20:27:38 +0000 (20:27 +0000)]
GATT: don't update link status for apps that were never connected
am: aab757d3d6

Change-Id: Id9397aa59aae3570821c9838d428541cfb6a878a

7 years agoMake gatt_attr use opportunistic connection
Jakub Pawlowski [Mon, 18 Jul 2016 16:06:49 +0000 (09:06 -0700)]
Make gatt_attr use opportunistic connection

This patch creates new connection mode - opportunistic connection. When
such connection is made, no call to gatt_update_app_hold_link_status
will be made when it's started.

This means that connecting and disconnecting in this mode won't trigger
disconnect timer. When other, app creates regular connection and then
disconnects, the physical connection might get disconnected.

Opportunistic connection is used only for code setting CCC right now.

Bug: 30186455
Change-Id: Ia5be7682b6c3dcb4993060f818dee603aef3e19e

7 years agoGATT: don't update link status for apps that were never connected
Jakub Pawlowski [Thu, 16 Jun 2016 15:16:48 +0000 (08:16 -0700)]
GATT: don't update link status for apps that were never connected

Right now, in GATT_Deregister we make a call to
gatt_update_app_use_link_flag, which might result in a call to
GATT_SetIddleTimeout on links that this client was never connected to.

In order to fix that, we must check if gatt_update_app_hold_link_status
made any changes to p_tcb->app_hold_link. If not, then skip updating
the timer.

Bug: 30186455
Change-Id: I6f18ec7fe4e80e048adc9e360cae703b7d64d62a

7 years agotest_vendor: Allow includes from bt_hci_defs am: a11e1c1b71 am: ee0c32d010
Myles Watson [Tue, 23 Aug 2016 01:23:52 +0000 (01:23 +0000)]
test_vendor: Allow includes from bt_hci_defs am: a11e1c1b71 am: ee0c32d010
am: 66ec15f793

Change-Id: Ic5669a07d495e3c71f2dab69025e3ea1268cc747

7 years agoRemoved BTA_AV_INCLUDED conditional guard which is always true am: bde45bd653 am...
Pavlin Radoslavov [Tue, 23 Aug 2016 01:23:51 +0000 (01:23 +0000)]
Removed BTA_AV_INCLUDED conditional guard which is always true am: bde45bd653 am: fb8d7890a1
am: b345a8f568

Change-Id: Ifd623c4a0f070414999e453ae6d17cdc31683d90

7 years agotest_vendor: Allow includes from bt_hci_defs am: a11e1c1b71
Myles Watson [Tue, 23 Aug 2016 01:17:30 +0000 (01:17 +0000)]
test_vendor: Allow includes from bt_hci_defs am: a11e1c1b71
am: ee0c32d010

Change-Id: Ic41e9fc0f1ce86bcb7cd9dee5594bac9db664c60

7 years agoRemoved BTA_AV_INCLUDED conditional guard which is always true am: bde45bd653
Pavlin Radoslavov [Tue, 23 Aug 2016 01:17:26 +0000 (01:17 +0000)]
Removed BTA_AV_INCLUDED conditional guard which is always true am: bde45bd653
am: fb8d7890a1

Change-Id: Ib05380ae4ecfa4150db9811af051cb754e710302

7 years agotest_vendor: Allow includes from bt_hci_defs
Myles Watson [Tue, 23 Aug 2016 01:10:54 +0000 (01:10 +0000)]
test_vendor: Allow includes from bt_hci_defs
am: a11e1c1b71

Change-Id: Ie3494281cda35263f0b0a259eef045541aba3585

7 years agoRemoved BTA_AV_INCLUDED conditional guard which is always true
Pavlin Radoslavov [Tue, 23 Aug 2016 01:10:53 +0000 (01:10 +0000)]
Removed BTA_AV_INCLUDED conditional guard which is always true
am: bde45bd653

Change-Id: I3e3775b77c304fa5d440fc841bb6c76efbe3ef89

7 years agotest_vendor: Allow includes from bt_hci_defs
Myles Watson [Mon, 13 Jun 2016 19:46:38 +0000 (12:46 -0700)]
test_vendor: Allow includes from bt_hci_defs

Avoid duplicating header files for BT constants.

Update Android.mk to search $(BT_DIR)/include and
$(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)

Change-Id: I1403724c1cf9cda8156a5b65cf55da8178bd910f
Signed-off-by: Myles Watson <mylesgw@google.com>
7 years agoRemoved BTA_AV_INCLUDED conditional guard which is always true
Pavlin Radoslavov [Mon, 22 Aug 2016 21:49:11 +0000 (14:49 -0700)]
Removed BTA_AV_INCLUDED conditional guard which is always true

Change-Id: Idf7063359600b30c007fbde89dde55ef987c0368

7 years agoMerge "Removed unused code related to Audio, A2DP Sink and Video" am: e80e75b4a5...
Pavlin Radoslavov [Mon, 22 Aug 2016 19:50:22 +0000 (19:50 +0000)]
Merge "Removed unused code related to Audio, A2DP Sink and Video" am: e80e75b4a5 am: 216f5e3b0a
am: 4cbced3bd4

Change-Id: I4061522c6b61c7490ede4eed14553850b01065b8

7 years agoMerge "Removed unused code related to Audio, A2DP Sink and Video" am: e80e75b4a5
Pavlin Radoslavov [Mon, 22 Aug 2016 19:46:26 +0000 (19:46 +0000)]
Merge "Removed unused code related to Audio, A2DP Sink and Video" am: e80e75b4a5
am: 216f5e3b0a

Change-Id: Id7d258e5c897b28605ed8bf41358204efef168ca

7 years agoMerge "Removed unused code related to Audio, A2DP Sink and Video"
Pavlin Radoslavov [Mon, 22 Aug 2016 19:42:31 +0000 (19:42 +0000)]
Merge "Removed unused code related to Audio, A2DP Sink and Video"
am: e80e75b4a5

Change-Id: I877e15663150975a102adf692e68e1d27cfc56b8

7 years agoExpose function audio_a2dp_hw_dump_ctrl_event() am: febb1515f9 am: 144b5e7934
Pavlin Radoslavov [Mon, 22 Aug 2016 19:38:22 +0000 (19:38 +0000)]
Expose function audio_a2dp_hw_dump_ctrl_event() am: febb1515f9 am: 144b5e7934
am: eef306f051

Change-Id: If61a656bb60e89fc3dfa1eec49abb80b131625f1

7 years agoMerge "Removed unused code related to Audio, A2DP Sink and Video"
Treehugger Robot [Mon, 22 Aug 2016 19:36:45 +0000 (19:36 +0000)]
Merge "Removed unused code related to Audio, A2DP Sink and Video"

7 years agoExpose function audio_a2dp_hw_dump_ctrl_event() am: febb1515f9
Pavlin Radoslavov [Mon, 22 Aug 2016 19:34:21 +0000 (19:34 +0000)]
Expose function audio_a2dp_hw_dump_ctrl_event() am: febb1515f9
am: 144b5e7934

Change-Id: I96807b9393df5f51a5854dcc2fbfe655fe61e185

7 years agoExpose function audio_a2dp_hw_dump_ctrl_event()
Pavlin Radoslavov [Mon, 22 Aug 2016 19:30:29 +0000 (19:30 +0000)]
Expose function audio_a2dp_hw_dump_ctrl_event()
am: febb1515f9

Change-Id: Ifbaade2d4edb6792e328dc37ae21bd0ac5f24560

7 years agoExpose function audio_a2dp_hw_dump_ctrl_event()
Pavlin Radoslavov [Fri, 19 Aug 2016 22:04:18 +0000 (15:04 -0700)]
Expose function audio_a2dp_hw_dump_ctrl_event()

Renamed function dump_a2dp_ctrl_event() to
audio_a2dp_hw_dump_ctrl_event() and expose it, so it can be used
by outside code to print events.

Change-Id: Ibd9d3171c7d5256f80101ecc1563b472b7f5e92d

7 years agoRemoved unused code related to Audio, A2DP Sink and Video
Pavlin Radoslavov [Sat, 20 Aug 2016 00:46:19 +0000 (17:46 -0700)]
Removed unused code related to Audio, A2DP Sink and Video

* Function BTA_AvEnable_Sink() - never used
  - Event BTA_AV_API_SINK_ENABLE_EVT
  - Processing function bta_av_api_sink_enable()
  - AVDT_SINK_Activate() and AVDT_SINK_Deactivate() : not used anymore

* A2DP SINK related functions that are only declared:
  - btif_queue_focus_request()
  - audio_focus_status()

* Audio-related function that is never used:
  - bta_av_sbc_cfg_for_cap()

* Video-related functions that are only declared:
  - bta_av_co_video_src_data_path()
  - bta_av_co_video_setconfig()
  - bta_av_co_video_open()
  - bta_av_co_video_close()
  - bta_av_co_video_start()
  - bta_av_co_video_report_conn()
  - bta_av_co_video_report_rr()
  - bta_av_co_video_delay()
  - bta_av_co_video_disc_res()
  - bta_av_co_video_getconfig()
  - bta_av_co_video_stop()

Change-Id: I0c0c80578ab2675d2fe23dea3f11b2a0d82283f0

7 years agoMerge "Implement the AVRCP "continue" and "abort continue" responses" am: d3e8a45884...
Ajay Panicker [Sat, 20 Aug 2016 03:06:16 +0000 (03:06 +0000)]
Merge "Implement the AVRCP "continue" and "abort continue" responses" am: d3e8a45884 am: 34895efd54
am: 74e6988cea

Change-Id: I1cd562f7c006fa2ebae003b79fc1a5b914350a39

7 years agoMerge "Implement the AVRCP "continue" and "abort continue" responses" am: d3e8a45884
Ajay Panicker [Sat, 20 Aug 2016 03:03:16 +0000 (03:03 +0000)]
Merge "Implement the AVRCP "continue" and "abort continue" responses" am: d3e8a45884
am: 34895efd54

Change-Id: Ieeddca189aa91cdf9f10d1a194865babe94529a8

7 years agoMerge "Implement the AVRCP "continue" and "abort continue" responses"
Ajay Panicker [Sat, 20 Aug 2016 03:00:12 +0000 (03:00 +0000)]
Merge "Implement the AVRCP "continue" and "abort continue" responses"
am: d3e8a45884

Change-Id: I0c8c22beb6c899cf97ccd87744c8fb27964d0f32

7 years agoMerge "Implement the AVRCP "continue" and "abort continue" responses"
Treehugger Robot [Sat, 20 Aug 2016 02:54:13 +0000 (02:54 +0000)]
Merge "Implement the AVRCP "continue" and "abort continue" responses"

7 years agoMerge "Added new function time_get_os_boottime_us() and unit tests" am: 2637d3cd9d...
Pavlin Radoslavov [Sat, 20 Aug 2016 01:03:58 +0000 (01:03 +0000)]
Merge "Added new function time_get_os_boottime_us() and unit tests" am: 2637d3cd9d am: a94784862f
am: 22795bd35e

Change-Id: I1bd031167db91e3cd5cbdc5dd112361cf3f96e8f

7 years agoMerge "Added new function time_get_os_boottime_us() and unit tests" am: 2637d3cd9d
Pavlin Radoslavov [Sat, 20 Aug 2016 01:00:08 +0000 (01:00 +0000)]
Merge "Added new function time_get_os_boottime_us() and unit tests" am: 2637d3cd9d
am: a94784862f

Change-Id: Ib5e084595e0027246b056d5120ebdff1582c5010

7 years agoMerge "Added new function time_get_os_boottime_us() and unit tests"
Pavlin Radoslavov [Sat, 20 Aug 2016 00:57:02 +0000 (00:57 +0000)]
Merge "Added new function time_get_os_boottime_us() and unit tests"
am: 2637d3cd9d

Change-Id: Icb7fbbe31234c26efb21166b3ed91e03b07177fd

7 years agoMerge "Added new function time_get_os_boottime_us() and unit tests"
Treehugger Robot [Sat, 20 Aug 2016 00:48:38 +0000 (00:48 +0000)]
Merge "Added new function time_get_os_boottime_us() and unit tests"

7 years agoAdded new function fixed_queue_flush() and the unit test am: 3335cf4e87 am: 8e66aa9afd
Pavlin Radoslavov [Sat, 20 Aug 2016 00:21:24 +0000 (00:21 +0000)]
Added new function fixed_queue_flush() and the unit test am: 3335cf4e87 am: 8e66aa9afd
am: 4b27ad3e51

Change-Id: I1982f28ecd6bb25ef14187a86dc95fe722eb7b3f

7 years agoAdded new function fixed_queue_flush() and the unit test am: 3335cf4e87
Pavlin Radoslavov [Sat, 20 Aug 2016 00:17:40 +0000 (00:17 +0000)]
Added new function fixed_queue_flush() and the unit test am: 3335cf4e87
am: 8e66aa9afd

Change-Id: I45bf486b7eaee0379a7e829a09122c20c811d132

7 years agoAdded new function fixed_queue_flush() and the unit test
Pavlin Radoslavov [Sat, 20 Aug 2016 00:14:35 +0000 (00:14 +0000)]
Added new function fixed_queue_flush() and the unit test
am: 3335cf4e87

Change-Id: I69e145c2e2c4afda6ab0c16c5cf3c9e097b8a8e7

7 years agoAdded new function fixed_queue_flush() and the unit test
Pavlin Radoslavov [Fri, 19 Aug 2016 22:32:30 +0000 (15:32 -0700)]
Added new function fixed_queue_flush() and the unit test

Change-Id: Ic90e3ffdcaea9573b135bd26ef102a1740fb2d3d

7 years agoMerge "GATT: don't update link status for apps that were never connected" into nyc...
Jakub Pawlowski [Sat, 20 Aug 2016 00:03:38 +0000 (00:03 +0000)]
Merge "GATT: don't update link status for apps that were never connected" into nyc-mr1-dev am: fdab496066
am: e09f72982b

Change-Id: I14ec033ed1e86c3011b0d7dd69b5336eb4205ca5

7 years agoresolve merge conflicts of e6f74e0 to nyc-mr1-dev-plus-aosp
Andre Eisenbach [Fri, 19 Aug 2016 23:50:51 +0000 (16:50 -0700)]
resolve merge conflicts of e6f74e0 to nyc-mr1-dev-plus-aosp

Change-Id: Id2ddc93e4a3c49221f3e1420ad1acb3091662d05

7 years agoAdded new function time_get_os_boottime_us() and unit tests
Pavlin Radoslavov [Fri, 19 Aug 2016 23:01:18 +0000 (16:01 -0700)]
Added new function time_get_os_boottime_us() and unit tests

Also, re-implement existing function time_get_os_boottime_ms()
by using the new function time_get_os_boottime_us()

Change-Id: I5c6ba3d04b04c96e0a415b2be1050ef05cb04585

7 years agoMerge "resolve merge conflicts of 8547681 to nyc-mr1-dev-plus-aosp" into nyc-mr1...
TreeHugger Robot [Fri, 19 Aug 2016 23:01:03 +0000 (23:01 +0000)]
Merge "resolve merge conflicts of 8547681 to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp

7 years agoresolve merge conflicts of 8547681 to nyc-mr1-dev-plus-aosp
Andre Eisenbach [Fri, 19 Aug 2016 22:54:18 +0000 (15:54 -0700)]
resolve merge conflicts of 8547681 to nyc-mr1-dev-plus-aosp

Change-Id: I692c5f9e57dd53370377a9d926b905a6c8c2276d

7 years agoAdd a socket unit test for the async_manager am: d4f80ae7ca am: cd15f9e39f
Myles Watson [Fri, 19 Aug 2016 22:36:47 +0000 (22:36 +0000)]
Add a socket unit test for the async_manager am: d4f80ae7ca am: cd15f9e39f
am: 2451b9213d

Change-Id: I3fef0aa206002e0d8fbaed94443cd0f9242f973f

7 years agoAdd a socket unit test for the async_manager am: d4f80ae7ca
Myles Watson [Fri, 19 Aug 2016 22:33:17 +0000 (22:33 +0000)]
Add a socket unit test for the async_manager am: d4f80ae7ca
am: cd15f9e39f

Change-Id: Ib14df22a31244d0cbf066c9760ab603a3fa77175

7 years agoAdd a socket unit test for the async_manager
Myles Watson [Fri, 19 Aug 2016 22:29:24 +0000 (22:29 +0000)]
Add a socket unit test for the async_manager
am: d4f80ae7ca

Change-Id: I646c3271fc61d656908c5c75d609e7bd2b7c3265

7 years agoAdd a socket unit test for the async_manager
Myles Watson [Fri, 19 Aug 2016 15:22:42 +0000 (15:22 +0000)]
Add a socket unit test for the async_manager

This reverts commit 10986700c302f79376894ebef9f2ec92a65b8b08.
Which reverted commit 1387d4330da52034af67d1dbc61b870e8f89c820.

Some minor style changes as well.

Change-Id: I83ea40b4cf96adfa58c24d0cd9109ed9974519f1

7 years agoImplement the AVRCP "continue" and "abort continue" responses
Ajay Panicker [Tue, 16 Aug 2016 20:02:40 +0000 (13:02 -0700)]
Implement the AVRCP "continue" and "abort continue" responses

Test: TestTracker/58842/5473
Bug: 30571638
Change-Id: I3bb1a0171e220b6e59b6b739259f98519a31aa27
(cherry picked from commit 3282d12818a0e660a5f3f4295bac55aa8e8d27b4)

7 years agoMerge "GATT: don't update link status for apps that were never connected" into nyc...
Jakub Pawlowski [Fri, 19 Aug 2016 13:27:30 +0000 (13:27 +0000)]
Merge "GATT: don't update link status for apps that were never connected" into nyc-mr1-dev
am: fdab496066

Change-Id: I176b02758b89cec3e0af685bc1d6a51cc4e22584

7 years agoGATT: don't update link status for apps that were never connected
Jakub Pawlowski [Fri, 19 Aug 2016 13:27:30 +0000 (13:27 +0000)]
GATT: don't update link status for apps that were never connected
am: d921c78fc6

Change-Id: I35b5cd7df92916044b69c9b191978ccd207ee6d4