Commit Graph

20663 Commits

Author SHA1 Message Date
Tomasz Wasilczyk
f154585376 Convert CAN bus HAL VTS to parametrized gtest
Test: VTS
Bug: 150312861
Change-Id: Ib106a5d075d3189a57306f2b7283293e448a147d
2020-02-26 15:32:04 -08:00
Jayant Chowdhary
6ae828b6f0 ICameraProvider@2.6: Add documentation about resource cost constraints for concurrent camera combinations.
- Also clarify requirements for MONOCHROME devices supporting Y8 outputs.

Bug: 150225538

Test: builds (doc change only)

Change-Id: I992f1bcee4bf266b6e66ddb32ece8291381c8e56
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-26 22:44:00 +00:00
Miao Wang
34dfa2f74c Add more tests exercising IPreparedModel::executeFenced API
- executeFenced with device memory
  - executeFenced with depending sync fences

Bug: 148979873
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I772c5c85f75cee56e2af06470c2de5b810f8078d
2020-02-26 13:17:22 -08:00
Tianjie Xu
23f890c474 Move libboot_control to boot_control 1.1
It should belong to the default /misc implementation of boot control
1.1. Right now, the library as well as the bootloader_message_ab
are only used by cuttlefish. So move it over to reduce the confusion
in libbootloader_message.

Bug: 131775112
Test: build
Change-Id: I599678bf90d19718de811b9e34d82cf8fe1571a4
(cherry picked from commit c971ea8d5d)
2020-02-26 12:23:00 -08:00
TreeHugger Robot
3e9669ff69 Merge "Add callback for output stream." into rvc-dev 2020-02-26 18:32:40 +00:00
Marissa Ikonomidis
a66c632f8f Merge "gralloc4-vts: don't wait on invalid sync fence" into rvc-dev 2020-02-26 18:05:47 +00:00
Marissa Ikonomidis
f1b3ea2398 Merge "gralloc4-vts: correctly instantiate std::optional" into rvc-dev 2020-02-26 18:05:06 +00:00
TreeHugger Robot
15f12a26fb Merge "composer: vts: check that refresh rate stays the same on inactivity" into rvc-dev 2020-02-26 10:11:31 +00:00
Arthur Ishiguro
85c4ad2351 Starts default Context Hub HAL in context_hub group
Also adds group to default sensors HAL.

Bug: 149981913
Test: Compile
Change-Id: Ib9178dd9ad0a92821cfebe82f09e8819b42a42f7
2020-02-25 18:01:37 -08:00
Ady Abraham
9c1d0adb3f composer: vts: check that refresh rate stays the same on inactivity
Bug: 147890947
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I9e1bc1325701ca1603251cc499712f11aa86d30e
2020-02-25 17:44:31 -08:00
TreeHugger Robot
74a1dce5bd Merge "gralloc4: Add RAW PlaneLayoutComponentType" into rvc-dev 2020-02-25 22:25:41 +00:00
TreeHugger Robot
d2afe97fe6 Merge "gralloc4-vts: fix bad comparisions in VTS" into rvc-dev 2020-02-25 21:52:27 +00:00
Sarah Chin
3d6fafbf00 Convert VtsHalRadioV1_5TargetTest to parameterized gtest
Test: make cf_x86_phone-userdebug, mm
Test: atest VtsHalRadioV1_5Target
Bug: 148816663
Change-Id: I708cc7335f539379d4e676dc0a6541a6c98d43bb
2020-02-25 13:33:09 -08:00
Andy Hung
77d161d09e Merge "audio hal: Update offload configuration" into rvc-dev 2020-02-25 21:04:00 +00:00
Marissa Wall
de19a7e614 gralloc4-vts: don't wait on invalid sync fence
Sync fences can be invalid if the buffer is already ready. If the
fence is invalid, we do not need to wait.

Test: VtsHalGraphicsMapperV4_0
Bug: 150213134

Change-Id: I8326d5f8b358c466ee9a686fd299daed1d4b4aa8
2020-02-25 17:44:46 +00:00
Marissa Wall
e6e1b68449 gralloc4: Add RAW PlaneLayoutComponentType
RAW12 and RAW16 buffers need a PlaneLayoutComponentType. Add a RAW
type so vendors don't have to add private RAW types.

Test: VtsHalGraphicsMapperV4_0
Bug: 149869426

Change-Id: Idf1fa609e3a1506c3c87af22d4c548cf1218fad1
2020-02-25 17:44:34 +00:00
Marissa Wall
e2127863fb gralloc4-vts: correctly instantiate std::optional
std::optional defaults to containing std::nullopt_t. Using "->" or
"." on an std::optional object that does not contain a value is
undefined. Clang seems to ignore the whole line.

SetSmpte2086 and SetCta861_3 both incorrectly instantiate their
std::optional types. The std::optional types contain std::nullopt_t
when they are passed into encode. When mapper decodes the fields,
they are empty.

Update std::optionals to be instantiated correctly.

Bug: 149931805
Test: VtsHalGraphicsMapperV4_0

