android/platform-hardware-interfaces.git
2 years agoCall notify for voiceReg and dataReg VTS tests pie-release android-9.0.0_r1 android-9.0.0_r10 android-9.0.0_r17 android-9.0.0_r18 android-9.0.0_r2 android-9.0.0_r3 android-9.0.0_r5 android-9.0.0_r6 android-9.0.0_r7 android-9.0.0_r8 android-9.0.0_r9 android-cts-9.0_r1 android-cts-9.0_r2 android-cts-9.0_r3 android-cts-9.0_r4 android-cts-9.0_r5 android-cts-9.0_r6 android-wear-9.0.0_r1 android-wear-9.0.0_r2 android-wear-9.0.0_r3
Eric Schwarzenbach [Wed, 6 Jun 2018 23:09:58 +0000 (16:09 -0700)]
Call notify for voiceReg and dataReg VTS tests

Bug: 80554443
Test: vts
Change-Id: I19f7131f7b65323065f3c283a89668ff761815e3
(cherry picked from commit 2bb626a2975ef3398adbcb12fe50804cf71efc39)

2 years agoAdd REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp
sqian [Fri, 15 Jun 2018 21:24:31 +0000 (14:24 -0700)]
Add REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForApp

Bug: 110037298
Test: run vts -m VtsHalRadioV1_0Target
Change-Id: Iaba800814c5a6950d086a2f105714d01fdaa14a4
(cherry picked from commit 7470cbd04dbb90ec4a6481d08db54c6a8c5f2efd)

2 years agoFix free() in keymaster VTS
Hung-ying Tyan [Fri, 8 Jun 2018 09:53:48 +0000 (17:53 +0800)]
Fix free() in keymaster VTS

The buffer is allocated by OPENSSL_malloc() in X509_NAME_oneline(name, nullptr, 0).
Should be reclaimed by OPENSSL_free() instead of free().

The patch is provided by vink.shen@mediatek.corp-partner.google.com

Bug: 109708231
Test: build pass
Change-Id: I66a864e3e28905eebac2e7d3a4517d4d5aaa39df
(cherry picked from commit 79db3ec849c5f1142a0802dccfff6cbef564ff76)

2 years agoMerge cherrypicks of [4368877, 4369031, 4369032, 4369033, 4369034, 4368878, 4369035...
android-build-team Robot [Mon, 18 Jun 2018 23:34:41 +0000 (23:34 +0000)]
Merge cherrypicks of [436887743690314369032436903343690344368878436903543690364369008] into pi-release

Change-Id: Ic608620596e708c1aa2b344833883e470877b7d5

2 years agoRespect limited requirements for Strongbox KM implementations
nagendra modadugu [Tue, 5 Jun 2018 18:05:19 +0000 (11:05 -0700)]
Respect limited requirements for Strongbox KM implementations

With this patch the KM VTS test apply the restricted requirements on
supported key sizes, EC curves, and Digests to Strongbox keymaster
implementations.

Also amend tests to use Update().

Test: Yes it is
Bug: 74519020
Change-Id: Ibec9c3398671f81dbc0ecf78e554726276160579
(cherry picked from commit 3a7e2cade3305d59f861c21206b5862de9d05d5c)

2 years agoSnap for 4829593 from 2c82288f49d865c516fcd6d83bcd819e28b9a221 to pi-release
android-build-team Robot [Fri, 8 Jun 2018 07:22:10 +0000 (07:22 +0000)]
Snap for 4829593 from 2c82288f49d865c516fcd6d83bcd819e28b9a221 to pi-release

Change-Id: Ia8edc7df562516015bacd9da24b48fbfa22af410

2 years agoMerge "Fix comments and internal names about SEEK operation." into pi-dev
TreeHugger Robot [Thu, 7 Jun 2018 23:47:59 +0000 (23:47 +0000)]
Merge "Fix comments and internal names about SEEK operation." into pi-dev

2 years agoFix comments and internal names about SEEK operation.
Tomasz Wasilczyk [Tue, 5 Jun 2018 17:10:39 +0000 (10:10 -0700)]
Fix comments and internal names about SEEK operation.

Legacy radio HAL named it SCAN and the name slipped through HAL 1.x
into HAL 2.0. I finally noticed it after HAL 2.0 was locked down.

Bug: 109740376
Test: build ow
Change-Id: I5ca4147227a7dd0c32248a279f03fb632d97258e

2 years agoMerge "secure_element: vts: Fix openBasicChannel and transmit test case" into pi-dev
TreeHugger Robot [Thu, 7 Jun 2018 21:49:07 +0000 (21:49 +0000)]
Merge "secure_element: vts: Fix openBasicChannel and transmit test case" into pi-dev

2 years agoCamera: Add only physical ids during multi-camera configuration
Emilian Peev [Thu, 7 Jun 2018 16:49:26 +0000 (17:49 +0100)]
Camera: Add only physical ids during multi-camera configuration

Per API specification "physicalCameraId" must not
contain any logical camera ids. The test case
should only use the physical ids it receives from the
camera static metadata.

Bug:109874630
Test:run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I82c5bf44f4572b3a6abdbb3101a11140907b1c9e

2 years agosecure_element: vts: Fix openBasicChannel and transmit test case
Ruchi Kandoi [Wed, 6 Jun 2018 22:21:41 +0000 (15:21 -0700)]
secure_element: vts: Fix openBasicChannel and transmit test case

Status Response for basic channel can be only 2 bytes as well.
Update the test to test for 2 or more bytes.
Basic Channel if opened successfully should be closed.

Transmit test case should specify the channel number in the command.

Test: atest VtsHalSecureElementV1_0TargetTest
Bug: 109833790
Change-Id: I91c943b4297067f6ae6872efb038f1295f92f5c8
(cherry picked from commit d7700d216f0d854405bb9d99972c79f1af5b1b68)

2 years agoSnap for 4826885 from 0be954949ddf098fb9ab28c523b04aceeb575323 to pi-release
android-build-team Robot [Thu, 7 Jun 2018 07:21:04 +0000 (07:21 +0000)]
Snap for 4826885 from 0be954949ddf098fb9ab28c523b04aceeb575323 to pi-release

Change-Id: I61892e5290c6001f820e20301d5f5a1b10802e93

2 years agoMerge "Document unspecified dimensions." into pi-dev
David Gross [Wed, 6 Jun 2018 18:22:50 +0000 (18:22 +0000)]
Merge "Document unspecified dimensions." into pi-dev

2 years agoMerge "Camera: Avoid Metadata re-allocation during shrinkCaptureResult" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 16:25:51 +0000 (16:25 +0000)]
Merge "Camera: Avoid Metadata re-allocation during shrinkCaptureResult" into pi-dev

