Commit Graph

20389 Commits

Author SHA1 Message Date
Yifan Hong
107aff14ff Merge "Drop GNSS1.1 and Thermal1.0" into rvc-dev 2020-03-21 00:17:21 +00:00
TreeHugger Robot
104fe8332f Merge "Camera: Avoid adding uninitialized hal requests" into rvc-dev 2020-03-20 17:59:15 +00:00
Steven Moreland
5f4b632312 Merge "sort 'HALs released in Android R'" into rvc-dev 2020-03-20 16:25:02 +00:00
Mikhail Naganov
6d0d85d9b2 Merge "audio: Check result from oneway calls" into rvc-dev 2020-03-20 01:57:54 +00:00
Steven Moreland
9b4ec5b259 Merge "Remove identity@1.0 from current.txt" into rvc-dev 2020-03-19 21:43:17 +00:00
Mikhail Naganov
2adec4f116 audio: Check result from oneway calls
As oneway HIDL calls generate methods that return 'Result<void>',
the returned value must be checked to avoid triggering an
assertion if the result was an error (e.g. due to the client death).

Bug: 151900655
Test: N/A
Change-Id: I4721240b5959d6f11cb4447b30928bf4c83da058
2020-03-19 20:39:12 +00:00
Steven Moreland
891b838925 sort 'HALs released in Android R'
For this section 'sort -k2'.

Bug: 147496715
Test: continues to compile (checks hashes)
Change-Id: I4dfcb24e5e864d1271e5e2a7e06619ef8ab9bb35
2020-03-19 12:09:15 -07:00
Pawin Vongmasa
be4c3a1a03 [automerger skipped] RESTRICT AUTOMERGE Relax timeout for all operations am: fcba82540c -s ours am: dd7bee61d1 -s ours am: 40afddbbe2 am: e316a627cf -s ours
am skip reason: subject contains skip directive

Change-Id: I71833ed1e2d2541067d900ce4e461f44dfd7fda2
2020-03-19 19:08:46 +00:00
Steven Moreland
c2a724ef5f Remove identity@1.0 from current.txt
It does not exist.

Fixes: 151954406
Test: aosp-changes-report no longer shows identity as being incorrectly
    added
Change-Id: I878f8719175188c718d249251d051ff616def891
2020-03-19 11:54:54 -07:00
Pawin Vongmasa
e316a627cf [automerger skipped] RESTRICT AUTOMERGE Relax timeout for all operations am: fcba82540c -s ours am: dd7bee61d1 -s ours am: 40afddbbe2
Change-Id: Ib9564e844bdf1db6ec766b53958e67fb04def705
2020-03-19 18:48:15 +00:00
Pawin Vongmasa
40afddbbe2 [automerger skipped] RESTRICT AUTOMERGE Relax timeout for all operations am: fcba82540c -s ours am: dd7bee61d1 -s ours
am skip reason: subject contains skip directive

Change-Id: I21063c1b113889ab4db26464a51f5c25f6612fb7
2020-03-19 18:37:23 +00:00
Pawin Vongmasa
dd7bee61d1 [automerger skipped] RESTRICT AUTOMERGE Relax timeout for all operations am: fcba82540c -s ours
am skip reason: subject contains skip directive

Change-Id: I5a22c4050ac8a87c22f7546cc9aad349e05565d9
2020-03-19 18:14:39 +00:00
Sundong Ahn
b7eaa14fe6 Merge "Add disable_configstore" into rvc-dev 2020-03-19 00:26:37 +00:00
Pawin Vongmasa
fcba82540c RESTRICT AUTOMERGE Relax timeout for all operations
Test: make vts -j123 && vts-tradefed run commandAndExit vts \
-m VtsHalMediaOmxV1_0Host

Bug: 70933963
Change-Id: I01e53e9e4e78e4bc5fd11f4e931d703c4fb5407d
2020-03-18 17:25:35 -07:00
TreeHugger Robot
7bf05d75bc Merge "Camera: Advertise numbered string ID for external cameras" into rvc-dev 2020-03-18 21:47:01 +00:00
Xusong Wang
60f116b1fc Merge "Exclude invalid test models from QuantizationCouplingTest." into rvc-dev 2020-03-18 21:35:21 +00:00
Kai Wang
e5a22f2fa1 Merge "Add timestamp for continuously property." into rvc-dev 2020-03-18 17:47:04 +00:00
Sundong Ahn
11a113a67e Add disable_configstore
The disable_configstore is added to disable configstore when API level
is less than or equal to 29.

Bug: 150761042
Test: Add disable_configstore to PRODUCT_PACKAGES && build && check
configstore service

