Commit Graph

1535 Commits

Author SHA1 Message Date
TreeHugger Robot d8bbdce598 Merge "Removing unused tracing" into sc-v2-dev 2021-09-16 04:59:38 +00:00
TreeHugger Robot e7e282b80b Merge "Adding Winscope Launcher trace artifact" into sc-v2-dev 2021-09-14 06:43:24 +00:00
TreeHugger Robot fb4461e2e7 Merge "Add tmp buffer to rounded corners" into sc-v2-dev 2021-09-13 22:13:20 +00:00
Winson Chung 58030642b0 Add tmp buffer to rounded corners
- Testing if this actually moves the gesture out of the screen decor area

Bug: 197326121
Test: Pre/postsubmit
Change-Id: I3c46ed3860ba6ba1fb605242b4f7242aaabc5672
2021-09-13 20:01:56 +00:00
vadimt 1cb868e2f7 Removing unused tracing
Bug: 195319692
Test: presubmit
Change-Id: I035870abff8b0ee1f714bb56a5326e30c0f77fb0
2021-09-10 16:01:17 -07:00
Sunny Goyal 848e297ea5 Removing obsolete robo test setup
Test: Presubmit
Bug: 196825541
Change-Id: Ic6559917a6581f358d8af4d50c079fe947b64e4e
2021-09-09 09:30:47 -04:00
vadimt 352c0035cb Adding Winscope Launcher trace artifact
Bug: 197991109
Test: local runs
Change-Id: I8fe718570e1400e97ea107bc25e169f39257ff43
2021-09-07 15:26:52 -07:00
TreeHugger Robot d213914214 Merge "Fixing leak in model tests" into sc-v2-dev 2021-09-07 21:31:34 +00:00
Sunny Goyal b45aef3f1c Fixing leak in model tests
> InstallSessionTracker is not released immediately causing large memory objects
  being held by tests

Bug: 198719724
Test: Presubmit
Change-Id: I1d19a2a498a9f255077818dc7d78422367ec1749
2021-09-07 15:34:48 -04:00
Sunny Goyal 1aff018e17 Cleaning up fixed bug
Bug: 192010616
Test: Presubmit
Change-Id: I12d79726852a588cb0ee6b1aaf5ab8bccb9c3cfc
2021-09-07 12:04:44 -04:00
Winson Chung b42265861b Use max of corners when deciding gestures and add logs for corners
Bug: 197326121
Test: Pre/postsubmit
Change-Id: I1c083dc9234354f66cf1537f0cfe8c21f1e1be3b
2021-09-04 02:23:53 +00:00
TreeHugger Robot 667bda8448 Merge "Revert "Revert "Migrating all model tests to Instrumentation tests""" into sc-v2-dev 2021-08-31 10:52:02 +00:00
Sunny Goyal 777d49062f Revert "Revert "Migrating all model tests to Instrumentation tests""
This reverts commit 7a4a30d86d.

Test: Presubmit
Reason for revert: Fixing original bug

Bug: 196825541
Change-Id: Id4b1eb24a89564d264266d305aebea52917dfcd9
2021-08-31 10:51:52 +00:00
TreeHugger Robot 3c79aa579b Merge "Adding a test artifact for logcat with only interesting tags" into sc-v2-dev 2021-08-30 18:45:42 +00:00
vadimt 6c416c699d Adding a test artifact for logcat with only interesting tags
This is based on the brainstorm "diagnostic scripts running on ATP".

Please propose additional (to "TestRunner") tags.

Also adding class name to all artifact filenames
because sometimes different classes have failing tests
with the same name.

Bug: 197991109
Test: local runs
Change-Id: Ic2022ca526d833fe99450e90fcfd8fb7be1f79d5
2021-08-27 15:07:11 -07:00
Android Build Prod User 435e6a0443 Merge "Not using stale object to diagnose stale object" into sc-v2-dev 2021-08-27 02:48:56 +00:00
Android Build Prod User 50f928c388 Merge "Waiting for Launcher to settle after enabling test provider" into sc-v2-dev 2021-08-25 09:29:39 +00:00
vadimt 67a11ff6a5 Waiting for Launcher to settle after enabling test provider
I suspect that something happens in Launcher after enabling the provider
that causes "mismatched event sequence" errors.

This CL is to verify that.

Bug: 195031154
Test: presubmit
Change-Id: Ic22df5fa631b287b580f0aaf00c84cd408cb60b0
2021-08-25 01:30:45 +00:00
Android Build Prod User 497a6ad826 Merge "Improving diags for containers disappearing while getting children" into sc-v2-dev 2021-08-24 21:28:23 +00:00
TreeHugger Robot 907c22ca14 Merge "Not checking for some anomalies when switching nav modes" into sc-v2-dev 2021-08-24 19:49:41 +00:00
Alex Chau 204e749f06 Merge "Revert "Migrating all model tests to Instrumentation tests"" into sc-v2-dev 2021-08-24 17:29:06 +00:00
Alex Chau 7a4a30d86d Revert "Migrating all model tests to Instrumentation tests"
This reverts commit 455ba62b5d.

Reason for revert: Breaks tests on all targets

