/dalvik/tests/etc/ |
D | default-build | 20 mkdir classes 21 ${JAVAC} -d classes `find src -name '*.java'` 24 ${JAVAC} -d classes `find src2 -name '*.java'` 27 dx -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \ 28 --dump-width=1000 classes 29 zip test.jar classes.dex 32 mkdir classes-ex 33 ${JAVAC} -d classes-ex -cp classes `find src-ex -name '*.java'` 34 dx -JXmx256m --debug --dex --dump-to=classes-ex.lst \ 35 --output=classes-ex.dex --dump-width=1000 classes-ex [all …]
|
D | reference-run-test-classes | 60 ${JAVA} ${DEBUG_OPTS} -ea ${VERIFY_ARG} -classpath classes Main "$@"
|
/dalvik/tests/003-omnibus-opcodes/ |
D | build | 20 mkdir classes 21 ${JAVAC} -d classes `find src -name '*.java'` 22 rm classes/UnresClass.class 23 ${JAVAC} -d classes `find src2 -name '*.java'` 25 dx -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes 26 zip test.jar classes.dex
|
/dalvik/tests/085-old-style-inner-class/ |
D | build | 22 mkdir classes 23 ${JAVAC} -source 1.4 -target 1.4 -d classes `find src -name '*.java'` 26 dx --debug --dex --dump-to=classes.lst --output=classes.dex \ 27 --dump-width=1000 classes 2>/dev/null 29 zip test.jar classes.dex
|
/dalvik/tests/023-many-interfaces/ |
D | build | 24 mkdir classes 25 ${JAVAC} -d classes src/*.java 27 dx --debug --dex --dump-to=classes.lst --output=classes.dex classes 28 zip test.jar classes.dex
|
/dalvik/tests/056-const-string-jumbo/ |
D | build | 42 mkdir classes 43 ${JAVAC} -d classes src/*.java 46 --dump-to=classes.lst --output=classes.dex classes 47 zip test.jar classes.dex
|
/dalvik/tests/004-annotations/ |
D | build | 20 mkdir classes 23 ${JAVAC} -d classes `find src -name '*.java'` 26 rm classes/android/test/anno/MissingAnnotation.class 27 dx -JXmx256m --debug --dex --output=test.jar classes
|
/dalvik/tests/089-many-methods/ |
D | build | 46 mkdir classes 47 ${JAVAC} -d classes `find src -name '*.java'` 48 dx -JXmx1024m --dex --no-optimize classes
|
/dalvik/hit/src/com/android/hit/ |
D | Main.java | 57 Map<String, Set<ClassObj>> someClasses = Queries.classes(state, x); in testClassesQuery() 62 Set<ClassObj> classes = someClasses.get(thePackage); in testClassesQuery() local 64 for (ClassObj theClass: classes) { in testClassesQuery() 76 Set<ClassObj> classes = allClasses.get(thePackage); in testAllClassesQuery() local 78 for (ClassObj theClass: classes) { in testAllClassesQuery()
|
D | Queries.java | 67 return classes(state, null); in allClasses() 70 public static Map<String, Set<ClassObj>> classes(State state, in classes() method in Queries 75 Set<ClassObj> classes = new TreeSet<ClassObj>(); in classes() local 79 classes.addAll(heap.mClassesById.values()); in classes() 85 Iterator<ClassObj> iter = classes.iterator(); in classes() 101 for (ClassObj theClass: classes) { in classes()
|
/dalvik/tests/003-omnibus-opcodes/src/ |
D | Classes.java | 19 Classes classes; in checkCast() local 22 classes = (Classes) thisRef; in checkCast() 24 classes = (Classes) moreRef; in checkCast() 53 classes = (Classes) nullRef; in checkCast() 54 classes = (MoreClasses) nullRef; in checkCast() 197 Classes classes = new Classes(); in run() local 199 classes.checkCast(classes, more, null); in run()
|
/dalvik/vm/native/ |
D | dalvik_system_VMStack.cpp | 103 ArrayObject* classes = dvmAllocArrayByClass(classArrayClass, in Dalvik_dalvik_system_VMStack_getClasses() local 106 if (classes == NULL) { in Dalvik_dalvik_system_VMStack_getClasses() 120 dvmSetObjectArrayElement(classes, objCount, klass); in Dalvik_dalvik_system_VMStack_getClasses() 123 assert(objCount == classes->length); in Dalvik_dalvik_system_VMStack_getClasses() 125 dvmReleaseTrackedAlloc((Object*)classes, NULL); in Dalvik_dalvik_system_VMStack_getClasses() 126 RETURN_PTR(classes); in Dalvik_dalvik_system_VMStack_getClasses()
|
D | java_lang_Class.cpp | 184 ArrayObject* classes; in Dalvik_java_lang_Class_getDeclaredClasses() local 186 classes = dvmGetDeclaredClasses(clazz); in Dalvik_java_lang_Class_getDeclaredClasses() 187 if (classes == NULL) { in Dalvik_java_lang_Class_getDeclaredClasses() 190 classes = dvmAllocArrayByClass(gDvm.classJavaLangClassArray, in Dalvik_java_lang_Class_getDeclaredClasses() 195 ClassObject** pSource = (ClassObject**)(void*)classes->contents; in Dalvik_java_lang_Class_getDeclaredClasses() 196 u4 length = classes->length; in Dalvik_java_lang_Class_getDeclaredClasses() 218 dvmReleaseTrackedAlloc((Object*) classes, NULL); in Dalvik_java_lang_Class_getDeclaredClasses() 219 classes = newClasses; in Dalvik_java_lang_Class_getDeclaredClasses() 222 dvmReleaseTrackedAlloc((Object*) classes, NULL); in Dalvik_java_lang_Class_getDeclaredClasses() 223 RETURN_PTR(classes); in Dalvik_java_lang_Class_getDeclaredClasses()
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Output.java | 99 static void printClassRefs(ClassRef[] classes, boolean justClasses) { in printClassRefs() argument 104 for (int i = 0; i < classes.length; i++) { in printClassRefs() 105 ClassRef ref = classes[i]; in printClassRefs() 114 static void printFieldRefs(ClassRef[] classes) { in printFieldRefs() argument 116 for (int i = 0; i < classes.length; i++) { in printFieldRefs() 117 FieldRef[] fields = classes[i].getFieldArray(); in printFieldRefs() 131 static void printMethodRefs(ClassRef[] classes) { in printMethodRefs() argument 133 for (int i = 0; i < classes.length; i++) { in printMethodRefs() 134 MethodRef[] methods = classes[i].getMethodArray(); in printMethodRefs()
|
/dalvik/dexgen/ |
D | README.txt | 2 creating dex classes in runtime which is needed e.g. for class mocking. 3 This solution is based on the dx tool and uses its classes extensively.
|
/dalvik/tests/068-classloader/ |
D | info.txt | 2 have multiple classes called "com.android.Blah" loaded simultaneously. The 3 classes are distinct and must be treated as such. This test exercises
|
/dalvik/tests/031-class-attributes/ |
D | expected.txt | 15 member classes: [1] class ClassAttrs$PublicMemberClass 41 member classes: [0] 67 member classes: [0] 93 member classes: [0] 119 member classes: [0] 145 member classes: [0] 171 member classes: [0] 197 …member classes: [2] class java.util.AbstractMap$SimpleEntry, class java.util.AbstractMap$SimpleImm…
|
/dalvik/vm/reflect/ |
D | Proxy.cpp | 241 ClassObject** classes; in gatherMethods() local 255 classes = (ClassObject**)(void*)interfaces->contents; in gatherMethods() 257 for (i = 0; i < numInterfaces; i++, classes++) { in gatherMethods() 258 ClassObject* clazz = *classes; in gatherMethods() 293 classes = (ClassObject**)(void*)interfaces->contents; in gatherMethods() 294 for (i = 0; i < numInterfaces; i++, classes++) { in gatherMethods() 295 ClassObject* clazz = *classes; in gatherMethods() 569 const ClassObject** classes = in reduceExceptionClassList() local 578 if (classes[i] == NULL) in reduceExceptionClassList() 581 if (classes[j] == NULL) in reduceExceptionClassList() [all …]
|
/dalvik/tools/dexdeps/ |
D | README.txt | 15 "classes.dex" entry. 29 --just-classes 31 Indicates that output should only include a list of classes, as
|
/dalvik/tests/092-locale/ |
D | info.txt | 1 Exercise some locale-specific classes.
|
/dalvik/vm/ |
D | InitRefs.cpp | 45 static struct { ClassObject** ref; const char* name; } classes[] = { in initClassReferences() local 146 for (i = 0; classes[i].ref != NULL; i++) { in initClassReferences() 147 if (!initClassReference(classes[i].ref, classes[i].name)) { in initClassReferences() 258 static struct { const char* name; const struct FieldInfo* fields; } classes[] = { in initFieldOffsets() local 276 for (i = 0; classes[i].name != NULL; i++) { in initFieldOffsets() 277 const char* className = classes[i].name; in initFieldOffsets() 279 const struct FieldInfo* fields = classes[i].fields; in initFieldOffsets()
|
/dalvik/tests/042-new-instance/ |
D | info.txt | 2 looking for correct handling of access rights and abstract classes.
|
/dalvik/dx/tests/113-old-style-inner-class/ |
D | info.txt | 2 converstion of old-style anonymous inner classes (whose representation
|
/dalvik/dx/tests/099-dex-core-library-error/ |
D | info.txt | 1 This tests that attempts to define core classes fail and that
|
/dalvik/dx/tests/043-dex-two-classes/ |
D | info.txt | 4 an attempt to combine two classes into a .dex file succeeds.
|