Change-Id: Iac01bb375a5c4080c0e110213c64041ea823ed68
Merged-In: Iac01bb375a5c4080c0e110213c64041ea823ed68
(cherry picked from commit d864334675e83a75c0343510cff3fc90ffb14c51)
2020-03-18 09:06:19 +09:00
Kai
47a9378d4d Add timestamp for continuously property.
Bug: 148960132
Test: 1. apply google vhal to device
      2. atest CtsCarTestCases:CarPropertyManagerTest

Change-Id: Ib6690b5e242287958017c87632f56a546d418674
2020-03-17 22:46:06 +00:00
Yu-Han Yang
6668eab9dc Update inter-signal bias (HAL)
- Rename recieverInterSignalBiasNs into interSignalBiasNs, which refers
to the sum of receiver ISB and satellite ISB.

Bug: 150724332

Test: atest VtsHalGnssV2_1TargetTest

Change-Id: Ifae15cb482bc12e793a481fec7847c817ef3c34d
2020-03-17 20:42:32 +00:00
Yifan Hong
a561f539fc Merge "Add automotive.can to current matrix." into rvc-dev 2020-03-17 01:24:42 +00:00
Xusong Wang
962fdb26ca Exclude invalid test models from QuantizationCouplingTest.
Bug: 151674996
Test: 1.3 VTS
Change-Id: I381eb6d39926054279f1791bd71d28a963acc0b9
2020-03-16 17:13:41 -07:00
Yifan Hong
0e781cf922 Add automotive.can to current matrix.
ICanBus/.*
ICanController/.*

Bug: 131717099
Test: pass
Change-Id: Id9fe289af7e45752eddb45d07deac6352e4710fb
2020-03-16 20:12:02 +00:00
Yifan Hong
43cc37d88f Add identity HAL to current matrix.
Test: m check-vintf-all
Bug: 131717099
Change-Id: I91c68af8c8456105f35ee701ed9f08135e56e6f5
Merged-In: I91c68af8c8456105f35ee701ed9f08135e56e6f5
2020-03-16 17:26:33 +00:00
TreeHugger Robot
140597c6a0 Merge "Fix VTS of fenced execution with zero-sized output." into rvc-dev 2020-03-14 02:16:31 +00:00
Yifan Hong
dbadfe396b Drop GNSS1.1 and Thermal1.0
These two are added because checkUnusedHals does not check for
inheritance. These two HALs are considered deprecated and are dropped
from the current matrix.

They are dropped from matrix.4.xml too because
GnssHalVersionCompatibility and ThermalHalVersionCompatibility ensures
devices with target FCM version 4 must implement GNSS2.0 and thermal
2.0.

Bug: 131717099
Test: m check-vintf-all

Change-Id: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
Merged-In: I2c7cbf8f51925e55026a9f85382c8a22897eabaa
2020-03-13 15:31:32 -07:00
Xusong Wang
5882d6d911 Fix VTS of fenced execution with zero-sized output.
Fixes: 151441390
Test: 1.3 VTS
Change-Id: I100329e18c34c377d217af155c2abc8e67078778
Merged-In: I100329e18c34c377d217af155c2abc8e67078778
(cherry picked from commit 9fcccf8b85)
2020-03-13 15:15:39 -07:00
Michael Butler
b715967a15 Merge "NNAPI VTS: Add validation for Priority" into rvc-dev 2020-03-13 22:13:12 +00:00
TreeHugger Robot
ae7e3c0765 Merge "Remove duplicated comment section" into rvc-dev 2020-03-13 20:41:29 +00:00
Michael Butler
f0d0616d7c Merge "NNAPI VTS: decouple 1.2 tests from 1.3 types" into rvc-dev 2020-03-13 20:04:25 +00:00
Michael Butler
4876af1ba1 NNAPI VTS: decouple 1.2 tests from 1.3 types
Bug: 141718368
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest
Change-Id: Ied7b95e146e4d2d95622642bfbb959cf134b5a7a
2020-03-13 19:59:43 +00:00
Paul Crowley
f06684acab Use a constant-time MAX function
Bug: 146520538
Test: atest HadamardTest
Change-Id: Ife1012c14d697141e6ee0c583dc32eaacdb72b73
Merged-In: Ife1012c14d697141e6ee0c583dc32eaacdb72b73
(cherry picked from commit b0d2062abe)
2020-03-13 15:22:23 +00:00
TreeHugger Robot
e039ebadfd Merge "Clarify supported ranks for new ops in R" into rvc-dev 2020-03-13 11:46:52 +00:00
Anton D. Kachalov
34cdbcde50 Camera: Advertise numbered string ID for external cameras
With current implementation cameraId is part of something like:

  device@3.5/external//dev/video0

