commit | d193f65878c39e7df968fb41f52a9c42d5af05f1 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Tue May 11 05:02:37 2021 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue May 11 05:02:37 2021 +0000 |
tree | 5450ecf7c8c708cc1632eeba2d0cc8f94dae92ed | |
parent | e74e32ab4cb253285833892f118b3b62ae23b765 [diff] | |
parent | b09a41d86c98ac7505981d64cba078cf4f2fd4dd [diff] |
Merge "Use testapi to trigger gc in system and sysui" into sc-dev
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 3dff01e..c77583c 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -1359,6 +1359,8 @@ } public int getTotalPssKb() { + // GC the system & sysui first before gc'ing launcher + logShellCommand("cmd statusbar run-gc"); return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB). getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); }