Commit Graph

12557 Commits

Author SHA1 Message Date
Benno Lin
1d45f10c70 Merge "Create test app to emulate assistant UI." into tm-qpr-dev am: 4e330bd3fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19928112

Change-Id: I531ec78cc1df6a5bacd205afc48f39f2f1d26048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 08:37:01 +00:00
Benno Lin
4e330bd3fc Merge "Create test app to emulate assistant UI." into tm-qpr-dev 2022-09-16 07:52:02 +00:00
Josh Chien
99a08dbb83 Merge "Created a helper for mock game test app for gesture navigation cuj." into tm-qpr-dev am: 35153f867c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19893852

Change-Id: Ic25f7c1fa670c642c14972d2db846dbe5c361e1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 01:15:55 +00:00
Benno Lin
d71da61cd0 Merge "Create a new test for gesture navigation on Gmail test app" into tm-qpr-dev am: f5004fc373
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19784249

Change-Id: I5c176198521adb05cd850e5d02b1434002507a5c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-16 01:12:16 +00:00
Josh Chien
35153f867c Merge "Created a helper for mock game test app for gesture navigation cuj." into tm-qpr-dev 2022-09-16 00:26:42 +00:00
Josh Chien
cb73858546 Created a helper for mock game test app for gesture navigation cuj.
Test: http://ab/I65200010089592249
Bug: 244261956
Bug: 242247304
Change-Id: I67e375e902b0e5bd0ddd5551f1722d81bbd06493
Merged-In: I67e375e902b0e5bd0ddd5551f1722d81bbd06493
2022-09-15 14:24:51 +00:00
Ram Indani
1b0f426a49 Merge "Adds OWNERS file to TouchLatency Test: Presumits BUG: 241152647 Change-Id: I15e0c757472fffdb5f6b808a8d9a35657455c229" am: 3dbba6eefa am: c60c940d28 am: d22ea9a6e4 am: bfe0676aad
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2214989

Change-Id: I7801cabe094998884dd0e6cece6aa0031ca81618
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-15 01:05:18 +00:00
Ram Indani
d22ea9a6e4 Merge "Adds OWNERS file to TouchLatency Test: Presumits BUG: 241152647 Change-Id: I15e0c757472fffdb5f6b808a8d9a35657455c229" am: 3dbba6eefa am: c60c940d28
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2214989

Change-Id: I31f71f9df0882648e215a7fae8409361e926306c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-14 23:57:00 +00:00
Benno Lin
672a34a60f Create a new test for gesture navigation on Gmail test app
Test: http://ab/I46500010089410017
Bug: 244261364
Bug: 242247304
Bug: 232584723
Change-Id: Icb247f0cad760a00c7966ad107803848159df7fc
Merged-In: Icb247f0cad760a00c7966ad107803848159df7fc
2022-09-14 08:25:24 +00:00
Ram Indani
b3fec9fffa Adds OWNERS file to TouchLatency
Test: Presumits
BUG: 241152647
Change-Id: I15e0c757472fffdb5f6b808a8d9a35657455c229
2022-09-14 01:52:06 +00:00
Benno Lin
2d2e096065 Create test app to emulate assistant UI.
Example: https://screenshot.googleplex.com/8ApxVM9DGvUhFjZ.png

Test: manual
Bug: 244261370
Change-Id: Iac0e7cc04742963dc12ad650043b7cc63307fb97
2022-09-13 08:36:47 +00:00
Josh Chien
94e7493d63 Merge "Created a test app that mimics game app." into tm-qpr-dev am: f5ee8436e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19821020

Change-Id: Ica5ad40103e3e661ddc89c3beec8c19a142ac3ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-09 08:45:39 +00:00
Josh Chien
3cfa4b9a36 Created a test app that mimics game app.
This CL creates a test app that emulates game apps by using surfaceview in immersive mode for implementing ironwood P0 CUJs (b/244261956).
Demo: https://screencast.googleplex.com/cast/NTI2NDQ0Mzk5NTg0ODcwNHwzYTcxZWY1Yi1lZg

Test: manual
Bug: 244261956
Bug: 242247304

Change-Id: Iaee9fee5a343df0544057de485e9d6092b69b483
Merged-In: Iaee9fee5a343df0544057de485e9d6092b69b483
2022-09-09 03:07:05 +00:00
Robert Chou
222d4ea95f Merge "Activity gain focus failed in InputMethodStressTest" am: 7f5baabe2a am: 2fad378d72 am: 16a324ff03 am: f98575cb67
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2194375

Change-Id: Id6eee1db9d5dc9cce13d6d49ac598fcec9126a84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 08:40:09 +00:00
Robert Chou
16a324ff03 Merge "Activity gain focus failed in InputMethodStressTest" am: 7f5baabe2a am: 2fad378d72
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2194375

