Commit Graph

20663 Commits

Author SHA1 Message Date
Changyeon Jo
8b06871849 Add CameraStreamExternalBuffering test case
This change adds a VTS test case to validate a new
IEvsCamera::importExtenralBuffers() API.  New test case allocates
graphic buffers and passes them via a new API call.

Bug: 152493110
Test: vts-tradefed VtsHalEvsV1_1_TargetTest
Change-Id: I157f3cf45092a9a4ca8bf5bf9ea54aa62d15225c
2020-04-01 10:54:45 -07:00
TreeHugger Robot
ec78149a5c Merge "Remove dependency on VtsHalHidlTargetTestEnvBase" into rvc-dev 2020-04-01 07:05:39 +00:00
Tommy Chiu
83691500e1 Correct UseHmacKey parameter
HMAC key was created with Digest(Digest::SHA_2_256) which is missing in
the UseHmacKey function

Bug: 152932473
Test: VtsHalKeymasterV4_1TargetTest
Change-Id: If63dd197fe12172e14be9890ab07a00c3eef4a4c
2020-04-01 07:02:35 +00:00
TreeHugger Robot
a826b0139d Merge "Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things." into rvc-dev 2020-04-01 04:19:37 +00:00
Shuo Qian
872ffc262f Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things.
Test: Treehugger; GoogleTest knowledge; VTS team confirmation
Bug: 152813990
Change-Id: I92616557ae44c2a421ee687d0420f7b7901ba5a9
2020-04-01 02:32:11 +00:00
Changyeon Jo
3e69744f0f User allocated EVS camera capture buffers
This change introduces a new API to import frame capture buffers
allocated by the clients.

Bug: 152493110
Test: m -j and run /system/bin/evs_app --test --extmem
Change-Id: I679c61719e4d0e3a7d0c41110afe66e0a4ccb305
2020-03-31 17:45:22 -07:00
Amy Zhang
704ada8dc2 Merge "Convert VtsHalTvInputV1_0TargetTest to parameterized gtest" into rvc-dev 2020-04-01 00:12:30 +00:00
Valerie Hau
28fcdf27e4 Merge "Relax constraints on getting PlaneLayouts" into rvc-dev 2020-03-31 22:59:27 +00:00
Nicholas Ambur
8438a18c57 Merge changes from topic "soundtrigger-vts-tech-debt" into rvc-dev
* changes:
  remove stopAllRecognitions VTS test
  remove duplicate soundtrigger VTS tests
2020-03-31 22:05:11 +00:00
Valerie Hau
2229623f1f Relax constraints on getting PlaneLayouts
PlaneLayouts may only be known at allocation time.

Bug: 152806713
Test: build, boot
Change-Id: Ic878943b405469a70a685a895c04a1d4e2678686
2020-03-31 13:47:54 -07:00
Dan Shi
86b285465f Remove dependency on VtsHalHidlTargetTestEnvBase
Bug: 143892896
Test: atest VtsHalWifiApV1_0TargetTest \
  VtsHalWifiNanV1_0TargetTest \
  VtsHalWifiV1_0TargetTest \
  VtsHalWifiV1_1TargetTest \
  VtsHalWifiV1_2TargetTest \
  VtsHalWifiNanV1_2TargetTest \
  VtsHalWifiV1_3TargetTest \
  VtsHalWifiApV1_4TargetTest \
  VtsHalWifiHostapdV1_0TargetTest \
  VtsHalWifiHostapdV1_1TargetTest \
  VtsHalWifiHostapdV1_2TargetTest \
  VtsHalWifiSupplicantV1_0TargetTest \
  VtsHalWifiSupplicantP2pV1_0TargetTest \
  VtsHalWifiSupplicantV1_1TargetTest \
  VtsHalWifiSupplicantV1_2TargetTest \
  VtsHalWifiSupplicantP2pV1_2TargetTest

