summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-09-09 17:02:15 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-09-09 17:02:15 +0000
commit01f8fb91326aba7c4c5a7193a825528dd910393f (patch)
treeb9bebb8c12a074607674b290e13674baafe240dd /tests
parentf083b7741a1f1e262817ce8112edfd14a269b5e5 (diff)
parent2bad570b40506bab04650711db3a3155043554c8 (diff)
downloadandroid_packages_apps_Trebuchet-01f8fb91326aba7c4c5a7193a825528dd910393f.tar.gz
android_packages_apps_Trebuchet-01f8fb91326aba7c4c5a7193a825528dd910393f.tar.bz2
android_packages_apps_Trebuchet-01f8fb91326aba7c4c5a7193a825528dd910393f.zip
Merge "Support for getting Launcher Pss by tests" into ub-launcher3-qt-qpr1-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
index 0bd63623d..14f2c857e 100644
--- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
+++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -957,8 +957,8 @@ public final class LauncherInstrumentation {
getTestInfo(TestProtocol.REQUEST_DISABLE_DEBUG_TRACING);
}
- public long getAllocatedMemory() {
- return getTestInfo(TestProtocol.REQUEST_ALLOCATED_MEMORY).
- getLong(TestProtocol.TEST_INFO_RESPONSE_FIELD);
+ public int getTotalPssKb() {
+ return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB).
+ getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD);
}
} \ No newline at end of file