Commit Graph

21004 Commits

Author SHA1 Message Date
Hayden Gomes
2cabc45b5c Merge "Fixing AudioFocusChange to be signed int" into rvc-dev am: b3bdf80113
Change-Id: I021a5a0164948778f14a22641c105ed115789cc4
2020-04-03 22:13:54 +00:00
Hayden Gomes
b3bdf80113 Merge "Fixing AudioFocusChange to be signed int" into rvc-dev 2020-04-03 21:59:30 +00:00
Xiangyu/Malcolm Chen
11ba6eade2 Merge "Skip enableModem vts if in single SIM mode." into rvc-dev am: 03725802fe
Change-Id: Iefaf0df4883dfd6809b9528baebad61ffb25a13c
2020-04-03 21:10:28 +00:00
Xiangyu/Malcolm Chen
03725802fe Merge "Skip enableModem vts if in single SIM mode." into rvc-dev 2020-04-03 20:59:24 +00:00
Steven Moreland
fa346817ec Merge "graphics.composer@2.2 rc remove interface decls" into rvc-dev am: 6b2eaec3a6
Change-Id: I1d1f0226f0003d22c73d9909e051861da733d80d
2020-04-03 19:50:08 +00:00
Steven Moreland
6b2eaec3a6 Merge "graphics.composer@2.2 rc remove interface decls" into rvc-dev 2020-04-03 19:29:45 +00:00
Malcolm Chen
b4de0a94a2 Skip enableModem vts if in single SIM mode.
Due to modem issue, enableModem only works in dual-SIM mode.
And we only use that in dual-SIM mode. So skipping testing in
in single SIM mode.

Bug: 152557383
Test: vts
Change-Id: I41f200317eaf9be0613f92e5bff9a3ee8a98ef15
2020-04-03 18:30:30 +00:00
Steven Moreland
36f210147d graphics.composer@2.2 rc remove interface decls
Since vendors here add additional services to this service,
vts_ibase_test fails on some devices. This test, for sanity,
requires that if a service has any interface declaration, it has
all relevant interface declarations. These interface entries are
declared but unused here.

Fixes: 152375928
Test: vts_ibase_test on sargo
Change-Id: I2d3225b42824f0befb55d8c93a578e910a05e4a1
2020-04-03 15:58:29 +00:00
Changyeon Jo
fe96a7ae18 Merge changes from topic "evs_memory_management" into rvc-dev am: ce6f4b0676
Change-Id: Ib61d790c589642d2b2ee8b00e40a3221c5b24cda
2020-04-03 00:48:54 +00:00
Changyeon Jo
ce6f4b0676 Merge changes from topic "evs_memory_management" into rvc-dev
* changes:
  Add CameraStreamExternalBuffering test case
  User allocated EVS camera capture buffers
2020-04-03 00:20:48 +00:00
Hayden Gomes
23f48e01b5 Fixing AudioFocusChange to be signed int
AudioFocusChange is expected to have negative values, but was originally
defined to be an unsigned int.

Bug: 153090512
Test: make -j
Change-Id: I27cd8134f9fe19fbefc788e5c2498947dc52967e
2020-04-02 14:13:40 -07:00
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
Shuo Qian
9877a582d7 [automerger skipped] Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things. am: fb98e4f092 am: 3322d1578c -s ours
am skip reason: Change-Id I92616557ae44c2a421ee687d0420f7b7901ba5a9 with SHA-1 872ffc262f is in history

