Home
last modified time | relevance | path

Searched defs:inputSource (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DStreamUtilTest.java156 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateCrc32() local
171 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateMd5() local
186 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateBase64Md5() local
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java428 public static String calculateMd5(InputStream inputSource) throws IOException { in calculateMd5()
440 public static String calculateBase64Md5(InputStream inputSource) throws IOException { in calculateBase64Md5()
444 private static byte[] calculateMd5Digest(InputStream inputSource) throws IOException { in calculateMd5Digest()
DFileUtil.java1187 try (BufferedInputStream inputSource = new BufferedInputStream(new FileInputStream(file))) { in calculateCrc32()
1200 try (FileInputStream inputSource = new FileInputStream(file)) { in calculateMd5()
1221 try (FileInputStream inputSource = new FileInputStream(file)) { in calculateBase64Md5()
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java867 InputSource inputSource = new InputSource(new StringReader(xml)); in getXmlNodes() local