This doesn't work well with Camera2 API based apps.

Adding CameraIdOffset tag to Provider as a base offset.

Test: presubmit builds
Bug: 151350336

Merged-In: I6309d16be565616f048fb24a70e9be5b2f5ed480
Change-Id: I6309d16be565616f048fb24a70e9be5b2f5ed480
(cherry picked from commit 4f6022ae5d)
2020-03-12 21:21:09 +00:00
Michael Butler
da1a692880 NNAPI VTS: Add validation for Priority
This CL also cleans up the validation framework code.

Bug: 67828197
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest
Change-Id: I84661fb2b8204148788d10425ca0ac986158b15f
2020-03-12 11:29:08 -07:00
Huihong Luo
0d3722f966 Merge "Don't send brightness to car service inside Emulator" into rvc-dev 2020-03-12 16:15:51 +00:00
Lev Proleev
f161cc74a1 Clarify supported ranks for new ops in R
Fix: 151108533
Test: mma
Change-Id: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
2020-03-12 13:34:18 +00:00
Huihong Luo
034c9bc96e Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
Merged-In: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
(cherry picked from commit 5d463fdaaa)
2020-03-11 19:34:00 -07:00
Automerger Merge Worker
a60a366c6d [automerger skipped] Don't send brightness to car service inside Emulator am: 092efbd9f4 -s ours
am skip reason: skipped by user huisinro

Change-Id: I5f5a1611de9c6bf9413490ffc4c7631c47819016
2020-03-12 00:40:00 +00:00
Harpreet \"Eli\" Sangha
7aec50208c vibrator: aidl: Apply Compose API Feedback
- Make Thud and Spin optional due to complexity.
- Make "scale" inclusive of zero, which represents minimum "feelable"
  intensity.
- Update VTS tests appropriately.
- Fix typo in VTS test names.

Bug: 151084263
Test: VTS on Flame, Walleye, and Cuttlefish
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
Change-Id: Ib0d046be83ee79ab38e0b9c3fb87a41f23879f8b
2020-03-12 05:49:35 +09:00
Huihong Luo
092efbd9f4 Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
Merged-In: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
2020-03-11 10:39:48 -07:00
Henry Fang
b74b76cc5e Merge " Convert VtsHalCasV1_2TargetTest to parameterized gtest" into rvc-dev 2020-03-11 01:31:40 +00:00
TreeHugger Robot
c06301cc5b Merge "vibrator: aidl: Remove Output Checks on Error" into rvc-dev 2020-03-11 00:20:22 +00:00
TreeHugger Robot
68dbdf4a48 Merge "gralloc4-vts: fix GetLargeReservedRegion test" into rvc-dev 2020-03-10 23:05:49 +00:00
Harpreet \"Eli\" Sangha
8922e56088 vibrator: aidl: Remove Output Checks on Error
VTS tests should treat output values as uninitialized when the returns
status is not OK.

Bug: 151174217
Test: Ran on Flame and Walleye
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
Change-Id: I8a3fa77d35265b6dd371caace18ffb810e83a72f
2020-03-11 06:53:39 +09:00
Henry Fang
9347054f3c Convert VtsHalCasV1_2TargetTest to parameterized gtest
bug: 148815882
Test: Manual
Change-Id: I9f8de920867d8eb78819ad6efbe0f0d559c99c60
2020-03-10 14:32:02 -07:00
Valerie Hau
9fe0114a33 Merge "vts: VtsHalGraphicsMapperV2_1TargetTest fixup's" into rvc-dev 2020-03-10 21:21:21 +00:00
TreeHugger Robot
8f3fee6216 Merge "Bugfix: add "override" explicitly to make the compiler happy" into rvc-dev 2020-03-10 20:58:52 +00:00
Jason Macnak
c1b5b52c70 gralloc4-vts: fix GetLargeReservedRegion test
The existing test never assigns a handle to bufferHandle so
mGralloc->getReservedRegion() will always be called with
nullptr and will always return with BAD_BUFFER.

Bug: b/146515640
Test: VtsHalGraphicsMapperV4_0Target
Change-Id: I85dac94956c6b9db5b4a19faeb16fc947f7457e1
2020-03-10 13:39:49 -07:00
TreeHugger Robot
ce3f17e662 Merge "Update audio VTS source code to match the change in AudioPolicyConfig" into rvc-dev 2020-03-10 19:07:24 +00:00