OSDN Git Service

android-x86/system-bt.git
6 years agoBuild only for current architecture by default am: 862095819f am: 94f53741c5
Jakub Pawlowski [Fri, 20 Oct 2017 18:02:44 +0000 (18:02 +0000)]
Build only for current architecture by default am: 862095819f am: 94f53741c5
am: ee99aab4ca

Change-Id: I2c28bfaaf74dec27b73920217ea949d07d72ee58

6 years agoRemove LD_LIBRARY_PATH from test/run_unit_test.sh am: 50e1adadad am: a0e46a75fc
Jakub Pawlowski [Fri, 20 Oct 2017 18:02:09 +0000 (18:02 +0000)]
Remove LD_LIBRARY_PATH from test/run_unit_test.sh am: 50e1adadad am: a0e46a75fc
am: 119071ae3b

Change-Id: I209acc41376b264dae6ade32011702a1b207f5da

6 years agoBuild only for current architecture by default am: 862095819f
Jakub Pawlowski [Fri, 20 Oct 2017 18:00:35 +0000 (18:00 +0000)]
Build only for current architecture by default am: 862095819f
am: 94f53741c5

Change-Id: I03bbbda1b1f1f8f13cd84131e61b64c62423c52a

6 years agoRemove LD_LIBRARY_PATH from test/run_unit_test.sh am: 50e1adadad
Jakub Pawlowski [Fri, 20 Oct 2017 18:00:08 +0000 (18:00 +0000)]
Remove LD_LIBRARY_PATH from test/run_unit_test.sh am: 50e1adadad
am: a0e46a75fc

Change-Id: Ied3935f47e6fb63a9469da3cffa323b70fdf9681

6 years agoBuild only for current architecture by default
Jakub Pawlowski [Fri, 20 Oct 2017 17:58:40 +0000 (17:58 +0000)]
Build only for current architecture by default
am: 862095819f

Change-Id: I1ad6723776dd2bd4bc5ae1afe330a28849550a9c

6 years agoRemove LD_LIBRARY_PATH from test/run_unit_test.sh
Jakub Pawlowski [Fri, 20 Oct 2017 17:58:08 +0000 (17:58 +0000)]
Remove LD_LIBRARY_PATH from test/run_unit_test.sh
am: 50e1adadad

Change-Id: I8c8ca6aba178c69c43f6862485f55db9eee3c66f

6 years agoBuild only for current architecture by default
Jakub Pawlowski [Fri, 20 Oct 2017 08:14:20 +0000 (01:14 -0700)]
Build only for current architecture by default

From now on, libbluetooth.so, and all unit tests will be compiled for
the current device platform only.

libbluetooth-types is an exception from rule, as some vendor libraries
are still compiled for 32bit.

Bug: 68028239
Test: compile and run Bluetooth
Change-Id: I51bb4da2a9e1e4e9a03c43f2825bd1dbd4a5ca58

6 years agoRemove LD_LIBRARY_PATH from test/run_unit_test.sh
Jakub Pawlowski [Fri, 20 Oct 2017 07:34:13 +0000 (00:34 -0700)]
Remove LD_LIBRARY_PATH from test/run_unit_test.sh

libbluetooth.so is now in default lib folder.

Bug: 67853426
Test: run tests using run_unit_test.sh
Change-Id: Ib3982d9600717593b817bda3553f53a629eb4afc

6 years agoFix out-of-bound array access in jv handle err log am: 3ddadcf4b0 am: 5fac4b595f
liuchao [Fri, 20 Oct 2017 17:21:34 +0000 (17:21 +0000)]
Fix out-of-bound array access in jv handle err log am: 3ddadcf4b0 am: 5fac4b595f
am: ded2081918

Change-Id: I5ff3aacd8b6f80261dec705551f1a10ca391d082

6 years agoFix out-of-bound array access in jv handle err log am: 3ddadcf4b0
liuchao [Fri, 20 Oct 2017 17:00:09 +0000 (17:00 +0000)]
Fix out-of-bound array access in jv handle err log am: 3ddadcf4b0
am: 5fac4b595f

Change-Id: I96ae8f057eba84c9f1f43d2f9f88a71d8849f4c9

