Commit graph

3940 commits

Author SHA1 Message Date
TreeHugger Robot
e51a6dd308 Merge "camera3: Add doc for combined stream use flags" 2017-03-23 02:21:29 +00:00
TreeHugger Robot
e90bc93d73 Merge "Add manufacturer and model to device ID attestation" 2017-03-23 00:01:39 +00:00
Jakub Pawlowski
38d71533ee Merge "Bluetooth 5 AdvertisingSet implementation (3/4)" am: ecb7fc5332 am: 00a91f290b
am: 9673fcf99c

Change-Id: I89b90208e2df3ab971e02736b43a63f8c34e9943
2017-03-20 22:41:10 +00:00
Jakub Pawlowski
9673fcf99c Merge "Bluetooth 5 AdvertisingSet implementation (3/4)" am: ecb7fc5332
am: 00a91f290b

Change-Id: I1db5837866531e13cfbaca4b8660f24c5bd09136
2017-03-20 22:33:13 +00:00
Jakub Pawlowski
00a91f290b Merge "Bluetooth 5 AdvertisingSet implementation (3/4)"
am: ecb7fc5332

Change-Id: I13dfd19877828eac02532a44fe8f6ba35418929b
2017-03-20 22:26:46 +00:00
Jakub Pawlowski
ecb7fc5332 Merge "Bluetooth 5 AdvertisingSet implementation (3/4)" 2017-03-20 22:19:08 +00:00
Jakub Pawlowski
a4bd8a61cb Bluetooth 5 AdvertisingSet implementation (3/4)
Test: manual
Bug: 30622771
Change-Id: I8dc3b0ee85a6a449838a61bab86be5a2ea40b0ab
2017-03-20 12:26:33 -07:00
Shuzhen Wang
07a5cd5650 camera3: Add doc for combined stream use flags
Specify the HAL behavior when stream usage flag is combination for
multiple consumers.

Test: Compile
Bug: 33777818
Change-Id: If11de5d249b1a8366dad7ec14e5e35f9cfc06ce4
2017-03-20 09:26:42 -07:00
Bartosz Fabianowski
81b7b5f68c Add manufacturer and model to device ID attestation
Discussions have shown that in addition to brand, device and product,
we should also allow devices to attest their manufacturer and model.

Bug: 36433192
Test: GTS com.google.android.gts.security.DeviceIdAttestationHostTest

Change-Id: I126003420a93241e04bf18ee7ff8e6aefa5599a8
2017-03-20 14:01:40 +01:00
Jakub Pawlowski
2ea3c31f31 Merge "LE Maximum Advertising Data Length (3/4)" am: d7c37e7235 am: c25f4d202e
am: 4d437176ee

Change-Id: I6c37e5fb9c0d4c5aad5439ca56bd7a0aa7a3d145
2017-03-17 05:29:52 +00:00
Jakub Pawlowski
4d437176ee Merge "LE Maximum Advertising Data Length (3/4)" am: d7c37e7235
am: c25f4d202e

Change-Id: I71bbfd0afb9c4f5e675cbd2a402c96669b91a9e5
2017-03-17 05:26:29 +00:00
Jakub Pawlowski
c25f4d202e Merge "LE Maximum Advertising Data Length (3/4)"
am: d7c37e7235

Change-Id: I99c507e4a65c51dcdfadd146593ed194a83826e8
2017-03-17 05:20:02 +00:00
Jakub Pawlowski
d7c37e7235 Merge "LE Maximum Advertising Data Length (3/4)" 2017-03-17 05:13:45 +00:00
Jakub Pawlowski
696f69966c LE Maximum Advertising Data Length (3/4)
Add ability to check maximum advertising data length.

Bug: 30622771
Test: manual
Change-Id: I14a66a906a3f6133eea87c538de854bbfab056f5
2017-03-16 18:28:59 -07:00
Jakub Pawlowski
db18196a52 Merge "Bluetooth 5 AdvertisingSet implementation (4/4)" am: 1317fe40e0 am: b2475c5afa
am: ff005ba330

Change-Id: I423311e19bead2f0fd8c9d54600be0917049f372
2017-03-17 01:21:43 +00:00
Jakub Pawlowski
ff005ba330 Merge "Bluetooth 5 AdvertisingSet implementation (4/4)" am: 1317fe40e0
am: b2475c5afa

Change-Id: I32eed4d290048de66a06e1fce790e6e113d68534
2017-03-17 01:15:12 +00:00
Jakub Pawlowski
b2475c5afa Merge "Bluetooth 5 AdvertisingSet implementation (4/4)"
am: 1317fe40e0