2 years agoSnap for 4824048 from 308d390720d0627de06a82e590b9e0359fea2b0a to pi-release
android-build-team Robot [Wed, 6 Jun 2018 07:22:38 +0000 (07:22 +0000)]
Snap for 4824048 from 308d390720d0627de06a82e590b9e0359fea2b0a to pi-release

Change-Id: I284781eb8db90eb26af8cc663d8a6b3e07b77651

2 years agoCamera: Avoid Metadata re-allocation during shrinkCaptureResult
Shuzhen Wang [Wed, 6 Jun 2018 05:23:39 +0000 (22:23 -0700)]
Camera: Avoid Metadata re-allocation during shrinkCaptureResult

If capture result metadata is to be shrinked, reserve enough space so
that CameraMetadata isn't re-allocated when std::vector expands.

If vector expansion happens, CameraMetadata is re-allocated, causing
camera_metadata_t being re-allocated as well.

Test: Camera CTS
Bug: 109672123
Change-Id: Idaf5bf409bdbbccf617614edc96c0478260b4c30

2 years agoMerge "SetColorMode is not available for vendor hwc less than 1.4" into pi-dev
TreeHugger Robot [Wed, 6 Jun 2018 04:48:34 +0000 (04:48 +0000)]
Merge "SetColorMode is not available for vendor hwc less than 1.4" into pi-dev

2 years agoMerge "Add initial values for properties" into pi-dev
Steve Paik [Tue, 5 Jun 2018 23:32:24 +0000 (23:32 +0000)]
Merge "Add initial values for properties" into pi-dev

2 years agoDocument unspecified dimensions.
David Gross [Tue, 5 Jun 2018 19:51:08 +0000 (12:51 -0700)]
Document unspecified dimensions.

Test: mm

Bug: 77234888
Bug: 109687058
Change-Id: Ia8928e494d8c712bc9cfb592d67476fde9753f45

2 years agoSnap for 4821244 from 62fd03d8e64f368fadce4a972ead88404f94b21d to pi-release
android-build-team Robot [Tue, 5 Jun 2018 07:24:41 +0000 (07:24 +0000)]
Snap for 4821244 from 62fd03d8e64f368fadce4a972ead88404f94b21d to pi-release

Change-Id: I971e6cbdb1947bc662f5f57c4e6751c04ae994f1

2 years agoExplicitly unfreeze the Automotive HALs
Scott Randolph [Mon, 4 Jun 2018 21:16:21 +0000 (14:16 -0700)]
Explicitly unfreeze the Automotive HALs

