Peng Xu
3a6c0dc7b7
Merge changes from topic "equalizer" am: eba0da9019
...
am: d891c81cad
Change-Id: Iaa12ce16ec98792226e7b83c5bcbcff3b62edc18
2017-09-26 11:56:42 +00:00
Peng Xu
6463ff1ec3
Add support of sensor direct report and operation parameter am: 516ef86487
...
am: e7feb3f366
Change-Id: I8a1155dfede0ad43b363a2726dbe5fa78a592e92
2017-09-26 11:56:37 +00:00
Peng Xu
0b9a9ec203
Proposing ownership for modules/sensors am: eabdd92f5b
...
am: 1d8d7ca653
Change-Id: I52ec4263d924fba7d28cf9f75eda6fe8facb762c
2017-09-26 11:56:33 +00:00
Jakub Pawlowski
cd2b33e139
Merge "Use one type for UUID (2/5)"
...
am: 5a234f0022
Change-Id: Ibb42b84f34ff402aa0b3f539d7541e6568d09fab
2017-09-26 10:51:57 +00:00
TreeHugger Robot
87cbe3313f
Merge "resolve merge conflicts of 15b43e96
to stage-aosp-master" into stage-aosp-master
2017-09-26 00:43:19 +00:00
Jakub Pawlowski
5a234f0022
Merge "Use one type for UUID (2/5)"
2017-09-25 23:53:53 +00:00
Peng Xu
d891c81cad
Merge changes from topic "equalizer"
...
am: eba0da9019
Change-Id: I82025275ee812b1e06038f277bdb6a5fa28634ec
2017-09-25 23:05:13 +00:00
Peng Xu
e7feb3f366
Add support of sensor direct report and operation parameter
...
am: 516ef86487
Change-Id: I5e94194ff01d1c011b16185d0e3e6c34330ec449
2017-09-25 23:05:03 +00:00
Peng Xu
1d8d7ca653
Proposing ownership for modules/sensors
...
am: eabdd92f5b
Change-Id: I27405024bbdc9b2a6f34aba0c74a91729068feb8
2017-09-25 23:04:40 +00:00
Peng Xu
33fd083596
resolve merge conflicts of 15b43e96
to stage-aosp-master
...
Test: multihal compiles
Change-Id: I744793517b150f65c702a846f47c067b2f01f8a3
2017-09-25 15:38:18 -07:00
Jakub Pawlowski
3daa0dd8cf
Use one type for UUID (2/5)
...
Currently, we have few different representations for UUID in stack:
tBT_UUID, tSDP_UUID, bt_uuid_t, bluetooth:UUID, or uint8_t*.
Additionally, tBT_UUID and bt_uuid_t are used to hold UUID as 128bit
as Little Endian or Big Endian, depending on which part of stack (GATT
or SDP) is using it.
This patch is creating one type, bluetooth::Uuid, that will replace all
other types.
Bug: 66912853
Test: all sl4a tests for GATT and RFCOMM
Merged-In: Ic9048a6c1f32a16034485b6185f5349e6bac0ff6
Change-Id: Ic9048a6c1f32a16034485b6185f5349e6bac0ff6
2017-09-25 22:12:03 +00:00
Jakub Pawlowski
eab6b6eda9
Use one type for UUID (2/5)
...
Currently, we have few different representations for UUID in stack:
tBT_UUID, tSDP_UUID, bt_uuid_t, bluetooth:UUID, or uint8_t*.
Additionally, tBT_UUID and bt_uuid_t are used to hold UUID as 128bit
as Little Endian or Big Endian, depending on which part of stack (GATT
or SDP) is using it.
This patch is creating one type, bluetooth::Uuid, that will replace all
other types.
Bug: 66912853
Test: all sl4a tests for GATT and RFCOMM
Change-Id: Ic9048a6c1f32a16034485b6185f5349e6bac0ff6
2017-09-25 21:24:08 +00:00
Peng Xu
eba0da9019
Merge changes from topic "equalizer"
...
* changes:
Fix potential memory leak in multihal
sensors: route sensor handle for multi-hal event injection
Add support of sensor direct report and operation parameter
Proposing ownership for modules/sensors
2017-09-23 00:17:10 +00:00
Jakub Pawlowski
d187d5cf15
Merge "Remove unused BT_STACK_TEST_MODULE_ID" am: 5dd2b50699
am: 27bf3239fa
am: 14cab0e6c0
...
am: 24b6f65d5a
Change-Id: Ie839e3bcd06f8e7014bdebdfcbeb9b4adfef37dd
2017-09-21 03:49:58 +00:00
Jakub Pawlowski
24b6f65d5a
Merge "Remove unused BT_STACK_TEST_MODULE_ID" am: 5dd2b50699
am: 27bf3239fa
...
am: 14cab0e6c0
Change-Id: I3b727ffc25633034cc714b0a28a23da602d364ff
2017-09-20 23:27:42 +00:00
Jakub Pawlowski
14cab0e6c0
Merge "Remove unused BT_STACK_TEST_MODULE_ID" am: 5dd2b50699
...
am: 27bf3239fa
Change-Id: I6048a5e87bd2db704694792f67c95761cf3cca38
2017-09-20 23:25:20 +00:00
Jakub Pawlowski
27bf3239fa
Merge "Remove unused BT_STACK_TEST_MODULE_ID"
...
am: 5dd2b50699
Change-Id: I81a6108ba36a0b81762e91912ecba065685eca4b
2017-09-20 23:23:19 +00:00
Treehugger Robot
5dd2b50699
Merge "Remove unused BT_STACK_TEST_MODULE_ID"
2017-09-20 23:16:45 +00:00
Peng Xu
d8871a7687
Fix potential memory leak in multihal
...
Bug: 64266341
Test: compile and pixel 2017 device sensor operate normally
Change-Id: I879379106d038ce28937a28ab5863b4bea615bf0
Merged-In: I879379106d038ce28937a28ab5863b4bea615bf0
2017-09-19 12:38:47 -07:00
Alexey Polyudov
516ef86487
sensors: route sensor handle for multi-hal event injection
...
Change-Id: Iad65c8b7eea7fbe89747123bd3364b6dcde8b839
Merged-In: Iad65c8b7eea7fbe89747123bd3364b6dcde8b839
2017-09-19 12:36:43 -07:00
Peng Xu
15b43e96a3
Add support of sensor direct report and operation parameter
...
Adds sensor direct report mode support to multihal. Limited
by hal API only the first HAL in configuration list can support
sensor direct report.
Sensor operation parameter support in multihal module is added in
this CL.
In treblized device multihal is enabled by default and implementation
is included in default implementation. Remove multihal shared lib
generation in device specified PRODUCT_FULL_TREBLE.
Test: warning message shows up on device that specified both
PRODUCT_FULL_TREBLE and USE_SENSOR_MULTI_HAL flags.
Test: cts test passes
Change-Id: I868e7c1ce727370b333f80bbfe737fb106f6d106
Merged-In: I868e7c1ce727370b333f80bbfe737fb106f6d106
2017-09-19 12:36:04 -07:00
Peng Xu
eabdd92f5b
Proposing ownership for modules/sensors
...
Test: n/a
Change-Id: Ie5494af12686ae1bf0545e35ec8dcc00e21b2383
Merged-In: Ie5494af12686ae1bf0545e35ec8dcc00e21b2383
2017-09-19 12:31:49 -07:00
Jakub Pawlowski
7a859c0314
Remove unused BT_STACK_TEST_MODULE_ID
...
Test: compilation
Change-Id: I0aa9edd7e7d15df53bdd729cd4d0f0e424b13eab
2017-09-18 15:18:01 -07:00
Jiyong Park
1e37eab88a
Don't rely on transitively included headers am: 439eb0f241
-s ours
...
am: 97ec97db47
-s ours
Change-Id: I7aa4a053439ad2dc14198b2045dc74283daf5cca
2017-09-07 17:43:03 +00:00
Jiyong Park
97ec97db47
Don't rely on transitively included headers
...
am: 439eb0f241
-s ours
Change-Id: I2a4c32899119b7ef0e26aa0aef46fae85c6c61f4
2017-09-07 17:37:21 +00:00
Tri Vo
823e70a360
Merge changes from topic "libhardware_vndk" am: 7d03020e96
am: a486d25b96
am: 019636be1e
-s ours
...
am: ea95461d8a
-s ours
Change-Id: I35a4bcb01d5a7ee29c56a96e3df9e4e6fa954ac7
2017-09-06 16:14:01 +00:00
Jiyong Park
deebf4715e
Merge "Don't rely on transitively included headers" am: 1363159d74
am: 6d76606405
am: 873a4a5494
...
am: 888b1351c8
Change-Id: Ia966da521d9cbb41fa65895beb7dbbdeea12f644
2017-09-06 16:10:04 +00:00
Tri Vo
ea95461d8a
Merge changes from topic "libhardware_vndk" am: 7d03020e96
am: a486d25b96
...
am: 019636be1e
-s ours
Change-Id: I466988d007adbbc68b43687c9eb0c1e6a3e4ae1e
2017-09-06 16:05:27 +00:00
Jiyong Park
888b1351c8
Merge "Don't rely on transitively included headers" am: 1363159d74
am: 6d76606405
...
am: 873a4a5494
Change-Id: I11b097faac8eb82c3672b18fe2ad581964cd3023
2017-09-06 16:03:56 +00:00
Tri Vo
019636be1e
Merge changes from topic "libhardware_vndk" am: 7d03020e96
...
am: a486d25b96
Change-Id: Id272f77680dc949c35b77111da8b2f2e386d74a1
2017-09-06 16:02:07 +00:00
Jiyong Park
873a4a5494
Merge "Don't rely on transitively included headers" am: 1363159d74
...
am: 6d76606405
Change-Id: Id6e6e5225ec2fec781585340b0368b6a46fc8aa7
2017-09-06 16:00:28 +00:00
Tri Vo
a486d25b96
Merge changes from topic "libhardware_vndk"
...
am: 7d03020e96
Change-Id: I13dd1fafc3822d12e9403e467b8b3f803dd990b1
2017-09-06 15:58:26 +00:00
Jiyong Park
6d76606405
Merge "Don't rely on transitively included headers"
...
am: 1363159d74
Change-Id: I0325773d80680928d47750937e2f4bc6a69b1bf9
2017-09-06 15:56:28 +00:00
Treehugger Robot
7d03020e96
Merge changes from topic "libhardware_vndk"
...
* changes:
Build tv_input.default.vendor with BOARD_VNDK_VERSION
Build fingerprint.default with BOARD_VNDK_VERSION
Build power.default with BOARD_VNDK_VERSION
Build local_time.default with BOARD_VNDK_VERSION
Build nfc.default with BOARD_VNDK_VERSION
Build vr.default with BOARD_VNDK_VERSION
Build vibrator.default.vendor with BOARD_VNDK_VERSION
Build audio.usb.default with BOARD_VNDK_VERSION
Build vehicle.default with BOARD_VNDK_VERSION
Build audio.primary.default, audio.stub.default, audio_policy.stub with BOARD_VNDK_VERSION
Build radio.fm.default.vendor with BOARD_VNDK_VERSION
Build consumerir.default with BOARD_VNDK_VERSION
2017-09-06 15:52:32 +00:00
Treehugger Robot
1363159d74
Merge "Don't rely on transitively included headers"
2017-09-06 15:51:45 +00:00
Jiyong Park
439eb0f241
Don't rely on transitively included headers
...
One must explicitly include what it need.
time.h for clock_gettime
float.h for FLT_MAX
string.h for memset
Bug: 37629934
Test: build
Merged-In: I1030a9c9ff3c2de4c5febabc3064d6976e9535cf
Change-Id: I5a8fd84a10aeeab2258f78a0ac992de0afa33d00
2017-09-06 15:28:18 +09:00
Jiyong Park
32dde03332
Don't rely on transitively included headers
...
One must explicitly include what it need.
time.h for clock_gettime
float.h for FLT_MAX
string.h for memset
Bug: 37629934
Test: build
Change-Id: I1030a9c9ff3c2de4c5febabc3064d6976e9535cf
2017-09-06 12:17:06 +09:00
Tri Vo
b062604399
Build tv_input.default.vendor with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 tv_input.default.vendor
Change-Id: Ic94a8eb24edc7518f2e2ad62600a9ea4b0d8fba2
Merged-In: Ic94a8eb24edc7518f2e2ad62600a9ea4b0d8fba2
2017-09-05 17:43:16 -07:00
Tri Vo
afd72278fe
Build fingerprint.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 fingerprint.default.vendor
Change-Id: Iafdc05862aaa995a5f02cb6a6c29a020846b435f
Merged-In: Iafdc05862aaa995a5f02cb6a6c29a020846b435f
2017-09-05 17:43:16 -07:00
Tri Vo
736bc77a0f
Build power.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 power.default.vendor
Change-Id: I4a66d05d4ad45c9c250f1c407b755b2e35f46290
Merged-In: I4a66d05d4ad45c9c250f1c407b755b2e35f46290
2017-09-05 17:43:16 -07:00
Tri Vo
f5c6aa4533
Build local_time.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 local_time.default.vendor
Change-Id: I85c2cbcc86b69148cceb628aae38d1cd4332f69a
Merged-In: I85c2cbcc86b69148cceb628aae38d1cd4332f69a
2017-09-05 17:43:16 -07:00
Tri Vo
6ac6031b25
Build nfc.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 nfc.default.vendor
Change-Id: Ic700f1769eefe880deeae901b658685e00772206
Merged-In: Ic700f1769eefe880deeae901b658685e00772206
2017-09-05 17:43:16 -07:00
Tri Vo
cba3f48617
Build vr.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 vr.default
Change-Id: Id3a52cfd4e5fc278c8c9b7326f0566c0adbed815
Merged-In: Id3a52cfd4e5fc278c8c9b7326f0566c0adbed815
2017-09-05 17:43:16 -07:00
Tri Vo
b355e842e0
Build vibrator.default.vendor with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 vibrator.default.vendor
Change-Id: I908432b4da9ea1f0e1ceea3e0b154f315a9ba775
Merged-In: I908432b4da9ea1f0e1ceea3e0b154f315a9ba775
2017-09-05 17:43:16 -07:00
Tri Vo
5bf2109d29
Build audio.usb.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 audio.usb.default
Change-Id: I0be8ad7283e200bf36100eca38b28af4220530fd
Merged-In: I0be8ad7283e200bf36100eca38b28af4220530fd
2017-09-05 17:43:16 -07:00
Tri Vo
0d6e1a3da5
Build vehicle.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 vehicle.default
Change-Id: Ib0928bccf4b873020b5a8d4d25f9cb65c11c0270
Merged-In: Ib0928bccf4b873020b5a8d4d25f9cb65c11c0270
2017-09-05 17:43:16 -07:00
Tri Vo
407bff7224
Build audio.primary.default, audio.stub.default, audio_policy.stub with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 audio.primary.default.vendor
Test: BOARD_VNDK_VERSION=current m -j64 audio.stub.default.vendor
Test: BOARD_VNDK_VERSION=current m -j64 audio_policy.stub.vendor
Change-Id: If3a8668429e20e75fc43aefe3b5a56ff0efc7135
Merged-In: If3a8668429e20e75fc43aefe3b5a56ff0efc7135
2017-09-05 17:43:16 -07:00
Tri Vo
510c9377cd
Build radio.fm.default.vendor with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 radio.fm.default.vendor
Change-Id: I77ad718472f531afdcf6519f3c9979eb1b936a58
Merged-In: I77ad718472f531afdcf6519f3c9979eb1b936a58
2017-09-05 17:43:16 -07:00
Tri Vo
051005af32
Build consumerir.default with BOARD_VNDK_VERSION
...
Bug: 37342627
Test: BOARD_VNDK_VERSION=current m -j64 consumerir.default.vendor
Change-Id: Ieaa31aaac0264bfbb1592fab51e6d0dbb10404de
Merged-In: Ieaa31aaac0264bfbb1592fab51e6d0dbb10404de
2017-09-05 17:43:16 -07:00
Peng Xu
981ad03610
Merge "Sensor: HAL guideline clarification upon activation request" am: 0b2872c784
am: 3a35beab7d
am: 94ff6fab1a
...
am: a7219a3697
Change-Id: I1d990b2ef86ab750120698c3a93697330e218476
2017-08-29 21:14:43 +00:00