6 years agoFix out-of-bound array access in jv handle err log
liuchao [Fri, 20 Oct 2017 16:58:02 +0000 (16:58 +0000)]
Fix out-of-bound array access in jv handle err log
am: 3ddadcf4b0

Change-Id: I2627ad5a4e864f520f340b9690ca3be2d4fd9681

6 years agoFix out-of-bound array access in jv handle err log
liuchao [Thu, 13 Apr 2017 03:45:02 +0000 (11:45 +0800)]
Fix out-of-bound array access in jv handle err log

Since the port_handle is checked invalid in bta_jv_rfc_port_to_cb
the error print of bta_jv_cb.port_cb[port_handle - 1].handle is
inappropriate

Test: mm -j8
Change-Id: I0562706512bb993d9a65676d11274d21fa9e70ef

6 years agoLinux: bluetooth.default.so -> libbluetooth.so am: 121882e23a am: 6b414af57a
Jakub Pawlowski [Fri, 20 Oct 2017 05:03:51 +0000 (05:03 +0000)]
Linux: bluetooth.default.so -> libbluetooth.so am: 121882e23a am: 6b414af57a
am: 945b11ee74

Change-Id: I659fbfbef0490ec5d1fe1f347510d062dd608a01

6 years agoLinux: bluetooth.default.so -> libbluetooth.so am: 121882e23a
Jakub Pawlowski [Fri, 20 Oct 2017 05:01:20 +0000 (05:01 +0000)]
Linux: bluetooth.default.so -> libbluetooth.so am: 121882e23a
am: 6b414af57a

Change-Id: I39ead37586d0900210b5ee32e66c1c15ea556c2d

6 years agoLinux: bluetooth.default.so -> libbluetooth.so
Jakub Pawlowski [Fri, 20 Oct 2017 04:59:51 +0000 (04:59 +0000)]
Linux: bluetooth.default.so -> libbluetooth.so
am: 121882e23a

Change-Id: I423eb28eaf7060c1966e0d4b944d25400478b674

6 years agoLinux: bluetooth.default.so -> libbluetooth.so
Jakub Pawlowski [Fri, 20 Oct 2017 02:51:57 +0000 (19:51 -0700)]
Linux: bluetooth.default.so -> libbluetooth.so

Also rename the build goal for both the library.

Bug: 67853426
Test: run Bluetooth
Change-Id: Ic5bd27f10ade0b068057049dd98c09e082cafee1

6 years agoClarify naming for characteristic value handle am: 8e16fd450f am: 4846596cee
Jakub Pawlowski [Fri, 20 Oct 2017 03:09:18 +0000 (03:09 +0000)]
Clarify naming for characteristic value handle am: 8e16fd450f am: 4846596cee
am: 55f0598cd7

Change-Id: Ie167e10e1eb6f3d778987810d8aaf20cb4576ae6

6 years agoClarify naming for characteristic value handle am: 8e16fd450f
Jakub Pawlowski [Fri, 20 Oct 2017 02:59:41 +0000 (02:59 +0000)]
Clarify naming for characteristic value handle am: 8e16fd450f
am: 4846596cee

Change-Id: Idda3dbc63dd5aa9b7a0ffd1ebb17468ecc6058b8

6 years agoClarify naming for characteristic value handle
Jakub Pawlowski [Fri, 20 Oct 2017 02:51:09 +0000 (02:51 +0000)]
Clarify naming for characteristic value handle
am: 8e16fd450f

Change-Id: I9d3aafaecfaf612180f9b592f376c5ecc7502bf3

6 years agoClarify naming for characteristic value handle
Jakub Pawlowski [Thu, 19 Oct 2017 22:51:35 +0000 (15:51 -0700)]
Clarify naming for characteristic value handle

We always reffer to characteristic by it's value handle.

Bug: 67057055
Test: compilation
Change-Id: I41a5d910ed471800c996b44dccfdbab3d7c3bdda

6 years agoMerge "Test: Rename performance_test to net_test_performance" am: a3341a0da2 am:...
Jack He [Thu, 19 Oct 2017 23:50:10 +0000 (23:50 +0000)]
Merge "Test: Rename performance_test to net_test_performance" am: a3341a0da2 am: be2fe53457
am: d096ddf8f8

Change-Id: Ib5c5e1fb79c9018f7cc7b1da249b95f226d835a4