Per discussion with Treble team, keeping HALs unfrozen is suitable for
platforms whos functionality is evolving and which do not require hard
gaurantees of cross version vendor/system interoperability.

Test: build owl
Bug: 109674659
Change-Id: Idc2a391b4bd7c2edbf9cdd7fc099b9d4a6fcf95a

2 years agoAdd initial values for properties
Steve Paik [Tue, 29 May 2018 23:15:24 +0000 (16:15 -0700)]
Add initial values for properties

Cleanup defaultconfig.h to have proper initial values so that all
properties may be tested with EmbeddedKitchenSink.

Bug: 109674339
Test: Embedded Kitchen Sink
Change-Id: I3007c645b90b0e6805b8d1011c3a8d659eb13d2b

2 years agoSnap for 4818534 from 2ae3cb74c7224916fd47dcc1e7c146f1e3d316ee to pi-release
android-build-team Robot [Sun, 3 Jun 2018 07:21:09 +0000 (07:21 +0000)]
Snap for 4818534 from 2ae3cb74c7224916fd47dcc1e7c146f1e3d316ee to pi-release

Change-Id: Ia9c3b88885bbadb3ffa7ea6a507ef0e4ea7c4ebf

2 years agoMerge "VtsHalMediaOmx should test functionality only" into pi-dev
TreeHugger Robot [Sat, 2 Jun 2018 13:06:44 +0000 (13:06 +0000)]
Merge "VtsHalMediaOmx should test functionality only" into pi-dev

2 years agoVtsHalMediaOmx should test functionality only
Ray Essick [Fri, 1 Jun 2018 23:22:29 +0000 (16:22 -0700)]
VtsHalMediaOmx should test functionality only

The tests insisted on presence of codecs as well as functionality, but
the list it reads is a superset of what may be on the device.  Modified so
that if a codec is not present, we ignore it rather than failing the test.

The Vts tests that check OMX Store are being augmented to ensure any
advertised codecs are indeed present.

Bug: 80029024
Bug: 80530946
Test: vts run VtsHalMediaOmxV1_0Host
Change-Id: Icd6d049c5c0d31f47ef3dbda52d6927e38bd894d

2 years agoSetColorMode is not available for vendor hwc less than 1.4
huans [Fri, 1 Jun 2018 21:26:57 +0000 (14:26 -0700)]
SetColorMode is not available for vendor hwc less than 1.4

Bug: 90510785
Test: VTS VtsHalGraphicsComposerV2_1Target SetColorMode(default) pass
Change-Id: Ia295b3ef2f0f433a7e1b5179eb230b8f7c649400

2 years agoMerge "Set lowPowerMode as false in StartAndGetLocations" into pi-dev
Yu-Han Yang [Fri, 1 Jun 2018 16:16:06 +0000 (16:16 +0000)]
Merge "Set lowPowerMode as false in StartAndGetLocations" into pi-dev

2 years agoSet lowPowerMode as false in StartAndGetLocations
Yu-Han Yang [Thu, 31 May 2018 22:02:41 +0000 (15:02 -0700)]
Set lowPowerMode as false in StartAndGetLocations

Bug: 80544245
Change-Id: Icf85e9b8ed433dbdb759b54c4ba7b5e7a21b7a26
Fixes: 80544245
Test: VtsHalGnssV1_1TargetTest --gtest_filter=*Blacklist*

2 years agoMerge "Modified tests to account for different directories being used based on differ...
Joshua Mccloskey [Thu, 31 May 2018 18:21:57 +0000 (18:21 +0000)]
Merge "Modified tests to account for different directories being used based on different first API levels" into pi-dev

2 years agoMerge "Minor corrections to the Keymaster4 documentation." into pi-dev
TreeHugger Robot [Thu, 31 May 2018 16:49:10 +0000 (16:49 +0000)]
Merge "Minor corrections to the Keymaster4 documentation." into pi-dev

2 years agoSnap for 4813226 from 739c3177ea3228a26ae7a8293158f417d6105dff to pi-release
android-build-team Robot [Thu, 31 May 2018 07:26:45 +0000 (07:26 +0000)]
Snap for 4813226 from 739c3177ea3228a26ae7a8293158f417d6105dff to pi-release

Change-Id: I233eb5c00cae6ca95a8c0f987bcee3afe8711248

2 years agoMerge "graphics: COLORIMETRIC is optional for HDR modes" into pi-dev
TreeHugger Robot [Wed, 30 May 2018 23:57:58 +0000 (23:57 +0000)]
Merge "graphics: COLORIMETRIC is optional for HDR modes" into pi-dev

