Commit Graph

20663 Commits

Author SHA1 Message Date
TreeHugger Robot
aeaaeaabb1 Merge changes from topics "ion", "scan" into rvc-dev
* changes:
  Align Tuner VTS scan tests with the latest scan mechanism
  Copy filtered av data to ion buffer to test on cuttlefish
2020-03-28 03:55:51 +00:00
Steven Moreland
e6372d5cdd remove face@1.1 HAL from current.txt
It no longer exists. Accidentally added.

Bug: 147496715
Test: n/a
Change-Id: Id6f062618413d76d201aa46eb3a591adc1940cb6
2020-03-27 17:56:03 -07:00
chrisweir
62bbf3dca9 DO NOT MERGE Add support for EFF/RTR to canhalsend
Adding support for extended format frames and remote transmission
request frames to canhalsend.

Bug: 149404884
Test: Manual
Merged-In: I330b9d24c34918b38612ddc1745f019e11bfd474
Change-Id: I330b9d24c34918b38612ddc1745f019e11bfd474
(cherry picked from commit 30bd3dce06)
2020-03-27 23:50:49 +00:00
Amy
e3b052154d Align Tuner VTS scan tests with the latest scan mechanism
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Bug: 150953857
Change-Id: Ibb0a70195b1e8f89a45f3ab1a025dfaab4c76859
2020-03-27 16:01:05 -07:00
Amy
d6afead9fc Copy filtered av data to ion buffer to test on cuttlefish
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150952766
Change-Id: If007f9c021102dc95be8e9dc70be70d3945192a9
2020-03-27 16:00:47 -07:00
Roman Kiryanov
779c6327ec Add vintf_fragments to keymaster@4.1-service
Bug: 152616625
Bug: 152554068
Test: boot emulator, lshal | grep keymaster
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I36818fdc0f7732174fc7b2fd7619b1ae75b5b33d
Change-Id: I2d7336c3f45ee7722d04ade091d50432e1fd6f99
2020-03-27 15:30:23 -07:00
Valerie Hau
5035da0e76 Merge "graphics: update OWNERS" into rvc-dev 2020-03-27 22:03:41 +00:00
Miao Wang
6dbc481649 Merge "Update the specification for the following operations" into rvc-dev 2020-03-27 21:57:09 +00:00
chrisweir
75a80f6b60 Clean up errno logs and sto* conversions
I learned that we should be using PLOG to log errno strings, and we
should be avoiding stoi, stol, etc... conversions and instead use the
built in Android ParseInt/ParseUint functions.

Bug: 150250606
Bug: 150245058
Test: Manual for CLI tools, VTS for everything else
Merged-In: Icdd8a6af8564d5de3bedd1bc934f7928eb5e66e9
Change-Id: Icdd8a6af8564d5de3bedd1bc934f7928eb5e66e9
(cherry picked from commit 1173a7253b)
2020-03-27 18:04:48 +00:00
Ahmed ElArabawy
7f817f5e23 Wifi: Fix vts tests error handling
In current code, VTS tests checks on null pointer using EXPECT_NE
then proceed with using the variable. This causes a null pointer
exception when the test fails.
This commit replaces the EXPECT_NE with ASSERT_NE to exit the test
on failure.

Bug: 152576797
Test: atest VtsHalWifiV1_0TargetTest
Change-Id: I5e54634020216f91144a234caf2b990de5706d8c
2020-03-27 00:08:58 -07:00
Sarah Chin
a3e5a6fc9c Merge "Update HAL Bands" into rvc-dev 2020-03-27 00:33:05 +00:00
Chris Weir
33277cdc2b Merge "CAN Configurator Service" into rvc-dev 2020-03-26 22:28:11 +00:00
Sarah Chin
2aa757432a Update HAL Bands
Test: mm cf_x86_phone-userdebug
Test: atest VtsHalRadioV1_5Target
Bug: 151842542
Change-Id: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
2020-03-26 14:57:35 -07:00
Shawn Willden
e0affee86b Remove IOperation and beginOp.
The way I planned for this to work doesn't work.  We'll revisit in
Keymaster5.  For now, removing IOperation and beginOp.