Change-Id: I8a18f18f3aaa497642f380fea43517ec14554993
2020-03-31 11:34:32 -07:00
Nicholas Ambur
34de57d194 remove stopAllRecognitions VTS test
The stopAllRecognitions API is not used at the layers above the HAL, and
it requires the HAL to own the state of all active recognitions. This
API causes discontinuity with the upper layers also maintaining state
information.

The VTS requirement is being removed.

Bug: 151281377
Test: atest VtsHalSoundtriggerV2_0TargetTest
&& atest VtsHalSoundtriggerV2_1TargetTest

Change-Id: If14ed8177e0ff2730d2ed78ba8fbbbd058c4d57a
2020-03-31 09:41:14 -07:00
Nicholas Ambur
8ea56db2af remove duplicate soundtrigger VTS tests
SoundTrigger VTS tests were duplicated in minor version updates.
This is not required and thus removed.

Bug: 151281377
Test: atest VtsHalSoundtriggerV2_0TargetTest
&& atest VtsHalSoundtriggerV2_1TargetTest

Change-Id: I60cfbe664cf7c38b2894d3e5f0df824737854c82
2020-03-31 09:37:08 -07:00
Siarhei Vishniakou
0a51242abc Convert InputClassifierTest to parametrized test
The test is currently based on old vts harness and not in vts suite.

Bug: 150383004
Test: atest VtsHalInputClassifierV1_0TargetTest
Change-Id: I5df4eff845fd49b8663d1589c5314d5acf4b5057
Merged-In: I5df4eff845fd49b8663d1589c5314d5acf4b5057
(cherry picked from commit 25a866eecc)
2020-03-31 06:18:34 +00:00
Amy Zhang
2a95706150 Convert VtsHalTvInputV1_0TargetTest to parameterized gtest
Test: atest VtsHalTvInputV1_0TargetTest
Bug: 150382976
Change-Id: I6a7bd522ac10f4462d187d3d6261e523c1b73bd0
2020-03-30 21:35:49 -07:00
TreeHugger Robot
fa8e5f931a Merge "gralloc4-vts: fix Lock_YCBCR_420_888 test" into rvc-dev 2020-03-31 03:57:42 +00:00
TreeHugger Robot
09b85ff4de Merge "Update the current API dump" into rvc-dev 2020-03-31 01:32:33 +00:00
TreeHugger Robot
5091835258 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:03:36 +00:00
TreeHugger Robot
40f678fe23 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:36 +00:00
TreeHugger Robot
2e152113d3 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:26 +00:00
TreeHugger Robot
55632d323b Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:16 +00:00
TreeHugger Robot
eb4c2de355 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:06 +00:00
TreeHugger Robot
87a7e48db3 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:59:56 +00:00
TreeHugger Robot
27c43358c0 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:59:46 +00:00
TreeHugger Robot
f1c873e7d9 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:56:19 +00:00
TreeHugger Robot
5a8697164d Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev 2020-03-30 23:35:33 +00:00
Chris Weir
7ae041932d Merge "Remove completed TODO" into rvc-dev 2020-03-30 22:45:02 +00:00
Ahmed ElArabawy
2ce146de16 Merge "Wifi: Fix vts tests error handling" into rvc-dev 2020-03-30 22:31:13 +00:00
Hayden Gomes
2b6950c40b Merge "Adding IAudioControl@2.0 to compatibility matrix" into rvc-dev 2020-03-30 20:17:55 +00:00
chrisweir
c8716aebfc Remove completed TODO
TODO for serial number support should be removed now that the feature is
implemented and merged.

