Loading tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1359,6 +1359,8 @@ public final class LauncherInstrumentation { } } public int getTotalPssKb() { public int getTotalPssKb() { // GC the system & sysui first before gc'ing launcher logShellCommand("cmd statusbar run-gc"); return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB). return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB). getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); } } Loading Loading
tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -1359,6 +1359,8 @@ public final class LauncherInstrumentation { } } public int getTotalPssKb() { public int getTotalPssKb() { // GC the system & sysui first before gc'ing launcher logShellCommand("cmd statusbar run-gc"); return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB). return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB). getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD); } } Loading