6 years agoMerge "Test: Rename performance_test to net_test_performance" am: a3341a0da2
Jack He [Thu, 19 Oct 2017 23:45:03 +0000 (23:45 +0000)]
Merge "Test: Rename performance_test to net_test_performance" am: a3341a0da2
am: be2fe53457

Change-Id: I4d555e93b487ac660d7bf048bef72df3bf00cbfc

6 years agoMerge "Test: Rename performance_test to net_test_performance"
Jack He [Thu, 19 Oct 2017 23:42:56 +0000 (23:42 +0000)]
Merge "Test: Rename performance_test to net_test_performance"
am: a3341a0da2

Change-Id: I43226f193e427aa9be2e6a13decd1492a2bf2fc4

6 years agoMerge "Test: Rename performance_test to net_test_performance"
Treehugger Robot [Thu, 19 Oct 2017 23:38:51 +0000 (23:38 +0000)]
Merge "Test: Rename performance_test to net_test_performance"

6 years agohw/bluetooth.default.so -> libbluetooth.so (1/2) am: e56fabca98 am: 753a525a71
Jakub Pawlowski [Thu, 19 Oct 2017 22:05:02 +0000 (22:05 +0000)]
hw/bluetooth.default.so -> libbluetooth.so (1/2) am: e56fabca98 am: 753a525a71
am: 5de1beb431

Change-Id: I05c335629c63c18a4ef5d3e49a2ebcea4b0801ee

6 years agohw/bluetooth.default.so -> libbluetooth.so (1/2) am: e56fabca98
Jakub Pawlowski [Thu, 19 Oct 2017 22:01:56 +0000 (22:01 +0000)]
hw/bluetooth.default.so -> libbluetooth.so (1/2) am: e56fabca98
am: 753a525a71

Change-Id: Ib1f647ed741218e214846d3b3a3f18365b01650c

6 years agohw/bluetooth.default.so -> libbluetooth.so (1/2)
Jakub Pawlowski [Thu, 19 Oct 2017 21:59:20 +0000 (21:59 +0000)]
hw/bluetooth.default.so -> libbluetooth.so (1/2)
am: e56fabca98

Change-Id: I180079583d6f057827fad7f98e459c8e67ad931d

6 years agoTest: Rename performance_test to net_test_performance
Jack He [Thu, 19 Oct 2017 21:25:26 +0000 (14:25 -0700)]
Test: Rename performance_test to net_test_performance

Bug: 67059793
Test: make
Change-Id: I6303d4c367e465c8404538d904eabca80b509a16

6 years agohw/bluetooth.default.so -> libbluetooth.so (1/2)
Jakub Pawlowski [Thu, 19 Oct 2017 07:26:09 +0000 (00:26 -0700)]
hw/bluetooth.default.so -> libbluetooth.so (1/2)

Also rename the build goal for both the library and headers.

Bug: 67853426
Test: run Bluetooth
Merged-In: Iaffeebc1d3f2761e13f6d66d4e855dc342603054
Change-Id: Iaffeebc1d3f2761e13f6d66d4e855dc342603054
(cherry picked from commit 842ff8ed7f5b00d5f6da9d975f37e65c41bb8ebc)

6 years agoRevert "Add -fno-exceptions to default build config" am: da3c7c5761 am: 45b08792b3
Jack He [Thu, 19 Oct 2017 15:58:38 +0000 (15:58 +0000)]
Revert "Add -fno-exceptions to default build config" am: da3c7c5761 am: 45b08792b3
am: c573fa9454

Change-Id: Ie0cd43d0ea5798342c7cf31d130bf6f0ddab6299

6 years agoRevert "Add -fno-exceptions to default build config" am: da3c7c5761
Jack He [Thu, 19 Oct 2017 15:54:46 +0000 (15:54 +0000)]
Revert "Add -fno-exceptions to default build config" am: da3c7c5761
am: 45b08792b3

Change-Id: I293549eac9768296fc467b6e1789f5b57b4526bf

6 years agoRevert "Add -fno-exceptions to default build config"
Jack He [Thu, 19 Oct 2017 15:52:44 +0000 (15:52 +0000)]
Revert "Add -fno-exceptions to default build config"
am: da3c7c5761