Change-Id: I046242f8261a5378228231b89b2eedec242667cb
2020-02-25 17:43:29 +00:00
Marissa Wall
3a7515065b gralloc4-vts: fix bad comparisions in VTS
The parameter order of a couple checks is wrong.

For example:
EXPECT_GT(val1, val2) is EXPECT_TRUE(val1 > val2)
so EXPECT_GT(0, X) can never be true.

Update the tests to be correct.

Test: VtsHalGraphicsMapperV4_0
Bug: 149739702

Change-Id: I21070a912b6014acc5feb63b6b19912b45fe8f5f
2020-02-25 17:43:21 +00:00
jiabin
5d11612694 Add callback for output stream.
The callback is targeted for events related to an output stream.
Currently, there is one callback event defined, which is codec
format changed event.

Bug: 133526565
Test: manual
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I73a4914c1ffc30e1c88b8fedd61a031e24a069f6
2020-02-25 09:08:26 -08:00
Steven Moreland
bfefeddfef Merge "Clarify new setRadioPower documentation" into rvc-dev 2020-02-25 17:06:14 +00:00
Andy Hung
7aab1010d4 audio hal: Update offload configuration
Test: no regression with offloaded Play Music
Bug: 133526565
Merged-In: Ie655a96503be5a4ad1660d4b2183b01e514452fd
Change-Id: Ie655a96503be5a4ad1660d4b2183b01e514452fd
(cherry picked from commit c91b679ac1)
2020-02-25 09:06:09 -08:00
Sarah Chin
8f4e79a646 Remove IRadioConfig 1.3 hash
Bad merge conflict resolution when removing IRadioConfig 1.3

Bug: 149522248
Test: mm cf_x86_phone-userdebug
Change-Id: I055b94a2bf275d9ed5ecff6f271e8204e6ee7c0b
2020-02-25 01:19:49 +00:00
Brad Ebinger
92747ce5d1 Clarify new setRadioPower documentation
There were some questions on how the new IRadio 1.5 setRadioPower
command should be implemented based on vendor feedback. This CL
clarifies this behavior.

Test: manual
Bug: 143683674
Bug: 147496715
Merged-In: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
Change-Id: If08741f0ea156a5c2656a47e46f7e1f98bf54ec4
(cherry picked from commit 0eac27ccf3)
2020-02-25 01:16:15 +00:00
Changyeon Jo
2056c2da3b Parameterize VtsEvsHalV1_1TargetTest
Bug: 142397658
Bug: 142275664
Test: VtsHalEvsV1_1Target
Change-Id: I5e0a65e6200626c606c1c015942274d2098ee7ed
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-23 19:21:37 -08:00
Andy Hung
6f3fdba631 Merge changes from topics "fix-b-133526565-setters-getters", "fix-b-133526565-setters-getters-2"
* changes:
  audio: Add playback rate parameters to IStreamOut
  audio: Add Dual Mono Mode and Audio Description Mix Level to IStreamOut
2020-02-21 23:37:33 +00:00
Tanmay Patil
5cd7390407 Merge changes from topic "UltrasonicsEVS"
* changes:
  Add VTS for Ultrasonics to EVS 1.1
  Adds default implementation for ultrasonics HAL
  Adds HAL for ultrasonics to EVS 1.1
2020-02-21 23:33:42 +00:00
TreeHugger Robot
e69d939378 Merge "Add hash value for the interfaces in Tuner HAL" 2020-02-21 22:54:41 +00:00
Yin-Chia Yeh
24bcd6340c Merge "Camera: clarify depth camera requirement for OFFLINE_PROCESSING" 2020-02-21 21:43:49 +00:00
Henry Fang
b7a0685c9c Add hash value for the interfaces in Tuner HAL
bug: 148110220
Test: Manual
Change-Id: If73f5fc2cd17e6c784b5386b025003b716658dd2
2020-02-21 13:01:55 -08:00
Kai Wang
653916fb29 Merge "Add property for multiple ev port locations" 2020-02-21 20:52:03 +00:00
Automerger Merge Worker
b141a23957 Merge "confirmationui: Add portability test" am: 7e6517f8e9 am: f04431c792 am: 7ff76b4eb4
Change-Id: I9ddba56dcca9a0325fc09e5b38215a4e73875bdf
2020-02-21 20:11:00 +00:00
Automerger Merge Worker
7ff76b4eb4 Merge "confirmationui: Add portability test" am: 7e6517f8e9 am: f04431c792
Change-Id: Ia38cdbda17b786960107829aa8559fa90dfe784b
2020-02-21 19:45:59 +00:00
Automerger Merge Worker
f04431c792 Merge "confirmationui: Add portability test" am: 7e6517f8e9
Change-Id: I9da903b8611fba5be0b0255870fb845bb19c55eb
2020-02-21 19:26:11 +00:00
Janis Danisevskis
7e6517f8e9 Merge "confirmationui: Add portability test" 2020-02-21 19:13:12 +00:00
Automerger Merge Worker
62d4f33e88 [automerger skipped] IDumpstateDevice 1.1 tweak: "device" -> "verbose" am: 84dbf58f3c am: 1ba075c9e1 am: d521d02c75 -s ours
am skip reason: Change-Id Ib71ce43e9168d82fd9ee0564db813c5a3538c459 with SHA-1 09c8b5ba59 is in history

