Commit Graph

21552 Commits

Author SHA1 Message Date
TreeHugger Robot
2ea2b751ff Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev am: 30c37f1eb7
Change-Id: Ic3c4ea9a7fc14bbac66c32aaec70acbf82b1605c
2020-05-07 18:07:43 +00:00
TreeHugger Robot
30c37f1eb7 Merge "Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation." into rvc-dev 2020-05-07 17:53:53 +00:00
Treehugger Robot
d68953dcc3 [automerger skipped] Merge "sensors:2.0:vts fix functional test for typeAsString field" am: e3fc570d6d am: 1f65d20a39 -s ours
am skip reason: Change-Id Ib5f8fd513313670e88c2b973c1ff724658914eb2 with SHA-1 908e4479dd is in history

Change-Id: I32b54da0c798491fc48b27e5759cd04457a4de04
2020-05-07 17:04:52 +00:00
Treehugger Robot
1f65d20a39 Merge "sensors:2.0:vts fix functional test for typeAsString field" am: e3fc570d6d
Change-Id: Iec84bed4fe462001a577b382e4934b59b765017b
2020-05-07 16:50:25 +00:00
Treehugger Robot
e3fc570d6d Merge "sensors:2.0:vts fix functional test for typeAsString field" 2020-05-07 16:34:31 +00:00
TreeHugger Robot
830c4875ad Merge "Round off attestation tests." into rvc-dev am: 2023afbe66
Change-Id: I1c83c78bd3ac674a5f4aeb2356d4e127ef2d617c
2020-05-07 16:28:58 +00:00
TreeHugger Robot
d35a504e05 Merge "Fix StrongBoxOnly test" into rvc-dev am: ba1a4c7f6d
Change-Id: Ie7ecb3d434786f3cf4bdb472cfe0c7cbfe673e4d
2020-05-07 16:28:44 +00:00
TreeHugger Robot
2023afbe66 Merge "Round off attestation tests." into rvc-dev 2020-05-07 16:26:29 +00:00
TreeHugger Robot
ba1a4c7f6d Merge "Fix StrongBoxOnly test" into rvc-dev 2020-05-07 16:11:50 +00:00
Midas Chien
5d177f9a0c Merge "composer: vts: send a frame after call setActiveConfig" into rvc-dev am: 6191c0abe2
Change-Id: I41f9359dd0e794424d05769b9204e5ba244a578f
2020-05-07 05:28:38 +00:00
Midas Chien
6191c0abe2 Merge "composer: vts: send a frame after call setActiveConfig" into rvc-dev 2020-05-07 05:17:40 +00:00
Stan Rokita
0f38c7dc0c [automerger skipped] Search for subhal .so files in additional directories am: b42bde95cb am: f26ba8c59f -s ours
am skip reason: Change-Id I8a676b97f6f6992e8937ecf31c3b7af06e676ebb with SHA-1 c786dfc5b1 is in history

Change-Id: Ie1f390cb19b5089221b43763584aa60155339eb0
2020-05-06 23:16:01 +00:00
Stan Rokita
f26ba8c59f Search for subhal .so files in additional directories am: b42bde95cb
Change-Id: I1fb0ce977406e07a26278a2be0e2380ee7d677f4
2020-05-06 23:00:18 +00:00
Steven Moreland
10b3aa1157 Radio tests: root before multi-sim preparation. am: 0b4b27183c
Change-Id: Ib970235e7f81c40c39b6798350b423af0205bb3b
2020-05-06 22:49:11 +00:00
Stan Rokita
b42bde95cb Search for subhal .so files in additional directories
Fixes: 154634207
Test: Load onto flame and confirm that subhal .so
android.hardware.sensors@2.X-fakesubhal-config3.so loads when it is
living in the /vendor/lib64/hw directory using
adb shell lshal debug android.hardware.sensors@2.0::ISensors/default