Bug: 152536287
Test: Build & boot
Change-Id: I017d17079380cc3bacc6f05b2486e1b6e6c3f675
2020-03-26 13:49:28 -06:00
Marissa Wall
77b837f0ad graphics: update OWNERS
marissaw@ is leaving. jessehall@ is on a different team. Remove
them and add new owners.

Test: Compiles
Bug: 150462113
Change-Id: I922710de701d3923268591bcb48db3e12acb0500
(cherry picked from commit 88417a586b)
2020-03-26 19:31:56 +00:00
chrisweir
8fd2a85b6d Clean up TODOs
Squeegee supports Android now, so I'm cleaning up my TODOs.

Bug: 144458917
Bug: 144775286
Test: Only changes to comments

Change-Id: Ifd9907ba944759d4d5b36bce92f6bd11b5bb74e7
(cherry picked from commit 1ab3554868)
2020-03-26 18:34:17 +00:00
chrisweir
01247f9508 CAN Configurator Service
Configurator service for the CAN HAL and extracting some of the CAN HAL
configuration logic into a library for the various tools to share.

Bug: 142653776
Test: Manual
Change-Id: Id33871da851bcb442a7f851919f713ec913830ff
(cherry picked from commit 33ce7505d1)
2020-03-26 18:30:31 +00:00
Jason Macnak
34445d98ed gralloc4-vts: fix Lock_YCBCR_420_888 test
Updates Cb and Cr plane indexing. The existing code seems to use
chromaStep as a sub-sampling factor and seems to assume that the
underlying format is tri-planar.

Updates Cb and Cr value checking. The existing code would write
values into the Cb and Cr planes using a value derived from
even-x-value and odd-y-value full-image-coordinates (e.g. (0,1))
but then check against the values in the Cb and Cr planes using
a value derived from even-x-value and even-y-value coordinates
(e.g. (0,0)).

Updates y-plane sample increment check to confirm that it is
multiple of 8. I don't see any requirements stating this needs
to be 32 bits.

Bug: b/146515640
Test: VtsHalGraphicsMapperV4_0Target
Change-Id: Ia9e496ae43b2d1ac9ea8d57a4d4fc55f0be7b2b6
2020-03-26 08:56:29 -07:00
Steven Moreland
0df912df57 Merge changes I7bb9d561,I2748d4a7 into rvc-dev
* changes:
  Freeze 'current' matrix as '5'.
  bpfmt compat matrix Android.bp
2020-03-26 15:38:16 +00:00
Steven Moreland
571e88eb77 Merge "Freeze HALs for Android R" into rvc-dev 2020-03-26 15:36:06 +00:00
Steven Moreland
8c583d85b6 Freeze 'current' matrix as '5'.
To signify this as being ready for release.

Bug: 147496715
Test: build & boot cf (which is at target-level 5)
Change-Id: I7bb9d561506849bac2353d9356a6580f6e2393ab
2020-03-26 03:47:30 +00:00
Miao Wang
077c0339d4 Update the specification for the following operations
- RANDOM_MULTINOMIAL
 - L2_NORMALIZATION

