Commit graph

20249 commits

Author SHA1 Message Date
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
TreeHugger Robot
e0e455f282 Merge "AIDL light required for launching devices." 2020-02-19 00:25:36 +00:00
Mike Ma
6165e2dd30 Add proto dumpstate mode
Add a "PROTO" dumpstate mode to request a protobuf dump from
IDumpstateDevice HAL, primarily used by incidentd to get
device-specific state as a proto for automated issue reporting and
debugging.
Since the format of these states can vary across vendors and devices,
the proto schema will not be defined in AOSP.

Bug: 140521164
Test: VtsHalDumpstateV1_1TargetTest
Change-Id: I1d586c99b654471db5028039792c3d9e6e2184bb
Merged-In: I1d586c99b654471db5028039792c3d9e6e2184bb
2020-02-18 15:13:35 -08:00
Mike Ma
039d8bd67a Merge "Add proto dumpstate mode" 2020-02-18 23:12:57 +00:00
Anthony Stange
32895908b9 Prep ISensorsWrapper to be used by the framework
Bug: 144139857
Test: Load sensors framework and verify it can receive data
Change-Id: I08bdb23779a1ec716cd99e3bc9ded4371fe9c89a
2020-02-18 17:45:04 -05:00
Anthony Stange
a9a5eb411e Add VTS tests for Sensors HAL 2.1
Bug: 144139857
Test: atest VtsHalSensorsV2_0TargetTest VtsHalSensorsV2_1TargetTest
Change-Id: If2b751929b8d89c9d381032f5e8424a24719b6bd
2020-02-18 17:45:02 -05:00
Adam Bodnar
6c3929cc33 Explicitly destroy render engine in RenderEngineVts
The GLES driver appears to be left in a bad state without destroying the
render engine instance explicitly after every test case.

Bug: 149043811
Test: build, adb push out/target/product/<platform>/testcases/VtsHalGraphicsComposerV2_2TargetTest/<abi>/VtsHalGraphicsComposerV2_2TargetTest /data/local/tmp && adb shell /data/local/tmp/VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I8e3c4e30eaa2ef3b9831da7b335b9a830be4b4ed
2020-02-18 13:34:27 -08:00
Automerger Merge Worker
30425b854e Merge "Fix VTS fail for GraphicsMapperHidlTest" am: eef384a88e am: a5439e227c am: 9091f86903
Change-Id: I092c9b06535a4df77440e3a798bb079bc39418db
2020-02-18 21:24:45 +00:00
Automerger Merge Worker
0451d28dad Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005 am: 49a258dd49
Change-Id: I28ab527fb1e621f506a40bbb9f3d2fbc72af83a7
2020-02-18 21:13:48 +00:00
Treehugger Robot
49a258dd49 Merge "Add UNSUPPORTED to health 2.1 types" am: 6a4ab26005
Change-Id: I2fdb7eca68377b0bcdb658c508b0d44d09c13975
2020-02-18 21:12:32 +00:00
Automerger Merge Worker
9091f86903 Merge "Fix VTS fail for GraphicsMapperHidlTest" am: eef384a88e am: a5439e227c
Change-Id: I1e37a94d78f6315ea6e0d2a3c32eee0ee0c3f8f6
2020-02-18 21:10:07 +00:00
TreeHugger Robot
e93e85d1b6 Merge "update SoundTrigger queryParameter" 2020-02-18 21:09:43 +00:00
Lev Proleev
13c43c0059 Add parallel linking support for BIDIRECTIONAL_SEQUENCE_{LSTM|RNN}
Change-Id: I51396f82de8dd7282db85a26b0a1be84b236b8c1
Fix: 138653129
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
2020-02-18 21:00:44 +00:00
Slava Shklyaev
a2bf06e98a Merge "Add NNAPI loop timeout API" 2020-02-18 20:58:55 +00:00