Change-Id: I8a676b97f6f6992e8937ecf31c3b7af06e676ebb
Merged-In: I8a676b97f6f6992e8937ecf31c3b7af06e676ebb
2020-05-06 15:02:42 -07:00
Steven Moreland
0b4b27183c Radio tests: root before multi-sim preparation.
These tests assumed that they were rooted before running, and due to
a combination of b/152655658 and b/154638140, these appeared to work
when a device already happened to be rooted and the test failures showed
up as problems with the test rather than as problems with the target
preparer.

This is the same workaround being used elsewhere.

Fixes: 154445273 # specifically about VtsHalSapV1_0TargetTest
Test: atest VtsHalSapV1_0TargetTest # passes 100%

The following tests, I confirm MultiSimTargetPreparer works, although my
test device has no SIM so I cannot get fully useful results.
Test: atest VtsHalRadioV1_0TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_1TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_2TargetTest # slot2 cases can now pass
Test: atest VtsHalRadioV1_3TargetTest # fully passes
Test: atest VtsHalRadioV1_4TargetTest # fully passes

Change-Id: Id62cb2e1b7a95552b560ab1d4ff2f63c0a7569a3
2020-05-06 14:17:05 -07:00
felipeal
4dda37e0d0 Fixed USER_IDENTIFICATION_ASSOCIATION structs and documentation.
Bug: 150409351
Test: m
Test: atest UserHalServiceTest UserHalHelperTest

Change-Id: I121b47f1cc0889259210de96007c3c0f82985e8c
2020-05-06 12:34:47 -07:00
Miao Wang
a658893306 Add AndroidTest.xml for NNAPI 1.0 VTS and blacklist failing tests am: 8ebe2a04c5
Change-Id: I8fa0cb36c6f48fea0b59bd90793732a56e06a51e
2020-05-06 00:35:10 +00:00
Miao Wang
8ebe2a04c5 Add AndroidTest.xml for NNAPI 1.0 VTS and blacklist failing tests
- Also adds TEST_MAPPING filters here to make sure sample driver tests
  are still being filtered out.

Bug: 155577050
Test: mm
Test: atest VtsHalNeuralnetworksV1_0TargetTest
Change-Id: Ic8f556a957e6af340d500e2c4696b41b2a6e8516
2020-05-05 15:28:57 -07:00
TreeHugger Robot
3dc23336ac Merge "Add more FrontendStatus for CTS" into rvc-dev am: 4c12e5c7ba
Change-Id: I7224209095824b58862999ed67089f99a0e41dcf
2020-05-05 16:50:01 +00:00
TreeHugger Robot
4c12e5c7ba Merge "Add more FrontendStatus for CTS" into rvc-dev 2020-05-05 16:37:34 +00:00
Denis Ciocca
8ab752617f sensors:2.0:vts fix functional test for typeAsString field
For sensors of known type defined in SensorType (value <
DEVICE_PRIVATE_BASE), typeAsString field can be an empty string since
framework overrides it anyways.
The empty string test should fails only if type is >=
DEVICE_PRIVATE_BASE.
The matching type with typeAsString test is instead executed only if
the string is not empty (if it's not an empty string let's check that
at least is set to the right value).

Bug: 155514483
Test: atest VtsHalSensorsV2_0TargetTest
Signed-off-by: Denis Ciocca <denis.ciocca@gmail.com>
Merged-In: Ib5f8fd513313670e88c2b973c1ff724658914eb2
Change-Id: I4267ff6a158a571ff43122bdb7a38c9fa38f5900
2020-05-05 16:10:46 +00:00
TreeHugger Robot
f4ebf94103 Merge "Fix Sensors VTS asserts for sensor type strings" into rvc-dev am: abc7986d1a
Change-Id: Iaf3b7fd1de42a5e5665a5bd74bb9f49d7d13c2ec
2020-05-05 15:24:41 +00:00
TreeHugger Robot
abc7986d1a Merge "Fix Sensors VTS asserts for sensor type strings" into rvc-dev 2020-05-05 15:06:48 +00:00
Miao Wang
d444ef58de Add AndroidTest.xml for NNAPI 1.2 VTS and blacklist failing tests am: f7c55d5f9b
Change-Id: I17c16fe1e3d966b80e912399b0d431720e3d5f80
2020-05-05 05:20:15 +00:00
Miao Wang
f7c55d5f9b Add AndroidTest.xml for NNAPI 1.2 VTS and blacklist failing tests
- Also adds TEST_MAPPING filters here to make sure sample driver tests
  are still being filtered out.

