Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java181 CommandResult cr = getRunUtil().runTimedCmd( in doCalibration() local
183 CLog.i("Starting calibration: " + cr.getStdout()); in doCalibration()
190 cr = getRunUtil().runTimedCmd(2 * 1000, mMeterUtilPath, CMD_GET_FRAMERATE_STATE); in doCalibration()
191 if (cr.getStdout().contains("calib0")) { in doCalibration()
197 cr = getRunUtil().runTimedCmd( in doCalibration()
209 CommandResult cr = getRunUtil().runTimedCmd( in setupTestEnv() local
218 cr = getRunUtil().runTimedCmd(COMMAND_TIMEOUT_MS, mMeterUtilPath, CMD_START_MEASUREMENT); in setupTestEnv()
220 cr = getRunUtil().runTimedCmd(COMMAND_TIMEOUT_MS, mMeterUtilPath, CMD_STOP_MEASUREMENT); in setupTestEnv()
222 CLog.i("Stopping measurement: " + cr.getStdout()); in setupTestEnv()
229 cr = getRunUtil().runTimedCmd(COMMAND_TIMEOUT_MS, mMeterUtilPath, calibrationValues); in setupTestEnv()
[all …]
DVideoMultimeterRunner.java102 CommandResult cr = getRunUtil().runTimedCmd( in moveArm() local
104 CLog.v(cr.getStdout()); in moveArm()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollectorTest.java103 CommandResult cr = new CommandResult(); in testProcessingFlow() local
104 cr.setStatus(CommandStatus.SUCCESS); in testProcessingFlow()
105 cr.setStdout("abc:efg"); in testProcessingFlow()
107 Mockito.doReturn(cr).when(mPerfettoMetricCollector).runHostCommand(Mockito.anyLong(), in testProcessingFlow()
138 CommandResult cr = new CommandResult(); in testCompressedProcessingFlow() local
139 cr.setStatus(CommandStatus.SUCCESS); in testCompressedProcessingFlow()
140 cr.setStdout("abc:efg"); in testCompressedProcessingFlow()
142 Mockito.doReturn(cr).when(mPerfettoMetricCollector).runHostCommand(Mockito.anyLong(), in testCompressedProcessingFlow()
174 CommandResult cr = new CommandResult(); in testScriptFailureStatus() local
175 cr.setStatus(CommandStatus.FAILED); in testScriptFailureStatus()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DAtraceRunMetricCollector.java121 CommandResult cr = RunUtil.getDefault().runTimedCmd(30 * 1000, scriptPath, in processTraceFiles() local
123 if (CommandStatus.SUCCESS.equals(cr.getStatus())) { in processTraceFiles()
124 CLog.i(cr.getStdout()); in processTraceFiles()
125 output.add(cr.getStdout()); in processTraceFiles()
128 traceFile.getName(), cr.getStderr(), cr.getStatus()); in processTraceFiles()
DPerfettoPullerMetricCollector.java226 CommandResult cr = runHostCommand(mScriptTimeoutMs, in processMetricFile() local
240 if (CommandStatus.SUCCESS.equals(cr.getStatus()) || in processMetricFile()
241 (CommandStatus.FAILED.equals(cr.getStatus()) && in processMetricFile()
242 cr.getStdout().contains(NSS_CACHE_ERROR))) { in processMetricFile()
243 String[] metrics = cr.getStdout().split(LINE_SEPARATOR); in processMetricFile()
267 CLog.i(cr.getStdout()); in processMetricFile()
271 processSrcFile.getName(), cr.getStderr(), cr.getStatus()); in processMetricFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DPythonUnitTestRunnerTest.java120 CommandResult cr = new CommandResult(); in getCommandResult() local
121 cr.setStderr(this.getStderr()); in getCommandResult()
122 cr.setStatus(this.getStatus()); in getCommandResult()
123 return cr; in getCommandResult()
DTfTestLauncherTest.java97 CommandResult cr = new CommandResult(CommandStatus.SUCCESS); in testRun() local
127 .andReturn(cr); in testRun()
/tools/tradefederation/contrib/src/com/android/monkey/
DAnrReportGenerator.java176 CommandResult cr = in genereateAnrReport() local
178 if (cr.getStatus() == CommandStatus.SUCCESS) { in genereateAnrReport()
187 CLog.w(cr.getStderr()); in genereateAnrReport()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java322 for (Entry<TestDescription, TestResult> cr : results.entrySet()) { in serializeTestCases()
323 if (format.get(cr.getKey().getClassName()) == null) { in serializeTestCases()
324 format.put(cr.getKey().getClassName(), new LinkedHashMap<>()); in serializeTestCases()
326 Map<String, TestResult> methodResult = format.get(cr.getKey().getClassName()); in serializeTestCases()
327 methodResult.put(cr.getKey().getTestName(), cr.getValue()); in serializeTestCases()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java1075 CompressionResult cr = super.immediateCompress(source); in deferredCompression()
1077 return cr; in deferredCompression()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jar ... java.lang.Object { public static final String CR public static final char BACKSPACE public static final char RESET_LINE ...