Commit Graph

20663 Commits

Author SHA1 Message Date
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
Sarah Chin
fbac448db1 Merge changes from topics "revert-10153355-dev_cap-JUKVIAUYRW", "revert-9919494-device_cap-HJIMIMXSXL", "revert-setup_iradioconfig_13"
* changes:
  Revert "Set up IRadioConfig 1.3 skeleton"
  Revert "PhoneCapabilities changes for device capabilities"
  Revert "Update PhoneCapability to use 1.5 UTRAN bands"
2020-02-20 00:06:18 +00:00
TreeHugger Robot
ef19939618 Merge "Remove oneway designator on contexthub HAL 1.1" 2020-02-19 23:33:28 +00:00
Automerger Merge Worker
124b3af285 Merge "Port IdentityCredential HAL to AIDL." am: 6a83338df9 am: 02a80f6aab am: e216d2b09c
Change-Id: Iee51e1c0cb87eefef0c4a0208bb231ea67bb215d
2020-02-19 23:18:16 +00:00
Ahmed ElArabawy
66814ea2e7 Merge "Add VTS tests to RTT impact of support of 11ax" 2020-02-19 22:40:42 +00:00
Automerger Merge Worker
e216d2b09c Merge "Port IdentityCredential HAL to AIDL." am: 6a83338df9 am: 02a80f6aab
Change-Id: Ia665fe317bad4cb86b2f34533107b335daaa780c
2020-02-19 22:38:30 +00:00
Michael Butler
f7a98b26ed Merge changes from topic "nnapi-relax-qos-deadlines"
* changes:
  Fix NNAPI QoS Deadline test
  Relax NNAPI QoS deadline parameter
2020-02-19 22:34:08 +00:00
Automerger Merge Worker
02a80f6aab Merge "Port IdentityCredential HAL to AIDL." am: 6a83338df9
Change-Id: Idf1e9ce02d150cde887c26e82c2a9c91196540f3
2020-02-19 22:23:13 +00:00
Sasha Kuznetsov
6311a08910 Merge "Update getExtensionX HAL docs" 2020-02-19 22:21:07 +00:00
Automerger Merge Worker
30f06e905a [automerger skipped] Merge "Add proto dumpstate mode" am: 294cfe01fc am: 08e6bd392c am: b2f9b665e5 -s ours
am skip reason: Change-Id I1d586c99b654471db5028039792c3d9e6e2184bb with SHA-1 8908d6fd51 is in history

Change-Id: Id97914694423a98062f267658c9eaad7c50e46df
2020-02-19 22:17:11 +00:00
Jayant Chowdhary
3a0030faab ICameraProvider@2.6 : Update documentation for getConcurrentStreamingCameraIds.
Bug: 148995918

Test: builds

Change-Id: I89df3be9e15881e081b76d6c0312bc54da931dea
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-19 14:16:44 -08:00
Automerger Merge Worker
861e8b9ad8 Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005 am: 49a258dd49 am: 0451d28dad
Change-Id: I711b7b1ed49618ea1abb7b92ca85ebbcc2b50b35
2020-02-19 22:16:25 +00:00
Jayant Chowdhary
653ea6c323 ICameraProvider@2.6: Update mandatory concurrent stream combinations.
Bug: 77960042

Test: builds

Change-Id: Ic56d6a10ee3521901aae5d8e7289dead7c20b086
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-19 13:36:39 -08:00
Sasha Kuznetsov
6678ffd8c5 Update constellation types in measurement corrections
Bug: 147504090
Test: atest VtsHalGnssV2_1TargetTest and manually injecting dummy
measurement corrections from GnssLocationProvider and verifying that
they are received below the HAL (on a cuttlefish implementation)

Change-Id: Ie6df224d63429193b39f06a6b60517f804fccbae
2020-02-19 13:32:14 -08:00
David Zeuthen
6a83338df9 Merge "Port IdentityCredential HAL to AIDL." 2020-02-19 21:14:41 +00:00
Tanmay Patil
496b86ccbb Adds HAL for ultrasonics to EVS 1.1
- Adds new structs in types.h
- Adds two new .hal IEvsUltrasonicsArray and IEvsUltrasonicsArrayStream
- Adds new APIs calls in IEvsEnumerator
- Adds empty default implementation for all

Bug: 148619310

Test: Build and functionality tested with demo app.

Change-Id: I8b501c7328d4c02cc694b5a2c73a519ca6d87710
2020-02-19 12:36:58 -08:00
Sarah Chin
3639471c93 Revert "Set up IRadioConfig 1.3 skeleton"
This reverts commit 83e3ca82e6.

Reason for revert: Change will not be supported by modem, so HAL for RadioConfig is no longer necessary.

Change-Id: I2eb83fd2356134ef45a782d99174fdd65f8c5a13
2020-02-19 12:09:40 -08:00
Sarah Chin
80a755fa0b Revert "PhoneCapabilities changes for device capabilities"
Reston for revert: Change not supported by modem
This reverts commit 322c4cc286.

Change-Id: I9b268f41614149b5cd55caf3d730b25bb1f885e9
2020-02-19 12:09:30 -08:00
Sarah Chin
af09f9de94 Revert "Update PhoneCapability to use 1.5 UTRAN bands"
Revert "PhoneCapability cleanup"

Revert "Test PhoneCapability API"

Revert "PhoneCapability cleanup"

Revert submission 10153355-dev_cap

Reason for revert: Change not supported by modem
Reverted Changes:
Id86ad81d8: Update PhoneCapability to use 1.5 UTRAN bands
Ia44398852: Test PhoneCapability API
I2510de0ab: PhoneCapability cleanup
I29dfb51bf: PhoneCapability cleanup

