History log of /cts/hostsidetests/services/activitymanager/src/android/server/cts/ActivityManagerTestBase.java
Revision Date Author Comments
b25980759c8966c4e3511e805195a844a73e9599 24-Jun-2016 Adam Lesinski <adamlesinski@google.com> Add testing of DisplayMetrics during Activity resizing

DisplayMetrics should also update during window resizing
and rotation changes.

Bug:29619314
Change-Id: I76eef4e74aab713944bcb2ef971780f7f01ef765
(cherry picked from commit 97538a1afa3775217fb338c73b0b39a7e9b897a6)
fd5500ac55f378c686fb076c9dff510f59f764dc 22-Jun-2016 Adam Lesinski <adamlesinski@google.com> Improve hostside test for App window resize

The case of an Activity resizing from fullscreen to docked
is currently tested and verified that some key properties are
being correctly updated (Display, Configuration).

This change adds the reverse case, where the Activity starts in
docked mode and transitions to fullscreen.

Bug:28388969
Change-Id: I9b7d37a5250af36e9255a57d873717251d72cc9e
58ca7cb13c3085925f86a52775a692775f238238 22-Jun-2016 Adam Lesinski <adamlesinski@google.com> Fix build due to merge issue

Bug:28388969
Change-Id: I7be1ef05b3533762d51d9d26f3aad36a331fc470
34ef5efb5309e9ca843439c8dcbb9c34bb4a8e3a 20-Jun-2016 Adam Lesinski <adamlesinski@google.com> Multiwindow config and display size test

Added test to ensure configuration sizes and display
sizes are updated when an Activity is resized.

Bug:28388969

Change-Id: I602aefac2445fe1d7125f83934a8810d1fc85590
51c6be5966623515068bad896ef1e225c9eed2fa 21-Jun-2016 Andrii Kulian <akulian@google.com> Unlock device only if it is already locked in CTS

Bug: 29425724
Bug: 29497152
Change-Id: Ib5688dc3ee0d7ee4a4f95c38a5eda4fcf74d2a57
32e193c58b4fb297db2be3cb0e3837a24a5cfffb 20-Jun-2016 Wale Ogunwale <ogunwale@google.com> Added test to verify activity can turn on screen.

Bug: 29497152
Change-Id: I7a5a380bb3ef2b589fa4ec774cac36f01297af46
a243ba5b9452fc9254ec9d7a9361365b5f925f08 26-May-2016 Andrii Kulian <akulian@google.com> Add adb command logging for host side CTS

Bug: 28786255
Change-Id: I41774f8e1338915994d22358b57073634b4fbb5a
cb110945359143235bddb765ee3bce10fd546859 26-Apr-2016 Andrii Kulian <akulian@google.com> Fix finding task id in CTS

"am stack list" command now prints also activity that is on top
of stack for each entry.
ActivityManagerTestBase#getActivityTaskId chose incorrect task id if
topActivity of some entry contained name of target activity.

Bug: 27906038
Change-Id: I338658b1f82a9b8b2dd78e25b470a501fac1a59b
026dc5dcac05d901e1105304f239e89a06d9613f 23-Apr-2016 Andrii Kulian <akulian@google.com> Fix CTS failures on fugu

1. Correctly restore user_rotation after each test.
2. Remove DEBUG guard for some important logs.

Bug: 27906038
Change-Id: I532720aa1c3ca2628805980d18c3dbdaaac04279
dba8bb684736e484134d20dcc69113071c85fc15 21-Apr-2016 Andrii Kulian <akulian@google.com> Don't always check focused window in CTS

If device was in fullscreen mode and task has moved to
docked stack, recents will be focused. In this case
it's enough to check visibility only.

Bug: 28215216
Change-Id: I35b510e68f336c5ee22647f617e1dfb9e8a32641
b92f71f74af6ccfd964f2f68e54c7ac8572976cb 21-Apr-2016 Andrii Kulian <akulian@google.com> Don't always check focused window in CTS

If device was in fullscreen mode and task has moved to
docked stack, recents will be focused. In this case
it's enough to check visibility only.

Bug: 28215216
Change-Id: I35b510e68f336c5ee22647f617e1dfb9e8a32641
162bddf6df63c42df1a20cd9979cd08cd457e461 27-Feb-2016 Chong Zhang <chz@google.com> cts: test minimalSize for docked stack

