Commit graph

18594 commits

Author SHA1 Message Date
Xin Li
ed7102cde5 DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-master
Bug: 151763422
Change-Id: I1deb479d02d7ef6535bfcf2995ead9b8844e6c47
2020-04-09 17:51:09 -07:00
Treehugger Robot
1e6eb2fc10 Merge "Add vintf_fragments to android.hardware.confirmationui@1.0-service" am: 7f7285cb3b
Change-Id: I2791d16c5654d6a2f78d72bdbfbae9a19bfcad45
2020-04-09 22:10:52 +00:00
Yifan Hong
ae01378243 Merge changes from topic "battery_current_sign" am: c25d22b315
Change-Id: Ibd33db053b9c209e8ade91bdd7dba530569858f4
2020-04-09 22:10:33 +00:00
Treehugger Robot
7f7285cb3b Merge "Add vintf_fragments to android.hardware.confirmationui@1.0-service" 2020-04-09 21:57:53 +00:00
Yifan Hong
c25d22b315 Merge changes from topic "battery_current_sign"
* changes:
  health 2.0 vts: add battery current test.
  health 2.0 VTS: require GTEST_SKIP to be defined
2020-04-09 21:40:01 +00:00
Roman Kiryanov
41f2139cab Add vintf_fragments to android.hardware.confirmationui@1.0-service
Bug: 153666825
Test: boot, lshal | grep confirmationui
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: Ib8ff51a60df30d6d8773d658bdadf3de904c0426
2020-04-09 12:16:56 -07:00
Yifan Hong
94841c9df1 health 2.0 vts: add battery current test.
Require the following on battery current:
- skip health info tests if current is 0 (indicates the value is unavailable)
- when charging, positive
- when discharging / not charging, negative
- when unknown, zero
- batteryCurrentAverage should be similar to batteryCurrentNow.

All new tests are executed over
a period of time to avoid effects of fluctuation in
battery current, and ensure battery status is initialized.

Requirements are enforced on devices launching with R
only.

Require the following on battery status:
- if not charging / full / charging, must be connected
- if discharging, must not be connected.

Test: run on coral, tests are skipped
Test: run on cuttlefish, test passes

Bug: 136717180
Change-Id: Ic5a714b830ffeca1dcd000c6cad0fbfe8a8710ed
2020-04-09 11:32:42 -07:00
Yifan Hong
9fb96fa4b0 health 2.0 VTS: require GTEST_SKIP to be defined
This is a hack to support the test in Android P. Now that gtest
has been updated, we no longer need this hack.

Test: run it
Bug: 118852225
Bug: 136717180
Change-Id: I81802b6fae0dc7839aa9fd1dd40cb881ff4eefdb
2020-04-09 11:32:42 -07:00
Treehugger Robot
4c06b8ff9a Merge "Freeze vintf aidl interfaces" am: 15664d3f58 am: 493bf4e213
Change-Id: If446d561980dcd0dcb1b753eaeae9b233a0da928
2020-04-09 08:11:49 +00:00
Treehugger Robot
2b5e061adc Merge "android.hardware.tests.extension.vibrator-update-api" am: 3cd2b74e0d am: be621c1eb8
Change-Id: Ia1501e6f0d86b8ecdadca0f17441db7be595b95d
2020-04-09 08:11:48 +00:00
Treehugger Robot
fd7efa9d62 Merge "Update the current API dump" am: 9967a61dba am: 46ac6a16b4
Change-Id: If07b703fb6fe61dd6b228b7572c67f5b7e8d23f3
2020-04-09 08:11:46 +00:00
Treehugger Robot
a2d613da09 Merge "Update the current API dump" am: ecbe5b9353 am: 54520d845e
Change-Id: I86fbb955bca8f8383f3abbd2d579204152c107fc
2020-04-09 08:11:45 +00:00
Treehugger Robot
f42c6c80b1 Merge "Update the current API dump" am: 9e7d451a00 am: 6323c41632
Change-Id: I80a520b64d8dc24197fd2524f3ad41185c30250c
2020-04-09 08:11:44 +00:00
Treehugger Robot
b4b9b27648 Merge "Update the current API dump" am: c2116d2c90 am: 6cd8c8e294
Change-Id: Ic23e0c3e5a052be0b5798c1e379b49155f56f3e4
2020-04-09 08:11:42 +00:00
Jiyong Park
4f2b16ad97 Update the current API dump am: d7fcbb00d7 am: 2d22f21b2c
Change-Id: I72e2425500f6c2e5ac28d2e35abcc0c4a982dc02
2020-04-09 08:11:40 +00:00
Treehugger Robot
493bf4e213 Merge "Freeze vintf aidl interfaces" am: 15664d3f58
Change-Id: I71a7c3bd622a9f6d046eb750ed6592cc8c8f3d0e
2020-04-09 07:55:35 +00:00
Treehugger Robot
be621c1eb8 Merge "android.hardware.tests.extension.vibrator-update-api" am: 3cd2b74e0d
Change-Id: I041364e497681cbf7ad8a5ca4f3b235ff90c50d0
2020-04-09 07:55:33 +00:00
Treehugger Robot
46ac6a16b4 Merge "Update the current API dump" am: 9967a61dba
Change-Id: Ic051da3151874d379f64e0324fb40bdb7248d580
2020-04-09 07:55:30 +00:00
Treehugger Robot
54520d845e Merge "Update the current API dump" am: ecbe5b9353
Change-Id: Ie0cdebc84dd34b0b0341572c3a4b0a63eafaf8f7
2020-04-09 07:55:28 +00:00
Treehugger Robot
6323c41632 Merge "Update the current API dump" am: 9e7d451a00
Change-Id: I457855f6e6b8d17b9ab8fad1ad64d7e4efe876eb
2020-04-09 07:55:25 +00:00
Treehugger Robot
6cd8c8e294 Merge "Update the current API dump" am: c2116d2c90
Change-Id: I174198f4d578980a41c294c33057f01c254ba558
2020-04-09 07:55:22 +00:00
Jiyong Park
2d22f21b2c Update the current API dump am: d7fcbb00d7
Change-Id: I6f53c37fcab0a2004457d3a0568044bc3bdf502b
2020-04-09 07:55:19 +00:00
Treehugger Robot
15664d3f58 Merge "Freeze vintf aidl interfaces" 2020-04-09 07:49:49 +00:00
Treehugger Robot
3cd2b74e0d Merge "android.hardware.tests.extension.vibrator-update-api" 2020-04-09 07:49:49 +00:00
Treehugger Robot
9967a61dba Merge "Update the current API dump" 2020-04-09 07:49:49 +00:00
Treehugger Robot
ecbe5b9353 Merge "Update the current API dump" 2020-04-09 07:49:49 +00:00
Treehugger Robot
9e7d451a00 Merge "Update the current API dump" 2020-04-09 07:49:49 +00:00
Treehugger Robot
c2116d2c90 Merge "Update the current API dump" 2020-04-09 07:49:49 +00:00
Jeongik Cha
f63412fcf9 android.hardware.tests.extension.vibrator-update-api
Dumping android.hardware.tests.extension.vibrator was ommited
because of difference of module name across branch.