Change-Id: I6642bb6214f9d23e9a2a9b6c6bb3a690e9d69112
2017-03-17 01:08:05 +00:00
Treehugger Robot
1317fe40e0 Merge "Bluetooth 5 AdvertisingSet implementation (4/4)" 2017-03-17 01:01:17 +00:00
TreeHugger Robot
3876eecb59 Merge "Camera: Update camera3.h doc for high speed video batching" 2017-03-17 00:32:50 +00:00
Jakub Pawlowski
0d0b7d1757 Bluetooth 5 AdvertisingSet implementation (4/4)
This patch wires up fist methods of AdvertisingSet, making it possible
to start advertising and stop advertising. It also replaces legacy
implemementation with calls to new implementation.

Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest

Change-Id: I4a2739528fe114547f747d9719a4d47de7ce5589
2017-03-16 16:18:46 -07:00
Shuzhen Wang
13a19e11e6 Camera: Update camera3.h doc for high speed video batching
Now cameraservice only sends one shutter notify and capture result to
the application per batch.  Update the HAL interface doc to reflect this.

Test: Compiles
Bug: 35775704
Change-Id: I290ef93f842f4a02e5bdaeb0e50298f79fcef602
2017-03-14 14:06:59 -07:00
Jakub Pawlowski
fa41f8684f Merge "Bluetooth 5 feature check implementation (2/3)" am: 69606698b2 am: 3aa949fad0
am: c2d188fd62

Change-Id: I00034a0a2c1eb0d527634725affb9cf2b95ff8a7
2017-03-11 02:20:14 +00:00
Jakub Pawlowski
c2d188fd62 Merge "Bluetooth 5 feature check implementation (2/3)" am: 69606698b2
am: 3aa949fad0

Change-Id: I54c2bc9c544fdea56e1d3653adb54325ede97e43
2017-03-11 02:16:44 +00:00
Jakub Pawlowski
3aa949fad0 Merge "Bluetooth 5 feature check implementation (2/3)"
am: 69606698b2

Change-Id: Iab12da0e5f36e9e1878028e50e0218200e654b9f
2017-03-11 02:13:14 +00:00
Treehugger Robot
69606698b2 Merge "Bluetooth 5 feature check implementation (2/3)" 2017-03-11 02:03:43 +00:00
David Lin
488c55c858 Merge "vibrator: fix issue with ledtrig-transient support" am: 60849b8da4 am: 95d22ed018
am: fdfbcda7ad

Change-Id: Ib2df8e109d5842e3d3eaa0846a153c997908d967
2017-03-11 01:35:14 +00:00
David Lin
fdfbcda7ad Merge "vibrator: fix issue with ledtrig-transient support" am: 60849b8da4
am: 95d22ed018

Change-Id: I3d194c481e5060ac658832af294842868f88ab9a
2017-03-11 01:31:40 +00:00
David Lin
95d22ed018 Merge "vibrator: fix issue with ledtrig-transient support"
am: 60849b8da4

Change-Id: I539a36cf4b0ec0d991fefae22f0e65d68704da8f
2017-03-11 01:28:11 +00:00
Treehugger Robot
60849b8da4 Merge "vibrator: fix issue with ledtrig-transient support" 2017-03-11 01:23:18 +00:00
Peng Xu
e12a0cc39d Merge "Dynamic sensor manager module - framework" 2017-03-10 22:21:31 +00:00
Jakub Pawlowski
0a660af26a Bluetooth 5 feature check implementation (2/3)
Wire the new feature check API to actual values received from the
controller.

Test: manual
Bug: 30622771
Change-Id: I76d373b94fd3d4d637ddae637a8424d463286837
2017-03-09 18:19:24 -08:00
Po-Chien Hsueh
69646f44a5 Merge "Move default HAL libraries to vendor" 2017-03-09 05:15:37 +00:00
David Lin
4e8f561fcd vibrator: fix issue with ledtrig-transient support
There's a problem with enabling the transient trigger in the HAL, that is
the trigger function exports tree properties - activate, state, and
duration which require to be chown'd to system:system during the init
process. Hence, the trigger will be now enabled in the init process and
the HAL will use the "activate" property to determine if the device has
vibrator support via ledtrig-transient.

Test: device vibrates with the driver supports ledtrig-transient

Change-Id: Ieb195ddc199c6372f5dcf3ca1b2be4fd59724717
Signed-off-by: David Lin <dtwlin@google.com>
2017-03-08 17:41:53 -08:00
Tomasz Wasilczyk
bfd41eb47b Merge "Check set_configuration input to make VTS negative test pass." 2017-03-08 20:00:25 +00:00
Steven Moreland
70818770a3 Merge "Update nfc-base.h" am: 879e1607d7 am: 4eae4eea23
am: 93e8efb14b