Change-Id: Ife2b9647c90f664ed06ca2c48347deb69543907f

6 years agoRevert "Add -fno-exceptions to default build config"
Jack He [Thu, 19 Oct 2017 07:36:18 +0000 (07:36 +0000)]
Revert "Add -fno-exceptions to default build config"

This reverts commit d4b1d66dbe28818df3408a920ef37a3e0afca0aa.

Change Ie53b82e5d670f44a2460880c32dd9102d1caad7d
is a better fix. This flag won't disable exceptions in pre-compiled STL library.

Bug: 67963594
Test: build
Change-Id: I8c8cf0ebeb79bae697f0074de2d2e39f8e8f8703

6 years agoMerge "Fix failing ConfigTest" am: 939f86a83b am: 77ce187633
Jakub Pawlowski [Thu, 19 Oct 2017 08:40:27 +0000 (08:40 +0000)]
Merge "Fix failing ConfigTest" am: 939f86a83b am: 77ce187633
am: 39b0b22e26

Change-Id: I3856a0f650f6e71cc645487df5f6dcee567e4def

6 years agoRun clang-format on headers am: 3a3b82c37a am: 863b7d2aeb
Jakub Pawlowski [Thu, 19 Oct 2017 08:39:52 +0000 (08:39 +0000)]
Run clang-format on headers am: 3a3b82c37a am: 863b7d2aeb
am: 5420673ca7

Change-Id: I1b481eda5454f97311b21249c0810343c591f9da

6 years agoMerge "Fix failing ConfigTest" am: 939f86a83b
Jakub Pawlowski [Thu, 19 Oct 2017 08:37:52 +0000 (08:37 +0000)]
Merge "Fix failing ConfigTest" am: 939f86a83b
am: 77ce187633

Change-Id: If08ae193748ddb88c80b0a1038846c97ef0d0eb8

6 years agoRun clang-format on headers am: 3a3b82c37a
Jakub Pawlowski [Thu, 19 Oct 2017 08:37:23 +0000 (08:37 +0000)]
Run clang-format on headers am: 3a3b82c37a
am: 863b7d2aeb

Change-Id: Id5cd28c82debf97cac776acd85e2f61fe110e0bf

6 years agoMerge "Fix failing ConfigTest"
Jakub Pawlowski [Thu, 19 Oct 2017 08:35:27 +0000 (08:35 +0000)]
Merge "Fix failing ConfigTest"
am: 939f86a83b

Change-Id: I12576b3e14b08a4210f31f62a6e58752325eba95

6 years agoRun clang-format on headers
Jakub Pawlowski [Thu, 19 Oct 2017 08:34:59 +0000 (08:34 +0000)]
Run clang-format on headers
am: 3a3b82c37a

Change-Id: I675f4e2a685f9b60258e50a8f611fff4eead901d

6 years agoMerge "Fix failing ConfigTest"
Treehugger Robot [Thu, 19 Oct 2017 08:31:28 +0000 (08:31 +0000)]
Merge "Fix failing ConfigTest"

6 years agoFix failing ConfigTest
Jakub Pawlowski [Thu, 19 Oct 2017 06:55:39 +0000 (23:55 -0700)]
Fix failing ConfigTest

When running in cloud, different version of STL library is used. It
throws exceptions and make tests fail.

Bug: 67963594
Test: ConfigTest
Change-Id: Ie53b82e5d670f44a2460880c32dd9102d1caad7d

6 years agoRun clang-format on headers
Jakub Pawlowski [Thu, 19 Oct 2017 03:49:54 +0000 (20:49 -0700)]
Run clang-format on headers

Bug: 67853426
Test: compilation
Change-Id: I37dcac01e78fafb4ef0c7e97578d04605c46e88e

6 years agoMove Bluetooth headers to system/bt (1/3) am: f2f207a91c am: 747aaebe50
Jakub Pawlowski [Thu, 19 Oct 2017 01:19:39 +0000 (01:19 +0000)]
Move Bluetooth headers to system/bt (1/3) am: f2f207a91c am: 747aaebe50
am: c2bfcdc5c8

Change-Id: Ib56349cb1cd9725704ec66a12e6bb6a7434744ac