Bug: 153501107
Bug: 152655547
Test: m
Change-Id: Ia272ffa77add9ef0b02ee0a23fc2389ac69fa9aa
2020-04-08 22:32:00 +09:00
Jeongik Cha
cfb374895d Freeze vintf aidl interfaces
AIDL interfaces which are vintf-stable have to be frozen in release.
But these interfaces have been never frozen, so freeze them.

- android.hardware.power
- android.hardware.identity
- android.hardware.keymaster
- android.hardware.vibrator
- android.hardware.light
- android.hardware.tests.extension.vibrator

Bug: 153500421
Bug: 153500550
Bug: 153511407
Bug: 153500549
Bug: 153501107
Bug: 153501202
Test: m
Change-Id: I643c25fc695f9d1e874dcceb327d465c49e9cab6
2020-04-08 20:28:40 +09:00
Jiyong Park
369fe2f322 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
Merged-In: I93fba2721695a14e0eb4a2173066ce132228b895
2020-04-08 20:21:58 +09:00
Jiyong Park
db3a8dcdd4 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
Merged-In: If47c5982894dc99a7f2d1767d64be60b491842c7
2020-04-08 20:20:52 +09:00
Jiyong Park
fbaea712a3 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
Merged-In: Id167905590c0a596b0ed470ef668c47810966836
2020-04-08 18:38:49 +09:00
Jiyong Park
b74bd982f9 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
Merged-In: Idb1c34df81674321911e4a85f9e862b539a3f30c
2020-04-08 18:30:44 +09:00
Jiyong Park
d7fcbb00d7 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
Merged-In: Ia633e3a143b35626c59b2447c38c1710ee270f0c
2020-04-08 18:27:11 +09:00
Dan Shi
4f31dbecff Rename vts-core to vts am: ba894f81db am: 55d110bcd0
Change-Id: I7ec0a07d5593daa6be9ad2227ed3d3dde5f1a619
2020-04-07 23:57:08 +00:00
Dan Shi
55d110bcd0 Rename vts-core to vts am: ba894f81db
Change-Id: Ifb5d31470ee6d3b29b2f1af4be54b1fbdd888a7c
2020-04-07 23:45:55 +00:00
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Malcolm Chen
009f462370 Skip enableModem vts if in single SIM mode. am: 1c4905c2ee am: 00c0466e70
Change-Id: I24001e5a6087705d790edfbd52a996ddb00d32fa
2020-04-03 23:25:44 +00:00
Malcolm Chen
00c0466e70 Skip enableModem vts if in single SIM mode. am: 1c4905c2ee
Change-Id: I5a7f9cc082137e15e105996ba9a19524b9711710
2020-04-03 23:07:42 +00:00
Malcolm Chen
1c4905c2ee 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
Merged-In: I41f200317eaf9be0613f92e5bff9a3ee8a98ef15
2020-04-03 14:01:23 -07:00
Shuo Qian
86f086644f 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
Change-Id: I0985a5efae967fa8161cd73d443696e270fcd5b4
2020-04-01 17:22:25 +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
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
Dan Shi
2b120ec203 Merge "Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test" am: ac06943cad am: ea805b20ab
Change-Id: I6d577a4ad61bc22d9ca48c9a385908da004c46ba
2020-03-31 20:21:52 +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
Steven Moreland
26b037db2d Merge "Add current.txt HAL sections for S." am: cc7eac49b2 am: b37f307723
Change-Id: I75ed984bd5410323aa77cf65f5d8d9ab3793cf98
2020-03-30 23:10:25 +00:00
Steven Moreland
b37f307723 Merge "Add current.txt HAL sections for S." am: cc7eac49b2
Change-Id: I82ba3b19d2b09e851dd6b33c924b2236f6445ca8
2020-03-30 22:50:26 +00:00
Steven Moreland
cc7eac49b2 Merge "Add current.txt HAL sections for S." 2020-03-30 22:20:19 +00:00