Searched refs:readBytes (Results 1 – 7 of 7) sorted by relevance
/system/timezone/apex/tests/src/java/android/tzdata/mts/ |
D | TimeZoneVersionTest.java | 80 private static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes() method in TimeZoneVersionTest 95 byte[] versionBytes = readBytes(TIME_ZONE_MODULE_VERSION_FILE, 13); in readTzDbVersionFromModuleVersionFile() 105 byte[] versionBytes = readBytes(TIME_ZONE_MODULE_VERSION_FILE, 7); in readMajorFormatVersionFromModuleVersionFile()
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 232 FileUtils.readBytes(new File(dir, "doesNotExist"), 0); in testReadBytes() 238 FileUtils.readBytes(new File(dir, "doesNotExist"), 10); in testReadBytes() 245 byte[] oneByte = FileUtils.readBytes(file, 1); in testReadBytes() 249 byte[] allBytes = FileUtils.readBytes(file, contents.length); in testReadBytes() 252 byte[] exhaustedFileRead = FileUtils.readBytes(file, contents.length + 1); in testReadBytes()
|
/system/timezone/tzdatacheck/ |
D | tzdatacheck.cpp | 101 static bool readBytes(const std::string& fileName, char* buffer, size_t byteCount) { in readBytes() function 479 readBytes(distroVersionFileName, distroVersion.data(), READ_DATA_LENGTH); in main() 502 readBytes(baseVersionFileName, baseVersion.data(), READ_DATA_LENGTH); in main()
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 165 public static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes() method in FileUtils
|
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstaller.java | 428 FileUtils.readBytes(distroVersionFile, DistroVersion.DISTRO_VERSION_FILE_LENGTH); in readDistroVersion()
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 787 byte[] actualVersionBytes = FileUtils.readBytes(versionFile, expectedVersionBytes.length); in assertInstalledDistro()
|
/system/core/adb/ |
D | test_device.py | 1485 readBytes = sock.recv(4096) 1486 self.assertEqual(b"foo\n", readBytes)
|