Change-Id: I68a29c1dbd3a1ae892ab71c904c0174b1786d2b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 07:21:02 +00:00
ot904697
19a0a4ec91 Activity gain focus failed in InputMethodStressTest
After the test is completed, the notification is not closed,
so that subsequent test cannot get the focus.

Close notification in tearDown to solve the issue.

Bug: 241723484
Test: run InputMethodStressTest pass

Change-Id: I876173e83488e18a884d8bc180f9681e726fff1d
2022-09-07 03:16:46 +00:00
Benno Lin
c8126b8597 Merge "Create test app that mimics GMail" into tm-qpr-dev am: e4be54bdee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19769183

Change-Id: Ia073528855cf84944312cf8634925eab755fb58c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-07 00:42:29 +00:00
Benno Lin
e4be54bdee Merge "Create test app that mimics GMail" into tm-qpr-dev 2022-09-07 00:16:18 +00:00
Zixuan Qu
47196b1422 Merge "Register VibrationSettings as a listener to: 1) virtual displays creation and removal. 2) App Uids running on virtual displays. These will be used in combination to ignore vibration initiated from a virtual display." into tm-qpr-dev am: 442f33f79e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19813060

Change-Id: Ib7071d4a7affded34e5ff58482e55521c7532a86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-02 16:45:09 +00:00
Zixuan Qu
913ddceb07 Register VibrationSettings as a listener to:
1) virtual displays creation and removal.
2) App Uids running on virtual displays.
These will be used in combination to ignore vibration initiated from a virtual display.

This change also consolicates the fix to avoid Null reference when VirtualDeviceManger
is not present in the available system services. See also ag/19744341.

Test: VibrationSettingsTest, VibratorManagerServiceTest

bug: 189474679

Change-Id: Ie10dbfe65bb3ab9d62ed5c7b5ed7095a51bccf24
Merged-In: Ie10dbfe65bb3ab9d62ed5c7b5ed7095a51bccf24
(cherry picked from commit a0ae5c1951)
2022-09-01 18:01:59 +00:00
Benno Lin
5456d9902b Create test app that mimics GMail
This CL creates a test app that emulates GMail's list view
for implementing ironwood P0 CUJs (b/244261364).
Demo: https://screenshot.googleplex.com/B8fup8QChvJHMWz.png

Test: manual
Bug: 244261364
Bug: 242247304
Bug: 232584723
Change-Id: Ic7259007c1e6fc3991fc799a62816749b0b64c62
Merged-In: Ic7259007c1e6fc3991fc799a62816749b0b64c62
2022-09-01 02:57:56 +00:00
Cole Faust
9b3a5fc03b Merge "Fix array-related errorprone warnings" am: a1eb8cf128 am: 44f8576073 am: 91d6c5b564 am: 6a79ae2567
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186016

Change-Id: I7052a1f7391ed6701fe0e1036c27368609032e35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 20:44:00 +00:00
Cole Faust
91d6c5b564 Merge "Fix array-related errorprone warnings" am: a1eb8cf128 am: 44f8576073
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2186016

Change-Id: Icfb700330d9a9cd0a592b76c9e4cf4a8bcd19c30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 19:01:56 +00:00
Cole Faust
a1eb8cf128 Merge "Fix array-related errorprone warnings" 2022-08-30 18:03:01 +00:00
Yike Zhang
71c8f97842 Merge "Add a missing test dependency for NetworkStagedRollbackTest" am: a4d60be743 am: 9b2421b86b am: 1e8cb3c89c am: 77e999d77e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2198761

Change-Id: I4a1ac7c7e726cacd8beaee63bb69dcc911376be5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 06:12:21 +00:00
Yike Zhang
1e8cb3c89c Merge "Add a missing test dependency for NetworkStagedRollbackTest" am: a4d60be743 am: 9b2421b86b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2198761

Change-Id: Id8a2e9483e8da196cab3c19b7c2f0d05c17c3b30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 05:19:34 +00:00
Yike
80004e3dc0 Add a missing test dependency for NetworkStagedRollbackTest
In Android.bp, all dependencies of a test should be declared explicitly, so that test infrastructure could only provide the needed dependencies instead of all to run a test. This change adds the missing dependency that is used in test config file but not declared in Android.bp.

Bug: 222438068
Test: atest NetworkStagedRollbackTest
Change-Id: I94525c74165eefd76cccf71ca11b23f45e36d0cf
2022-08-29 14:16:45 +08:00
Cole Faust
584140c83a Fix array-related errorprone warnings
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.

Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ia6f216cc36ad0a5758f39fd9b34962cd4adf9d8e
2022-08-25 10:57:12 -07:00
Joshua Mccloskey
008316a214 Merge "Added success lotties to BP for fp" into tm-qpr-dev am: 62b30d3e23
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19646757

