OSDN Git Service
Myles Watson [Wed, 18 Oct 2017 18:37:59 +0000 (18:37 +0000)]
Allocate tSDBP_DISCOVERY_DB instead of bytes am:
188d7aca60
am:
7071aaba89
Change-Id: Ie903f0af954db39c2776cf23ad6c441dabccff65
Myles Watson [Wed, 18 Oct 2017 18:32:47 +0000 (18:32 +0000)]
Allocate tSDBP_DISCOVERY_DB instead of bytes
am:
188d7aca60
Change-Id: I03f1f6def07e4aeea209ffeed13b9513e14ccdb9
Myles Watson [Tue, 3 Oct 2017 20:04:28 +0000 (13:04 -0700)]
Allocate tSDBP_DISCOVERY_DB instead of bytes
Test: build
Change-Id: Ib7a33cf7cb89715da781b4e93d0bfe3f74490cea
Jakub Pawlowski [Wed, 18 Oct 2017 18:13:40 +0000 (18:13 +0000)]
Remove hw_module_t dependency in Bluetooth - cleanup am:
5fceeadc2d
am:
5ff29ef904
Change-Id: Ib6d1eae67d92288f80f6a15f369f34e7b5a6bb9a
Jakub Pawlowski [Wed, 18 Oct 2017 18:04:20 +0000 (18:04 +0000)]
Remove hw_module_t dependency in Bluetooth - cleanup
am:
5fceeadc2d
Change-Id: I270f690040fb96183fd095c164eda3d90062c634
Jakub Pawlowski [Wed, 18 Oct 2017 11:06:13 +0000 (04:06 -0700)]
Remove hw_module_t dependency in Bluetooth - cleanup
Bug:
67853426
Test: run Bluetooth
Jakub Pawlowski [Wed, 18 Oct 2017 14:08:15 +0000 (14:08 +0000)]
Linux build fix am:
c451068657
am:
817c752a13
Change-Id: I5530519cbc4dffca87a4b2bf31cfa32ece927958
Jakub Pawlowski [Wed, 18 Oct 2017 13:16:45 +0000 (13:16 +0000)]
Linux build fix
am:
c451068657
Change-Id: I7d87226174273ddbb894eb5462dfc90a4111673e
Jakub Pawlowski [Wed, 18 Oct 2017 11:03:41 +0000 (04:03 -0700)]
Linux build fix
Test: compile using ninja
Jakub Pawlowski [Wed, 18 Oct 2017 03:26:18 +0000 (03:26 +0000)]
Move include->internal_include (1/2) am:
ecace46f9c
am:
227ecb643c
Change-Id: Ib99bf256cb48c5062f281094d0c88951b7f7e11a
Jakub Pawlowski [Wed, 18 Oct 2017 03:24:18 +0000 (03:24 +0000)]
Move include->internal_include (1/2)
am:
ecace46f9c
Change-Id: I6d5433c39e5efe3d00c06bcfc4999f8ebac9a7c2
Jakub Pawlowski [Tue, 17 Oct 2017 23:40:41 +0000 (16:40 -0700)]
Move include->internal_include (1/2)
Change-Id: If351c7d51a380c33ec9bae3b3f240ed53639f3c9
Jakub Pawlowski [Wed, 18 Oct 2017 00:08:53 +0000 (00:08 +0000)]
Merge "Fix failing ConfigTest" am:
5795e559ce
am:
86c111ba96
Change-Id: I54ebbe1956dac566b75e5a56875181a71ae53e99
Jakub Pawlowski [Wed, 18 Oct 2017 00:06:23 +0000 (00:06 +0000)]
Merge "Fix failing ConfigTest"
am:
5795e559ce
Change-Id: I102afb37f1251b869f7dc518c5afe9b6ab57877e
Treehugger Robot [Wed, 18 Oct 2017 00:00:54 +0000 (00:00 +0000)]
Merge "Fix failing ConfigTest"
Jakub Pawlowski [Tue, 17 Oct 2017 22:32:15 +0000 (22:32 +0000)]
Merge changes I4b90b6ee,I37c5a138,I6ff0c0dc am:
0127861a18
am:
2c02fc3d51
Change-Id: I0ee0a2d7aba16c3bbd9e5fb22745852a87543451
Jakub Pawlowski [Tue, 17 Oct 2017 22:30:49 +0000 (22:30 +0000)]
Merge changes I4b90b6ee,I37c5a138,I6ff0c0dc
am:
0127861a18
Change-Id: I357188bb459d9e95a96b00203e4ffb0927d19436
Jakub Pawlowski [Tue, 17 Oct 2017 22:21:52 +0000 (22:21 +0000)]
Merge changes I4b90b6ee,I37c5a138,I6ff0c0dc
* changes:
Inline bta_gattc_start_disc_* where possible
bta_gattc_explore_srvc minor style fixes
Remove bta_gattc_incl_srvc_disc_cmpl
Jakub Pawlowski [Tue, 17 Oct 2017 21:28:53 +0000 (21:28 +0000)]
Merge "Remove hw_module_t dependency in Bluetooth (1/3)" am:
d20af6b2f8
am:
e1ff63499b
Change-Id: I3a1cba05b79960c112d00f3276a023b1104d19b6
Jakub Pawlowski [Tue, 17 Oct 2017 21:25:18 +0000 (21:25 +0000)]
Merge "Remove hw_module_t dependency in Bluetooth (1/3)"
am:
d20af6b2f8
Change-Id: I8807a297415f7a85ba6f70bf16880492efef9da0
Jack He [Tue, 17 Oct 2017 21:23:13 +0000 (21:23 +0000)]
Use DIST_DIR from environment for XML log output am:
11f1e9347e
am:
6b9bb71c8d
Change-Id: I0c042d21a8b9d15052b3616f035df17278e1dd4c
Jakub Pawlowski [Tue, 17 Oct 2017 21:18:18 +0000 (21:18 +0000)]
Merge "Remove hw_module_t dependency in Bluetooth (1/3)"
Jack He [Tue, 17 Oct 2017 21:12:07 +0000 (21:12 +0000)]
Use DIST_DIR from environment for XML log output
am:
11f1e9347e
Change-Id: Ie8ee5421645302f7dbf260e303656e70e464da0b
Jakub Pawlowski [Tue, 17 Oct 2017 21:03:41 +0000 (14:03 -0700)]
Fix failing ConfigTest
Specifying base as 0 let stoi autodetect it. Default is 10.
Bug:
67595284
Test: ConfigTest
Change-Id: I09a996edb6fde81de7c59e3aaa4a33134fe40891
Jakub Pawlowski [Mon, 16 Oct 2017 22:57:16 +0000 (15:57 -0700)]
Remove hw_module_t dependency in Bluetooth (1/3)
Bug:
67853426
Test: run Bluetooth
Merged-In: Ia3808552137d1f770f2c0305aaa01181f383d064
Change-Id: Ia3808552137d1f770f2c0305aaa01181f383d064
Jakub Pawlowski [Tue, 17 Oct 2017 18:08:22 +0000 (11:08 -0700)]
Inline bta_gattc_start_disc_* where possible
Bug:
67057055
Test: compilation
Change-Id: I4b90b6eede46ffb777180caaab7cb073f898ddba
Jack He [Tue, 17 Oct 2017 19:01:39 +0000 (12:01 -0700)]
Use DIST_DIR from environment for XML log output
Bug:
64687730
Test: DIST_DIR=`pwd` ./test/run_host_unit_tests.py -j40 --enable_xml
Change-Id: Ib81703ec76d65700068563c557c090b1f197e650
Jakub Pawlowski [Tue, 17 Oct 2017 18:05:02 +0000 (11:05 -0700)]
bta_gattc_explore_srvc minor style fixes
Bug:
67057055
Test: compilation
Change-Id: I37c5a138ccddcb1ddd09e3efb5dfcdaeb5bdad04
Jakub Pawlowski [Tue, 17 Oct 2017 18:03:58 +0000 (11:03 -0700)]
Remove bta_gattc_incl_srvc_disc_cmpl
Bug:
67057055
Test: compilation
Change-Id: I6ff0c0dc203232f9fa2b43ccbacb015106d2b6d1
Jack He [Tue, 17 Oct 2017 18:16:23 +0000 (18:16 +0000)]
Merge "Add script to run host native unit tests" am:
f6723ce8f8
am:
b5ebac91b7
Change-Id: I2446174be52aedcfdd64757480fa39df42e960e9
Jack He [Tue, 17 Oct 2017 18:14:23 +0000 (18:14 +0000)]
Merge "Add script to run host native unit tests"
am:
f6723ce8f8
Change-Id: I1836d90b7c0b507d0a932b7d568f854aae67d579
Treehugger Robot [Tue, 17 Oct 2017 18:09:34 +0000 (18:09 +0000)]
Merge "Add script to run host native unit tests"
Martin Brabham [Tue, 17 Oct 2017 18:08:54 +0000 (18:08 +0000)]
Merge "hfp: change initial codec from MSBC_T1 to CVSD" am:
053c1524b3
am:
86b2ccfec8
Change-Id: I26becbc071f8cceb9a04f8bdab72c9bd364dfae0
Martin Brabham [Tue, 17 Oct 2017 18:07:02 +0000 (18:07 +0000)]
Merge "hfp: change initial codec from MSBC_T1 to CVSD"
am:
053c1524b3
Change-Id: I481085499400508f2f190bd993692ced7a45dc72
Martin Brabham [Tue, 17 Oct 2017 17:56:44 +0000 (17:56 +0000)]
Merge "hfp: change initial codec from MSBC_T1 to CVSD"
Jack He [Fri, 29 Sep 2017 01:41:28 +0000 (18:41 -0700)]
Add script to run host native unit tests
* Add run_host_unit_tests.py, which does
1. Run "mmma -jN system/bt"
2. Run all host native unit tests configured in HOST_TESTS
3. Output structured XML GTest log output
Bug:
64687730
Test: ./test/run_host_unit_tests.py -j40
Change-Id: I389c67a2e0f60639d1bbfa20375364964b184233
Jakub Pawlowski [Tue, 17 Oct 2017 00:59:53 +0000 (00:59 +0000)]
config refactor - use strings am:
3c41f5b68f
am:
217be0777e
Change-Id: Id1333e5744003ccfe004e96ad4fce2198b852c2b
Jakub Pawlowski [Tue, 17 Oct 2017 00:59:48 +0000 (00:59 +0000)]
persistent configuration refactor am:
f3fb316634
am:
b457e1d65f
Change-Id: I9ea72be40a2c653506ac77c0ecf85fe37786a506
Jack He [Tue, 17 Oct 2017 00:59:22 +0000 (00:59 +0000)]
Merge "Fix net_test_bluetooth" am:
0bb0d1bf9a
am:
0e302ec187
Change-Id: Ied1f42c68a9af3a87807a937cbbf6cb2781c46aa
Myles Watson [Tue, 17 Oct 2017 00:58:52 +0000 (00:58 +0000)]
Remove casts in bta/ and stack/btm am:
6ef9190de8
am:
76b0ec3d07
Change-Id: I5a7258625e93117a75b684a4cac3071d1439d144
Jakub Pawlowski [Mon, 16 Oct 2017 23:18:17 +0000 (23:18 +0000)]
config refactor - use strings
am:
3c41f5b68f
Change-Id: Ib997ddbc87d5e063d7ad13f8e9512f0e3913ea9d
Jakub Pawlowski [Mon, 16 Oct 2017 23:18:12 +0000 (23:18 +0000)]
persistent configuration refactor
am:
f3fb316634
Change-Id: If416f2e5cc23775c5788be936a0c306e5c5d2e89
Ajay Panicker [Fri, 1 Sep 2017 19:07:42 +0000 (12:07 -0700)]
Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (2/2)
This is requied for the 2012 Mazda 3 carkit as the carkit refuses to send
AVRCP commands other than passthrough commands when the version is anything
else. AVRCP 1.3 is compatible with most carkits on the market and can be
used to get most carkits working at the cost of losing many features.
Bug:
37943083
Test: Set AVRCP 1.3 in developer options and see that SDP and the AVRCP
capabilites have updated to reflect this.
TestTracker: 105915/3975
Change-Id: Iffc7ed1dd91eecb699153125b25451de5826f202
(cherry picked from commit
2369a95e6ed0c16f61237fe9c1fc5a90d97129c1)
Jakub Pawlowski [Fri, 13 Oct 2017 16:10:29 +0000 (09:10 -0700)]
config refactor - use strings
Use strings instead of char* arrays. This simplify memory management,
and makes the code easier to follow.
Bug:
67595284
Test: manual
Change-Id: If5dca2a16038360c361f2809601dcac056cb8769
Jakub Pawlowski [Fri, 6 Oct 2017 07:04:27 +0000 (00:04 -0700)]
persistent configuration refactor
Use std::list instead of list_t, use std::string instead of const char*
Bug:
67595284
Test: manual
Change-Id: I65f576977b547b09dc9aebea49d4e399e5712ec6
Jack He [Mon, 16 Oct 2017 17:41:47 +0000 (17:41 +0000)]
Merge "Fix net_test_bluetooth"
am:
0bb0d1bf9a
Change-Id: I3df7b32664b350737f3d8e701fe60030726f3997
Martin Brabham [Fri, 13 Oct 2017 22:47:24 +0000 (15:47 -0700)]
hfp: change initial codec from MSBC_T1 to CVSD
4.11.2 Audio Connection Setup by HF For all HF initiated audio connection
establishments for which both sides support the Codec Negotiation feature,
the HF shall trigger the AG to establish a Codec Connection. This is
necessary because only the AG knows about the codec selection and settings
of the network.
In the event we do not support codec negotiation we should make our initial
codec CVSD
Bug:
66324788
Change-Id: Ib68129ea1399c54224109e3ca7ba12784973d68f
Treehugger Robot [Mon, 16 Oct 2017 17:36:50 +0000 (17:36 +0000)]
Merge "Fix net_test_bluetooth"
Jakub Pawlowski [Sun, 15 Oct 2017 03:27:11 +0000 (03:27 +0000)]
Merge "bta_gattc_cache: prepare for type unification" am:
0b11ecc18c
am:
c9b909ae5e
Change-Id: I2979e9340a2fa855514c31424b0c96b6d65a11e1
Myles Watson [Sun, 15 Oct 2017 03:26:45 +0000 (03:26 +0000)]
Merge "bta: Remove unsafe casts in BTA_AG" am:
277603d1d0
am:
45fc83c74b
Change-Id: I06cafa0e838d2d912f91908f3368b2124aef1a45
Myles Watson [Sun, 15 Oct 2017 03:26:21 +0000 (03:26 +0000)]
Merge "stack: Remove casts and spell local_keys correctly" am:
89262fa363
am:
ad8b8561e3
Change-Id: I2ca75231acf9cfd6ddcbac4b40f360aee51da9d2
Myles Watson [Sun, 15 Oct 2017 03:25:51 +0000 (03:25 +0000)]
Merge "btif: Use key types to avoid casting" am:
38785040a6
am:
fe50feeb76
Change-Id: I08d02d761b57cefa5bbd8d3b2973e1e867039b00
Jakub Pawlowski [Sun, 15 Oct 2017 03:25:27 +0000 (03:25 +0000)]
Minor style fixes in bta_gattc_act.cc am:
a664b44ffc
am:
884ff7ca09
Change-Id: I8de4721bcc11db4b1c41008beeaf7580d10c111d
Jakub Pawlowski [Sun, 15 Oct 2017 03:25:05 +0000 (03:25 +0000)]
gatt_utils minor style fixes am:
d66c5718a1
am:
8161ff8d5b
Change-Id: I210257efa7bbd48bf820398652f4f1e18ed31297
Jakub Pawlowski [Sun, 15 Oct 2017 03:24:42 +0000 (03:24 +0000)]
gatt_act_discovery indentation fix am:
e71e88575f
am:
09e790e72f
Change-Id: I19191b6e6f5ca5b87542328e95c75354ad86589e
Jakub Pawlowski [Sun, 15 Oct 2017 03:24:15 +0000 (03:24 +0000)]
BTA GATT cache cleanup bta_gattc_discover_pri_service am:
48e0c8d8a6
am:
29476bf7f9
Change-Id: Id8f9ffba3c5fc40ad00ad1726188858acfc1605a
Jakub Pawlowski [Sun, 15 Oct 2017 03:23:45 +0000 (03:23 +0000)]
Fix crash in l2cble_start_conn_update am:
5e8d54e6c2
am:
06d973d5c9
Change-Id: I331c07202ca87b549c56c12c59491764c8f299a8
Jack He [Sun, 15 Oct 2017 03:23:25 +0000 (03:23 +0000)]
HID: Refactor bta_dm_pm_ssr to be more readable am:
c15cc24fe3
am:
a3bcc07423
Change-Id: I22dee52cb58e698204ff8f1fdd6d802b5264162a
Jakub Pawlowski [Sun, 15 Oct 2017 03:22:46 +0000 (03:22 +0000)]
BTA GATT cache cleanup bta_gattc_srvc_in_list am:
9de0b5cb0a
am:
4f7528c308
Change-Id: I608fa9de58837c844c2b422da131777d4be9f763
Jakub Pawlowski [Sun, 15 Oct 2017 03:22:33 +0000 (03:22 +0000)]
BTA GATT cache cleanup add_*_to_list am:
0c3eaab266
am:
340dd2e525
Change-Id: I72756b31d64087946ddac80ac0c89fefce0537bb
Jakub Pawlowski [Sun, 15 Oct 2017 03:22:06 +0000 (03:22 +0000)]
BTA GATT cache cleanup bta_gattc_disc_res_cback am:
e6389005a7
am:
00590e7724
Change-Id: If12ee7a370b4e7761f23db58b79f590399e5d211
Myles Watson [Sun, 15 Oct 2017 03:05:25 +0000 (03:05 +0000)]
Remove casts in bta/ and stack/btm
am:
6ef9190de8
Change-Id: I3a4c3267633075fbc717c1d3fa840e1d20a0d0ef
Jakub Pawlowski [Sun, 15 Oct 2017 03:04:56 +0000 (03:04 +0000)]
Merge "bta_gattc_cache: prepare for type unification"
am:
0b11ecc18c
Change-Id: I81f83051b1ea7149f01e9d01d7811b0192bbf01b
Myles Watson [Sun, 15 Oct 2017 03:04:32 +0000 (03:04 +0000)]
Merge "bta: Remove unsafe casts in BTA_AG"
am:
277603d1d0
Change-Id: Ie99a2fb85b4d8b4cce71face045b352c38212c9e
Myles Watson [Sun, 15 Oct 2017 03:04:07 +0000 (03:04 +0000)]
Merge "stack: Remove casts and spell local_keys correctly"
am:
89262fa363
Change-Id: Ib24ddce72ea155668657613c2d8b549ca500537e
Myles Watson [Sun, 15 Oct 2017 03:03:42 +0000 (03:03 +0000)]
Merge "btif: Use key types to avoid casting"
am:
38785040a6
Change-Id: I61285ad8566ed47a925455fa385aa53f251f2166
Jakub Pawlowski [Sun, 15 Oct 2017 03:03:11 +0000 (03:03 +0000)]
Minor style fixes in bta_gattc_act.cc
am:
a664b44ffc
Change-Id: Ic566905effa292e66526adb49311657cf5c193d2
Jakub Pawlowski [Sun, 15 Oct 2017 03:02:47 +0000 (03:02 +0000)]
gatt_utils minor style fixes
am:
d66c5718a1
Change-Id: I038e240e85e1946d2109fcfa6a37cfb6d43ca484
Jakub Pawlowski [Sun, 15 Oct 2017 03:02:25 +0000 (03:02 +0000)]
gatt_act_discovery indentation fix
am:
e71e88575f
Change-Id: Ia4aa97fea8b7d675965b8f550f7a586ad9039051
Jakub Pawlowski [Sun, 15 Oct 2017 03:02:02 +0000 (03:02 +0000)]
BTA GATT cache cleanup bta_gattc_discover_pri_service
am:
48e0c8d8a6
Change-Id: I9bc6b12d3324aa2480148b4da92ad6be67abda33
Jakub Pawlowski [Sun, 15 Oct 2017 03:01:28 +0000 (03:01 +0000)]
Fix crash in l2cble_start_conn_update
am:
5e8d54e6c2
Change-Id: I3cb790ca2b7115278064976c47a857acd6657efe
Jack He [Sun, 15 Oct 2017 03:01:05 +0000 (03:01 +0000)]
HID: Refactor bta_dm_pm_ssr to be more readable
am:
c15cc24fe3
Change-Id: I1fcd9a81ab5f4bf9c26882bd7cf0f69542041c85
Jakub Pawlowski [Sun, 15 Oct 2017 03:00:25 +0000 (03:00 +0000)]
BTA GATT cache cleanup bta_gattc_srvc_in_list
am:
9de0b5cb0a
Change-Id: Idcd4da23732b6e25925b664eb74c7dd1e836f760
Jakub Pawlowski [Sun, 15 Oct 2017 03:00:13 +0000 (03:00 +0000)]
BTA GATT cache cleanup add_*_to_list
am:
0c3eaab266
Change-Id: I18c2579bbc19afb0b8b5f4777eb81e8d40ff90f3
Jakub Pawlowski [Sun, 15 Oct 2017 02:59:05 +0000 (02:59 +0000)]
BTA GATT cache cleanup bta_gattc_disc_res_cback
am:
e6389005a7
Change-Id: Ic7ab119635ad39b10aa93ac88a5fb588b60dc590
Myles Watson [Tue, 3 Oct 2017 19:35:59 +0000 (12:35 -0700)]
Remove casts in bta/ and stack/btm
Make pointers to const structs const pointers.
Pass complete unions instead of casting smaller objects.
Test: build
Change-Id: I7d6b61183554be70ac7f58f4133a76ec68e35408
Jack He [Sat, 14 Oct 2017 01:23:05 +0000 (18:23 -0700)]
Fix net_test_bluetooth
* net_test_bluetooth should try to load Bluetooth library from
system/lib/hw or system/lib64/hw if it cannot find it from default
path
* Also replaced legacy logging macro with libbase logging statements
Bug:
67059247
Test: net_test_bluetooth
Change-Id: I6c45f66aedf675397f377ca56203bec9708324e1
Treehugger Robot [Sat, 14 Oct 2017 00:31:31 +0000 (00:31 +0000)]
Merge "bta_gattc_cache: prepare for type unification"
Treehugger Robot [Sat, 14 Oct 2017 00:04:25 +0000 (00:04 +0000)]
Merge "bta: Remove unsafe casts in BTA_AG"
Treehugger Robot [Sat, 14 Oct 2017 00:00:22 +0000 (00:00 +0000)]
Merge "stack: Remove casts and spell local_keys correctly"
Treehugger Robot [Fri, 13 Oct 2017 23:54:34 +0000 (23:54 +0000)]
Merge "btif: Use key types to avoid casting"
Jakub Pawlowski [Fri, 13 Oct 2017 22:49:07 +0000 (15:49 -0700)]
bta_gattc_cache: prepare for type unification
Bug:
67057055
Test: compilation
Change-Id: I46eb07a8f118b61551b3adc404ec306ad6a14b9c
Myles Watson [Tue, 3 Oct 2017 22:55:15 +0000 (15:55 -0700)]
stack: Remove casts and spell local_keys correctly
Test: build
Change-Id: Ide6ec9528e1f8efca9850eab53aa2bdb88ba363d
Myles Watson [Tue, 3 Oct 2017 21:05:47 +0000 (14:05 -0700)]
btif: Use key types to avoid casting
Test: build
Change-Id: If816c480219552dc8833b094a6228817883b774d
Myles Watson [Mon, 2 Oct 2017 20:33:04 +0000 (13:33 -0700)]
bta: Remove unsafe casts in BTA_AG
Test: build
Change-Id: I19659173498972f838ccc59dcac00e0f26417340
Jakub Pawlowski [Thu, 12 Oct 2017 05:54:47 +0000 (22:54 -0700)]
Minor style fixes in bta_gattc_act.cc
Bug:
67057055
Test: compilation test
Change-Id: I862f2da834cf6f5a024ee7321229c337980f3638
Jakub Pawlowski [Fri, 13 Oct 2017 18:04:34 +0000 (11:04 -0700)]
gatt_utils minor style fixes
Test: compilation
Change-Id: I76f3f26b5140b7b60508756b1e841b09aeeb5e7d
Jakub Pawlowski [Fri, 13 Oct 2017 17:23:02 +0000 (10:23 -0700)]
gatt_act_discovery indentation fix
Bug:
67057055
Test: compilation test
Change-Id: I22640f47b5faf6e1d8718dec003b3cc83b51c514
Jakub Pawlowski [Fri, 13 Oct 2017 17:01:24 +0000 (10:01 -0700)]
BTA GATT cache cleanup bta_gattc_discover_pri_service
Bug:
67057055
Test: compilation test
Change-Id: I23464a61282d60400ae36debc820c66a4f1a1e1a
Jakub Pawlowski [Fri, 13 Oct 2017 16:51:06 +0000 (09:51 -0700)]
Fix crash in l2cble_start_conn_update
Bug:
67774334
Test: compilation
Change-Id: I42ec986c6c5f3fe81f507596bf1df05dcf3ec0ba
Jack He [Fri, 6 Oct 2017 00:54:49 +0000 (17:54 -0700)]
HID: Refactor bta_dm_pm_ssr to be more readable
* Reuse values obtained from tables
* Continue early when Bluetooth addresses do not match, so that the
rest of the method can save some indentation
Test: make, HID host test
Change-Id: I7b2d4ec35a167c93da25a112e73c8d37531714a5
Jakub Pawlowski [Thu, 12 Oct 2017 22:00:35 +0000 (15:00 -0700)]
BTA GATT cache cleanup bta_gattc_srvc_in_list
Bug:
67057055
Test: compilation test
Change-Id: I22e752c1d270128ff0ae4f633d4f3eccf4cb725e
Jakub Pawlowski [Thu, 12 Oct 2017 21:42:11 +0000 (14:42 -0700)]
BTA GATT cache cleanup add_*_to_list
Bug:
67057055
Test: compilation test
Change-Id: If70cfc4c024434ffe77e53410b5de8f70af6b33e
Jakub Pawlowski [Thu, 12 Oct 2017 18:18:03 +0000 (11:18 -0700)]
BTA GATT cache cleanup bta_gattc_disc_res_cback
Bug:
67057055
Test: compilation test
Change-Id: Iccfffe5de654070058ce3f4af3f48fa0975b7cf3
Jakub Pawlowski [Thu, 12 Oct 2017 23:04:59 +0000 (23:04 +0000)]
make Uuid::kBase into local constexpr am:
bf1ddfc833
am:
4e56cbd2be
Change-Id: I966fdcb419b2c4ee01422bd7a82888dea29206ac
Jakub Pawlowski [Thu, 12 Oct 2017 23:02:35 +0000 (23:02 +0000)]
make Uuid::kBase into local constexpr
am:
bf1ddfc833
Change-Id: I96ae73d0248a723f4015200ff06d74924b6d11c1
Jakub Pawlowski [Thu, 12 Oct 2017 20:29:04 +0000 (13:29 -0700)]
make Uuid::kBase into local constexpr
This fixes a bug where From128BitBE is used before kBase is initialized
Bug:
67671467
Test: Share a picture using Bluetooth
Change-Id: Ifb5b5f90dbca9646f117b9ff5d01439407424597
Jakub Pawlowski [Thu, 12 Oct 2017 20:23:24 +0000 (20:23 +0000)]
BTA GATT cache cleanup am:
98c0494449
am:
79ad44d1ee
Change-Id: I2047d0a9a81cfbad8c830dd7daa4ce1d1a923471
Jakub Pawlowski [Thu, 12 Oct 2017 20:19:14 +0000 (20:19 +0000)]
BTA GATT cache cleanup
am:
98c0494449
Change-Id: Id5ce319c71b20b1ea5dab99eaa7d204016203ed7
Jakub Pawlowski [Wed, 11 Oct 2017 21:55:15 +0000 (14:55 -0700)]
BTA GATT cache cleanup
This patch splits bta_gattc_add_attr_to_cache into two functions:
bta_gattc_add_descr_to_cache and bta_gattc_add_incl_srvc_to_cache
Bug:
67057055
Test: compilation test
Change-Id: I92702495e8631197e56c2cb0ab126b59cf7e90e4