6 years agoMove Bluetooth headers to system/bt (1/3) am: f2f207a91c
Jakub Pawlowski [Thu, 19 Oct 2017 01:16:38 +0000 (01:16 +0000)]
Move Bluetooth headers to system/bt (1/3) am: f2f207a91c
am: 747aaebe50

Change-Id: Idad497bec7e66fb8df342629102cd4b1c20213ff

6 years agoMove Bluetooth headers to system/bt (1/3)
Jakub Pawlowski [Thu, 19 Oct 2017 01:13:04 +0000 (01:13 +0000)]
Move Bluetooth headers to system/bt (1/3)
am: f2f207a91c

Change-Id: Ie868592d777af9e437268e5ed7f8c5ffbc7cd4f6

6 years agoMove Bluetooth headers to system/bt (1/3)
Jakub Pawlowski [Sat, 23 Sep 2017 21:47:20 +0000 (14:47 -0700)]
Move Bluetooth headers to system/bt (1/3)

Bug: 67853426
Test: run Bluetooth
Change-Id: I75748d29a35d10d377d39e0441116dbfd04c82e9

6 years agoMerge "Remove tabs from build/Android.bp" am: aefc19af02 am: 3d999cd30e
Jack He [Thu, 19 Oct 2017 00:07:59 +0000 (00:07 +0000)]
Merge "Remove tabs from build/Android.bp" am: aefc19af02 am: 3d999cd30e
am: c2f3c1b12c

Change-Id: I04807021266a5362bd20d828fa1bbd157798c4b5

6 years agoMerge "Remove tabs from build/Android.bp" am: aefc19af02
Jack He [Thu, 19 Oct 2017 00:04:15 +0000 (00:04 +0000)]
Merge "Remove tabs from build/Android.bp" am: aefc19af02
am: 3d999cd30e

Change-Id: I22bb3d823a0731d57c23ca1d3daa3102053ca537

6 years agoMerge "Remove tabs from build/Android.bp"
Jack He [Thu, 19 Oct 2017 00:02:15 +0000 (00:02 +0000)]
Merge "Remove tabs from build/Android.bp"
am: aefc19af02

Change-Id: Ic69e5fc6301734caba9f3037fd35829596909af9

6 years agoMerge "Remove tabs from build/Android.bp"
Treehugger Robot [Wed, 18 Oct 2017 23:58:28 +0000 (23:58 +0000)]
Merge "Remove tabs from build/Android.bp"

6 years agoMerge "HID: Fix the behavior of virtual_cable_unplug" am: 0d53533bc9 am: 9ab36bf1c9
Hansong Zhang [Wed, 18 Oct 2017 23:51:45 +0000 (23:51 +0000)]
Merge "HID: Fix the behavior of virtual_cable_unplug" am: 0d53533bc9 am: 9ab36bf1c9
am: 75c9dd7e2d

Change-Id: Ifa82e8de9f928efbc902039591a73df46c874a73

6 years agoMerge "HID: Fix the behavior of virtual_cable_unplug" am: 0d53533bc9
Hansong Zhang [Wed, 18 Oct 2017 23:49:16 +0000 (23:49 +0000)]
Merge "HID: Fix the behavior of virtual_cable_unplug" am: 0d53533bc9
am: 9ab36bf1c9

Change-Id: Id0be13329da834b1d316c3b47a13ba165b8a932d

6 years agoMerge "HID: Fix the behavior of virtual_cable_unplug"
Hansong Zhang [Wed, 18 Oct 2017 23:47:13 +0000 (23:47 +0000)]
Merge "HID: Fix the behavior of virtual_cable_unplug"
am: 0d53533bc9

Change-Id: Ifc3c089a43d514e160f6b32877ebe0c4248b4437

6 years agoMerge "HID: Fix the behavior of virtual_cable_unplug"
Treehugger Robot [Wed, 18 Oct 2017 23:39:41 +0000 (23:39 +0000)]
Merge "HID: Fix the behavior of virtual_cable_unplug"

6 years agoMerge "Do not set random address when public address is in use" am: b64989c191 am...
Jakub Pawlowski [Wed, 18 Oct 2017 22:57:39 +0000 (22:57 +0000)]
Merge "Do not set random address when public address is in use" am: b64989c191 am: d0b58b1f1c
am: d3ee3a3eda

