Home
last modified time | relevance | path

Searched refs:executeCommandBlocking (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DIncidentReportListenerTest.java84 .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()
DBatteryStatsListenerTest.java85 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()
DScheduledRunCollectionListenerTest.java121 mListener.executeCommandBlocking("rm -rf " + outputFilePath.toString()); in tearDown()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBatteryStatsListener.java103 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()
DIncidentReportListener.java83 byte[] output = executeCommandBlocking(fullReportCmd); in onTestRunEnd()
DBaseMetricListener.java275 public byte[] executeCommandBlocking(String command) { in executeCommandBlocking() method in BaseMetricListener
302 executeCommandBlocking("rm -rf " + destDir.getAbsolutePath()); in createAndEmptyDirectory()
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/
DMetricUtility.java64 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() method in MetricUtility
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DFreeMemHelper.java112 byte[] dumpsysMemInfoBytes = MetricUtility.executeCommandBlocking(DUMPSYS_MEMIFNO, in getMetrics()