Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DResultUploader.java48 InputStream input = new FileInputStream(reportFile); in uploadResult() local
50 byte[] data = getBytes(input); in uploadResult()
57 input.close(); in uploadResult()
61 private static byte[] getBytes(InputStream input) throws IOException { in getBytes() argument
66 while ((count = input.read(buffer)) > 0) { in getBytes()
DFileUtil.java57 public static void writeToFile(InputStream input, File destFile) throws IOException { in writeToFile() argument
61 origStream = new BufferedInputStream(input); in writeToFile()
DMultipartForm.java114 InputStream input = connection.getInputStream(); in submitForm() local
115 input.close(); in submitForm()
DCrashUtils.java167 private static boolean matchesAny(String input, Collection<Pattern> patterns) { in matchesAny() argument
169 if (p.matcher(input).matches()) { in matchesAny()
177 public static JSONArray addAllCrashes(String input, JSONArray crashes) { in addAllCrashes() argument
178 Matcher crashBlobFinder = sCrashBlobPattern.matcher(input); in addAllCrashes()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DShuffleTestBase.java42 List<Integer> input = IntStream.range(1, 10).boxed().collect(Collectors.toList()); in testShuffleSeedRespected() local
43 List<Integer> output = getShuffle().apply(getArguments(true, seedValue), input); in testShuffleSeedRespected()
45 Collections.shuffle(input, new Random(seedValue)); in testShuffleSeedRespected()
46 assertThat(input).isEqualTo(output); in testShuffleSeedRespected()
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DShuffleBase.java41 public List<U> apply(T args, List<U> input) { in apply() argument
45 Collections.shuffle(input, new Random(seed)); in apply()
47 return input; in apply()
DIterateBase.java47 public List<U> apply(T args, List<U> input) { in apply() argument
52 return Collections.nCopies(iterations, input) in apply()
57 return input.stream() in apply()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java134 public List<Runner> getRunnerSequence(List<Runner> input) { in getRunnerSequence() argument
136 return input; in getRunnerSequence()
138 return getTestSequenceFromConfiguration(mConfiguration, input); in getRunnerSequence()
142 Configuration config, List<Runner> input) { in getTestSequenceFromConfiguration() argument
144 input.stream() in getTestSequenceFromConfiguration()
DLongevityClassRunner.java281 protected Description addIterationIfEnabled(Description input) { in addIterationIfEnabled() argument
283 return input; in addIterationIfEnabled()
286 String.join(mIterationSep, input.getClassName(), String.valueOf(mIteration)), in addIterationIfEnabled()
287 input.getMethodName()); in addIterationIfEnabled()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingAccountsHelperImpl.java162 UiObject2 input = scrollAndFindUiObject(selector); in inputText() local
163 if (input == null) { in inputText()
167 input.setText(text); in inputText()
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DXmlRunListener.java150 Source input = new DOMSource(mRootElement); in endTestSuite() local
152 transformer.transform(input, output); in endTestSuite()