Change-Id: Iafb37431b6f942430316649926b2c5c31efcace3

6 years agoMerge "Add -fno-exceptions to default build config" am: 9c9a4bc800 am: cac04d9815
Jack He [Wed, 18 Oct 2017 22:56:42 +0000 (22:56 +0000)]
Merge "Add -fno-exceptions to default build config" am: 9c9a4bc800 am: cac04d9815
am: 4303ca437a

Change-Id: I6a0843adc0007290fe98a94c985c93a3d085a32f

6 years agoMerge "Do not set random address when public address is in use" am: b64989c191
Jakub Pawlowski [Wed, 18 Oct 2017 22:52:10 +0000 (22:52 +0000)]
Merge "Do not set random address when public address is in use" am: b64989c191
am: d0b58b1f1c

Change-Id: If965db3eceace9764fcd438e0d309497ff3ab7ac

6 years agoMerge "Do not set random address when public address is in use"
Jakub Pawlowski [Wed, 18 Oct 2017 22:50:13 +0000 (22:50 +0000)]
Merge "Do not set random address when public address is in use"
am: b64989c191

Change-Id: Ie1ed12ba0f06f77abb4248ca94ba062a61c9e13c

6 years agoMerge "Do not set random address when public address is in use"
Treehugger Robot [Wed, 18 Oct 2017 22:45:37 +0000 (22:45 +0000)]
Merge "Do not set random address when public address is in use"

6 years agoMerge "Add -fno-exceptions to default build config" am: 9c9a4bc800
Jack He [Wed, 18 Oct 2017 22:22:37 +0000 (22:22 +0000)]
Merge "Add -fno-exceptions to default build config" am: 9c9a4bc800
am: cac04d9815

Change-Id: I06a91033e7ccb06fe04b2300e8705a7d9d3b2b40

6 years agoRemove tabs from build/Android.bp
Jack He [Wed, 18 Oct 2017 22:18:24 +0000 (15:18 -0700)]
Remove tabs from build/Android.bp

Test: make
Change-Id: I02dc1cf5a5e6c0ed2df60fcc3fb79edbb026cf8c

6 years agoMerge "Add -fno-exceptions to default build config"
Jack He [Wed, 18 Oct 2017 22:20:37 +0000 (22:20 +0000)]
Merge "Add -fno-exceptions to default build config"
am: 9c9a4bc800

Change-Id: I58951878730df812385ae54cd00da23c4f99f7a1

6 years agoMerge "Add -fno-exceptions to default build config"
Treehugger Robot [Wed, 18 Oct 2017 22:15:21 +0000 (22:15 +0000)]
Merge "Add -fno-exceptions to default build config"

6 years agoMerge "Make system/bt build with the VNDK." am: 78cb54f3b1 am: 12042ed45b
Steven Moreland [Wed, 18 Oct 2017 19:54:04 +0000 (19:54 +0000)]
Merge "Make system/bt build with the VNDK." am: 78cb54f3b1 am: 12042ed45b
am: 746f5efff6  -s ours

Change-Id: Id90822d0bdb5cdba7cae7d53c50e39850219a2b5

6 years agoMerge "Make system/bt build with the VNDK." am: 78cb54f3b1
Steven Moreland [Wed, 18 Oct 2017 19:33:03 +0000 (19:33 +0000)]
Merge "Make system/bt build with the VNDK." am: 78cb54f3b1
am: 12042ed45b

Change-Id: I2cedc262ffed4407d776f49abee9f3d8899bb7c3

6 years agoMerge "Make system/bt build with the VNDK."
Steven Moreland [Wed, 18 Oct 2017 19:31:25 +0000 (19:31 +0000)]
Merge "Make system/bt build with the VNDK."
am: 78cb54f3b1

Change-Id: I2891fac24debb4070b5aa9840b9693a6346c9495

6 years agoMerge "Make system/bt build with the VNDK."
Treehugger Robot [Wed, 18 Oct 2017 19:21:13 +0000 (19:21 +0000)]
Merge "Make system/bt build with the VNDK."

6 years agoAllocate tSDBP_DISCOVERY_DB instead of bytes am: 188d7aca60 am: 7071aaba89
Myles Watson [Wed, 18 Oct 2017 18:45:33 +0000 (18:45 +0000)]
Allocate tSDBP_DISCOVERY_DB instead of bytes am: 188d7aca60 am: 7071aaba89
am: f53997962e