Change-Id: Ia367e20b5c8f2a7ecba6a4a1cce0adecdc7731c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 16:30:10 +00:00
Joshua Mccloskey
62b30d3e23 Merge "Added success lotties to BP for fp" into tm-qpr-dev 2022-08-25 15:55:59 +00:00
Yan Yan
f86af0125f Add three new IKE options in IkeSessionParamsUtils
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_REKEY_MOBILITY,
IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION and
IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES.

This commit can also maintain compatibility with older T IPsec
modules that do not support the two IKE_OPTION_AUTOMATIC_ options

Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: Icadbe98b3df3cf3a80f51dc1467eb99753d82216
(cherry picked from commit 332f738998)
Merged-In: Icadbe98b3df3cf3a80f51dc1467eb99753d82216
2022-08-22 20:16:35 +00:00
Yan Yan
ab01d9630c Merge "Add three new IKE options in IkeSessionParamsUtils" am: dd4f288e31 am: e6a6d58fa2 am: 75cf48c8f0 am: 895b372f77
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2191196

Change-Id: If662b5a81abd32ac4afc09deced48ea0fceb4c57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 20:03:10 +00:00
Yan Yan
75cf48c8f0 Merge "Add three new IKE options in IkeSessionParamsUtils" am: dd4f288e31 am: e6a6d58fa2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2191196

Change-Id: I0a11dd2435bb52c58e43d6a1cea8745c13f0ff84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 18:50:01 +00:00
Yan Yan
332f738998 Add three new IKE options in IkeSessionParamsUtils
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_REKEY_MOBILITY,
IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION and
IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES.

This commit can also maintain compatibility with older T IPsec
modules that do not support the two IKE_OPTION_AUTOMATIC_ options

Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: Icadbe98b3df3cf3a80f51dc1467eb99753d82216
2022-08-19 23:52:54 +00:00
Yan Yan
6817cb01ac Merge "Revert "Add three new IKE options in IkeSessionParamsUtils"" am: c271a2da6a am: 9c20b1ede6 am: 92ac8f2ac9 am: 3f7609bf0c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2190278

Change-Id: If7deb604569351e2ed4f054f259642f181e346cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 23:03:21 +00:00
Yan Yan
92ac8f2ac9 Merge "Revert "Add three new IKE options in IkeSessionParamsUtils"" am: c271a2da6a am: 9c20b1ede6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2190278

Change-Id: I7ce2e933dba9a113d5696dbe4564a7a4816a3680
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:19:40 +00:00
Yan Yan
006ba183f6 Revert "Add three new IKE options in IkeSessionParamsUtils"
This reverts commit de1dca7c76.

Reason for revert: This commit will be cherry picked for QPR
release and is accessing new IPsec API constants
that will not be released until mainline October train. This
commit fails to maintain the compatibility with IPsec
module that is older than the October version.
Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: Iff0dcc32025dad3016257655205beaf2e842f24c
2022-08-19 19:08:49 +00:00
Treehugger Robot
ba77e19b54 Merge "Add three new IKE options in IkeSessionParamsUtils" am: 15f9600eb6 am: bcd10cbef5 am: 05846e1c82 am: aea063dbec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2185043

Change-Id: Ibc57dce662c0f649eb15a0a6a34ec18865eceb66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 03:59:03 +00:00
Treehugger Robot
05846e1c82 Merge "Add three new IKE options in IkeSessionParamsUtils" am: 15f9600eb6 am: bcd10cbef5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2185043

Change-Id: Ib8d3e46cb839c8cabacd1e11adab2ea5ac12b9f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 03:24:42 +00:00
Treehugger Robot
15f9600eb6 Merge "Add three new IKE options in IkeSessionParamsUtils" 2022-08-19 02:49:04 +00:00
Joshua McCloskey
017715d094 Added success lotties to BP for fp
Test: Manually verified animations worked as expected.
Fixes: 242783377
Change-Id: I95ea8c4d1ee1ecc1bd3c1ac3c0d33fe0e9803473
2022-08-18 21:14:20 +00:00
Yan Yan
de1dca7c76 Add three new IKE options in IkeSessionParamsUtils
This commit updates IkeSessionParamsUtils to be able
to encode/decode IkeSessionParams with IKE_OPTION_REKEY_MOBILITY,
IKE_OPTION_AUTOMATIC_ADDRESS_FAMILY_SELECTION and
IKE_OPTION_AUTOMATIC_NATT_KEEPALIVES

