Searched refs:EncodeUtils (Results 1 – 5 of 5) sorted by relevance
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | EncodeUtilsTest.java | 29 assertTrue(EncodeUtils.canAsciiEncode("foo")); in canEncodeAsciiWithAsciiString() 35 assertFalse(EncodeUtils.canAsciiEncode(greekInGreek)); in cannotEncodeAscuuWithUtf8String() 43 byte[] encoded = EncodeUtils.encode(text, flags); in asciiEncodeAndDecode() 45 assertEquals(text, EncodeUtils.decode(encoded, flags)); in asciiEncodeAndDecode() 53 byte[] encoded = EncodeUtils.encode(kazakhCapital, flags); in utf8EncodeAndDecode() 57 assertEquals(kazakhCapital, EncodeUtils.decode(encoded, flags)); in utf8EncodeAndDecode() 69 String text = EncodeUtils.decode(greatWallChinese, flags); in asciiDecodeAsUtf8()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | EncodeUtils.java | 30 public class EncodeUtils { class 35 private EncodeUtils() { in EncodeUtils() method in EncodeUtils
|
D | CentralDirectory.java | 346 String fileName = EncodeUtils.decode(encodedFileName, flags); in readEntry()
|
D | StoredEntry.java | 473 String fileName = EncodeUtils.decode(fileNameData, cdh.getGpBit()); in readLocalHeader()
|
D | ZFile.java | 1658 boolean encodeWithUtf8 = !EncodeUtils.canAsciiEncode(name); in makeStoredEntry() 1666 EncodeUtils.encode(name, flags), in makeStoredEntry()
|