Bug: 142654031
Test: Manual - comment only change
Change-Id: Ib733e71840e82e5cd9c47825a53f804f9c296a3d
2020-03-30 13:12:30 -07:00
Chris Weir
ee08459e45 Merge "Clean up errno logs and sto* conversions" into rvc-dev 2020-03-30 20:00:09 +00:00
Chris Weir
cb7499c772 Merge "Add Support for Configuring CAN HAL by Serialno" into rvc-dev 2020-03-30 19:40:27 +00:00
TreeHugger Robot
d11d6ee03f Merge "Using VINTF manifest fragment" into rvc-dev 2020-03-30 19:16:24 +00:00
TreeHugger Robot
220b3237dd Merge "Remove IOperation and beginOp." into rvc-dev 2020-03-30 17:59:00 +00:00
Hayden Gomes
31f0c96c26 Adding IAudioControl@2.0 to compatibility matrix
Bug: 148178269
Test: built target using V2 of IAudioControl
Change-Id: I9673e35f2f9e667b66e1b9fbfa2fb13b975b7cb1
2020-03-30 10:40:11 -07:00
Steven Moreland
ef7c8a2544 Merge "remove face@1.1 HAL from current.txt" into rvc-dev 2020-03-30 17:34:22 +00:00
chrisweir
a9d0e90f14 Add Support for Configuring CAN HAL by Serialno
Configuration files may now specify a list of serial numbers, or serial
number suffixes. These can be used to identify a USB peripheral,
regardless of what order the interface names are configured by the OS.

Bug: 142654031
Test: Manual
Change-Id: Idcdad1159b216119eb063df8bb229172a383b9ed
Merged-In: Idcdad1159b216119eb063df8bb229172a383b9ed
(cherry picked from commit 442b3badc8)
2020-03-30 17:22:55 +00:00
TreeHugger Robot
62a2f62a44 Merge "Add vintf_fragments to keymaster@4.1-service" into rvc-dev 2020-03-30 16:52:46 +00:00
Chris Weir
4241873864 Merge "DO NOT MERGE Add support for EFF/RTR to canhalsend" into rvc-dev 2020-03-30 16:30:57 +00:00
Jiyong Park
f20a45e7c3 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: Icc9c32aaf7f8555e6a3792bb5e5a2b48a446c545
2020-03-30 15:01:03 +09:00
Jiyong Park
8f023acb78 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: I93fba2721695a14e0eb4a2173066ce132228b895
2020-03-30 15:00:27 +09:00
Jiyong Park
640d9b8df4 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: If899eb8ea77a20b0c097c61abe5bdab64cd6f487
2020-03-30 14:59:58 +09:00
Jiyong Park
e88dca8d99 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: Idb1c34df81674321911e4a85f9e862b539a3f30c
2020-03-30 14:59:40 +09:00
Jiyong Park
9a4af4bce5 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: If47c5982894dc99a7f2d1767d64be60b491842c7
2020-03-30 14:59:20 +09:00
Changyeon Jo
6912b90613 Using VINTF manifest fragment
Bug: 152703657
Test: m check-vintf-all -j
Change-Id: I44fd1b7c2269891d0b4447cf1be7d8d5fbb8889a
2020-03-29 22:59:08 -07:00
Jiyong Park
905ebbed43 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: Id167905590c0a596b0ed470ef668c47810966836
2020-03-30 14:59:06 +09:00
Jiyong Park
cde2dfddc2 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: Ia633e3a143b35626c59b2447c38c1710ee270f0c
2020-03-30 14:58:46 +09:00
Jiyong Park
aa13c7e985 Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: If547945d3bc8c8a73e2341ff9e90025ac10ce662
2020-03-30 14:58:16 +09:00
Jiyong Park
bafc0c0c5c Update the current API dump
All aidl_interface modules should by default considered as stable, in
case it is used across system and vendor partitions, or across modules.
Like other API surfaces, we need to have a dump for the current
(yet-to-be-released) version and update it when there is an API change.
This is done via .

Then the owner of the interface can freeze the current version as a
numbered version via .

This change shal be rejected only when the owner is certain that the
interface is not used across the updatable boundaries.

Bug: 152655547
Test: m
Change-Id: I6fe1185e82d248deb021d8c75b4af7d9ca330db2
2020-03-30 14:57:53 +09:00
Yu-Han Yang
5f0bbe9324 Make GetLocationLowPower test warning instead of failing
Bug: 150222509
Bug: 152434001

Test: passing on device with GSI build
Change-Id: I8af0a992d1cf4af9ef1e78095f7352534c711549
2020-03-28 05:13:33 +00:00