Change-Id: Ief5c5325f51a9bb3921bd2eb6e0ea8c9e7111581
2020-02-19 12:08:30 -08:00
TreeHugger Robot
5d4884ad4a Merge "Create separate VTS target for Sensors HAL 2.1" 2020-02-19 19:41:41 +00:00
Anthony Stange
c64065c557 Remove oneway designator on contexthub HAL 1.1
According to the linter, the oneway designator should only be used on an
interface that only has oneway methods as it can have implications on
the threading model (among other things).

Bug: 149758462
Test: atest VtsHalContexthubV1_0TargetTest VtsHalContexthubV1_1TargetTest
Change-Id: I969ab2ead1e30f7f4cfa62e292a22833ec5e8471
2020-02-19 19:29:19 +00:00
Michael Butler
c7327c57f9 Fix NNAPI QoS Deadline test
The Deadline test was directly loading into the field of a std::optional
instead of emplacing, which is undefined behavior. This has been
corrected to emplace.

Additionally, previously the deadline test always checked the tensor
results of the execution. This is changed to only check the results
when the driver reports that the execution completed successfully.

Finally, this CL merges similar switch case statements.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I1068fe70e74a12006dea3cdf4ae9da50004ad24b
2020-02-19 18:33:16 +00:00
Adam Bodnar
44f9c690fa Merge "Explicitly destroy render engine in RenderEngineVts" 2020-02-19 18:19:05 +00:00
Michael Butler
9b9a804fe4 Relax NNAPI QoS deadline parameter
Prior to this CL, the NNAPI QoS deadline is a strict deadline: a task
with a deadline must either complete or abort by the deadline. To
avoid as much overhead as possible, it is requested for Android R to
have a relaxed deadline, where the task *may* be aborted after the
deadline has passed or when the task is estimated to take too long.

Because the deadline is now relaxed, the querying method
IDevice::supportsDeadlines can be removed.

Bug: 149766387
Test: mma
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: Ib9937b5bb95646c2fd82e1aa17f2b0b639e2c420
2020-02-19 10:07:56 -08:00
Anthony Stange
aef69c9538 Create separate VTS target for Sensors HAL 2.1
Dependencies don't use cflags set by code that depends on them so the
VTS test for HAL 2.1 wasn't properly pulling the 2.1 interface when
present on the device (it was using the 2.0 interface). Modify the
Android.bp files to define the right flags depending on whether we're
testing HAL 2.0 or 2.1.

Bug: 149759782
Test: atest VtsHalSensorsV2_0TargetTest VtsHalSensorsV2_1TargetTest
Change-Id: I3533b6c244e767a8defe0a44a14025fdeb8eeeba
2020-02-19 12:47:50 -05:00
Slava Shklyaev
f283a54fcc Merge "Add NNAPI loop timeout VTS test" 2020-02-19 11:19:58 +00:00
Slava Shklyaev
cc873aee8f Add NNAPI loop timeout VTS test
Fix: 149554639
Bug: 145906499
Bug: 136735929
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I642772d3c00c12d72380598d9d86743706179d72
2020-02-19 11:10:13 +00:00
TreeHugger Robot
6aefc5cf69 Merge "Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}" 2020-02-19 08:13:25 +00:00
Brian Duddie
b9852ce215 Merge changes from topics "ch_hal_1.1_coral", "contexthub_hal_update"
* changes:
  Add VTS tests for Context Hub HAL 1.1
  Run clang-format on context hub 1.0 VTS
2020-02-19 07:31:31 +00:00
Sasha Kuznetsov
935047e137 Update getExtensionX HAL docs
Test: hidl-gen -Lcheck android.hardware.gnss@2.1
Bug:147614118
Change-Id: Icc2453847519e449f753dc68bedc00c1c92e6744
2020-02-18 22:40:13 -08:00
TreeHugger Robot
5659ad20e1 Merge "Prep ISensorsWrapper to be used by the framework" 2020-02-19 05:06:38 +00:00
TreeHugger Robot
dd0c0f7133 Merge "Add the camera extended info getter/setter methods" 2020-02-19 04:29:10 +00:00
TreeHugger Robot
88468c17b8 Merge changes from topic "update_sensors_hal"
* changes:
  Add VTS tests for Sensors HAL 2.1
  Add Hinge Angle Sensor to default impl for HAL 2.1
  Add default impl of Sensors HAL 2.1
  Create wrapper for 2.0/2.1 sensor HALs
  Add Sensors HAL 2.1
2020-02-19 04:13:50 +00:00
Mikhail Naganov
0a675fcc88 audio: Add Dual Mono Mode and Audio Description Mix Level to IStreamOut
These properties are mainly used on TV platforms.

Bug: 133526565
Test: atest VtsHalAudioV6_0TargetTest
Change-Id: I5dd2fe9cb987bf8435b8e5da96f8590288e5707c
2020-02-18 20:01:29 -08:00
TreeHugger Robot
69202c3562 Merge changes from topic "ch_hal_1.1_cf"
* changes:
  Add default (mock) Contexthub HAL 1.1 impl
  Create Contexthub HAL 1.1
2020-02-19 02:39:53 +00:00
Automerger Merge Worker
b2f9b665e5 Merge "Add proto dumpstate mode" am: 294cfe01fc am: 08e6bd392c
Change-Id: Ic82141a60048b14e41c00f00694cf0a1bf63218d
2020-02-19 01:05:36 +00:00
Automerger Merge Worker
08e6bd392c Merge "Add proto dumpstate mode" am: 294cfe01fc
Change-Id: I09c95e155720dfb17efd74cc1206073abe6dc3f6
2020-02-19 00:52:14 +00:00
Mike Ma
294cfe01fc Merge "Add proto dumpstate mode" 2020-02-19 00:30:48 +00:00