Commit graph

20165 commits

Author SHA1 Message Date
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
Adam Bodnar
44f9c690fa Merge "Explicitly destroy render engine in RenderEngineVts" 2020-02-19 18:19:05 +00: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
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
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
TreeHugger Robot
e0e455f282 Merge "AIDL light required for launching devices." 2020-02-19 00:25:36 +00: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
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
Treehugger Robot
a5439e227c Merge "Fix VTS fail for GraphicsMapperHidlTest" am: eef384a88e
Change-Id: I346104d31743741ebac4c4fe1539179f3353d207
2020-02-18 20:55:13 +00:00
Anthony Stange
535c63e672 Add Hinge Angle Sensor to default impl for HAL 2.1
Bug: 144139857
Test: Verify this type is exposed when VTS is run
Change-Id: I994f1b4c77729b76760b7cafc19b825c98ca97ca
2020-02-18 15:24:38 -05:00
Anthony Stange
1d71acc129 Add default impl of Sensors HAL 2.1
Create a default implementation of HAL 2.1 that shares 90% of the
underlying code with HAL 2.0 since the interfaces are very similar.

Bug: 144139857
Test: compile
Change-Id: Ic6b139df98ddb1f92833b1f2d65e1cecc297fd41
2020-02-18 15:24:35 -05:00
Mike Ma
8908d6fd51 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
2020-02-18 12:08:40 -08:00
Treehugger Robot
eef384a88e Merge "Fix VTS fail for GraphicsMapperHidlTest" 2020-02-18 19:45:04 +00:00
Ahmed ElArabawy
6b95246de5 Merge "Add missing instantiation code for Vts tests" 2020-02-18 19:42:32 +00:00
Anthony Stange
c002dd9eca Create wrapper for 2.0/2.1 sensor HALs
Creates a wrapper that makes a 2.0 sensor HAL appear to look like a 2.1
sensor HAL so that various pieces of code can be shared between the two
implementations.

Bug: 144139857
Test: Run VTS
Change-Id: I4ee4fd2b900e5d4ca744f420f69e150ba38f7949
2020-02-18 13:34:56 -05:00
Anthony Stange
d8cafdbdfd Add Sensors HAL 2.1
Creates Sensors HAL 2.1 to support the addition of a new sensor type for
hinge angle sensors.

Bug: 144139857
Test: mma
Change-Id: Id78fb16324d28f2291b3ad1950197bfd2632d6f4
2020-02-18 13:34:56 -05:00
Brian Duddie
01eb01a230 Add VTS tests for Context Hub HAL 1.1
Extract some common functionality and add a new test for the newly-added
method in HAL v1.1.

Bug: 135951924
Test: atest VtsHalContexthubV1_0TargetTest \
            VtsHalContexthubV1_1TargetTest
Change-Id: I1cd335d4972bc3242245b2379a7cfa42d1c683a6
2020-02-18 10:20:24 -08:00
Brian Duddie
af8a2f9394 Run clang-format on context hub 1.0 VTS
Test: n/a
Change-Id: I80eb0a7c0b722ede4ed84087a7b5e4ed318e5fd5
2020-02-18 10:20:24 -08:00
Brian Duddie
a7bf0d20d3 Add default (mock) Contexthub HAL 1.1 impl
Current implementation exposes a mock context hub, but with no nanoapps.

Bug: 135951924
Test: compile only (will be covered by VTS in a follow-up)
Change-Id: I7a13527f303ce1bcacac8c6be9f081b0838cdc68
2020-02-18 10:20:10 -08:00
Anthony Stange
7a04231aaa Create Contexthub HAL 1.1
The HAL 1.1 update allows the contexthub framework to notify the HAL of
any settings changes the user makes.