Bug: 155674368
Test: mm
Test: atest VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I5f5d272742d4cdd6a8cc87ec035b5e2508eaa98f
2020-05-04 20:10:48 -07:00
David Gross
62296cd97e [automerger skipped] More tests for graph validation. am: 6174f00cc6 am: fc77ac19b4 -s ours
am skip reason: Change-Id Id4ba19660bbd31a16f8a675f7b6437f4d779e8da with SHA-1 12ab6c57cc is in history

Change-Id: I231c48d8c7187d729fec7a0a6a954aedaadef731
2020-05-05 02:21:32 +00:00
David Gross
fc77ac19b4 More tests for graph validation. am: 6174f00cc6
Change-Id: I01ce53ff569deaf38426fa16a1b25618c74dfd56
2020-05-05 02:06:06 +00:00
David Gross
6174f00cc6 More tests for graph validation.
- detect cycle (CycleTest)
- detect bad execution order (mutateExecutionOrderTest)
- detect lifetime inconsistent with whether operand is written (mutateOperandLifeTimeTest)
- detect lifetime inconsistent with Model inputIndexes/outputIndexes (mutateOperandInputOutputTest)
- detect incorrect number of consumers (mutateOperandNumberOfConsumersTest)
- detect operand written multiple times (mutateOperandAddWriterTest)
- detect operand never written (mutateOperationRemoveWriteTest)

Bug: 66478689
Test: VtsHalNeuralnetworksV1_*TargetTest

Change-Id: Id4ba19660bbd31a16f8a675f7b6437f4d779e8da
Merged-In: Id4ba19660bbd31a16f8a675f7b6437f4d779e8da
(cherry picked from commit af51663e99)
2020-05-04 17:29:52 -07:00
Anthony Stange
908e4479dd Fix Sensors VTS asserts for sensor type strings
Private sensors are the only sensor types that must define a type
string. For public sensors, a type string can be left empty as it will
be overridden by the sensors frameork.

Bug: 155514483
Test: atest VtsHalSensorsV2_0Target
Change-Id: Ib5f8fd513313670e88c2b973c1ff724658914eb2
2020-05-04 14:54:19 -04:00
Orion Hodson
9220d84c08 Merge "Use shared library variant of libnativehelper" am: 3f7367a17e am: b23a1ed78c
Change-Id: Id746582ededb3e46aa93483da921e6eb967c823e
2020-05-04 07:43:37 +00:00
Orion Hodson
b23a1ed78c Merge "Use shared library variant of libnativehelper" am: 3f7367a17e
Change-Id: I629f999e136943790c72237f8e10fe917d6b08af
2020-05-04 07:34:20 +00:00
Orion Hodson
3f7367a17e Merge "Use shared library variant of libnativehelper" 2020-05-04 07:23:19 +00:00
TreeHugger Robot
488ea65049 Merge "Camera: move preCorrectionActiveArraySize override to cameraserver" into rvc-dev am: 7b938e3471
Change-Id: I853ec94ee01b58a4be2a4afd53371b06bacc48e6
2020-05-04 05:44:00 +00:00
TreeHugger Robot
7b938e3471 Merge "Camera: move preCorrectionActiveArraySize override to cameraserver" into rvc-dev 2020-05-04 05:28:39 +00:00
Suren Baghdasaryan
16af7599b9 [automerger skipped] Merge "Replace direct pid writes with setting task profiles for camera interfaces" into rvc-dev am: 05a93f3573 -s ours
am skip reason: Change-Id I2732f7365351f132dbf0566319e3969c2a25b3e4 with SHA-1 849e9fc8b6 is in history

Change-Id: Ibd7c1390f9d4da72731e7c7cf877fb86365fe9ba
2020-05-02 06:36:12 +00:00
Suren Baghdasaryan
64c78ecba9 [automerger skipped] Merge "Replace direct pid writes with setting task profiles for audio interfaces" into rvc-dev am: 397f324c11 -s ours
am skip reason: Change-Id Ide373c283359cf4b73af4cb0813d8c0306942595 with SHA-1 3c6f2df90a is in history

