Home
last modified time | relevance | path

Searched refs:readFileAsByteArray (Results 1 – 4 of 4) sorted by relevance

/libcore/tzdata/tools2/src/main/libcore/tzdata/update2/tools/
DTimeZoneDistroBuilder.java62 return setTzDataFile(readFileAsByteArray(tzDataFile)); in setTzDataFile()
77 return setIcuDataFile(readFileAsByteArray(icuDataFile)); in setIcuDataFile()
158 private static byte[] readFileAsByteArray(File file) throws IOException { in readFileAsByteArray() method in TimeZoneDistroBuilder
174 return new String(readFileAsByteArray(file), StandardCharsets.UTF_8); in readFileAsUtf8()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java106 public static byte[] readFileAsByteArray(String absolutePath) throws IOException { in readFileAsByteArray() method in IoUtils
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java151 String fileContents = new String(IoUtils.readFileAsByteArray( in testRedirectFile_output()
165 String fileContents = new String(IoUtils.readFileAsByteArray(file.getAbsolutePath())); in testRedirectFile_error()
/libcore/tzdata/update2/src/test/libcore/tzdata/update2/
DTimeZoneDistroInstallerTest.java565 byte[] actualBytes = IoUtils.readFileAsByteArray(actual.getPath()); in assertContentsMatches()