Change-Id: Ic7d3d406c6f6d3d9c016a52ea0f8b305433b0c4c

6 years agoAllocate tSDBP_DISCOVERY_DB instead of bytes am: 188d7aca60
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

6 years agoAllocate tSDBP_DISCOVERY_DB instead of bytes
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

6 years agoMake system/bt build with the VNDK.
Steven Moreland [Mon, 17 Jul 2017 17:17:59 +0000 (10:17 -0700)]
Make system/bt build with the VNDK.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: build system/bt with BOARD_VNDK_VERSION=current
Bug: 37342627
Change-Id: Ie1507e9b5bdb626fa0049faadd225c2c1f451661
Merged-In: Ie1507e9b5bdb626fa0049faadd225c2c1f451661
(cherry picked from commit 41401a5916f750f29af61bae35ca99f7e851333f)

6 years agoRemove hw_module_t dependency in Bluetooth - cleanup am: 5fceeadc2d am: 5ff29ef904
Jakub Pawlowski [Wed, 18 Oct 2017 18:22:27 +0000 (18:22 +0000)]
Remove hw_module_t dependency in Bluetooth - cleanup am: 5fceeadc2d am: 5ff29ef904
am: acd9835f42

Change-Id: I3b8d83631b21505536d114f4ae495b55de6fb8fa

6 years agoAllocate tSDBP_DISCOVERY_DB instead of bytes
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

6 years agoRemove hw_module_t dependency in Bluetooth - cleanup am: 5fceeadc2d
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

6 years agoRemove hw_module_t dependency in Bluetooth - cleanup
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

6 years agoRemove hw_module_t dependency in Bluetooth - cleanup
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

6 years agoLinux build fix am: c451068657 am: 817c752a13
Jakub Pawlowski [Wed, 18 Oct 2017 14:11:58 +0000 (14:11 +0000)]
Linux build fix am: c451068657 am: 817c752a13
am: 4d2e15db1b

Change-Id: I6686097acd7da02bf61027c121a09d77e3f71cb5

6 years agoLinux build fix am: c451068657
Jakub Pawlowski [Wed, 18 Oct 2017 14:08:15 +0000 (14:08 +0000)]
Linux build fix am: c451068657
am: 817c752a13

Change-Id: I5530519cbc4dffca87a4b2bf31cfa32ece927958

6 years agoLinux build fix
Jakub Pawlowski [Wed, 18 Oct 2017 13:16:45 +0000 (13:16 +0000)]
Linux build fix
am: c451068657

Change-Id: I7d87226174273ddbb894eb5462dfc90a4111673e

6 years agoLinux build fix
Jakub Pawlowski [Wed, 18 Oct 2017 11:03:41 +0000 (04:03 -0700)]
Linux build fix

Test: compile using ninja

6 years agoAdd -fno-exceptions to default build config
Jack He [Wed, 18 Oct 2017 07:26:16 +0000 (00:26 -0700)]
Add -fno-exceptions to default build config

* C++ exceptions are expensive and are not used in our code
* We need to disable exception to achieve desired behavior for
  std::stoi, which we don't want it to crash when failing to parse an
  incoming integer

Test: make, net_test_osi
Change-Id: Idc363ff1f25f085c75df3c473ee4d2a210af3b17

6 years agoMove include->internal_include (1/2) am: ecace46f9c am: 227ecb643c
Jakub Pawlowski [Wed, 18 Oct 2017 03:30:22 +0000 (03:30 +0000)]
Move include->internal_include (1/2) am: ecace46f9c am: 227ecb643c
am: 7ee95e3bd7

Change-Id: I0f3a75378a5e3fe7e2b3541844ba6dfea71d2869

6 years agoMove include->internal_include (1/2) am: ecace46f9c
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

6 years agoMove include->internal_include (1/2)
Jakub Pawlowski [Wed, 18 Oct 2017 03:24:18 +0000 (03:24 +0000)]
Move include->internal_include (1/2)
am: ecace46f9c

Change-Id: I6d5433c39e5efe3d00c06bcfc4999f8ebac9a7c2