2 years agoMinor corrections to the Keymaster4 documentation.
Shawn Willden [Thu, 24 May 2018 14:34:51 +0000 (08:34 -0600)]
Minor corrections to the Keymaster4 documentation.

Gramatical and punctuation corrections; addition of missing
userSecureId to AuthorizationList schema and removal of extraneous
rollbackResistant from same; correction of OS_PATCHLEVEL source
property; and addition of missing TAG_UNLOCKED_DEVICE_REQUIRED
documentation.

Bug: 69550260
Test: N/A
Change-Id: I04092b7df3af69201ba1467cddc09f6f44e861a8

2 years agographics: COLORIMETRIC is optional for HDR modes
Chia-I Wu [Tue, 29 May 2018 20:24:44 +0000 (13:24 -0700)]
graphics: COLORIMETRIC is optional for HDR modes

Bug: 80030364
Test: VTS
Change-Id: I2180f18e8742850f728491887475f16b1cad4791
Merged-In: I2180f18e8742850f728491887475f16b1cad4791

2 years agoMerge "Update VTS test to blacklist only non-GPS satellites" into pi-dev
Yu-Han Yang [Wed, 30 May 2018 16:17:04 +0000 (16:17 +0000)]
Merge "Update VTS test to blacklist only non-GPS satellites" into pi-dev

2 years agoSnap for 4810559 from 4f0635a2a9578cb2fb90d345346c4711b69ff139 to pi-release
android-build-team Robot [Wed, 30 May 2018 07:26:43 +0000 (07:26 +0000)]
Snap for 4810559 from 4f0635a2a9578cb2fb90d345346c4711b69ff139 to pi-release

Change-Id: I4e5de7566c5088cd548a19fd98c3dac806d1355c

2 years agoModified tests to account for different directories being used based on
joshmccloskey [Fri, 25 May 2018 23:43:58 +0000 (16:43 -0700)]
Modified tests to account for different directories being used based on
different first API levels

Fixes: 80028983
Test: Ran tests on P17 and P18
Change-Id: I2752c5b8e15dc5e3ee386b0079a75b482a21543f

2 years agoMerge "audio hal: Add 'interface' declarations for IDeviceFactory into .rc" into...
TreeHugger Robot [Tue, 29 May 2018 18:31:00 +0000 (18:31 +0000)]
Merge "audio hal: Add 'interface' declarations for IDeviceFactory into .rc" into pi-dev

2 years agoSnap for 4807121 from a12e7b7847958fd57144ea643fed971543dbf353 to pi-release
android-build-team Robot [Sun, 27 May 2018 07:27:00 +0000 (07:27 +0000)]
Snap for 4807121 from a12e7b7847958fd57144ea643fed971543dbf353 to pi-release

Change-Id: I1e83ed6567ab3b3694884f35b3dfa60f85df79f9

2 years agoMerge "confirmationui: explicitly declare only one thread." into pi-dev
TreeHugger Robot [Sat, 26 May 2018 00:15:30 +0000 (00:15 +0000)]
Merge "confirmationui: explicitly declare only one thread." into pi-dev

2 years agoMerge "Fix tire pressure sensor property" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 21:01:12 +0000 (21:01 +0000)]
Merge "Fix tire pressure sensor property" into pi-dev

2 years agoaudio hal: Add 'interface' declarations for IDeviceFactory into .rc
Mikhail Naganov [Tue, 8 May 2018 17:29:04 +0000 (10:29 -0700)]
audio hal: Add 'interface' declarations for IDeviceFactory into .rc

Declaring the interfaces allows HIDL hwservicemanager to start
the HAL service in case it has crashed before audioserver
has called 'getService'.

Bug: 80227481
Test: use the repro case from the bug
Change-Id: Ibb46beb714b3985ab373d56d92da1105cfda28c6

2 years agoMerge "Camera: add FMQ size override logic" into pi-dev
TreeHugger Robot [Fri, 25 May 2018 17:32:31 +0000 (17:32 +0000)]
Merge "Camera: add FMQ size override logic" into pi-dev

2 years agoconfirmationui: explicitly declare only one thread.
Steven Moreland [Fri, 25 May 2018 17:14:48 +0000 (10:14 -0700)]
confirmationui: explicitly declare only one thread.

Due to an unclear API, wireless_charger accidentally started
two threads.

Bug: 80102279
Test: use lshal to verify that the service only has one thread
Change-Id: Ic6bdb6ef0025173f4388f0550e00a6b4fc2e21df

2 years agoMerge "Fix default keymaster so it doesn't start an extra thread." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 23:19:06 +0000 (23:19 +0000)]
Merge "Fix default keymaster so it doesn't start an extra thread." into pi-dev

