Vadim Tryshev
101ea3e4e5
Restoring starting capturing existing activity.
...
ag/24138143 made the rule to produce empty captures in many cases.
ag/24138143 aimed to fix a leak that was caused by a local var
alreadyOpenActivity still referring the activity when the leak check
executes.
Fixing that by moving the variable to a method startCapturingExistingActivity.
Bug: 291638593
Test: local, presubmit
Flag: N/A
Change-Id: I281202488c6c85e2e2c5b5b3300e26d808167104
2023-07-24 19:09:48 +00:00
Sunny Goyal
6df6cd2244
Merge "Fixing ViewCaptureRule not unregistered if activity is destroyed" into udc-qpr-dev
2023-07-20 16:36:49 +00:00
Sunny Goyal
bb50f3cd8e
Fixing ViewCaptureRule not unregistered if activity is destroyed
...
Bug: 291638593
Test: Presubmit
Flag: N/A
Change-Id: I86daf9fac210340b037d376d882ac5872c596ae4
2023-07-19 16:14:47 -07:00
Pat Manning
d35d630745
Merge "Sends user home when stashed taskbar handle is clicked." into udc-qpr-dev
2023-07-19 18:24:06 +00:00
Pat Manning
f351e515f7
Merge "Show tooltips on cursor hover of taskbar icons." into udc-qpr-dev
2023-07-17 10:15:46 +00:00
Pat Manning
da69661add
Show tooltips on cursor hover of taskbar icons.
...
Fix: 250092437
Test: TaskbarHoverToolTipControllerTest
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: Ia0463518d13b313b354328078685930215fb7636
2023-07-14 13:42:30 +01:00
Jeremy Sim
a8690f5eb6
Add unit tests for SplitSelectDataHolder
...
This CL adds unit tests for the SplitSelectDataHolder class.
Fixes: 288318661
Test: None
Change-Id: Ia09b928be1c73dcf8a198ea5ece16f0557fb5b0d
2023-07-13 15:28:04 -07:00
Tracy Zhou
666c3b231d
Merge "Introduce multi finger trackpad gestures to tapl tests" into udc-qpr-dev
2023-07-13 06:11:26 +00:00
Tracy Zhou
db476c3921
Introduce multi finger trackpad gestures to tapl tests
...
- Add tests to go to overview from home and all apps
Bug: 281732733
Test: presubmit
Change-Id: Ief6d72d7293ca7dff935e764362aa5ab271fd36b
2023-07-12 19:52:04 -07:00
Fengjiang Li
ff15fbffec
Recreate hotseat predictor whenever we query it due to workspace change
...
Fix: b/289013842
Test: unit test, also verified moving icons will recreate hotseat predictor
Change-Id: I1f19b17654b87156132a4e4dee26e12312589dba
2023-07-12 10:11:12 -07:00
Vinit Nayak
15a9feb67f
Add support for taskbar phone 3 button seascape
...
* Ignore orientation check from ag/22709055 for now,
that will be reverted. This causes recreateTaskbar() to
not run when folding the device
Bug: 274517647
Test: Tested 3 button nav in portrait/landscape/seascape
Flag: persist.wm.debug.hide_navbar_window
Change-Id: Ied02ead677d496b465c748257e32b7db5eb9580c
2023-07-06 13:58:30 -07:00
patmanning
2c1860e8c6
Sends user home when stashed taskbar handle is clicked.
...
TAPL, see: go/tapl-taskbar-hover-states
Fix: 249852605
Test: TaplTestsTransientTaskbar
Flag: ENABLE_CURSOR_HOVER_STATES
Change-Id: If3c31b9b43a7361bc4e1a97395486249a44ad0f6
2023-07-05 22:18:01 +01:00
Tracy Zhou
323958007d
Add initial trackpad tapl tests
...
- go home
Bug: 281732733
Test: presubmit
Change-Id: I538d63bde2bf427a02c2bc355eab71546d667bf9
2023-07-03 10:50:54 -07:00
Vadim Tryshev
2ba42ef94d
Removing ViewCaptureAnalysisRule
...
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I0123ed3892bbfd6d0e880141ace878b6204dbd81
2023-06-27 22:12:45 +00:00
vadimt
95c1dc70b4
Saving view capture data before cleaning it in ViewCaptureRule
...
This makes it reliably available to FailureWatcher who saves the
artifact afterwards.
Test: local, presubmit
Flag: N/A
Bug: 286251603
Change-Id: I11b4854684f6ba5c798096eac223760d76f004b1
2023-06-15 16:20:04 -07:00
vadimt
62f24f63ad
Moving ViewCaptureRule to inside of FailureWatcher
...
Goal: ViewCaptureRule finishes recording before FailureWatcher starts saving
artifacts, including view capture.
Also starting recoding without waiting for activity creation if there is
already a Launcher activity.
Test: local, presubmit
Flag: N/A
Bug: 286251603
Change-Id: I191d3cdde76e9f906453b20325862f2bcff9024c
2023-06-14 17:39:48 -07:00
Vadim Tryshev
167ff73108
Merge "Revert "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test"" into udc-dev am: af641a6e80 am: 27e2251b7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23662872
Change-Id: I81d60e0d7d92267cadad309450a90ed39be0bc84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-12 23:07:01 +00:00
Vadim Tryshev
b5057c496a
Revert "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test"
...
This reverts commit 1a2462914d .
Reason for revert: Likely culprit for b/286115393
Change-Id: I613ca9f62c5b9f43f2e3cd240e45bc1a0db0e661
2023-06-12 17:40:22 +00:00
Vadim Tryshev
6d31bf9368
Merge "Adding a rule for analyzing view capture data" into udc-qpr-dev
2023-06-09 00:13:38 +00:00
vadimt
de54cb8fa5
Adding a rule for analyzing view capture data
...
For now, the rule is basically empty, to start with. In the following CLs it will
invoke the search for anomalies in the data collected by ViewCaptureRule
after the test succeeds and fail the test if an anomaly is found.
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I373ea0d7ee85206101fb15584889ea5933e7d7b8
2023-06-07 17:39:54 -07:00
TreeHugger Robot
397299e146
Merge "Revert "Re-enabling a couple of tests"" into udc-qpr-dev
2023-06-08 00:06:13 +00:00
Sunny Goyal
cda1842e7a
Merge "Removing all usage of LauncherProvider" into udc-qpr-dev
2023-06-07 22:03:48 +00:00
Vadim Tryshev
9d8c7871fc
Revert "Re-enabling a couple of tests"
...
This reverts commit 816ee74a2b .
Reason for revert: b/286278723
Change-Id: I3c4a5756c87a952f52947d2a8d3387396cd0637e
2023-06-07 21:31:44 +00:00
Sunny Goyal
7b9e28f152
Removing all usage of LauncherProvider
...
Also fixing a race condition in model when an item update/delete task
gets queued and executed after the model has reloaded (making the old
data obsolete)
Bug: 277345535
Bug: 263079498
Test: Presubmit
Flag: N/A
Change-Id: Ibd4bdbb3eece05b38b73a22a4be5f368df3754f0
2023-06-07 12:57:13 -07:00
Treehugger Robot
fb261c428b
Merge "Re-enabling a couple of tests" into udc-qpr-dev
2023-06-06 22:03:26 +00:00
Fengjiang Li
7d6a8b1c3a
Merge "Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test" into udc-dev am: 3dca7b3c6a am: 69a9a4cd52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23300979
Change-Id: If1ffa619e26ab7b76d6e0b946bcd29d121cd7219
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-06 19:43:54 +00:00
TreeHugger Robot
859d0d87e2
Merge "Simplifying some test utility methods" into udc-qpr-dev
2023-06-05 23:10:06 +00:00
vadimt
816ee74a2b
Re-enabling a couple of tests
...
Now we have test investigators team, so we can keep the tests in the running state.
I'll monitor these tests for some time to see whether they need immediate attention.
Test: presubmit, abtd
Bug: 187761685
Change-Id: Ibbb1ed82482ab548c7d0dc93572bd124288e956f
2023-06-05 20:14:57 +00:00
Fengjiang Li
1a2462914d
Fix NPE of handling ACTION_MOVE in StatusBarTouchController and added unit test
...
Fix: 282945183
Test: N/A
Change-Id: I96680f04a6946129b14c365e2300f408dfe8f0c3
2023-06-05 09:19:07 -07:00
Sunny Goyal
6773667e34
Revert "Revert "Adding main thread binder tracing in development..."
...
Revert submission 23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Reason for revert: Fixed broken build
Reverted changes: /q/submissionid:23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Change-Id: I3e130a780b8641c4a17a5cdf799513f2ba08b16e
2023-06-02 18:14:35 -07:00
Sunny Goyal
ee9740462e
Simplifying some test utility methods
...
Bug: 283821111
Test: Presubmit
Flag: N/A
Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
2023-06-02 13:30:55 +00:00
Santiago Aboy Solanes
0edac04688
Merge "Revert "Adding main thread binder tracing in development build."" into udc-qpr-dev
2023-06-02 09:06:26 +00:00
Santiago Aboy Solanes
ee846feb80
Revert "Adding main thread binder tracing in development build."
...
Revert submission 23482347-launcher-binder-tracing
Reason for revert: Broken Build 10242119 on git_master on errorprone b/285434612
Reverted changes: /q/submissionid:23482347-launcher-binder-tracing
Change-Id: Id9726474265e839a59d6eb34822e7a86d40f0fc9
2023-06-02 08:59:28 +00:00
Jagrut Desai
485cdbaf95
Merge "Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()" into udc-dev am: bcf6111413 am: fdf7be39f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23495344
Change-Id: I1d4375f4cea1a481b83d5ced50207766f980278d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 18:57:13 +00:00
Sunny Goyal
3db98b1152
Adding main thread binder tracing in development build.
...
> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
is not integrated with this tracing anymore
Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
2023-06-01 09:39:50 -07:00
Jagrut Desai
ce8dd7884a
Fixing TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet()
...
Currently, test asssumes that we are in persistent taskbar mode and assumes that taskbar is visible after switching to non ime activity.
We need overall strategy to how we migrate currentl TaplTestQuickstep to test for transient taskbar mode also. But, this will fix the current flakiness.
Test: Pre-submit
Flag: not needed
Bug: 281772186
Change-Id: Ie7e3364febd38ce489c3d3c881b94b8b308d3cb5
2023-05-31 15:05:35 -07:00
Stefan Andonian
55d0d21040
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev am: 57eaf86f8d am: fc7e8fa4c2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23454664
Change-Id: I0da767add8247c3530af0a26e965d6830018ef75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-30 19:02:56 +00:00
Stefan Andonian
57eaf86f8d
Merge "Revert "Keep ViewCaptureRule logic self-contained."" into udc-dev
2023-05-30 17:49:54 +00:00
Alex Chau
6565b68168
Merge "Add Portrait/Landscape support for NexusLauncher screenshot tests" into udc-qpr-dev
2023-05-30 15:54:10 +00:00
Stefan Andonian
0a8fab01da
Revert "Keep ViewCaptureRule logic self-contained."
...
This reverts commit eec7a9d90f .
Reason for revert: Failing tests.
Change-Id: Idf16453bbd7f0ace17d8e80d3303fae26b50333b
2023-05-26 21:11:41 +00:00
Stefan Andonian
6d8f3bfd61
Merge "Keep ViewCaptureRule logic self-contained." into udc-dev am: 9678d9470c am: 12b89ef14f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23402041
Change-Id: If28ea0288770e9c4ea6e2b84c74a8adb5493e813
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-26 00:43:27 +00:00
Stefan Andonian
9678d9470c
Merge "Keep ViewCaptureRule logic self-contained." into udc-dev
2023-05-25 22:53:28 +00:00
Stefan Andonian
eec7a9d90f
Keep ViewCaptureRule logic self-contained.
...
This will make it easier for other apps / processes to integrate the
ViewCapture logic into their integrated testing frameworks.
Bug: 270158224
Test: Verified that a zip file was generated properly and was able to be
loaded into go/web-hv properly.
Change-Id: Ib3e4a0b60497937b750126590071884882b22917
2023-05-25 17:59:46 +00:00
Hui Kang
2e5da30386
[4/7]Add PlatinumTest annotation to tests am: 5bde3f8573 am: f4c8a29eac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23395253
Change-Id: I4ae5b30382e745ad6f491525819b3fae3f875c27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 16:49:02 +00:00
Hui Kang
f4c8a29eac
[4/7]Add PlatinumTest annotation to tests am: 5bde3f8573
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23395253
Change-Id: I7909d9b59e524904f6632fdab92012db3ea49541
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-25 16:33:30 +00:00
Hui Kang
879d746de7
Merge changes from topic "Annotate Platinum Test" into udc-dev
...
* changes:
[3/7]Add PlatinumTest annotation to tests
[4/7]Add PlatinumTest annotation to tests
2023-05-25 16:04:10 +00:00
Jordan Silva
aac286af4f
Add Portrait/Landscape support for NexusLauncher screenshot tests
...
Updating @PortraitLandscape annotation to be public to allow its usage by modules implementing Launcher3 and AbstractLauncherUiTest and interop with Kotlin.
Bug: 283751050
Flag: N/A
Test: atest HomeScreenEditStateImageTest
Change-Id: I84e1210c0476a3b3f9b40bbb6ee6b46a44b752ff
2023-05-25 02:25:19 +01:00
Hui Kang
5bde3f8573
[4/7]Add PlatinumTest annotation to tests
...
These tests are in the audited platinum suite (go/platinum-audit-flake)
Test: make
Bug: 283409062
Change-Id: Id438fde00b2a6e31694bef125d20637af514b9da
2023-05-24 01:17:18 +00:00
Thales Lima
ec06cd1039
Merge "Create TAPL test for taskbar in overview" into udc-dev am: ac206e1daf am: dd2c541ffe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23155127
Change-Id: Id3659cc04359e2cdf0efca8ab2b5e7ae286696cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-23 19:58:12 +00:00
Thales Lima
ac206e1daf
Merge "Create TAPL test for taskbar in overview" into udc-dev
2023-05-23 18:32:34 +00:00