Bug: 136279892
Bug: 140177375
Test: mm
Change-Id: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
2020-03-25 16:46:13 -07:00
Steven Moreland
a37ed88ebb bpfmt compat matrix Android.bp
Bug: 147496715
Test: n/A
Change-Id: I2748d4a74f0bfc668f6ff0f8bce22c94dd90f61f
2020-03-25 15:14:47 -07:00
TreeHugger Robot
3b491b4812 Merge "Fix file paths for DumpstateUtil calls in 1.0" into rvc-dev 2020-03-25 21:44:15 +00:00
Steven Moreland
6b72cf0a74 Freeze HALs for Android R
Bug: 147496715
Test: none
Change-Id: Ied59b4ba94c8b6bb9e3ead869d8341cffa86f1e8
2020-03-25 13:49:29 -07:00
TreeHugger Robot
85c0d4fb00 Merge "Add default/android.hardware.dumpstate@1.1-service.example" into rvc-dev 2020-03-25 19:55:24 +00:00
Ilya Matyukhin
c2a2d6c66b Merge changes from topics "biometrics.face@1.1-revert", "biometrics.fingerprint@2.2-cleanup" into rvc-dev
* changes:
  Update the hash for biometrics.fingerprint@2.2
  Remove enroll_2_2 and authenticate_2_2
  Revert "Define biometrics.face@1.1 with remote enrollment"
  Revert "Add VTS tests for biometrics.face@1.1"
  Move default implementation from 1.1 to 1.0
  Revert "Add enroll_1_1 with preview window id"
  Revert "Add biometrics.face@1.1 to current.txt"
2020-03-25 05:35:06 +00:00
Roman Kiryanov
5aa27a00c6 Fix file paths for DumpstateUtil calls in 1.0
selinux prevents access to /vendor/bin/date and
/system/etc/hosts.

Bug: 152067221
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I6202878427718bc825063941377c3e91b798677f
Change-Id: I47fb746e17b9a2771a8857e6c6b80abce6324de4
2020-03-24 22:18:44 -07:00
Roman Kiryanov
2ccf0825a6 Add default/android.hardware.dumpstate@1.1-service.example
Bug: 152067221
Test: VtsHalDumpstateV1_1TargetTest
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I7f4e50846e2dc4393563c602145afb5617b2d48f
Change-Id: I1ad44c244df3cbe7afede8d250d1c2259328c87a
2020-03-24 22:18:37 -07:00
TreeHugger Robot
85db5d655f Merge "Add libc++fs for auto" into rvc-dev 2020-03-24 21:55:22 +00:00
Ilya Matyukhin
f17c21ac1e Update the hash for biometrics.fingerprint@2.2
Bug: 147496715
Bug: 139317981
Bug: 149502271
Test: atest vts_treble_vintf_vendor_test
Change-Id: I68d8977234a81eec2185fb57adea4fd9342863a8
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
49120d936c Remove enroll_2_2 and authenticate_2_2
Bug: 139317981
Bug: 149502271
Test: m vts -j
Test: vts-tradefed run commandAndExit vts -m VtsHalBiometricsFingerprintV2_2Target
Change-Id: I80492f324753291be4118de95e16ec370004afc8
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
9a471eb8be Revert "Define biometrics.face@1.1 with remote enrollment"
This reverts commit ec0b6e26ea.

Reason for revert: this interface is untested in R.

Bug: 151331855
Bug: 149502271
Change-Id: I5d63c6e52c540af328fe108bff1861d16990a6b4
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
32142e7c41 Revert "Add VTS tests for biometrics.face@1.1"
This reverts commit f21a4f0aee.

Reason for revert: this interface is untested in R.

Bug: 151331855
Change-Id: I6fbdd846a9ea56d1595347d0321fbf9018015da7
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
1c0e3b7e57 Move default implementation from 1.1 to 1.0
Bug: 151331855
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Change-Id: I4a0d136faacd427ac28970d1a30a374cb6618393
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
921df7abd2 Revert "Add enroll_1_1 with preview window id"
This reverts commit 7ab5ab85d0.

Reason for revert: this interface is untested in R.

Bug: 151331855
Bug: 149502271
Change-Id: I819adb2910e70243e19e273675ad15de7736279a
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
a69fd6ae73 Revert "Add biometrics.face@1.1 to current.txt"
This reverts commit 7b8a5c99d6.

Reason for revert: this interface is untested in R.