2 years agoAdd multichannel support am: c678d51bdc am: 5de1ae23f9 am: e0c3d0c3fd
Pawin Vongmasa [Thu, 24 May 2018 22:38:36 +0000 (15:38 -0700)]
Add multichannel support am: c678d51bdc am: 5de1ae23f9 am: e0c3d0c3fd
am: 006436f92f

Change-Id: I6aeba2a72185c08a15dc96468bfe6c4c45410d52

2 years agoAdd multichannel support am: c678d51bdc am: 5de1ae23f9
Pawin Vongmasa [Thu, 24 May 2018 21:23:05 +0000 (14:23 -0700)]
Add multichannel support am: c678d51bdc am: 5de1ae23f9
am: e0c3d0c3fd

Change-Id: Ieca398bea38f13621185a192d09733243febe131

2 years agoFix default keymaster so it doesn't start an extra thread.
Shawn Willden [Thu, 24 May 2018 20:42:52 +0000 (14:42 -0600)]
Fix default keymaster so it doesn't start an extra thread.

Bug: 80102279
Bug: 80251973
Test: N/A; this keymaster exists only for policy compliance. It's never used.
Change-Id: I45f0eefd9abdd02f6774aa52f238040510c5d62c

2 years agoCamera: add FMQ size override logic
Yin-Chia Yeh [Thu, 24 May 2018 17:31:56 +0000 (10:31 -0700)]
Camera: add FMQ size override logic

Test: modify FMQ size in device.mk
Bug: 80242493
Change-Id: Ie1fb12118ad53c5bbe0cf264bffaafcd3728f8db

2 years agoAdd multichannel support am: c678d51bdc
Pawin Vongmasa [Thu, 24 May 2018 17:41:15 +0000 (10:41 -0700)]
Add multichannel support am: c678d51bdc
am: 5de1ae23f9

Change-Id: Ica809012e43a3142b3d7c6098eb6c7a107da0dbf

2 years agoAdd multichannel support am: c678d51bdc am: 9886d749d4
Pawin Vongmasa [Thu, 24 May 2018 17:33:18 +0000 (10:33 -0700)]
Add multichannel support am: c678d51bdc am: 9886d749d4
am: b0da0bce66

Change-Id: I2b701daf2c12a7b0454c46d48910671f10ccb2b6

2 years agoAdd multichannel support am: c678d51bdc
Pawin Vongmasa [Thu, 24 May 2018 14:47:58 +0000 (07:47 -0700)]
Add multichannel support am: c678d51bdc
am: 9886d749d4

Change-Id: I00e53d56e7e98e54efa2e8f4bdc6928d125d0609

2 years agoAdd multichannel support
Pawin Vongmasa [Thu, 24 May 2018 14:35:52 +0000 (07:35 -0700)]
Add multichannel support
am: c678d51bdc

Change-Id: I3a3221dfecc6374b58db5bed32b7dd08d23bf2cb

2 years agoAdd multichannel support
Pawin Vongmasa [Thu, 24 May 2018 13:57:00 +0000 (06:57 -0700)]
Add multichannel support
am: c678d51bdc

Change-Id: I523732b9a00c079d84a3e594ba6b35ee09989a52

2 years agoSnap for 4801384 from 1f74538cdb297a0a2ecd4ac1cc40214e83edb11f to pi-release
android-build-team Robot [Thu, 24 May 2018 07:22:13 +0000 (07:22 +0000)]
Snap for 4801384 from 1f74538cdb297a0a2ecd4ac1cc40214e83edb11f to pi-release

Change-Id: I3f3ccc80230a48a51f2e1045779df3eee06b3679

2 years agoMerge "Move Keymaster docs into HAL" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 02:11:43 +0000 (02:11 +0000)]
Merge "Move Keymaster docs into HAL" into pi-dev

2 years agoMerge "Activate HMAC sharing check." into pi-dev
TreeHugger Robot [Thu, 24 May 2018 01:18:01 +0000 (01:18 +0000)]
Merge "Activate HMAC sharing check." into pi-dev

2 years agoFix tire pressure sensor property
Steve Paik [Tue, 22 May 2018 17:46:36 +0000 (10:46 -0700)]
Fix tire pressure sensor property

Update comment to remove reference to unused min/max values

Bug: 80102628
Test: comments updated
Change-Id: I9555ac2e6c274b52e01ce9555e8403b2b94a5036

2 years agoMerge "configstore: configstore HAL uprev'ed to 1.1" into pi-dev
TreeHugger Robot [Thu, 24 May 2018 00:50:19 +0000 (00:50 +0000)]
Merge "configstore: configstore HAL uprev'ed to 1.1" into pi-dev

