Searched refs:executeCommandBlocking (Results 1 – 8 of 8) sorted by relevance
84 .executeCommandBlocking(matches("rm -rf .*")); in testCreateDirectoryAtStart()96 .executeCommandBlocking(matches("incident -b -p .*")); in testCollectFullReportAtEnd()98 .executeCommandBlocking(matches("rm -rf .*")); in testCollectFullReportAtEnd()112 .executeCommandBlocking(matches("incident -b -p .*")); in testFailCollectIfNoDestinationDirectory()138 .executeCommandBlocking(matches("incident -b -p .*")); in testCollectEmptyReportFails()140 .executeCommandBlocking(matches("rm -rf .*")); in testCollectEmptyReportFails()155 .executeCommandBlocking(matches("incident -b -p .*")); in testReportMetricsAsData()157 .executeCommandBlocking(matches("rm -rf .*")); in testReportMetricsAsData()
85 doReturn(new byte[0]).when(listener).executeCommandBlocking(anyString()); in initListener()159 verify(mListener, times(i)).executeCommandBlocking(BatteryStatsListener.CMD_DUMPSYS); in testTestRunToBytesCollector()165 … verify(mListener, times(numTestCase)).executeCommandBlocking(BatteryStatsListener.CMD_DUMPSYS); in testTestRunToBytesCollector()
121 mListener.executeCommandBlocking("rm -rf " + outputFilePath.toString()); in tearDown()
103 executeCommandBlocking("dumpsys battery unplug"); in onTestRunStart()140 byte[] proto = executeCommandBlocking(CMD_DUMPSYS); in onTestEnd()162 byte[] proto = executeCommandBlocking(CMD_DUMPSYS); in onTestRunEnd()169 executeCommandBlocking("dumpsys battery reset"); in onTestRunEnd()
83 byte[] output = executeCommandBlocking(fullReportCmd); in onTestRunEnd()
275 public byte[] executeCommandBlocking(String command) { in executeCommandBlocking() method in BaseMetricListener302 executeCommandBlocking("rm -rf " + destDir.getAbsolutePath()); in createAndEmptyDirectory()
64 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() method in MetricUtility
112 byte[] dumpsysMemInfoBytes = MetricUtility.executeCommandBlocking(DUMPSYS_MEMIFNO, in getMetrics()