Home
last modified time | relevance | path

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

/system/timezone/debug_tools/host/main/java/
DZoneSplitter.java44 private final File tzData; field in ZoneSplitter
47 private ZoneSplitter(String tzData, String outputDir) { in ZoneSplitter() argument
48 this.tzData = new File(tzData); in ZoneSplitter()
53 if (!(tzData.exists() && tzData.isFile() && tzData.canRead())) { in execute()
54 throw new IOException(tzData + " not found or is not readable"); in execute()
60 MappedByteBuffer mappedFile = createMappedByteBuffer(tzData); in execute()
68 final int fileSize = (int) tzData.length(); in execute()
95 static MappedByteBuffer createMappedByteBuffer(File tzData) throws IOException { in createMappedByteBuffer() argument
97 RandomAccessFile file = new RandomAccessFile(tzData, "r"); in createMappedByteBuffer()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/
DTimeZoneDistroBuilder.java44 private byte[] tzData; field in TimeZoneDistroBuilder
74 public TimeZoneDistroBuilder setTzDataFile(byte[] tzData) { in setTzDataFile() argument
75 this.tzData = tzData; in setTzDataFile()
81 this.tzData = null; in clearTzDataForTests()
129 if (tzData != null) { in buildUnvalidatedBytes()
130 addZipEntry(zos, TimeZoneDistro.TZDATA_FILE_NAME, tzData); in buildUnvalidatedBytes()
159 if (tzData == null) { in buildBytes()
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/
DTimeZoneDistroInstaller.java212 ZoneInfoDb tzData = ZoneInfoDb.loadTzData(zoneInfoFile.getPath()); in stageInstallWithErrorCode() local
213 if (tzData == null) { in stageInstallWithErrorCode()
218 tzData.validate(); in stageInstallWithErrorCode()
223 tzData.close(); in stageInstallWithErrorCode()
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java631 byte[] tzData = createTzData(rulesVersion); in createValidTimeZoneDistroBuilder()
655 .setTzDataFile(tzData) in createValidTimeZoneDistroBuilder()