Home
last modified time | relevance | path

Searched refs:container (Results 1 – 5 of 5) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java136 FileUseMapEntry<?> container = findContainer(entry); in add()
137 Verify.verify(container.isFree(), "!container.isFree()"); in add()
139 Set<FileUseMapEntry<?>> replacements = split(container, entry); in add()
140 internalRemove(container); in add()
194 FileUseMapEntry container = map.floor(entry); in findContainer() local
195 Verify.verifyNotNull(container); in findContainer()
196 Verify.verify(container.getStart() <= entry.getStart()); in findContainer()
197 Verify.verify(container.getEnd() >= entry.getEnd()); in findContainer()
199 return container; in findContainer()
213 private static Set<FileUseMapEntry<?>> split(@Nonnull FileUseMapEntry<?> container, in split() argument
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java54 public static byte[] encode(Object container) throws Asn1EncodingException { in encode() argument
55 Class<?> containerClass = container.getClass(); in encode()
65 return toChoice(container); in encode()
67 return toSequence(container); in encode()
69 return toSequence(container, true); in encode()
75 private static byte[] toChoice(Object container) throws Asn1EncodingException { in toChoice() argument
76 Class<?> containerClass = container.getClass(); in toChoice()
77 List<AnnotatedField> fields = getAnnotatedFields(container); in toChoice()
86 Object fieldValue = getMemberFieldValue(container, field.getField()); in toChoice()
106 private static byte[] toSequence(Object container) throws Asn1EncodingException { in toSequence() argument
[all …]
DAsn1BerParser.java110 private static <T> T parse(BerDataValue container, Class<T> containerClass) in parse() argument
112 if (container == null) { in parse()
122 return parseChoice(container, containerClass); in parse()
128 if ((container.getTagClass() != expectedTagClass) in parse()
129 || (container.getTagNumber() != expectedTagNumber)) { in parse()
135 container.getTagClass(), container.getTagNumber())); in parse()
137 return parseSequence(container, containerClass); in parse()
140 return parseSequence(container, containerClass, true); in parse()
195 private static <T> T parseSequence(BerDataValue container, Class<T> containerClass) in parseSequence() argument
197 return parseSequence(container, containerClass, false); in parseSequence()
[all …]
/tools/treble/build/sandbox/
Dnsjail.cfg105 # Note that this has no effect in a docker container, since in that case
106 # NsJail will just mount the container device nodes. When we use NsJail
107 # in a docker container we mount the full file system root. So the container
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java48 EmptySequence container = parse(input, EmptySequence.class); in testEmptySequence() local
49 assertNotNull(container); in testEmptySequence()
100 SequenceWithIntegers container = in testInteger() local
108 assertEquals(-1, container.n1); in testInteger()