Home
last modified time | relevance | path

Searched refs:classes (Results 1 – 25 of 31) sorted by relevance

12

/dalvik/tests/etc/
Ddefault-build20 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 …]
Dreference-run-test-classes60 ${JAVA} ${DEBUG_OPTS} -ea ${VERIFY_ARG} -classpath classes Main "$@"
/dalvik/tests/003-omnibus-opcodes/
Dbuild20 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/
Dbuild22 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/
Dbuild24 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/
Dbuild42 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/
Dbuild20 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/
Dbuild46 mkdir classes
47 ${JAVAC} -d classes `find src -name '*.java'`
48 dx -JXmx1024m --dex --no-optimize classes
/dalvik/hit/src/com/android/hit/
DMain.java57 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()
DQueries.java67 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/
DClasses.java19 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/
Ddalvik_system_VMStack.cpp103 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()
Djava_lang_Class.cpp184 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/
DOutput.java99 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/
DREADME.txt2 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/
Dinfo.txt2 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/
Dexpected.txt15 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/
DProxy.cpp241 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/
DREADME.txt15 "classes.dex" entry.
29 --just-classes
31 Indicates that output should only include a list of classes, as
/dalvik/tests/092-locale/
Dinfo.txt1 Exercise some locale-specific classes.
/dalvik/vm/
DInitRefs.cpp45 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/
Dinfo.txt2 looking for correct handling of access rights and abstract classes.
/dalvik/dx/tests/113-old-style-inner-class/
Dinfo.txt2 converstion of old-style anonymous inner classes (whose representation
/dalvik/dx/tests/099-dex-core-library-error/
Dinfo.txt1 This tests that attempts to define core classes fail and that
/dalvik/dx/tests/043-dex-two-classes/
Dinfo.txt4 an attempt to combine two classes into a .dex file succeeds.

12