Change-Id: Id00fd572d0184c4490c38315ea00d03594a526de
2017-03-08 06:44:52 +00:00
Steven Moreland
93e8efb14b Merge "Update nfc-base.h" am: 879e1607d7
am: 4eae4eea23

Change-Id: I47a8c9791c92e57d98d94f455c50dcc2a9553314
2017-03-08 06:41:51 +00:00
Steven Moreland
4eae4eea23 Merge "Update nfc-base.h"
am: 879e1607d7

Change-Id: I1c388070b7ffc0f664c10bc0756eaf287013029c
2017-03-08 06:39:22 +00:00
Steven Moreland
879e1607d7 Merge "Update nfc-base.h" 2017-03-08 06:07:05 +00:00
Peng Xu
57d8af7f5e Dynamic sensor manager module - framework
Library to handle dynamic sensor connection. There are two way to use
this: as hal extension or standalone hal module.

In hal extension mode: add libdynamic_sensor_ext in dependency of hal,
instantiate DynamicSensorManager with appropriate parameters. Then
for all sensor requests, if the handle is owned by dynamic sensor
manager, forward the request.

In standalone mode, add sensor.dynamic_sensor_hal into device make
file. Usually, this also means multihal is necessary. Add
sensor.dynamic_sensor_hal into multihal configuration file.

This CL implements the dynamic sensor manager framework. Sensor daemon
will be added in follow up CL.

Test: test compile (functionality test done in a follow up CL)

Change-Id: I3b96ee135d8dbe3e199af01bed4b61637358803e
2017-03-07 20:50:56 -08:00
TreeHugger Robot
2e643b42ad Merge "Revert (nfc part of) "Ran hardware/interfaces/update-base-files.sh."" 2017-03-08 01:30:56 +00:00
Tomasz Wasilczyk
ad78c8d922 Check set_configuration input to make VTS negative test pass.
Bug: b/33382424
Test: VTS
Change-Id: I11b00e0a9797a30549cca989ea5c6a09c2d513c2
2017-03-07 17:05:41 -08:00
Steven Moreland
50e8f45ca8 Revert (nfc part of) "Ran hardware/interfaces/update-base-files.sh."
(commit: 54925f4636)

Reason for revert: nfc changes should go in AOSP:
https://android-review.googlesource.com/c/343935/

Change-Id: I3cc8c520c15c3b88ba5fceeb2e59ae44b8f887c4
2017-03-07 18:14:19 +00:00
Po-Chien Hsueh
c535b2fded Move default HAL libraries to vendor
Libraries under /hardware/libhardware/modules should go to /vendor/.

These are conventionl HALs for default implementations, most of them
are not used.

Camera and thermal are already moved in other CLs.

Bug: 35907904
Test: Compiled and checked install path. Verified on Sailfish with
$ lsof | grep default.

Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
2017-03-07 11:28:32 +08:00
TreeHugger Robot
88202b943f Merge "Update gnss-base.h" 2017-02-27 20:43:54 +00:00
Jiyong Park
5293c5b05d Merge "Move thermal HAL to vendor partition" 2017-02-27 04:14:12 +00:00
Jiyong Park
5067fe1a19 Move thermal HAL to vendor partition
In order to build generic system image that is agnostic to SoC or
device, HALs should be moved from system partition to vendor
partition.

Bug: 34826389, 35743509
Test: build & run and check whether the HAL is loaded from
/vendor/lib[64]/hw.
$ su; lsof | grep thermal.

Change-Id: Ia2bb060590f31688528de4a3b9b9ab8fbd376b6c
2017-02-27 13:11:33 +09:00
Steven Moreland
364ed97bc0 Update gnss-base.h
Test: pass
Bug: 33541458
Change-Id: Ib22daeddbd1de79210ff6f356ea4465b920bfe74
2017-02-24 16:27:50 -08:00
Steven Moreland
c293b01f04 Update sensors-base.h
Test: pass
Bug: 33541458
Change-Id: I9e29be69a3903ee5ec213ebc8e2e40e24f6ec755
2017-02-24 13:14:19 -08:00
Steven Moreland
2b335affb8 Update nfc-base.h
Test: pass
Bug: 33541458
Change-Id: Iacbbd553871028ea174fa97c87a36ee2bae50805
2017-02-24 13:11:01 -08:00
Jakub Pawlowski
c222f7f6f2 Merge "Use base::Callbacks in BleScannerInterface (1/3)" am: d3b3ea65c5 am: 45f56948fe
am: be8b526c78

Change-Id: I05dcd291b16575d0602d538bae0e858ab455e0a2
2017-02-21 18:19:17 +00:00