Home
last modified time | relevance | path

Searched refs:GFXINFO_COMMAND_RESET (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/
DJankCollectionHelperTest.java19 import static com.android.helpers.JankCollectionHelper.GFXINFO_COMMAND_RESET;
415 String cmd = String.format(GFXINFO_COMMAND_RESET, "pkg1"); in testCollect_delayExceptions_onReset()
428 .executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg1")); in testCollect_delayExceptions_onReset()
430 .executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg2")); in testCollect_delayExceptions_onReset()
432 .executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg3")); in testCollect_delayExceptions_onReset()
453 inOrder.verify(mUiDevice).executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg1")); in testCollect_withFailures_stillReportsSuccessfulPackages()
454 inOrder.verify(mUiDevice).executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg2")); in testCollect_withFailures_stillReportsSuccessfulPackages()
455 inOrder.verify(mUiDevice).executeShellCommand(String.format(GFXINFO_COMMAND_RESET, "pkg3")); in testCollect_withFailures_stillReportsSuccessfulPackages()
471 String cmd = String.format(JankCollectionHelper.GFXINFO_COMMAND_RESET, ""); in testFailures_cannotClear()
484 String cmd = String.format(JankCollectionHelper.GFXINFO_COMMAND_RESET, ""); in testFailures_ioFailure()
[all …]
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DJankCollectionHelper.java51 @VisibleForTesting static final String GFXINFO_COMMAND_RESET = GFXINFO_COMMAND_GET + " reset"; field in JankCollectionHelper
275 String command = String.format(GFXINFO_COMMAND_RESET, "--"); in clearGfxInfo()
281 String command = String.format(GFXINFO_COMMAND_RESET, pkg); in clearGfxInfo()