Home
last modified time | relevance | path

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

123456

/art/test/091-override-package-private-method/
Dbuild20 mkdir classes
21 ${JAVAC} -d classes `find src -name '*.java'`
23 mkdir classes-ex
24 mv classes/OverridePackagePrivateMethodSuper.class classes-ex
27 jar cf classes.jill.jar -C classes .
28 jar cf classes-ex.jill.jar -C classes-ex .
30 ${JACK} --import classes.jill.jar --output-dex .
31 zip $TEST_NAME.jar classes.dex
32 ${JACK} --import classes-ex.jill.jar --output-dex .
33 zip ${TEST_NAME}-ex.jar classes.dex
[all …]
/art/test/127-checker-secondarydex/
Dbuild20 mkdir classes
21 ${JAVAC} -d classes `find src -name '*.java'`
23 mkdir classes-ex
24 mv classes/Super.class classes-ex
27 jar cf classes.jill.jar -C classes .
28 jar cf classes-ex.jill.jar -C classes-ex .
30 ${JACK} --import classes.jill.jar --output-dex .
31 zip $TEST_NAME.jar classes.dex
32 ${JACK} --import classes-ex.jill.jar --output-dex .
33 zip ${TEST_NAME}-ex.jar classes.dex
[all …]
/art/test/138-duplicate-classes-check2/
Dbuild20 mkdir classes
21 ${JAVAC} -d classes `find src -name '*.java'`
23 mkdir classes-ex
24 ${JAVAC} -d classes-ex `find src-ex -name '*.java'`
25 rm classes-ex/A.class
28 jar cf classes.jill.jar -C classes .
29 ${JACK} --import classes.jill.jar --output-dex .
30 zip ${TEST_NAME}.jar classes.dex
32 jar cf classes-ex.jill.jar -C classes-ex .
33 ${JACK} --import classes-ex.jill.jar --output-dex .
[all …]
/art/test/etc/
Ddefault-build188 if [ -e classes.dex ]; then
189 zip $TEST_NAME.jar classes.dex
199 mkdir classes
200 mkdir classes-ex
201 …${JAVAC} ${JAVAC_ARGS} -implicit:none -sourcepath src-dex2oat-unresolved -d classes `find src -nam…
202 …${JAVAC} ${JAVAC_ARGS} -implicit:none -sourcepath src -d classes-ex `find src-dex2oat-unresolved -…
204 jar cf classes.jill.jar -C classes .
205 jar cf classes-ex.jill.jar -C classes-ex .
207 ${JACK} --import classes-ex.jill.jar --output-dex .
208 zip ${TEST_NAME}-ex.jar classes.dex
[all …]
/art/test/551-checker-shifter-operand/
Dbuild107 if [ -e classes.dex ]; then
108 zip $TEST_NAME.jar classes.dex
143 mkdir classes
144 … ${JAVAC} ${JAVAC_ARGS} -implicit:none -classpath src-multidex -d classes `find src -name '*.java'`
157 mkdir -p classes
158 ${JAVAC} ${JAVAC_ARGS} -d classes `find src2 -name '*.java'`
163 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex \
164 --dump-width=1000 ${DX_FLAGS} classes
175 ${DXMERGER} classes.dex classes.dex smali_classes.dex
177 mv smali_classes.dex classes.dex
[all …]
/art/test/131-structural-change/
Dbuild22 zip $TEST_NAME.jar classes.dex
25 zip ${TEST_NAME}-ex.jar classes.dex
27 mkdir classes
28 ${JAVAC} -d classes `find src -name '*.java'`
30 mkdir classes-ex
31 ${JAVAC} -d classes-ex `find src-ex -name '*.java'`
34 … ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes
35 zip $TEST_NAME.jar classes.dex
36 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
37 zip ${TEST_NAME}-ex.jar classes.dex
/art/test/113-multidex/
Dbuild21 mkdir classes
22 ${JAVAC} -d classes `find src -name '*.java'`
23 rm classes/Main.class
31 jar cf classes.jill.jar -C classes .
34 ${JACK} --import classes.jill.jar --output-dex .
35 mv classes.dex classes-1.dex
37 mv classes.dex classes2.dex
38 mv classes-1.dex classes.dex
42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes
50 zip $TEST_NAME.jar classes.dex classes2.dex
/art/test/126-miranda-multidex/
Dbuild21 mkdir classes
22 ${JAVAC} -d classes `find src -name '*.java'`
23 rm classes/MirandaInterface.class
31 jar cf classes.jill.jar -C classes .
34 ${JACK} --import classes.jill.jar --output-dex .
35 mv classes.dex classes-1.dex
37 mv classes.dex classes2.dex
38 mv classes-1.dex classes.dex
42 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes
50 zip $TEST_NAME.jar classes.dex classes2.dex
/art/test/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'`
26 jar cf classes.jill.jar -C classes .
27 ${JACK} --import classes.jill.jar --output-dex .
30 ${DX} -JXmx256m --debug --dex --output=classes.dex classes
35 zip $TEST_NAME.jar classes.dex
/art/test/111-unresolvable-exception/
Dbuild20 mkdir classes
21 ${JAVAC} -d classes `find src -name '*.java'`
22 rm classes/TestException.class
25 jar cf classes.jill.jar -C classes .
26 ${JACK} --import classes.jill.jar --output-dex .
29 ${DX} -JXmx256m --debug --dex --dump-to=classes.lst --output=classes.dex classes
34 zip $TEST_NAME.jar classes.dex
/art/test/085-old-style-inner-class/
Dbuild22 mkdir classes
23 ${JAVAC} -source 1.4 -target 1.4 -d classes `find src -name '*.java'`
26 jar cf classes.jill.jar -C classes .
27 ${JACK} --import classes.jill.jar --output-dex .
30 …${DX} --debug --dex --dump-to=classes.lst --output=classes.dex --dump-width=1000 classes 2>/dev/nu…
33 zip $TEST_NAME.jar classes.dex
/art/test/005-annotations/
Dbuild20 mkdir classes
23 ${JAVAC} -d classes `find src -name '*.java'`
25 ${JAVAC} -d classes `find src2 -name '*.java'`
32 jar cf classes.jill.jar -C classes .
34 ${JACK} -D jack.dex.annotation.class-retention=true --import classes.jill.jar --output-dex .
37 ${DX} -JXmx256m --debug --dex --output=classes.dex classes
42 zip $TEST_NAME.jar classes.dex
/art/test/303-verification-stress/
Dbuild21 gcc -Wall -Werror -o classes-gen classes-gen.c
22 ./classes-gen
28 mkdir classes
29 ${JAVAC} -d classes src/*.java
33 ${DX} --debug --dex --output=classes.dex classes
34 zip $TEST_NAME.jar classes.dex
Dinfo.txt2 classes, each one initializing a big array of string in its class initializer.
3 This generates big <clinit> methods in these classes. The goal is to stress the
6 Note: these classes are generated automatically. The number of classes and the
/art/test/124-missing-classes/
Dbuild20 mkdir classes
23 ${JAVAC} -d classes `find src -name '*.java'`
30 jar cf classes.jill.jar -C classes .
31 ${JACK} --import classes.jill.jar --output-dex .
34 ${DX} -JXmx256m --debug --dex --output=classes.dex classes
39 zip $TEST_NAME.jar classes.dex
/art/test/022-interface/
Dbuild23 jar cf classes.jill.jar -C classes .
24 ${JACK} --import classes.jill.jar --output-dex .
26 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes
29 zip $TEST_NAME.jar classes.dex
/art/test/023-many-interfaces/
Dbuild28 mkdir classes
29 ${JAVAC} -d classes src/*.java
33 ${DX} --debug --dex --dump-to=classes.lst --output=classes.dex classes
34 zip $TEST_NAME.jar classes.dex
/art/test/638-no-line-number/
Dbuild20 mkdir classes
23 ${JAVAC} -g:source -source 7 -target 7 -d classes `find src -name '*.java'`
24 ${DX} --dex --output=classes.dex classes
25 zip $TEST_NAME.jar classes.dex
/art/test/056-const-string-jumbo/
Dbuild45 mkdir classes
46 ${JAVAC} -d classes src/*.java
49 …DX} -JXmx500m --debug --dex --no-optimize --positions=none --no-locals --output=classes.dex classes
54 zip $TEST_NAME.jar classes.dex
/art/test/121-modifiers/
Dinfo.txt3 The classes are pre-compiled and modified with ASM.
7 into the classes directory (this assumes the ASM libraries are names asm.jar and asm-tree.jar).
13 mv Inf.out classes/Inf.class
14 mv NonInf.out classes/NonInf.class
15 mv Main.class A.class A\$B.class A\$C.class classes/
16 dx --debug --dex --output=classes.dex classes
17 baksmali classes.dex
/art/test/370-dex-v37/
Dbuild24 if test -f classes.dex && head -c 7 classes.dex | grep -q 035; then
26 printf '037' | dd status=none conv=notrunc of=classes.dex bs=1 seek=4 count=3
28 zip $TEST_NAME.jar classes.dex
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc45 jclass* classes = nullptr; in Java_art_Test907_getLoadedClasses() local
46 jvmtiError result = jvmti_env->GetLoadedClasses(&count, &classes); in Java_art_Test907_getLoadedClasses()
56 jstring class_name = GetClassName(env, classes[i]); in Java_art_Test907_getLoadedClasses()
57 env->DeleteLocalRef(classes[i]); in Java_art_Test907_getLoadedClasses()
63 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes)); in Java_art_Test907_getLoadedClasses()
/art/runtime/
Dclass_table_test.cc127 std::set<mirror::Class*> classes; in TEST_F() local
128 table.Visit([&classes](ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
129 classes.insert(klass.Ptr()); in TEST_F()
132 EXPECT_TRUE(classes.find(h_X.Get()) != classes.end()); in TEST_F()
133 EXPECT_TRUE(classes.find(h_Y.Get()) != classes.end()); in TEST_F()
134 EXPECT_EQ(classes.size(), 2u); in TEST_F()
135 classes.clear(); in TEST_F()
136 table.Visit([&classes](ObjPtr<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
137 classes.insert(klass.Ptr()); in TEST_F()
141 EXPECT_EQ(classes.size(), 1u); in TEST_F()
/art/test/626-const-class-linking/
Dclear_dex_cache_types.cc51 Handle<mirror::ObjectArray<mirror::Object>> classes = in Java_Main_nativeDumpClasses() local
53 CHECK(classes != nullptr); in Java_Main_nativeDumpClasses()
54 for (size_t i = 0, length = classes->GetLength(); i != length; ++i) { in Java_Main_nativeDumpClasses()
55 CHECK(classes->Get(i) != nullptr) << i; in Java_Main_nativeDumpClasses()
56 CHECK(classes->Get(i)->IsClass()) in Java_Main_nativeDumpClasses()
57 << i << " " << classes->Get(i)->GetClass()->PrettyDescriptor(); in Java_Main_nativeDumpClasses()
58 mirror::Class* as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/test/435-new-instance/
Dinfo.txt2 - InstantiationError on interfaces and abstract classes
3 - IllegalAccessError on inaccessible classes
4 - NoClassDefFoundError on unknown classes

123456