Searched refs:executeCommandBlocking (Results 1 – 11 of 11) 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()
76 Mockito.doReturn(new byte[10]).when(listener).executeCommandBlocking(Mockito.anyString()); in initListener()
175 executeCommandBlocking(cmd); in copyEventLogToSharedStorage()180 executeCommandBlocking("rm " + mEventLogPath); in cleanUpEventLog()187 executeCommandBlocking("getprop camera.use_local_logger"), in getCameraEventLogProperty()196 executeCommandBlocking("setprop camera.use_local_logger " + value); in setCameraEventLogProperty()201 executeCommandBlocking("am force-stop " + mGcaPkg); in killGoogleCameraApp()209 new String(executeCommandBlocking("getenforce"), StandardCharsets.UTF_8).trim(); in getSeLinuxEnforceProperty()216 executeCommandBlocking("setenforce " + value.getProperty()); in setSeLinuxEnforceProperty()235 byte[] lsResult = executeCommandBlocking("ls " + targetPath); in logListResult()
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()
62 executeCommandBlocking( 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()
82 public static byte[] executeCommandBlocking(String command, Instrumentation instr) { in executeCommandBlocking() method in MetricUtility
122 byte[] dumpsysMemInfoBytes = MetricUtility.executeCommandBlocking(DUMPSYS_MEMIFNO, in getMetrics()