Bug: 151331855
Change-Id: I6e0f8096a1c9c02936d7f3fcc247566f80b37648
2020-03-24 14:09:16 -07:00
Steven Moreland
ab328a04b6 Merge "graphics common: fix AIDL BufferUsage calculation" into rvc-dev 2020-03-24 20:53:30 +00:00
chrisweir
740c3d53c0 Add libc++fs for auto
Add a temporary version of libc++fs for a couple of auto features. This
will need to be switched out when libc++fs merges, possibly in S.

Bug: 152067309
Bug: 142654031
Test: Manual
Change-Id: Ibb495af8140470b79e73fd104fd5061f7e3ad8a9
2020-03-24 20:00:11 +00:00
TreeHugger Robot
42b7037739 Merge "Camera: Update metadata docs to match current API" into rvc-dev 2020-03-24 18:41:45 +00:00
TreeHugger Robot
b077c21de9 Merge "Add SubHal header for Sensors HAL 2.1" into rvc-dev 2020-03-24 15:26:43 +00:00
TreeHugger Robot
4ac0f0f3ae Merge changes Ie3669798,I4b34cc34 into rvc-dev
* changes:
  Audio Effects: Run more tests for LoudnessEnhancerEffect
  Audio Effects: Skip CheckConfig test for non-matching HAL versions
2020-03-24 00:21:24 +00:00
Mikhail Naganov
4e1ad4cb1f Audio Effects: Run more tests for LoudnessEnhancerEffect
Due to incorrect assumptions about test case inheritance
in GTests, LoudnessEnhancerEffect wasn't running tests
for methods of IEffect interface. The test code has been
restructured to fix that via proper parametrization.

Bug: 146149801
Test: atest VtsHalAudioEffectV5_0TargetTest
Test: atest VtsHalAudioEffectV6_0TargetTest
Change-Id: Ie366979880bfc3b7e95a02957451736d724f838f
Merged-In: Ie366979880bfc3b7e95a02957451736d724f838f
2020-03-23 15:33:31 -07:00
Mikhail Naganov
113bd8111a Audio Effects: Skip CheckConfig test for non-matching HAL versions
In vts-core a test suite for version N can be called for HAL
of version M. Since in the case of the Effects HAL the XSD
configuration for the effects is version-dependent, the test
must not validate the effects config using XSD file for other
version. Thus, the configuration validity check must be skipped
if no corresponding version of IEffectsFactory is found
on the device.

Bug: 142397658
Bug: 146015418
Test: atest VtsHalAudioEffectV6_0TargetTest
      on a device that uses earlier version of Audio HAL;
      CheckConfig#audioEffectsConfigurationValidation must
      be IGNORED
Change-Id: I4b34cc34091447c04bf8d3e988c9bd4048dc8ef9
Merged-In: I4b34cc34091447c04bf8d3e988c9bd4048dc8ef9
2020-03-23 15:32:51 -07:00
Michael Butler
3c8593c0fe Merge "Remove extra tests from NNAPI VTS validation tests" into rvc-dev 2020-03-23 22:07:32 +00:00
Miao Wang
1be73e85a1 Merge "Fix the timing initialization error for failed executeFenced case" into rvc-dev 2020-03-23 20:47:22 +00:00
Miao Wang
ad7678c8cb Fix the timing initialization error for failed executeFenced case
Fixes: 152075771
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I5829397346354ee3fc4a58b0a418197a1eee47cc
2020-03-23 20:46:58 +00:00
Yifan Hong
d32364c7af Merge "Revert^2 "Drop GNSS1.1 and Thermal1.0"" into rvc-dev 2020-03-23 19:49:13 +00:00
Yifan Hong
5687a853a0 Merge "Add tv.tuner to current compatibility matrix." into rvc-dev 2020-03-23 19:49:13 +00:00
Yifan Hong
47def08db8 Revert^2 "Drop GNSS1.1 and Thermal1.0"
593dbfc154

Bug: 131717099

Change-Id: Ie706207523b3b6183933b76b0ab24d9c21938a86
2020-03-23 18:44:20 +00:00