Bug: 242231517
Test: atest IkeSessionParamsUtilsTest
Change-Id: I0ea9fbf1e0c304a5afb563f912d2a8a49b4faad0
2022-08-17 20:37:16 +00:00
TreeHugger Robot
9857560b8e Merge "Reland: Remove workarounds by data_device_bins" into tm-dev am: 7faed5aaff am: 79f899dfd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19098483

Change-Id: I35991a7dcab8964fda62fb188b6769a5631c5e4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-15 20:11:45 +00:00
Yike
5533e7fbb1 Add a missing dependency for UpdatableSystemFontTest
All of a test's dependencies should be explicitly declared in the Soong build module to enable infrastructure features that ensure correctness and optimize runtime.

Here UpdatableSystemFontTest uses EmojiRenderingTestApp, but it doesn't declare the dependency in its Soong build module. This change declares EmojiRenderingTestApp in UpdatableSystemFontTest's `data` attribute.

Bug: 222438068
Test: atest-src UpdatableSystemFontTest \
          --experimental-device-driven-test \
          --experimental-java-runtime-dependencies \
          --bazel-arg=--test_timeout=48000
Test: atest UpdatableSystemFontTest
Change-Id: Ic1b5b94aabd4c95744109f2cc7443ae04c43b3a6
2022-07-27 11:10:48 +08:00
TreeHugger Robot
77fc251ad8 Merge "Add a missing dependency for UpdatableSystemFontTest" into tm-dev-plus-aosp am: 2d6129ae6d am: a0c0c2c35b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19415074

Change-Id: Id6c7d8eac2d9635da7fc0ba7570dc08df5ea9141
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 13:17:06 +00:00
Yike
d031ce0e8e Add a missing dependency for UpdatableSystemFontTest
All of a test's dependencies should be explicitly declared in the Soong build module to enable infrastructure features that ensure correctness and optimize runtime.

Here UpdatableSystemFontTest uses EmojiRenderingTestApp, but it doesn't declare the dependency in its Soong build module. This change declares EmojiRenderingTestApp in UpdatableSystemFontTest's `data` attribute.

Bug: 222438068
Test: atest-src UpdatableSystemFontTest \
          --experimental-device-driven-test \
          --experimental-java-runtime-dependencies \
          --bazel-arg=--test_timeout=48000
Test: atest UpdatableSystemFontTest
Change-Id: Ic1b5b94aabd4c95744109f2cc7443ae04c43b3a6
2022-07-26 17:21:25 +08:00
Xin Li
14543d1ec7 Merge tm-dev-plus-aosp-without-vendor@8763363
Bug: 236760014
Merged-In: I5705ac7586cb73b7bc2bd60bb792d0a0a951ed74
Change-Id: I59a4fd917c95c8c9e258cd743cee2d950a46d9cd
2022-06-28 21:24:28 +00:00
TreeHugger Robot
f608eb2b0f Merge "Reland: Remove workarounds by data_device_bins" into tm-dev-plus-aosp am: b7eead5e0e am: 95eee2b535
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19100412

Change-Id: I0e7bbb5ffb00cc2c5284e9786ed28d6b0ec6fcee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 20:17:19 +00:00
Victor Hsieh
921da951ef Reland: Remove workarounds by data_device_bins
This reverts commit 4e2e4c9337, plus
replacing data_device_bins with data_device_bins_both.

Previously, the test has dirty hacks that force building the device
executable in correct name. Switch to the proper solution now that we
have it.

Bug: 228775576
Test: atest ApkVerityTest
Test: lunch cf_x86_64_tv-eng; atest ApkVerityTest (against cf_x86_tv VM)
Change-Id: Iccb457131d74a83b9f5cb8457833d7c5ea495b05
Merged-In: Iccb457131d74a83b9f5cb8457833d7c5ea495b05
(cherry picked from commit 3b6c701cc7)
2022-06-28 19:31:54 +00:00
Victor Hsieh
13a0652e35 Reland: Remove workarounds by data_device_bins
This reverts commit 4e2e4c9337, plus
replacing data_device_bins with data_device_bins_first.

Previously, the test has dirty hacks that force building the device
executable in correct name. Swicth to the proper solution now that we
have it.

Bug: 228775576
Test: atest ApkVerityTest
Test: lunch cf_x86_64_tv-eng; atest ApkVerityTest (against cf_x86_tv VM)
Change-Id: Iccb457131d74a83b9f5cb8457833d7c5ea495b05
Merged-In: Iccb457131d74a83b9f5cb8457833d7c5ea495b05
(cherry picked from commit 3b6c701cc7)
2022-06-28 17:35:33 +00:00