Home
last modified time | relevance | path

Searched refs:dex (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/dalvik/dx/tests/099-dex-core-library-error/
Drun17 dx --debug --dex --output=blort.dex java/blort/Blort.class >/dev/null 2>&1
19 if [ -r blort.dex ]; then
20 echo Found blort.dex
23 dx --debug --dex --output=muffins.dex javax/net/Muffins.class >/dev/null 2>&1
25 if [ -r muffins.dex ]; then
26 echo Found muffins.dex
29 dx --debug --dex --output=zorch.dex javax/zorch/Zorch.class >/dev/null 2>&1
31 if [ -r zorch.dex ]; then
32 echo Found zorch.dex
/dalvik/dx/src/com/android/dx/command/grep/
DGrep.java19 import com.android.dex.ClassData;
20 import com.android.dex.ClassDef;
21 import com.android.dex.Dex;
22 import com.android.dex.EncodedValueReader;
23 import com.android.dex.MethodId;
32 private final Dex dex; field in Grep
42 public Grep(final Dex dex, Pattern pattern, final PrintWriter out) { in Grep() argument
43 this.dex = dex; in Grep()
46 stringIds = getStringIds(dex, pattern); in Grep()
71 out.println(location() + " " + dex.strings().get(index)); in encounterString()
[all …]
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java19 import com.android.dex.ClassData;
20 import com.android.dex.ClassDef;
21 import com.android.dex.Dex;
22 import com.android.dex.FieldId;
23 import com.android.dex.MethodId;
35 private final Dex dex; field in FindUsages
44 public FindUsages(final Dex dex, String declaredBy, String memberName, final PrintWriter out) { in FindUsages() argument
45 this.dex = dex; in FindUsages()
52 List<String> strings = dex.strings(); in FindUsages()
70 int typeIndex = Collections.binarySearch(dex.typeIds(), typeStringIndex); in FindUsages()
[all …]
/dalvik/dx/tests/115-merge/
Drun24 dx --dex --output=test.jar com/android/dx/merge/* $dxjar
27 dx --dex --output=testdata/Annotated.dex testdata/Annotated*
28 dx --dex --output=testdata/Basic.dex testdata/Basic*
29 dx --dex --output=testdata/FillArrayData.dex testdata/FillArrayData*
30 dx --dex --output=testdata/StaticValues.dex testdata/StaticValues*
31 dx --dex --output=testdata/TryCatchFinally.dex testdata/TryCatchFinally*
32 jar cfM resources.jar testdata/*.dex
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java19 import com.android.dex.ClassDef;
20 import com.android.dex.Dex;
21 import com.android.dex.FieldId;
22 import com.android.dex.MethodId;
23 import com.android.dex.ProtoId;
24 import com.android.dex.TableOfContents;
32 private final Dex dex; field in DexIndexPrinter
36 this.dex = new Dex(file); in DexIndexPrinter()
37 this.tableOfContents = dex.getTableOfContents(); in DexIndexPrinter()
53 for (String string : dex.strings()) { in printStrings()
[all …]
/dalvik/dx/src/com/android/dex/
DMethodId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in MethodId
27 public MethodId(Dex dex, int declaringClassIndex, int protoIndex, int nameIndex) { in MethodId() argument
28 this.dex = dex; in MethodId()
65 if (dex == null) { in toString()
68 return dex.typeNames().get(declaringClassIndex) in toString()
69 + "." + dex.strings().get(nameIndex) in toString()
70 + dex.readTypeList(dex.protoIds().get(protoIndex).getParametersOffset()); in toString()
DCallSiteId.java17 package com.android.dex;
19 import com.android.dex.Dex.Section;
20 import com.android.dex.util.Unsigned;
27 private final Dex dex; field in CallSiteId
30 public CallSiteId(Dex dex, int offset) { in CallSiteId() argument
31 this.dex = dex; in CallSiteId()
50 if (dex == null) { in toString()
53 return dex.protoIds().get(offset).toString(); in toString()
DProtoId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in ProtoId
27 public ProtoId(Dex dex, int shortyIndex, int returnTypeIndex, int parametersOffset) { in ProtoId() argument
28 this.dex = dex; in ProtoId()
62 if (dex == null) { in toString()
66 return dex.strings().get(shortyIndex) in toString()
67 + ": " + dex.typeNames().get(returnTypeIndex) in toString()
68 + " " + dex.readTypeList(parametersOffset); in toString()
DFieldId.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
22 private final Dex dex; field in FieldId
27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { in FieldId() argument
28 this.dex = dex; in FieldId()
65 if (dex == null) { in toString()
68 return dex.typeNames().get(typeIndex) + "." + dex.strings().get(nameIndex); in toString()
DAnnotation.java17 package com.android.dex;
19 import static com.android.dex.EncodedValueReader.ENCODED_ANNOTATION;
25 private final Dex dex; field in Annotation
29 public Annotation(Dex dex, byte visibility, EncodedValue encodedAnnotation) { in Annotation() argument
30 this.dex = dex; in Annotation()
61 return dex == null in toString()
63 : visibility + " " + dex.typeNames().get(getTypeIndex()); in toString()
DMethodHandle.java17 package com.android.dex;
19 import com.android.dex.Dex.Section;
20 import com.android.dex.util.Unsigned;
71 private final Dex dex; field in MethodHandle
78 Dex dex, in MethodHandle() argument
83 this.dex = dex; in MethodHandle()
123 if (dex == null) { in toString()
129 ? dex.fieldIds().get(fieldOrMethodId) in toString()
130 : dex.methodIds().get(fieldOrMethodId)); in toString()
DTypeList.java17 package com.android.dex;
19 import com.android.dex.util.Unsigned;
25 private final Dex dex; field in TypeList
28 public TypeList(Dex dex, short[] types) { in TypeList() argument
29 this.dex = dex; in TypeList()
52 result.append(dex != null ? dex.typeNames().get(types[i]) : types[i]); in toString()
/dalvik/dx/tests/127-merge-stress/
Drun36 for dex in $candidates; do
37 if [[ "$dex" = *"core"* ]]; then
47 if [[ "$dex" == *"jar" || "$dex" == *"apk" ]]; then
48 unzip -l "$dex" 2>&1 | grep -q -m 1 classes.dex
55 checksum=`shasum "$dex" | sed -e 's/ .*//' -e 's/^/_/'`
61 dexdump -c $dex >/dev/null 2>&1
63 validdexes+=("$dex")
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java19 import com.android.dex.Annotation;
20 import com.android.dex.CallSiteId;
21 import com.android.dex.ClassDef;
22 import com.android.dex.Dex;
23 import com.android.dex.DexException;
24 import com.android.dex.EncodedValue;
25 import com.android.dex.EncodedValueCodec;
26 import com.android.dex.EncodedValueReader;
27 import static com.android.dex.EncodedValueReader.ENCODED_ANNOTATION;
28 import static com.android.dex.EncodedValueReader.ENCODED_ARRAY;
[all …]
DSortableType.java19 import com.android.dex.ClassDef;
20 import com.android.dex.Dex;
21 import com.android.dex.DexException;
48 private final Dex dex; field in SortableType
53 public SortableType(Dex dex, IndexMap indexMap, ClassDef classDef) { in SortableType() argument
54 this.dex = dex; in SortableType()
60 return dex; in getDex()
/dalvik/dx/tests/118-find-usages/
Drun17 dx --output=foo.dex --dex *.class
20 dx --find-usages foo.dex "Ljava/io/StreamTokenizer;" nval
23 dx --find-usages foo.dex "Ljava/util/ArrayList;" remove
26 dx --find-usages foo.dex "Ljava/util/Collection;" remove
29 dx --find-usages foo.dex "Ljava/lang/String;" valueOf
/dalvik/
DAndroid.mk24 .PHONY: dex dex-debug
26 dex:
31 dex: $(DEFAULT_GOAL)
48 dex-debug:
55 dex-debug: $(DEFAULT_GOAL)
/dalvik/dx/tests/125-main-dex-list/
Drun17 dx --dex --output=test.jar com/android/dx/multidex/*
19 dx -JXmx1024m --dex --no-optimize --multi-dex --main-dex-list=main.list --minimal-main-dex --output…
/dalvik/dx/tests/119-merge-conflict/
Drun31 dx --dex --output=test.jar com/android/dx/merge/* $dxjar
34 dx --dex --output=testdata/A.dex testdata/A.class
35 dx --dex --output=testdata/B.dex testdata/B.class
36 jar cfM resources.jar testdata/*.dex
/dalvik/dx/tests/034-dex-minimal/
Drun17 dx --debug --dex --dump-to=- --no-files
20 dx --verbose --debug --dex --output=blort.dex blort.class
21 if [ -r blort.dex ]; then
/dalvik/dx/tests/100-local-mismatch/
Drun18 dx --dex Blort1.class 2>&1 | grep mismatch
21 dx --dex Blort2.class 2>&1 | grep mismatch
24 dx --dex Blort3.class 2>&1 | grep mismatch
27 dx --dex Blort4.class 2>&1 | grep mismatch
/dalvik/dx/src/com/android/dx/dex/file/
DDebugInfoDecoder.java17 package com.android.dx.dex.file;
19 import com.android.dex.Leb128;
20 import com.android.dex.util.ByteArrayByteInput;
21 import com.android.dex.util.ByteInput;
22 import com.android.dex.util.ExceptionWithContext;
23 import com.android.dx.dex.code.DalvCode;
24 import com.android.dx.dex.code.DalvInsnList;
25 import com.android.dx.dex.code.LocalList;
26 import com.android.dx.dex.code.PositionList;
27 import static com.android.dx.dex.file.DebugInfoConstants.DBG_ADVANCE_LINE;
[all …]
/dalvik/dx/tests/137-dexmerger-dex38/
Drun21 dx --min-sdk-version=26 --dex --output="${CLASS/%.class/.dex}" "${CLASS}" 2>&1
25 out.dex invokecustom/*.dex >& /dev/null
26 dexdump -d out.dex
/dalvik/dx/tests/130-numthread-multidex-deterministic/
Drun44 dx -JXmx4g -JXms4g --dex --no-optimize --multi-dex --output=out classes
47 dx -JXmx4g -JXms4g --dex --no-optimize --multi-dex --num-threads=4 --output=out-multi classes
/dalvik/dx/tests/128-multidex-option-overflow/
Dexpected.txt1 classes2.dex
2 classes3.dex
3 classes.dex

12345678910>>...20