2 years agoMove Keymaster docs into HAL
Shawn Willden [Thu, 17 May 2018 17:35:17 +0000 (11:35 -0600)]
Move Keymaster docs into HAL

Bug: 69550260
Test: N/A
Change-Id: Ib135e4e4060f3a89480f6784b30e9008126b3b76

2 years agoMerge "P requires 4.14.42" into pi-dev
TreeHugger Robot [Wed, 23 May 2018 23:03:54 +0000 (23:03 +0000)]
Merge "P requires 4.14.42" into pi-dev

2 years agoconfigstore: configstore HAL uprev'ed to 1.1
Jaesoo Lee [Fri, 28 Apr 2017 09:29:40 +0000 (18:29 +0900)]
configstore: configstore HAL uprev'ed to 1.1

This change provides a reference implementation of the configstore HAL
v1.1.

Bug: 69691076
Test: tested on walleye-userdebug
Change-Id: I68ee224bcbda64f6fef91e8a0f95adb32d504aad

2 years agoP requires 4.14.42
Yifan Hong [Wed, 23 May 2018 21:59:15 +0000 (14:59 -0700)]
P requires 4.14.42

Test: build and manual inspection of matrices
Change-Id: Ib5223e41c175843babe9039011fe56a616b225af
Fixes: 72409164

2 years agoMerge "Improve current program info validation." into pi-dev
Tomasz Wasilczyk [Wed, 23 May 2018 20:08:38 +0000 (20:08 +0000)]
Merge "Improve current program info validation." into pi-dev

2 years agoImprove current program info validation.
Tomasz Wasilczyk [Wed, 23 May 2018 16:56:58 +0000 (09:56 -0700)]
Improve current program info validation.

Bug: 74022658
Test: atest VtsHalBroadcastradioV2_0TargetTest
Change-Id: Ifee19249a9033363df863480e8a5da24334f5e59

2 years agoMerge "Camera: use compact copy when necessary" into pi-dev
Yin-Chia Yeh [Wed, 23 May 2018 18:41:38 +0000 (18:41 +0000)]
Merge "Camera: use compact copy when necessary" into pi-dev

2 years agoCamera: use compact copy when necessary
Yin-Chia Yeh [Thu, 17 May 2018 22:53:30 +0000 (15:53 -0700)]
Camera: use compact copy when necessary

When camera HAL sends redundant metadata (reserved space >> actual
used space), create a compact copy to save IPC overhead.

Test: Camera CTS/camera app smoke test
Bug: 79838637
Change-Id: I02657deb377c43c65d111d1fc894eb3c20ad3b8f

2 years agoActivate HMAC sharing check.
Shawn Willden [Wed, 23 May 2018 11:33:44 +0000 (05:33 -0600)]
Activate HMAC sharing check.

This had to be disabled because Qualcomm's keymaster4 returned a bad
value.

Bug: 77588764
Bug: 79698245
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ieb150d7f17c36f01acf2eeb665792594251b51ae

2 years agoSnap for 4799153 from 08009ec4be0dcb202712a2f1e2f57a3e64797f1d to pi-release
android-build-team Robot [Wed, 23 May 2018 07:26:48 +0000 (07:26 +0000)]
Snap for 4799153 from 08009ec4be0dcb202712a2f1e2f57a3e64797f1d to pi-release

Change-Id: I1aa2f0203717f12b730f006ad9458e035386059a

2 years agoMerge "blank_screen: always exit with _exit()." into pi-dev
TreeHugger Robot [Tue, 22 May 2018 23:52:33 +0000 (23:52 +0000)]
Merge "blank_screen: always exit with _exit()." into pi-dev

2 years agoblank_screen: always exit with _exit().
Steven Moreland [Tue, 22 May 2018 22:23:41 +0000 (15:23 -0700)]
blank_screen: always exit with _exit().

Delay starting the threadpool until necessary,
and once started, always exit with _exit().

Bug: 77934844
Test: screen is blanked on reboot
Change-Id: I7715d889a6f78b9ce058fb3841ef7944116d8e82

2 years agographics: fix readback buffer tests
Chia-I Wu [Tue, 22 May 2018 17:58:48 +0000 (10:58 -0700)]
graphics: fix readback buffer tests

Make readback buffer support optional.  Fix incorrect use of
setReadbackBuffer and getReadbackBufferFence.

Bug:  80030364
Test: VTS
Change-Id: I278a031c3c086ac38c460b7076a2952db57a91a4
Merged-In: I278a031c3c086ac38c460b7076a2952db57a91a4

