Searched refs:addZipEntry (Results 1 – 3 of 3) sorted by relevance
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | TimeZoneDistroTest.java | 58 addZipEntry(zipOutputStream, TimeZoneDistro.DISTRO_VERSION_FILE_NAME, in testGetDistroVersion() 71 addZipEntry(zipOutputStream, TimeZoneDistro.DISTRO_VERSION_FILE_NAME, in testGetDistroVersion_closesStream() 87 addZipEntry(zipOutputStream, TimeZoneDistro.DISTRO_VERSION_FILE_NAME, in testExtractTo_closesStream() 102 addZipEntry(zipOutputStream, "/leadingSlash"); in testExtractZipSafely_goodZip() 103 addZipEntry(zipOutputStream, "absolute"); in testExtractZipSafely_goodZip() 104 addZipEntry(zipOutputStream, "subDir/../file"); in testExtractZipSafely_goodZip() 105 addZipEntry(zipOutputStream, "subDir/subDir/subDir/file"); in testExtractZipSafely_goodZip() 106 addZipEntry(zipOutputStream, "subDir/subDir2/"); // Directory entry in testExtractZipSafely_goodZip() 107 addZipEntry(zipOutputStream, "subDir/../subDir3/"); // Directory entry in testExtractZipSafely_goodZip() 128 addZipEntry(zipOutputStream, "../one"); in testExtractZipSafely_badZip_fileOutsideTarget() [all …]
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/ |
D | TimeZoneDistroBuilder.java | 126 addZipEntry(zos, TimeZoneDistro.DISTRO_VERSION_FILE_NAME, distroVersion.toBytes()); in buildUnvalidatedBytes() 130 addZipEntry(zos, TimeZoneDistro.TZDATA_FILE_NAME, tzData); in buildUnvalidatedBytes() 133 addZipEntry(zos, TimeZoneDistro.ICU_DATA_FILE_NAME, icuData); in buildUnvalidatedBytes() 136 addZipEntry(zos, TimeZoneDistro.TZLOOKUP_FILE_NAME, in buildUnvalidatedBytes() 140 addZipEntry(zos, TimeZoneDistro.TELEPHONYLOOKUP_FILE_NAME, in buildUnvalidatedBytes() 165 private static void addZipEntry(ZipOutputStream zos, String name, byte[] content) in addZipEntry() method in TimeZoneDistroBuilder
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 835 addZipEntry(zos, relativeFileName, bytes); in createTimeZoneDistroWithVersionBytes() 844 private static void addZipEntry(ZipOutputStream zos, String name, byte[] content) in addZipEntry() method in TimeZoneDistroInstallerTest
|