Commit graph

20249 commits

Author SHA1 Message Date
Amy
d2ee30021f Refactor Tuner VTS filter part
Test: cuttlefish + vendor device
Bug: 135708935
Change-Id: I77b86da48720fa117d5afd273c3b157ddd650e10
(cherry picked from commit 6fbe5d77d7)
2020-02-27 15:31:06 -08:00
Amy
3c95a93b48 Refactor Tuner vts test Demux part
Test: cuttlefish + vendor device test
Bug: 135708935
Change-Id: I7e8e14809975854d6c88819a40819227a187a5a1
(cherry picked from commit dd08190510)
2020-02-27 15:30:46 -08:00
Amy
c830cfb345 Refactoring Tuner VTS frontend test part
Note that other interface tests are comment out in this CL
and will be refactored and uncomment in the CL chains.

Test: cuttlefish atest + vendor device test
Bug: 135708935
Change-Id: If831219fc588827c9367a506ba7fe7c96bea0286
(cherry picked from commit a5d00e6498)
2020-02-27 15:30:24 -08:00
TreeHugger Robot
d2afe97fe6 Merge "gralloc4-vts: fix bad comparisions in VTS" into rvc-dev 2020-02-25 21:52:27 +00:00
Andy Hung
77d161d09e Merge "audio hal: Update offload configuration" into rvc-dev 2020-02-25 21:04:00 +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
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
Kai
d0bc0bc57b Add property for multiple ev port locations
Some cars have multiple ev ports.

Bug: 117599455
Test: google VHAL and kitchenSink app
Change-Id: I630b60f773867d1e3a85786403ee28852d497f7e
2020-02-20 10:31:30 -08:00
Danny Epstein
71e543a61f Add rotary interface to VHAL.
Adds a new property for rotary knobs that can spin indefinitely.

Test: Changed Hawk VHAL to use new property for volume
Change-Id: I74eb664e243b5796f7bccb2debd9c440bf430f7d
2020-02-20 10:15:59 -08:00
Marissa Wall
2e9bf64c5e gralloc4-vts: setting USAGE is always BAD_VALUE
Usage cannot be change after allocation. Mapper must return
BAD_VALUE. SetConstantMetadata already tests this. Remove
the tests that attempted to set USAGE and expected it could
succeed.

Test: VtsHalGraphicsMapperV4_0
Bug: 149830560

Change-Id: I730dd3f3c0c48946c436e8fb60256365e0d9ab1e
2020-02-20 10:08:31 -08:00
Tomasz Wasilczyk
4763857c6e Merge changes from topic "canhal"
* changes:
  Add ICanController BAD_SERVICE_NAME error
  Simplify bus configuration.
2020-02-20 17:10:29 +00:00
Tomasz Wasilczyk
793fab0b07 Add ICanController BAD_SERVICE_NAME error
Bug: 137798319
Test: VTS
Change-Id: I4722346239728f3ab359688658c23441e83671a8
2020-02-20 17:10:23 +00:00
Lev Proleev
3ab17d6b02 Add align_corners and half_pixel_centers parameters to resize ops
Fix: 135147454
Test: NNTest_static
Change-Id: I4115120c8b6261c5518d561c043cda913d47dd45
2020-02-20 11:01:07 +00:00
Jayant Chowdhary
fca2707a26 Merge "ICameraProvider@2.6 : Update documentation for getConcurrentStreamingCameraIds." 2020-02-20 06:43:14 +00:00
Nate Jiang
6c2e21ff55 Merge "Fix nan Vts test" 2020-02-20 05:51:52 +00:00
Jayant Chowdhary
94165c3514 Merge "ICameraProvider@2.6: Update mandatory concurrent stream combinations." 2020-02-20 03:04:01 +00:00
TreeHugger Robot
c2a7122706 Merge "Update constellation types in measurement corrections" 2020-02-20 02:48:29 +00:00
Nate(Qiang) Jiang
a075122fca Fix nan Vts test
count shoule be initialize to 0 before test.

Bug: 149709834
Test: atest VtsHalWifiApV1_4TargetTest
Change-Id: I47c43571bc3ff91f389a4c9f41e050cc13c104a2
2020-02-19 17:34:29 -08:00
Ahmed ElArabawy
a1d1365ed3 Wifi: Add support for mapping DSCP to Wifi AC
This commit adds the needed enum and methods to handle the mapping
of DSCP into wifi access categories.

Bug: 141500691
Bug: 141550272
Test: Builds successfully
Change-Id: I3a85c211057907c2363f7f349d0075e6b4a1b152
2020-02-19 16:48:41 -08:00
Tomasz Wasilczyk
f3da9b6c1b Simplify bus configuration.
Previous bus configuration struct was meant for flexibility, but it
turned out that the only dimension that flexibility would go was a
serial number parameter. Let's rotate that configuration matrix by 90
degrees and just go a straightforward route of discriminating against
interface type.

Test: VTS
Bug: 135918744
Change-Id: I08967d0f78c998b0582958eb51bd387f9dbe15fe
2020-02-19 16:29:25 -08:00