2 years agoUpdate VTS test to blacklist only non-GPS satellites
Yu-Han Yang [Wed, 16 May 2018 20:31:24 +0000 (13:31 -0700)]
Update VTS test to blacklist only non-GPS satellites

Bug: 79481978
Change-Id: Ieef04d816448d37ae54c61375db4955d4d3a24d7
Fixes: 79481978
Test: make vts

2 years agoSnap for 4796401 from 3fea05cd400172194adfb5fe8fe5c0e25ca292ab to pi-release
android-build-team Robot [Tue, 22 May 2018 07:23:03 +0000 (07:23 +0000)]
Snap for 4796401 from 3fea05cd400172194adfb5fe8fe5c0e25ca292ab to pi-release

Change-Id: I08de94d3b4c271aad8fa7726b6fd64fd9c4e09d1

2 years agoFix name of Wheel to VehicleAreaWheel
Scott Randolph [Thu, 3 May 2018 22:15:16 +0000 (15:15 -0700)]
Fix name of Wheel to VehicleAreaWheel

All but this enum follow the naming pattern.  Now Wheels do too.

Test:  Build Mojave and Owl
Bug: 79995183
Change-Id: Ifa9efd50aaae13ac7f437c5efe8cf70aa64218e9

2 years agoMerge "Remove ConfigFlags" into pi-dev
TreeHugger Robot [Mon, 21 May 2018 22:26:28 +0000 (22:26 +0000)]
Merge "Remove ConfigFlags" into pi-dev

2 years agoMerge "[AWARE] Developer documentation on HAL usage" into pi-dev
TreeHugger Robot [Mon, 21 May 2018 20:43:04 +0000 (20:43 +0000)]
Merge "[AWARE] Developer documentation on HAL usage" into pi-dev

2 years agoSnap for 4793185 from cce4c95c1c4bd47ffb1c35605afc90fa288611e2 to pi-release
android-build-team Robot [Sun, 20 May 2018 07:26:30 +0000 (07:26 +0000)]
Snap for 4793185 from cce4c95c1c4bd47ffb1c35605afc90fa288611e2 to pi-release

Change-Id: Ia503eccd16693022b312749277fa6b09d0bd3caa

2 years agoMerge "Update comments for doc comments." into pi-dev
TreeHugger Robot [Sat, 19 May 2018 01:32:44 +0000 (01:32 +0000)]
Merge "Update comments for doc comments." into pi-dev

2 years agoMerge "wifi(implementation) Modify OWNERS" into pi-dev
Roshan Pius [Sat, 19 May 2018 01:09:28 +0000 (01:09 +0000)]
Merge "wifi(implementation) Modify OWNERS" into pi-dev

2 years agowifi(implementation) Modify OWNERS
Roshan Pius [Fri, 18 May 2018 23:54:56 +0000 (16:54 -0700)]
wifi(implementation) Modify OWNERS

Bug: 73403966
Change-Id: I3cedb25e43a9adaabcf7bc629f9ac985f06cdb8b

2 years agoMerge "Update default config areaId's" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:00:29 +0000 (20:00 +0000)]
Merge "Update default config areaId's" into pi-dev

2 years ago[AWARE] Developer documentation on HAL usage
Etan Cohen [Fri, 18 May 2018 17:18:58 +0000 (10:18 -0700)]
[AWARE] Developer documentation on HAL usage

Add documentation specifying which HAL APIs are used by the
framework.

Bug: 79431608
Test: N/A
Change-Id: Ie5b1da7b9a613d17df61351b067819a4d765a762

2 years agoUpdate comments for doc comments.
Steven Moreland [Thu, 17 May 2018 21:32:17 +0000 (14:32 -0700)]
Update comments for doc comments.

Doc comments look like "/** ... */" and they
can only be in certain places.

Bug: 79865343
Test: m
Change-Id: Ic15c08ff7dc6e4f9827c1dbe7f7236c11a572ec1

2 years agoMerge "VTS tests should be static" into pi-dev
Kevin Rocard [Fri, 18 May 2018 01:46:43 +0000 (01:46 +0000)]
Merge "VTS tests should be static" into pi-dev

2 years agoMerge "Camera: Append non-partial results" into pi-dev
TreeHugger Robot [Thu, 17 May 2018 16:38:03 +0000 (16:38 +0000)]
Merge "Camera: Append non-partial results" into pi-dev

2 years agoSnap for 4787078 from 3569b0273f63084f3304df1e7870e02d9c5d4c2b to pi-release
android-build-team Robot [Thu, 17 May 2018 07:26:04 +0000 (07:26 +0000)]
Snap for 4787078 from 3569b0273f63084f3304df1e7870e02d9c5d4c2b to pi-release