Change-Id: Ib8c5a6d9a8b29d1a9f7b6d921c7f9c615e0a8147
2020-05-02 06:36:05 +00:00
Suren Baghdasaryan
0c8171e314 [automerger skipped] Merge "Replace direct pid writes with setting task profiles for bluetooth interfaces" into rvc-dev am: bbf2704c16 -s ours
am skip reason: Change-Id Ie81da380a9343e098362f5fee5026799c4486e7e with SHA-1 4b644d33d7 is in history

Change-Id: If739e46062c3dad60d8f2fd98e35229d0c9f6cd6
2020-05-02 06:35:42 +00:00
Suren Baghdasaryan
05a93f3573 Merge "Replace direct pid writes with setting task profiles for camera interfaces" into rvc-dev 2020-05-02 06:20:05 +00:00
Suren Baghdasaryan
397f324c11 Merge "Replace direct pid writes with setting task profiles for audio interfaces" into rvc-dev 2020-05-02 06:19:52 +00:00
Suren Baghdasaryan
bbf2704c16 Merge "Replace direct pid writes with setting task profiles for bluetooth interfaces" into rvc-dev 2020-05-02 06:19:34 +00:00
Jimmy Chen
b984155da4 Merge "wifi: stop running supplicant before tests" into rvc-dev am: 503f786f11
Change-Id: Ib6d92c0a83d669f7ba81cdebea85a393316f42dc
2020-05-02 04:56:58 +00:00
Jimmy Chen
503f786f11 Merge "wifi: stop running supplicant before tests" into rvc-dev 2020-05-02 04:41:28 +00:00
David Gross
936b9743cb More tests for graph validation. am: 12ab6c57cc
Change-Id: Iab4f9597f8921539f03241d8d390d13fd0f5688d
2020-05-02 04:35:46 +00:00
TreeHugger Robot
da0ae1cfe4 Merge "Search for subhal .so files in additional directories" into rvc-dev am: 358db3b106
Change-Id: Id04399150e05bcc198ed8f9ccee9448e4a4a1581
2020-05-02 02:48:41 +00:00
David Gross
12ab6c57cc More tests for graph validation.
- detect cycle (CycleTest)
- detect bad execution order (mutateExecutionOrderTest)
- detect lifetime inconsistent with whether operand is written (mutateOperandLifeTimeTest)
- detect lifetime inconsistent with Model inputIndexes/outputIndexes (mutateOperandInputOutputTest)
- detect incorrect number of consumers (mutateOperandNumberOfConsumersTest)
- detect operand written multiple times (mutateOperandAddWriterTest)
- detect operand never written (mutateOperationRemoveWriteTest)

Bug: 66478689
Test: VtsHalNeuralnetworksV1_*TargetTest

Change-Id: Id4ba19660bbd31a16f8a675f7b6437f4d779e8da
Merged-In: Id4ba19660bbd31a16f8a675f7b6437f4d779e8da
(cherry picked from commit af51663e99)
2020-05-02 02:34:30 +00:00
TreeHugger Robot
358db3b106 Merge "Search for subhal .so files in additional directories" into rvc-dev 2020-05-02 02:30:18 +00:00
TreeHugger Robot
3bfea3e57f Merge "Update FrontendInfo for CTS" into rvc-dev am: 11c711a434
Change-Id: I76374239809a56c08383e2d9b6ca4c9dafc0db16
2020-05-02 00:39:16 +00:00
Suren Baghdasaryan
608059a6bc Replace direct pid writes with setting task profiles for camera interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I2732f7365351f132dbf0566319e3969c2a25b3e4
Merged-In: I2732f7365351f132dbf0566319e3969c2a25b3e4
2020-05-02 00:34:24 +00:00
Suren Baghdasaryan
b74f6423f5 Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
Merged-In: Ide373c283359cf4b73af4cb0813d8c0306942595
2020-05-02 00:34:04 +00:00