/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 | 279 String output = getDevice().executeShellCommand(command); in clearGfxInfo() local 281 verifyMatches(output, getHeaderMatcher(""), "No package headers in output."); in clearGfxInfo() 285 String output = getDevice().executeShellCommand(command); in clearGfxInfo() local 287 verifyMatches(output, getHeaderMatcher(pkg), "No package header in output."); in clearGfxInfo() 306 String output = getDevice().executeShellCommand(command); in getGfxInfoMetrics() local 307 verifyMatches(output, getHeaderMatcher(pkg), "Missing package header."); in getGfxInfoMetrics() 310 String[] pkgMetricSections = output.split("\n\\*\\*"); in getGfxInfoMetrics() 323 private Map<String, Double> parseGfxInfoMetrics(String output) { in parseGfxInfoMetrics() argument 324 Matcher header = Pattern.compile(getHeaderMatcher("")).matcher(output); in parseGfxInfoMetrics() 337 Double value = metric.parse(output); in parseGfxInfoMetrics() [all …]
|
D | SfStatsCollectionHelper.java | 87 String output; in getMetrics() local 89 output = getDevice().executeShellCommand(SFSTATS_COMMAND_DUMP); in getMetrics() 94 String[] blocks = output.split("\n\n"); in getMetrics()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BackupUtils.java | 277 String output = getLineString(executeShellCommand("bmgr enabled")); in enableBackup() local 278 Matcher matcher = BACKUP_MANAGER_CURRENTLY_ENABLE_STATUS_PATTERN.matcher(output.trim()); in enableBackup() 282 throw new RuntimeException("non-parsable output setting bmgr enabled: " + output); in enableBackup() 330 String output = getLineString(executeShellCommand("dumpsys backup")); in waitForBackupInitialization() local 331 if (output.matches(MATCH_LINE_BACKUP_MANAGER_IS_NOT_PENDING_INIT)) { in waitForBackupInitialization() 356 String output = getLineString(executeShellCommand("dumpsys backup users")); in waitUntilBackupServiceIsRunning() 357 return output.matches( in waitUntilBackupServiceIsRunning() 367 String output = in userHasBackupTransport() local 371 for (String t : output.split("\n")) { in userHasBackupTransport() 386 String output = in setBackupTransportForUser() local [all …]
|
D | MultipartForm.java | 106 OutputStream output = connection.getOutputStream(); in submitForm() local 108 output.write(body); in submitForm() 110 output.close(); in submitForm()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
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()
|
D | ScreenRecordCollector.java | 162 File output = getOutputFile(mDescription, i); in run() local 165 String.format("Recording screen to %s", output.getAbsolutePath())); in run() 166 mRecordings.add(output); in run() 172 String.format("screenrecord %s", output.getAbsolutePath())); in run()
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | ProcLoadHelper.java | 99 String output = getDevice().executeShellCommand(LOAD_CMD); in getProcLoadInLastMinute() local 100 Log.i(LOG_TAG, String.format("Output of proc_loadavg is : %s", output)); in getProcLoadInLastMinute() 106 if ((match = matches(LOAD_OUTPUT_PATTERN, output.trim())) != null) { in getProcLoadInLastMinute()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | ThermalHelper.java | 66 String[] output = getDevice().executeShellCommand("dumpsys thermalservice").split("\n"); in startCollecting() local 67 for (String line : output) { in startCollecting() 119 String[] output = getDevice().executeShellCommand("dumpsys thermalservice").split("\n"); in getMetrics() local 121 for (String line : output) { in getMetrics()
|
/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/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioCapturer.java | 216 for (OutputStream output : mOutputs) { in run() 223 output.write(mAudioBuffer, 0, read); in run() 231 BUFFER_SIZE, output), in run()
|
/platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/ |
D | ActivityHelper.java | 184 String output = CommandsHelper.execute("bmgr enable " + Boolean.toString(enable)); in enableBmgr() local 187 output.indexOf("Backup Manager now enabled") >= 0); in enableBmgr() 190 output.indexOf("Backup Manager now disabled") >= 0); in enableBmgr()
|
/platform_testing/libraries/collectors-helper/lyric/src/com/android/helpers/ |
D | LyricCpuUtilizationHelper.java | 92 static Map<String, Double> processOutput(String output) { in processOutput() argument 94 Matcher matcher = CPU_USAGE_PATTERN.matcher(output); in processOutput()
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 95 String output = mUIDevice.executeShellCommand(String.format(REMOVE_CMD, in startCollecting() local 97 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 | 180 String output = executeShellCommand(IORAP_DUMPSYS_CMD); in waitForIorapCompiled() local 183 for (String line : output.split("\n")) { in waitForIorapCompiled()
|
/platform_testing/libraries/collectors-helper/jank/test/src/com/android/helpers/ |
D | JankCollectionHelperTest.java | 430 private void mockResetCommand(String pkg, String output) throws IOException { in mockResetCommand() argument 432 when(mUiDevice.executeShellCommand(cmd)).thenReturn(output); in mockResetCommand() 435 private void mockGetCommand(String pkg, String output) throws IOException { in mockGetCommand() argument 437 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/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | StatsdListener.java | 518 byte[] output = serialize(config); in clone() 519 return StatsdConfigProto.StatsdConfig.parseFrom(output); in clone()
|
/platform_testing/libraries/automotive-helpers/standard-app-helper/src/android/platform/helpers/ |
D | AbstractAutoStandardAppHelper.java | 64 String output = null; in open() local
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 123 String output = null; in open() local
|