Change-Id: I8798ce790414a1e314c8c006699fa1fe31a046e7

2 years agoVTS tests should be static
Kevin Rocard [Tue, 15 May 2018 02:42:05 +0000 (19:42 -0700)]
VTS tests should be static

VTS tests can only depend on NDK shared libraries,
they are pushed and run on older desert version.

In theory the VTS tests should be built against the NDK,
but this is not possible due to all the system dependencies.

Bug: 78871270
Test: compile
Change-Id: I48fbffd0316efc151917071c54aa19e533c615df
Signed-off-by: Kevin Rocard <krocard@google.com>
2 years agoRemove ConfigFlags
Steve Paik [Thu, 17 May 2018 00:41:33 +0000 (17:41 -0700)]
Remove ConfigFlags

ConfigArray replaces the need for configFlags.  Deprecate this before it
gets released.

Bug: 74133619
Test: grep -ril configflag shows all instances removed
Change-Id: I645862507959738eb2739e70a53827b749e88aeb

2 years agoUpdate default config areaId's
Steve Paik [Wed, 16 May 2018 01:25:24 +0000 (18:25 -0700)]
Update default config areaId's

Bug: 79752968
Test: Embedded Kitchen Sink

Change-Id: I9b32c22ae2f141c1ead7d3969186fa513e785ccf

2 years agoMerge changes from topic "pi_matrix" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 22:32:30 +0000 (22:32 +0000)]
Merge changes from topic "pi_matrix" into pi-dev

* changes:
  matrix: broadcastradio@2.0::IBroadcastRadio/.*
  matrix: nn@1.0-1
  matrix: graphics.mapper@2.0-1
  matrix: graphics.composer@2.1-2

2 years agoMerge "Composer 2.2: Fix readback docs" into pi-dev
TreeHugger Robot [Wed, 16 May 2018 22:27:25 +0000 (22:27 +0000)]
Merge "Composer 2.2: Fix readback docs" into pi-dev

2 years agoMerge "Update kernel minor revision for P." into pi-dev
TreeHugger Robot [Wed, 16 May 2018 21:47:22 +0000 (21:47 +0000)]
Merge "Update kernel minor revision for P." into pi-dev

2 years agomatrix: broadcastradio@2.0::IBroadcastRadio/.*
Yifan Hong [Wed, 16 May 2018 21:31:19 +0000 (14:31 -0700)]
matrix: broadcastradio@2.0::IBroadcastRadio/.*

Test: builds
Bug: 79871481
Change-Id: Icd81124f74f60443f48322ab882cb6170b61ebb7

2 years agomatrix: nn@1.0-1
Yifan Hong [Wed, 16 May 2018 21:28:10 +0000 (14:28 -0700)]
matrix: nn@1.0-1

Test: builds
Bug: 79871481
Change-Id: I5d68a32dbbe740738e202aebf9cf867a39f48be8

2 years agomatrix: graphics.mapper@2.0-1
Yifan Hong [Wed, 16 May 2018 21:27:37 +0000 (14:27 -0700)]
matrix: graphics.mapper@2.0-1

Test: builds
Bug: 79871481
Change-Id: I32accd4f4a20843c3491b1e5fa4508107bb275cd

2 years agomatrix: graphics.composer@2.1-2
Yifan Hong [Wed, 16 May 2018 21:26:41 +0000 (14:26 -0700)]
matrix: graphics.composer@2.1-2

Test: builds
Bug: 79871481
Change-Id: Icaa31db4b6c5795474fd423a3ac65562fb6a6e6d

2 years agoComposer 2.2: Fix readback docs
Dan Stoza [Tue, 15 May 2018 20:11:24 +0000 (13:11 -0700)]
Composer 2.2: Fix readback docs

Fixes a couple of problems with the return codes in the readback
documentation and adds a paragraph of clarification about when
getReadbackBufferAttributes will be called.

Bug: 67048889
Test: N/A, doc fix only
Change-Id: Ic91b8db207c1b4b1f18777bd316279747506149b

2 years agoMerge "Add feature flag to disable wifi AP on the watch." into pi-dev
Nick James [Wed, 16 May 2018 21:17:33 +0000 (21:17 +0000)]
Merge "Add feature flag to disable wifi AP on the watch." into pi-dev

2 years agoCamera: Append non-partial results
Emilian Peev [Wed, 16 May 2018 18:04:35 +0000 (19:04 +0100)]
Camera: Append non-partial results

Bug: 79133095
Test: run vts --skip-all-system-status-check --skip-preconditions
--primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: Iac1318dfc095fb961b815d35bbff6b6a97173a05