/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/ |
D | IterateTestBase.java | 57 List<Integer> output = getIterate().apply( in testIterationsRespected() local 60 Map<Integer, Long> countMap = output.stream() in testIterationsRespected() 76 List<Integer> output = getIterate().apply( in testCyclicOrderRespected() local 82 List<List<Integer>> cycles = Lists.partition(output, NUM_TESTS); in testCyclicOrderRespected() 93 List<Integer> output = getIterate().apply( in testSequentialOrderRespected() local 100 List<List<Integer>> testRuns = Lists.partition(output, EXPECTED_ITERATIONS); in testSequentialOrderRespected() 115 List<Integer> output = in testOverrideOptionName() local 124 output.stream() in testOverrideOptionName() 147 List<Integer> output = getIterate().apply( in testInvalidOrderThrows() local
|
D | ShuffleTestBase.java | 43 List<Integer> output = getShuffle().apply(getArguments(true, seedValue), input); in testShuffleSeedRespected() local 46 assertThat(input).isEqualTo(output); in testShuffleSeedRespected()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | JankCollectionHelper.java | 256 String output = getDevice().executeShellCommand(command); in clearGfxInfo() local 258 verifyMatches(output, getHeaderMatcher(""), "No package headers in output."); in clearGfxInfo() 262 String output = getDevice().executeShellCommand(command); in clearGfxInfo() local 264 verifyMatches(output, getHeaderMatcher(pkg), "No package header in output."); in clearGfxInfo() 283 String output = getDevice().executeShellCommand(command); in getGfxInfoMetrics() local 284 verifyMatches(output, getHeaderMatcher(pkg), "Missing package header."); in getGfxInfoMetrics() 287 String[] pkgMetricSections = output.split("\n\\*\\*"); in getGfxInfoMetrics() 300 private Map<String, Double> parseGfxInfoMetrics(String output) { in parseGfxInfoMetrics() argument 301 Matcher header = Pattern.compile(getHeaderMatcher("")).matcher(output); in parseGfxInfoMetrics() 314 Double value = metric.parse(output); in parseGfxInfoMetrics() [all …]
|
D | SfStatsCollectionHelper.java | 85 String output; in getMetrics() local 87 output = getDevice().executeShellCommand(SFSTATS_COMMAND_DUMP); in getMetrics() 92 String[] blocks = output.split("\n\n"); in getMetrics()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | ScreenRecordCollector.java | 91 File output = getOutputFile(description, i); in onTestEnd() local 92 testData.addFileMetric(String.format("%s_%s", getTag(), output.getName()), output); in onTestEnd() 127 String output = getOutputFile(description, mParts).getAbsolutePath(); in startScreenRecordThread() local 128 Log.d(getTag(), String.format("Recording screen to %s", output)); in startScreenRecordThread() 130 getDevice().executeShellCommand(String.format("screenrecord %s", output)); in startScreenRecordThread()
|
D | IncidentReportListener.java | 83 byte[] output = executeCommandBlocking(fullReportCmd); in onTestRunEnd() 86 if (output == null) { in onTestRunEnd() 89 } if (output.length == 0) { in onTestRunEnd() 95 Files.write(FINAL_REPORT_PATH, output, StandardOpenOption.CREATE_NEW); in onTestRunEnd()
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 98 String output = getDevice().executeShellCommand(LOAD_CMD); in getProcLoadInLastMinute() local 99 Log.i(LOG_TAG, String.format("Output of proc_loadavg is : %s", output)); in getProcLoadInLastMinute() 105 if ((match = matches(LOAD_OUTPUT_PATTERN, output.trim())) != null) { in getProcLoadInLastMinute()
|
/platform_testing/libraries/collectors-helper/power/src/com/android/helpers/ |
D | PwrStatsUtilHelper.java | 61 String output; in startCollecting() local 63 output = executeShellCommand("pwrstats_util -d " + mLogFile.getAbsolutePath()); in startCollecting() 68 Matcher m = pid_pattern.matcher(output); in startCollecting()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileTest.java | 123 List<Runner> output = in testProfileOrderingRespected() local 125 List<String> outputDescriptions = output.stream().map(r -> in testProfileOrderingRespected() 142 List<Runner> output = in testProfileWithInvalidScenarioThrows() local
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 183 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr() local 186 output.indexOf("Backup Manager now enabled") >= 0); in enableBmgr() 189 output.indexOf("Backup Manager now disabled") >= 0); in enableBmgr()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | ThermalHelper.java | 57 String[] output = getDevice().executeShellCommand("dumpsys thermalservice").split("\n"); in startCollecting() local 58 for (String line : output) { in startCollecting()
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 87 String output = mUIDevice.executeShellCommand(String.format(REMOVE_CMD, in startCollecting() local 89 Log.i(LOG_TAG, String.format("Perfetto output file cleanup - %s", output)); in startCollecting()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | IorapCompilationRule.java | 181 String output = executeShellCommand(IORAP_DUMPSYS_CMD); in waitForIorapCompiled() local 184 for (String line : output.split("\n")) { in waitForIorapCompiled()
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 411 private void mockResetCommand(String pkg, String output) throws IOException { in mockResetCommand() argument 413 when(mUiDevice.executeShellCommand(cmd)).thenReturn(output); in mockResetCommand() 416 private void mockGetCommand(String pkg, String output) throws IOException { in mockGetCommand() argument 418 when(mUiDevice.executeShellCommand(cmd)).thenReturn(output); in mockGetCommand()
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | XmlRunListener.java | 149 javax.xml.transform.Result output = new StreamResult(writer); in endTestSuite() local 152 transformer.transform(input, output); in endTestSuite()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 123 String output = null; in open() local
|