Home
last modified time | relevance | path

Searched refs:Segment (Results 1 – 3 of 3) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java70 private ImmutableList<Segment> segments;
95 public ExtraField(@Nonnull ImmutableList<Segment> segments) { in ExtraField()
106 public ImmutableList<Segment> getSegments() throws IOException { in getSegments()
123 public Segment getSingleSegment(int headerId) throws IOException { in getSingleSegment()
124 List<Segment> found = in getSingleSegment()
146 List<Segment> segments = new ArrayList<>(); in parseSegments()
174 Segment seg = factory.make(headerId, data); in parseSegments()
192 for (Segment s : segments) { in size()
212 for (Segment s : segments) { in write()
237 public interface Segment { interface in ExtraField
[all …]
DZFile.java1072 ImmutableList<ExtraField.Segment> currentSegments; in update()
1083 List<ExtraField.Segment> extraFieldSegments = new ArrayList<>(); in update()
1088 .map(ExtraField.Segment::size) in update()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DExtraFieldTest.java130 ImmutableList<ExtraField.Segment> segments = mExtraFieldGetter.apply(foo).getSegments(); in readSingleExtraField()
177 ImmutableList<ExtraField.Segment> segments = mExtraFieldGetter.apply(foo).getSegments(); in readMultipleExtraFields()
231 ExtraField.Segment s = ef.getSingleSegment(0x7654); in addExtraFieldToExistingEntry()
327 ExtraField.Segment s = ef.getSingleSegment(0x7654); in updateExtraFieldOfExistingEntry()