Change-Id: I53f6db496bf54998202fa61e2ca35c900608ad11
2020-02-21 16:14:17 +00:00
Automerger Merge Worker
d521d02c75 IDumpstateDevice 1.1 tweak: "device" -> "verbose" am: 84dbf58f3c am: 1ba075c9e1
Change-Id: Ic2075e6793b0831ee6a46b3bac5e01a0b1ddcce8
2020-02-21 15:59:04 +00:00
Automerger Merge Worker
1ba075c9e1 IDumpstateDevice 1.1 tweak: "device" -> "verbose" am: 84dbf58f3c
Change-Id: Id339628165bc246241782a8a2851b0ee35a9a2b2
2020-02-21 15:41:32 +00:00
Haoxiang Li
4f5188ae50 [SV HIDL] VTS Test for Surround View
Bug: 148618804

Test: atest -c VtsHalSurroundViewV1_0TargetTest

Change-Id: I1c6bfa77adb699ab80337497aac4582861315bcd
2020-02-21 06:29:43 +00:00
Haoxiang Li
a4a81e3829 [SV HIDL] Default implementation for Surround View
Bug: 148618804

Test: atest -c VtsHalSurroundViewV1_0TargetTest (tested together with Change-id I1c6bfa77adb699ab80337497aac4582861315bcd)

Change-Id: Ibc9e32d9cc6c93ca71f34bc54e3bdecdf2c4dba2
2020-02-21 06:29:27 +00:00
Haoxiang Li
6bdb811fa7 [SV HIDL] Adds HAL interfaces for surround view.
Bug: 148618804

Test: Build passed.

Change-Id: Ie5d8540258d456408394e9ac4256db764f6b3cd7
2020-02-21 06:29:13 +00:00
Lev Proleev
fe31a4dfa8 Merge "Add align_corners and half_pixel_centers parameters to resize ops" 2020-02-21 06:08:51 +00:00
Tanmay Patil
d91f1c3e97 Add VTS for Ultrasonics to EVS 1.1
Bug: 148619310

Test:  atest VtsHalEvsV1_1TargetTest

Change-Id: If91bce64cf06fd374b3829b0f01804bdc375197d
2020-02-20 17:50:35 -08:00
Tanmay Patil
b97cceb495 Adds default implementation for ultrasonics HAL
- Replicates logic from camera for default impl.

Bug: 148619310
Fixes: b/148608401
Test: Builds, VTS passes.

Change-Id: I5c1b4c615f98cb7405a9a233a7853daba09cc63d
2020-02-20 16:50:58 -08:00
Janis Danisevskis
8d4f06f1f3 confirmationui: Add portability test
Add a test that starts the dialog with some Confirmation strings that
need to be supported to provide portability guarantees.

Bug: 149954317
Test: VtsHalConfirmationUIV1_0TargetTest
Change-Id: Ie6961848d41b7d23d13b85702330682c755a9bbc
2020-02-20 16:38:25 -08:00
Ahmed ElArabawy
c4ae073b9a Merge "Wifi: Add support for mapping DSCP to Wifi AC" 2020-02-21 00:23:06 +00:00
TreeHugger Robot
4598e7b918 Merge "Add rotary interface to VHAL." 2020-02-20 23:14:57 +00:00
Yin-Chia Yeh
6e082e8581 Camera: clarify depth camera requirement for OFFLINE_PROCESSING
Test: build (doc only change)
Bug: 135142453
Change-Id: I48589e6f7fad6ff291a57de305b4a549dbb843b2
2020-02-20 22:44:27 +00:00
TreeHugger Robot
7704cfb914 Merge "gralloc4-vts: setting USAGE is always BAD_VALUE" 2020-02-20 21:15:43 +00:00
Hunter Knepshield
84dbf58f3c IDumpstateDevice 1.1 tweak: "device" -> "verbose"
Pixel has been dumping some non-sensitive information in bug reports
using IDumpstateDevice for a long time, and requiring nothing to be
dumped on user builds by default suddenly changes behavior.

To account for this use case, we instead change the meaning of the
toggle to control *verbose* logging, specifically anything with privacy,
storage, or battery impact.

VTS tests are updated appropriately.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
Merged-In: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
(cherry picked from commit 09c8b5ba59)
2020-02-20 12:48:55 -08:00
Mikhail Naganov
973e4d33b5 audio: Add playback rate parameters to IStreamOut
Playback rate parameters allow changing the playback speed
of audio streams optionally preserving the pitch (this is
often referred to as "timestretch"). HALs can apply these
parameters when decoding of streams is done in hardware.

Bug: 133526565
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: Ie78cd924bd034b57bf5b6a74affd62641ffc0aba
2020-02-20 11:13:14 -08:00