Commit graph

15984 commits

Author SHA1 Message Date
Henry Fang
865220991a Add Filter linkage and seperate interface
Test: Manual
bug: 135708935
Change-Id: I5782a183936ffca4f345d14c353ad34210f12df7
(cherry picked from commit e5125a89ab)
Merged-In: I5782a183936ffca4f345d14c353ad34210f12df7
2019-10-26 00:29:01 +00:00
Treehugger Robot
9756532b64 Merge "Adding jbires to VTS OWNERS" 2019-10-25 17:54:54 +00:00
Treehugger Robot
6e82d1abd5 Merge "[vts-core] add VtsHalWeaverV1_0TargetTest to vts-core" 2019-10-25 05:42:48 +00:00
Treehugger Robot
faeeab0c19 Merge "[vts-core] add VtsHalConfigstoreV1_0TargetTest to vts-core" 2019-10-25 05:42:19 +00:00
Treehugger Robot
ba18c085c3 Merge "[vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core" 2019-10-25 05:42:09 +00:00
Treehugger Robot
53b86ff792 Merge "[vts-core] add VtsHalMemtrackV1_0TargetTest to vts-core" 2019-10-25 05:41:19 +00:00
Treehugger Robot
c6b086785d Merge "Adding test to check that ASN.1 lengths are properly encoded" 2019-10-24 22:08:48 +00:00
nelsonli
9e281efcfc [vts-core] add VtsHalConfigstoreV1_0TargetTest to vts-core
Convert VtsHalConfigstoreV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalConfigstoreV1_0TargetTest
Change-Id: If65ce7afbe23eca95f62c6b231abf78d9ada616e
2019-10-24 07:36:20 +00:00
nelsonli
6bc848ea73 [vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core
Bug: 142397658
Test: $ atest VtsHalBiometricsFingerprintV2_1TargetTest
Change-Id: I04baa4f4dbc07f927d1a8c05f691dd63bb098a97
2019-10-24 14:57:11 +08:00
nelsonli
8b0b4c9017 [vts-core] add VtsHalMemtrackV1_0TargetTest to vts-core
Convert VtsHalMemtrackV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalMemtrackV1_0TargetTest
Change-Id: Ie334676c81185ba8ef918c819a6ed2ee80748fc0
2019-10-24 14:49:29 +08:00
Treehugger Robot
83cceb7c4b Merge "[vts-core] add VtsHalBootV1_0TargetTest to vts-core" 2019-10-24 02:30:37 +00:00
Yifan Hong
a1e654d8f1 Merge changes from topic "health21"
* changes:
  Require health 2.1 on R devices
  health 2.1
2019-10-24 01:03:09 +00:00
Steven Moreland
fac4d20499 Merge "TEST_MAPPING += hidl_implementation_test" 2019-10-23 23:07:30 +00:00
Treehugger Robot
a04877f2b3 Merge "Convert VtsHalNfcV1_*TargetTest to be parameterized test" 2019-10-23 17:39:25 +00:00
Dan Shi
6ba951f674 Merge "Convert VtsHalPowerV1_*TargetTest to be parameterized test" 2019-10-23 06:58:46 +00:00
Dan Shi
e64262f91e Convert VtsHalNfcV1_*TargetTest to be parameterized test
Bug: 142397658
Test: atest
Change-Id: Id8fdc7128ead21d734f0dfa8b9428de9724b490c
2019-10-22 20:54:31 -07:00
nelsonli
158487f38e [vts-core] add VtsHalWeaverV1_0TargetTest to vts-core
Convert VtsHalWeaverV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalWeaverV1_0TargetTest
Change-Id: I4b28120a79cef5697de110aafd43be1975211fca
2019-10-23 03:05:57 +00:00
Treehugger Robot
48141f00ab Merge "[vts-core] add VtsHalVibratorV1_*TargetTest to vts-core" 2019-10-23 02:02:04 +00:00
nelsonli
10976957e7 [vts-core] add VtsHalVibratorV1_*TargetTest to vts-core
Convert VtsHalVibratorV1_*TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $atest VtsHalVibratorV1_0TargetTest
      $atest VtsHalVibratorV1_1TargetTest
      $atest VtsHalVibratorV1_2TargetTest
      $atest VtsHalVibratorV1_3TargetTest
Change-Id: Ied47225bf40cce99648200b79cd7dd65e5222394
2019-10-23 02:00:22 +00:00
Treehugger Robot
8a88a0f28f Merge "[vts-core] add VtsHalDumpstateV1_0TargetTest to vts-core" 2019-10-23 01:59:54 +00:00
Treehugger Robot
1f004177c6 Merge "Audio VTS: Wait after stream close" 2019-10-22 23:50:21 +00:00
Yifan Hong
17fad82187 Merge "[REFACTOR] health 2.0: BatteryMonitor::update split into 3 funcs" 2019-10-22 22:47:40 +00:00
Mikhail Naganov
5aa2002a38 Audio VTS: Wait after stream close
Due to asynchronous nature of the destruction of server-side objects
it is required to flush IPC messages to the server and wait to avoid
flakiness due to an attempt to open the stream while it's still not
closed on the server side.

Test: atest VtsHalAudioV5_0TargetTest
Bug: 118655804
Change-Id: Ibd6bb2e20ffe95b83228982c2f2e9232d280e5ff
2019-10-22 14:08:01 -07:00
Treehugger Robot
aae0b8d093 Merge "vibrator: Add 1.4 Tests to 'vts-core'" 2019-10-21 23:10:15 +00:00
Treehugger Robot
9a41dd7f5a Merge changes from topic "libhealthloop"
* changes:
  [REFACTOR] health 2.0: healthd_common -> libhealthloop
  health 2.0: Move healthd_common.cpp
2019-10-21 20:01:48 +00:00
Treehugger Robot
0d5782e99e Merge "[hardware][interfaces][automotive] fix -Wreorder-init-list" 2019-10-21 18:13:46 +00:00
Treehugger Robot
3ff034b3e1 Merge changes from topic "vibrator-hal-1.4-vts"
* changes:
  vibrator: Limit Length of Async Callback Tests
  vibrator: Async Callback API VTS Tests
2019-10-18 21:19:20 +00:00
Treehugger Robot
7e6b36a327 Merge "vibrator: Async Callback API Example" 2019-10-18 19:27:28 +00:00
Nick Desaulniers
9ba020bb9b [hardware][interfaces][automotive] fix -Wreorder-init-list
C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Merged-In: I17d1d262d71eefa0aa5b89da7acc659bc2f97bbd
Change-Id: I4e18c0f68606c3e8d965aab194f2a5fd5000c59a
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-10-18 09:56:57 -07:00
Dan Shi
6ac30ad1d4 Convert VtsHalPowerV1_*TargetTest to be parameterized test
Bug: 142397658
Test: atest
Change-Id: Id996723b39ccfb7e0c67986ba250e9ba799b4560
2019-10-18 09:21:37 -07:00
nelsonli
ba31c175d7 [vts-core] add VtsHalDumpstateV1_0TargetTest to vts-core
Convert VtsHalDumpstateV1_0TargetTest to be parameterized test
and add it to vts-core.

Bug: 142397658
Test: $atest VtsHalDumpstateV1_0TargetTest
Change-Id: Ifba3b6dac6f7f4e153f50d521e6d2e07f599cf7e
2019-10-18 16:01:00 +08:00
nelsonli
e74bc351f2 [vts-core] add VtsHalBootV1_0TargetTest to vts-core
Convert VtsHalBootV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $ atest VtsHalBootV1_0TargetTest
Change-Id: I96c5e07dba739722227ee1ad0e365cfed3ea822c
2019-10-18 15:43:34 +08:00
Treehugger Robot
475414d8ef Merge "[vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core" 2019-10-18 01:32:01 +00:00
Treehugger Robot
11c4534f3f Merge "Convert VtsHalThermalV*TargetTest to be parameterized test" 2019-10-18 00:37:30 +00:00
Treehugger Robot
b046c4eb2d Merge changes from topic "NNAPI v1.3-aosp"
* changes:
  Increase neuralnetworks compatibility to 1.3
  Modify NNAPI VTS tests to run on version 1.3
  Copy VTS tests from v1.2 to v1.3
  Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
2019-10-17 22:47:15 +00:00
David Anderson
80c288d7b3 Merge "Fix requests for IBootControl 1.0 when using the 1.1 HAL." 2019-10-17 21:45:05 +00:00
David Anderson
c07c90699a Fix requests for IBootControl 1.0 when using the 1.1 HAL.
Bug: 138861550
Test: cuttlefish boots
Change-Id: I10587a70dca716366a5cf48c8bc8c1bc4fb9f93a
Merged-In: I10587a70dca716366a5cf48c8bc8c1bc4fb9f93a
2019-10-17 20:46:07 +00:00
shubang
7ab999d0a3 Fix minor issues in dmux default impl
Test: mannual
Change-Id: If74df110cd9eda2dadb87a8d659d83233ad75d88
(cherry picked from commit 9a1e5aa93a)
Merged-In: If74df110cd9eda2dadb87a8d659d83233ad75d88
2019-10-17 18:24:09 +00:00
Michael Butler
860f7d1dcf Increase neuralnetworks compatibility to 1.3
Bug: 139120468
Test: mma
Change-Id: I66247588f8e42ebd85cc95b844f2d352adc81462
Merged-In: I66247588f8e42ebd85cc95b844f2d352adc81462
(cherry picked from commit 7259f3ab24)
2019-10-17 18:34:51 +01:00
Lev Proleev
26d1bc8a4e Modify NNAPI VTS tests to run on version 1.3
Bug: 139120468
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I4654dc75c17f8801103015dc1da91663dfa28d52
Merged-In: I4654dc75c17f8801103015dc1da91663dfa28d52
(cherry picked from commit b49dadfb64)
2019-10-17 18:34:51 +01:00
Lev Proleev
13fdfcd44f Copy VTS tests from v1.2 to v1.3
So that it's easier to see what actually has changed in VTS tests for
version 1.3

Bug: 139120468
Test: m
Change-Id: I09797f5f3898501a008186a22dd411b00e9e2c67
Merged-In: I09797f5f3898501a008186a22dd411b00e9e2c67
(cherry picked from commit 3b13b55ac1)
2019-10-17 18:34:51 +01:00
Lev Proleev
ce8c632a09 Create NNAPI HAL v1.3 and add TENSOR_QUANT8_ASYMM_SIGNED OperandType
Bug: 137828494
Bug: 139120468
Bug: 136735770
Test: mma
Change-Id: I28f74e4b364fec1d7431a96cf5687256b3106069
Merged-In: I28f74e4b364fec1d7431a96cf5687256b3106069
(cherry picked from commit 5a7b67ab8f)
2019-10-17 18:34:51 +01:00
nelsonli
6fe484ca11 [vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core
Convert VtsHalBiometricsFingerprintV2_1TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $ atest VtsHalBiometricsFingerprintV2_1TargetTest
Change-Id: I076d3de4398e071370f3386817b8248a13eb9352
2019-10-18 01:30:09 +08:00
Treehugger Robot
f49cfb4462 Merge "audio: Skip tests if audio HAL service lacks "primary" device" 2019-10-17 10:11:42 +00:00
Mikhail Naganov
0b457ad126 audio: Skip tests if audio HAL service lacks "primary" device
Non-default audio service (e.g. MSD) is allowed not to have
a "primary" device. In this case tests that require it can be
skipped.

Manage static objects of a test suite in a canonical gtest way
using SetUp/TearDownTestSuite.

Bug: 139321356
Bug: 141433379
Test: vts-tradefed run commandAndExit vts -m VtsHalAudioV5_0Target
      on a device with "msd" audio HAL module

Change-Id: I08a11b2caa9a913e812f1c203007070e4e68c44e
2019-10-16 17:26:45 -07:00
Steven Moreland
c762aef75d TEST_MAPPING += hidl_implementation_test
All HALs should have a known cf impl or be whitelisted.

Bug: 141567104
Test: hidl_implementation_test
Change-Id: I99568da80e6e36f3f5607b3f4f1e644f52ce69d2
2019-10-16 16:48:10 -07:00
Max Bires
a722ff42a9 Adding test to check that ASN.1 lengths are properly encoded
This test checks that length metadata for the ASN.1 encoding of
attestation application ids are correct. It generates an app id that
will have a length between 127 and 256, which should create an encoding
that requires two bytes of length metadata - one byte to specify how many
bytes are needed for the length, and one byte for the length.

Some implementations of keymaster only use one byte in this case, which
will fail on strict ASN.1 parsers.

Bug: 142674020
Test: m VtsHalKeymasterV4_0TargetTest && adb sync data \
&& adb shell data/nativetest64/VtsHalKeymasterV4_0TargetTest/VtsHalKeymasterV4_0TargetTest

Change-Id: I7dfc38a09247eb3cb237f33a202044668d15cbca
2019-10-16 15:21:14 -07:00
Dan Shi
030bef33a5 Convert VtsHalThermalV*TargetTest to be parameterized test
Bug: 142397658
Test: atest
Change-Id: I5846cab420671e7c3d2bfe80034a7b612ec2e47b
2019-10-16 14:45:16 -07:00
Dan Shi
21eb2f5359 Merge "Convert VtsHalGnssV1_0TargetTest to be parameterized test" 2019-10-16 18:54:33 +00:00
Harpreet \"Eli\" Sangha
8e08e377eb vibrator: Add 1.4 Tests to 'vts-core'
Test: Build
Change-Id: I288417d30158bdf8109bf58da7415681ce66c19c
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
2019-10-17 03:52:23 +09:00