Home
last modified time | relevance | path

Searched refs:GPFlags (Results 1 – 6 of 6) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DGPFlags.java33 class GPFlags { class
91 private GPFlags(long value) { in GPFlags() method in GPFlags
132 static GPFlags make(boolean utf8Encoding) { in make()
139 return new GPFlags(flags); in make()
151 static GPFlags from(long bits) throws IOException { in from()
177 return new GPFlags(bits); in from()
DEncodeUtils.java50 public static String decode(@Nonnull ByteBuffer bytes, int length, @Nonnull GPFlags flags) in decode()
70 public static String decode(@Nonnull byte[] data, @Nonnull GPFlags flags) { in decode()
107 public static byte[] encode(@Nonnull String name, @Nonnull GPFlags flags) { in encode()
122 private static Charset flagsCharset(@Nonnull GPFlags flags) { in flagsCharset()
DCentralDirectoryHeader.java69 private GPFlags gpBit;
142 @Nonnull GPFlags flags, in CentralDirectoryHeader()
227 public GPFlags getGpBit() { in getGpBit()
392 gpBit = GPFlags.make(gpBit.isUtf8FileName()); in resetDeferredCrc()
DCentralDirectory.java292 GPFlags flags = GPFlags.from(gpBit); in readEntry()
DZFile.java1662 GPFlags flags = GPFlags.make(encodeWithUtf8); in makeStoredEntry()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DEncodeUtilsTest.java41 GPFlags flags = GPFlags.make(false); in asciiEncodeAndDecode()
51 GPFlags flags = GPFlags.make(true); in utf8EncodeAndDecode()
67 GPFlags flags = GPFlags.make(false); in asciiDecodeAsUtf8()