Bug: 135951924
Test: compile
Change-Id: Ia523c89b2e546ec169eb4997a0af7f471c8185b5
2020-02-18 09:30:22 -08:00
TreeHugger Robot
368c0d9efe Merge "gralloc4-vts: return after GTEST_SUCCEED" 2020-02-18 17:25:45 +00:00
TreeHugger Robot
f699cbff74 Merge "gralloc4-vts: update sampleIncrementInBits" 2020-02-18 17:25:41 +00:00
Slava Shklyaev
f034bf9c92 Add NNAPI loop timeout API
Bug: 145906499
Bug: 136735929
Test: NNT_static
Change-Id: Ie40c248b174964676985403f9f1a5127b408a00a
2020-02-18 13:37:37 +00:00
Ahmed ElArabawy
82e3c6bb60 Add missing instantiation code for Vts tests
Instantiation script is missing from the
wifi/1.4/vts/functional/wifi_nan_iface_hidl_test.cpp
wifi/1.4/vts/functional/wifi_chip_hidl_test.cpp

Bug: 149709807
Test: atest VtsHalWifiApV1_4TargetTest
Change-Id: Ifd4ac0adbdffa77381a60f48f830ebccb6535dfe
2020-02-17 16:23:20 -08:00
Changyeon Jo
93594abef3 Add the camera extended info getter/setter methods
This change declares and implement newer version of methods to
manage vendor-defined camera extended information.

Bug: 142888670
Test: m -j android.hardware.automotive.evs@1.1-service
Change-Id: If6baf9cea7eefd13fd269ca8bb5af715cc3a8bab
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-17 15:05:45 -08:00
TreeHugger Robot
5efd0f7194 Merge "Add control flow support to NNAPI VTS tests" 2020-02-17 16:56:44 +00:00
Changyeon Jo
3af53cea40 Merge "Add a method to support multi-display usages" 2020-02-16 16:59:15 +00:00
Changyeon Jo
043a7a027f Add a method to support multi-display usages
- Add getDisplayIdList() and openDisplay_1_1() to IEvsEnumerator.
- Add getDisplayInfo_1_1() to IEvsDisplay.
- Update CameraToDisplayRountTrip test case to use new methods.
- Update default implementation.

Bug: 141886260
Bug: 146567078
Bug: 147553536
Test: VtsHalEvsV1_1TargetTest
Change-Id: I3c17aecc482770074159f7ccaf8e00cadf711e76
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-16 05:56:10 -08:00
Henry Fang
460b9610bf Add comments for invalid IP/port and add Invalid filterID/avSyncId
To allow client to identify and specify invalid value

bug: 148110220
Test: Manual
Change-Id: Ib5e88a13cdcca0b62f55fab992293ed17e0ed708
2020-02-16 03:09:25 +00:00
Treehugger Robot
20953a0be0 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44 am: 65a070de36 am: 3458203ca7
Change-Id: Iea04d74cdbbc63bd80fc3b6bcd2692ef5150300d
2020-02-16 01:10:32 +00:00
Treehugger Robot
3458203ca7 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44 am: 65a070de36
Change-Id: Iba8a1cd7cd2885e3771ca68491bfc6a644262416
2020-02-16 00:53:17 +00:00
Treehugger Robot
65a070de36 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44
Change-Id: Ibb4705efef6c6faa472dbd4fcd580d2185cdc1fa
2020-02-16 00:35:18 +00:00
Treehugger Robot
0935243c44 Merge "Fix VTS test for health HAL 2.1" 2020-02-16 00:16:05 +00:00
Treehugger Robot
72e761e800 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893 am: f7e2840952 am: 9a07084f02
Change-Id: Id32b674faa2a647efa0973966fd2372697321bac
2020-02-15 19:18:45 +00:00
Treehugger Robot
9a07084f02 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893 am: f7e2840952
Change-Id: I37ecf7b0f295bd7ae6f122bc71a35a138bb06068
2020-02-15 19:02:07 +00:00
Treehugger Robot
f7e2840952 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893
Change-Id: I6d4b44a80a116fde46b0018e279eb6908c6291f1
2020-02-15 18:48:13 +00:00
Treehugger Robot
a36ef09893 Merge "power: Make AIDL HAL mandatory for new devices" 2020-02-15 18:33:25 +00:00
Stephane Lee
14107eb665 Fix logging in Health HAL 2.0 am: 45f8ab3477 am: 05c31c601f am: 0b2789f9d9
Change-Id: Ib30ab0f6ee331cda8724fdcf708216b21c0a46db
2020-02-15 10:37:08 +00:00