Bug: 196825541
Bug: 197570389
Change-Id: Ida6792a09c54dee46105b6b914a0dd1545bdf48d
2021-08-24 17:27:52 +00:00
vadimt 51ae38304b Not checking for some anomalies when switching nav modes
Test: presubmit
Bug: 196820244
Change-Id: I3e9554d3deb453625cde5003ccf132f21253f58a
2021-08-24 17:23:12 +00:00
vadimt 767f02b809 Not using stale object to diagnose stale object
Test: presubmit
Bug: 187761685
Change-Id: Ifbe7f48515f575bfe08373592891e745112ac2a6
2021-08-23 17:49:59 -07:00
TreeHugger Robot c817d2a633 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev 2021-08-23 21:08:51 +00:00
Sunny Goyal 455ba62b5d Migrating all model tests to Instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: Iebd46eb41eb46c187d569197f4b97b4fddc0f6f7
2021-08-23 12:34:44 -07:00
TreeHugger Robot a7929aff08 Merge "Logging for artifacts not being created" into sc-v2-dev 2021-08-19 10:39:57 +00:00
vadimt b29f63af3c Logging for artifacts not being created
Bug: 196820244
Test: presubmit
Change-Id: I8bcaa0a87d54adc122a71755746912112c4b83e1
2021-08-18 19:10:13 -07:00
Sunny Goyal 494bbb0b6c Merge "Moving all widget picker tests to instrumentation tests" into sc-v2-dev 2021-08-19 01:41:40 +00:00
Sunny Goyal 177785eccf Moving all widget picker tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I946f29baedb2e6b29044f8df1bc73b74e9999efe
2021-08-18 15:06:53 -07:00
Sunny Goyal 11854ba48b Moving some utility tests to instrumentation tests
> Also removing some UI tests which are already covered by instrumentation

Bug: 196825541
Test: Presubmit
Change-Id: Ib39a81589d0bf55278623a596d444b752ca696e6
2021-08-18 15:00:45 -07:00
Sunny Goyal 741107cc53 Merge "Updating test build rules" into sc-v2-dev 2021-08-18 19:23:33 +00:00
Vadim Tryshev 543f73a09d Merge "Waiting for Launcher to restart after enabling test provider" into sc-v2-dev 2021-08-18 18:48:52 +00:00
Sunny Goyal 4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
vadimt 272d622bc4 Improving diags for containers disappearing while getting children
Bug: 184609576
Test: presubmit
Change-Id: I7f527a9991a58fd148b17783078b5ac80979a5b3
2021-08-17 18:47:12 -07:00
vadimt fa56d3ed27 Waiting for Launcher to restart after enabling test provider
Bug: 188806432
Test: presubmit
Change-Id: Ie821c7641c351e0926fff1b7218c4ed745d2dd8f
2021-08-16 18:37:28 -07:00
Tracy Zhou 180a7d97d7 Merge "Update LauncherInstrumentation to consider tablet w/o nav bar" into sc-v2-dev 2021-08-17 01:01:49 +00:00
TreeHugger Robot 32e573162d Merge "Removing unnecessary logging" into sc-v2-dev 2021-08-16 10:22:34 +00:00
TreeHugger Robot a4937b2270 Merge "Revert "Not using shell command to enable test provider"" into sc-v2-dev 2021-08-13 23:27:18 +00:00
Vadim Tryshev 169c4e88cd Revert "Not using shell command to enable test provider"
This reverts commit 5f80e92bda.

Reason for revert: We need to see if this has caused b/196586808

Bug: 196586808
Test: presubmit
Change-Id: I078f0d4e83f5f1db19e9e0a5afec4f3058156745
2021-08-13 21:56:07 +00:00
TreeHugger Robot 87cf3efe06 Merge "Removing some instrumentation for a workarounded bug" into sc-v2-dev 2021-08-13 18:42:22 +00:00
Tracy Zhou 2bb92ba49d Update LauncherInstrumentation to consider tablet w/o nav bar
Bug: 191660313
Test: TaplTestsLauncher3
Change-Id: I7bbcc2f9c3eb7b62dc2abd94b63df22b7168bf15
2021-08-13 08:54:35 -07:00
TreeHugger Robot 73ad3abc29 Merge "Restoring generating artifacts" into sc-v2-dev 2021-08-13 00:44:57 +00:00
vadimt 303298de84 Restoring generating artifacts
Bug: 189874683
Test: presubmit
Change-Id: I82503900a8b7ce916a54437456007dec00016c47
2021-08-12 16:04:05 -07:00
vadimt 5f80e92bda Not using shell command to enable test provider
Shell command can kill app

Test: presubmit
Bug: 188806432
Change-Id: Id512eb16d26cc4b324574a2a6a15f4805e426b9f
2021-08-12 10:28:45 -07:00
vadimt 4381c3a343 Removing unnecessary logging
Test: presubmit
Bug: 190748682
Change-Id: I3a280b4f351098cf256d276baced6e13eb771eb3
2021-08-11 14:24:06 -07:00
TreeHugger Robot 69f2dc2b49 Merge "Even further increase FORCE_PAUSE_TIMEOUT in tests" into sc-v2-dev 2021-08-11 19:19:59 +00:00
Alex Chau c2441dffbe Even further increase FORCE_PAUSE_TIMEOUT in tests
- http://b//194114179#comment17 shows that 900ms should work for most cases

Bug: 194114179
Test: atest NexusLauncherOutOfProcTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Change-Id: Ie2832d7ad25b0844121ecf626903140bfeedc5ba
2021-08-11 18:36:42 +01:00
Alex Chau 2a4c978371 Clean up ScreenRecord for AddWidgetTest
Bug: 195263971
Test: manual
Change-Id: I5880c9aa0294795d7a5827163f3f51466b67ad35
2021-08-11 10:06:05 +01:00
vadimt a1e0b01a44 Removing some instrumentation for a workarounded bug
Bug: 187080582
Test: Local, presubmit
Change-Id: I2334072bebc9d4e40d632fe068943bf5560f02e4
2021-08-10 18:43:40 -07:00