6 years agoMove include->internal_include (1/2)
Jakub Pawlowski [Tue, 17 Oct 2017 23:40:41 +0000 (16:40 -0700)]
Move include->internal_include (1/2)

Change-Id: If351c7d51a380c33ec9bae3b3f240ed53639f3c9

6 years agoMerge "Fix failing ConfigTest" am: 5795e559ce am: 86c111ba96
Jakub Pawlowski [Wed, 18 Oct 2017 00:10:31 +0000 (00:10 +0000)]
Merge "Fix failing ConfigTest" am: 5795e559ce am: 86c111ba96
am: 1c09f2a2d4

Change-Id: I44316dbd471dc2aeb46d0c1d0b4f487e1d312530

6 years agoMerge "Fix failing ConfigTest" am: 5795e559ce
Jakub Pawlowski [Wed, 18 Oct 2017 00:08:53 +0000 (00:08 +0000)]
Merge "Fix failing ConfigTest" am: 5795e559ce
am: 86c111ba96

Change-Id: I54ebbe1956dac566b75e5a56875181a71ae53e99

6 years agoMerge "Fix failing ConfigTest"
Jakub Pawlowski [Wed, 18 Oct 2017 00:06:23 +0000 (00:06 +0000)]
Merge "Fix failing ConfigTest"
am: 5795e559ce

Change-Id: I102afb37f1251b869f7dc518c5afe9b6ab57877e

6 years agoMerge "Fix failing ConfigTest"
Treehugger Robot [Wed, 18 Oct 2017 00:00:54 +0000 (00:00 +0000)]
Merge "Fix failing ConfigTest"

6 years agoMerge changes I4b90b6ee,I37c5a138,I6ff0c0dc am: 0127861a18 am: 2c02fc3d51
Jakub Pawlowski [Tue, 17 Oct 2017 22:34:18 +0000 (22:34 +0000)]
Merge changes I4b90b6ee,I37c5a138,I6ff0c0dc am: 0127861a18 am: 2c02fc3d51
am: 23acfaefa0

Change-Id: If095510c5e564471665a797c8dc3b4a6e6b3b4b8

6 years agoMerge changes I4b90b6ee,I37c5a138,I6ff0c0dc am: 0127861a18
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

6 years agoMerge changes I4b90b6ee,I37c5a138,I6ff0c0dc
Jakub Pawlowski [Tue, 17 Oct 2017 22:30:49 +0000 (22:30 +0000)]
Merge changes I4b90b6ee,I37c5a138,I6ff0c0dc
am: 0127861a18

Change-Id: I357188bb459d9e95a96b00203e4ffb0927d19436

6 years agoMerge changes I4b90b6ee,I37c5a138,I6ff0c0dc
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

6 years agoMerge "Remove hw_module_t dependency in Bluetooth (1/3)" am: d20af6b2f8 am: e1ff63499b
Jakub Pawlowski [Tue, 17 Oct 2017 21:56:07 +0000 (21:56 +0000)]
Merge "Remove hw_module_t dependency in Bluetooth (1/3)" am: d20af6b2f8 am: e1ff63499b
am: 7d2b31b7dc

Change-Id: I16eabd1de51a5c7bd81c1e69c4f3dda9d3118acb

6 years agoUse DIST_DIR from environment for XML log output am: 11f1e9347e am: 6b9bb71c8d
Jack He [Tue, 17 Oct 2017 21:55:35 +0000 (21:55 +0000)]
Use DIST_DIR from environment for XML log output am: 11f1e9347e am: 6b9bb71c8d
am: 260ae3f6cd

Change-Id: I9b79dc40ab0d3b1808c339d017ca13258c0b4c69

6 years agoMerge "Remove hw_module_t dependency in Bluetooth (1/3)" am: d20af6b2f8
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

6 years agoMerge "Remove hw_module_t dependency in Bluetooth (1/3)"
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

6 years agoUse DIST_DIR from environment for XML log output am: 11f1e9347e
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

6 years agoMerge "Remove hw_module_t dependency in Bluetooth (1/3)"
Jakub Pawlowski [Tue, 17 Oct 2017 21:18:18 +0000 (21:18 +0000)]
Merge "Remove hw_module_t dependency in Bluetooth (1/3)"

6 years agoUse DIST_DIR from environment for XML log output
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