Change-Id: I8b8fb101e313ba9f0232f741e554e43206549f71
2020-04-01 17:22:19 +00:00
Shuo Qian
3322d1578c Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things. am: fb98e4f092
Change-Id: I6341a46e530242db05e0c53b154a65f76b7d3a38
2020-04-01 17:00:17 +00:00
TreeHugger Robot
d435f11da6 Merge "Remove dependency on VtsHalHidlTargetTestEnvBase" into rvc-dev am: ec78149a5c
Change-Id: Id47192d3595d6e3308c4e05705ef546b186c5dbf
2020-04-01 07:23:00 +00:00
TreeHugger Robot
ec78149a5c Merge "Remove dependency on VtsHalHidlTargetTestEnvBase" into rvc-dev 2020-04-01 07:05:39 +00:00
Shuo Qian
fb98e4f092 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
Merged-In: I92616557ae44c2a421ee687d0420f7b7901ba5a9
(cherry picked from commit 872ffc262f)
2020-04-01 04:39:47 +00:00
TreeHugger Robot
edd47674f2 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 am: a826b0139d
Change-Id: I9c07f8a979c9b3ae3491adf187cc59f25e540f40
2020-04-01 04:34:34 +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
3a8f4298a0 Merge "Convert VtsHalTvInputV1_0TargetTest to parameterized gtest" into rvc-dev am: 704ada8dc2
Change-Id: I588c463e99442c1121dcc05656c1733f51d01043
2020-04-01 00:24:55 +00:00
Amy Zhang
704ada8dc2 Merge "Convert VtsHalTvInputV1_0TargetTest to parameterized gtest" into rvc-dev 2020-04-01 00:12:30 +00:00
Valerie Hau
35ae27639d Merge "Relax constraints on getting PlaneLayouts" into rvc-dev am: 28fcdf27e4
Change-Id: Ib3656f37c31da5f2c07160d0a725dbfea2fbd940
2020-03-31 23:13:50 +00:00
Valerie Hau
28fcdf27e4 Merge "Relax constraints on getting PlaneLayouts" into rvc-dev 2020-03-31 22:59:27 +00:00
Nicholas Ambur
65756f10c8 Merge changes from topic "soundtrigger-vts-tech-debt" into rvc-dev am: 8438a18c57
Change-Id: I63b5433c38d1838a26c810c386cf30a0d0e613eb
2020-03-31 22:26:33 +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
30af1f47bd Merge "Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test" am: ac06943cad am: ea805b20ab
Change-Id: I1bf333eb7c4a76fa942012d9ceb695c9fb4cab04
2020-03-31 20:20:49 +00:00
Dan Shi
ea805b20ab Merge "Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test" am: ac06943cad
Change-Id: I058a4ea0646597ad0ac575f10486ec79c39a9ad3
2020-03-31 20:09:25 +00:00
Dan Shi
ac06943cad Merge "Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test" 2020-03-31 19:29:31 +00: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
Huihong Luo
b35f7d88c4 Don't send brightness to car service inside Emulator
This fixes this cts test: android.cts.statsd.atom.UidAtomTests#testScreenBrightness

Bug: 139959479
Test: atest android.cts.statsd.atom.UidAtomTests#testScreenBrightness
Change-Id: I66f858ce7686a90cd395f4e646133e8ea4604be4
(cherry picked from commit 1322465c48d0c3dfa5953573b80a89460b8e7e95)
(cherry picked from commit 5d463fdaaa)
2020-03-31 17:02:39 +00: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
Hayden Gomes
9abc6ede0a Merge "Adding IAudioControl@2.0 to current compatibility matrix" into rvc-dev-plus-aosp 2020-03-31 15:25:39 +00:00
Siarhei Vishniakou
dd13a58a9d Convert InputClassifierTest to parametrized test am: 0a51242abc
Change-Id: I002d97c1ae2178824e5f550d8d346bd51687f629
2020-03-31 08:34:47 +00: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
5c0e070bf4 Merge "gralloc4-vts: fix Lock_YCBCR_420_888 test" into rvc-dev am: fa8e5f931a
Change-Id: Ifabab1df43fc1a52125229c91bbbc3e54dc60fe1
2020-03-31 04:09:05 +00: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
d48bf1b4a3 Merge "Update the current API dump" into rvc-dev am: 09b85ff4de
Change-Id: I7acb945278a699a938c2411bcaec500f358ef8ed
2020-03-31 01:47:20 +00:00
TreeHugger Robot
09b85ff4de Merge "Update the current API dump" into rvc-dev 2020-03-31 01:32:33 +00:00
TreeHugger Robot
fb5b6302a5 Merge "Update the current API dump" into rvc-dev am: 5091835258
Change-Id: Ia2c0e1ed95307256801fe1c5e82d20dc5a55e927
2020-03-31 01:10:14 +00:00
TreeHugger Robot
5418119738 Merge "Update the current API dump" into rvc-dev am: 40f678fe23
Change-Id: Id7832b3f98c8800091ae26f18c3748a296a5204d
2020-03-31 01:10:08 +00:00
TreeHugger Robot
196f3e6594 Merge "Update the current API dump" into rvc-dev am: 2e152113d3
Change-Id: I091127026ac81c113c3ef7f8413a14b5e2e0bdb7
2020-03-31 01:10:03 +00:00
TreeHugger Robot
57e3d589a5 Merge "Update the current API dump" into rvc-dev am: 55632d323b
Change-Id: I60a34d30a17959856feb3864810c8baa5b4e4f8a
2020-03-31 01:09:58 +00:00
TreeHugger Robot
c7cab92225 Merge "Update the current API dump" into rvc-dev am: eb4c2de355
Change-Id: Ibaf4f959e242358bed01058865b8441201700fb5
2020-03-31 01:09:53 +00:00
TreeHugger Robot
95b729ab7e Merge "Update the current API dump" into rvc-dev am: 87a7e48db3
Change-Id: I9dca906f5e83dfb5e61f1b819b4c8105874ac5be
2020-03-31 01:09:49 +00:00
TreeHugger Robot
0f836e75e0 Merge "Update the current API dump" into rvc-dev am: 27c43358c0
Change-Id: I000ac94972c56c39c4bad359b9947d4fdd112c68
2020-03-31 01:09:43 +00:00