bug: 27157489
Change-Id: I1b6955e0246edeec51c8cb121b200837e4b4cae0
5f158e0ed295268054cf277c9fdaaf5c2d7afd4b 24-Feb-2016 Chong Zhang <chz@google.com> cts: add test for AndroidManifestLayout

bug: 27157489
Change-Id: Ica7f6dba42cc86f7819f2d4eb13174567be4cdc5
43e9b1913f0858f9793c5d5d2a62646d64d70e1c 24-Feb-2016 Wale Ogunwale <ogunwale@google.com> CTS for activity lifecycle when resizing.

In split screen and freeform multi-window mode validate:
- Activity is relaunched if it doesn't handle configuration changes.
- Activity isn't relaunched if it does handle configuration changes
and the activity also receives onConfiguration changed call.

Bug: 26592363
Change-Id: I2966b7175b6f62a13eb78663fc9b8de52cea3523
ce738aaeb3f43d4a130e7ef2f2b294715a940b20 23-Feb-2016 Wale Ogunwale <ogunwale@google.com> Add some tests for freeform stack.

- Verify we can enter freeform mode on devices that support
PackageManager#FEATURE_FREEFORM_WINDOW_MANAGEMENT and the
opposite on devices that don't support the feature.
- Verify that ActivityOptions.setLaunchBounds works correctly
when we are in freeform mode.

Bug: 27157914
Change-Id: I679d93f9365be77b2f772a3d450b603efd5f9f5a
7cd4e85e7623992316657a9766e8ca85217a3a70 12-Feb-2016 Wale Ogunwale <ogunwale@google.com> Remove pinned, docked, and freeform stacks on test tear down.

Prevents their presence from affecting subsequent tests.

Bug: 26982752
Change-Id: Ia21672265ca62ffdd9d73b134dd483debf6187fa
229833ec951683176efb0588f1dea34fabe5e790 29-Dec-2015 Jorim Jaggi <jjaggi@google.com> Add CTS tests for resizedDockedStack (2/2)

Bug: 25015474
Bug: 26311778
Change-Id: I8342225eb10748eb9add58158892c1ed95b78a32
890da20feab2846291acd0f36ec7c0107b459908 15-Jan-2016 Wale Ogunwale <ogunwale@google.com> Add test for split-screen rotation while lockscreen is on.

Bug: 25970565
Bug: 19225708
Change-Id: I027833af8d850fb0c29001b67a7673bcf97c0bcb
8ffe16a0cb79dfc7c2a26c11b7115e484372cce4 14-Jan-2016 Wale Ogunwale <ogunwale@google.com> Added CTS test for rotation in docked mode.

Bug: 25970565
Bug: 19225708
Change-Id: Ie2c7e070911dd34270869f7a48df2afcfe7650b7
bf352d489d8932a088f9adc04911f12fbac616f6 11-Jan-2016 Wale Ogunwale <ogunwale@google.com> Added some test for visible behind activities.

Bug: 19225708
Change-Id: I26b2889063278e4deb0e48f1ce9354b39a1e1034
390cfd9e15234f3ce5664cd61a6baf8134dfa744 07-Jan-2016 Chong Zhang <chz@google.com> cts: test replacing window functionality

bug: 26324082
bug: 19225708

Change-Id: Ia4e89d45ce3e260de65bd7b8b25049e6828c81fb
7f1b88fb7b6021bb13b6bcb04a1da33d1b2bfedc 06-Jan-2016 Wale Ogunwale <ogunwale@google.com> Improve state information tracking for AM/WM during CTS testing

Allows us to better track the state of stacks and task with sysdump
during testing.

Bug: 19225708
Change-Id: I696f47a69f19a727446d0c95b4d024c481e6ffcd
7f8cade670f471173e57a865c289c227d34ab741 01-Jan-2016 Wale Ogunwale <ogunwale@google.com> Additional CTS test for pinned stack

- Verify that pinned stack is front stack.
- Verify that there is only one resumed activity in the system.
- Verify that pinned activity window is the front window.
- Verify that pinned stack isn't focused stack and is for always focuable activity.
- Verify that pinned activity isn't focused activity and is for always focuable activity.
- Verify that pinned activity isn't resumed activity and is for always focuable activity.
- Verify launch on pinned stack @hidden API functionality.

Also, made the host side test class more modular.

Bug: 19225708
Bug: 26273032
Change-Id: Iab88787cba786737598eb7ea4137e067c6ec5f48