Home
last modified time | relevance | path

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

12345678

/art/test/etc/
Ddefault-build287 echo unzip -p $d8_output classes.dex \> $dex_output
289 unzip -p $d8_output classes.dex > $dex_output
325 mv ./d8_merge_out/classes.dex "$dst_file";
349 if [ -e classes.dex ]; then
350 zip $TEST_NAME.jar classes.dex
362 mkdir -p classes
363 mkdir classes-ex
364 …javac_with_bootclasspath -implicit:none -sourcepath src-dex2oat-unresolved -d classes `find src -n…
365 …javac_with_bootclasspath -implicit:none -sourcepath src -d classes-ex `find src-dex2oat-unresolved…
367 make_dex classes-ex
[all …]
/art/test/979-const-method-handle/
Dbuild34 mv classes intermediate-classes
35 mkdir classes
39 for class in intermediate-classes/*.class ; do
40 local transformed_class=classes/$(basename ${class})
51 mkdir classes
52 ${ORIGINAL_JAVAC:-javac} ${JAVAC_ARGS} -cp "${ASM_JAR}" -d classes $(find util-src -name '*.java')
53 jar -cf transformer.jar -C classes transformer/ -C classes annotations/
54 rm -rf classes
/art/test/952-invoke-custom/
Dbuild50 mv classes intermediate-classes
51 mkdir classes
55 for class in intermediate-classes/*.class ; do
56 local transformed_class=classes/$(basename ${class})
67 mkdir classes
68 ${ORIGINAL_JAVAC:-javac} ${JAVAC_ARGS} -cp "${ASM_JAR}" -d classes $(find util-src -name '*.java')
69 jar -cf transformer.jar -C classes transformer/ -C classes annotations/
70 rm -rf classes
/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.cc46 jclass* classes = nullptr; in Java_art_Test907_getLoadedClasses() local
47 jvmtiError result = jvmti_env->GetLoadedClasses(&count, &classes); in Java_art_Test907_getLoadedClasses()
57 jstring class_name = GetClassName(env, classes[i]); in Java_art_Test907_getLoadedClasses()
58 env->DeleteLocalRef(classes[i]); in Java_art_Test907_getLoadedClasses()
64 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(classes)); in Java_art_Test907_getLoadedClasses()
/art/dex2oat/
Ddex2oat_image_test.cc219 ScratchFile classes; in TEST_F() local
220 GenerateClasses(classes.GetFile(), /*frequency*/ 1u); in TEST_F()
222 {"--image-classes=" + classes.GetFilename()}); in TEST_F()
223 classes.Close(); in TEST_F()
232 ScratchFile classes; in TEST_F() local
234 GenerateClasses(classes.GetFile(), /*frequency*/ 2u); in TEST_F()
236 {"--image-classes=" + classes.GetFilename()}); in TEST_F()
237 classes.Close(); in TEST_F()
247 ScratchFile classes; in TEST_F() local
249 GenerateClasses(classes.GetFile(), kTypeFrequency); in TEST_F()
[all …]
/art/test/1948-obsolete-const-method-handle/
Dbuild20 mkdir classes
21 ./util-src/build-classes $PWD/classes
/art/test/303-verification-stress/
Dbuild21 gcc -Wall -Werror -o classes-gen classes-gen.c
22 ./classes-gen
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/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.cc53 Handle<mirror::ObjectArray<mirror::Object>> classes = in Java_Main_nativeDumpClasses() local
55 CHECK(classes != nullptr); in Java_Main_nativeDumpClasses()
56 for (size_t i = 0, length = classes->GetLength(); i != length; ++i) { in Java_Main_nativeDumpClasses()
57 CHECK(classes->Get(i) != nullptr) << i; in Java_Main_nativeDumpClasses()
58 CHECK(classes->Get(i)->IsClass()) in Java_Main_nativeDumpClasses()
59 << i << " " << classes->Get(i)->GetClass()->PrettyDescriptor(); in Java_Main_nativeDumpClasses()
60 ObjPtr<mirror::Class> as_class = classes->Get(i)->AsClass(); in Java_Main_nativeDumpClasses()
/art/test/091-override-package-private-method/
Dbuild27 mkdir -p classes-ex
28 mv classes/OverridePackagePrivateMethodSuper.class classes-ex
/art/test/127-checker-secondarydex/
Dbuild29 mkdir classes-ex
30 mv classes/Super.class classes-ex
/art/tools/veridex/
DAndroid.mk22 system_stub_dex := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/core_dex_intermediates/classes.dex
25 $(transform-classes.jar-to-dex)
28 oahl_stub_dex := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/oahl_dex_intermediates/classes.dex
31 $(transform-classes.jar-to-dex)
51 ls -1 $(PRIVATE_SYSTEM_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_SYSTEM_STUBS_ZIP).list
54 ls -1 $(PRIVATE_OAHL_STUBS_DEX_DIR)/classes*.dex | sort >$(PRIVATE_OAHL_STUBS_ZIP).list
/art/test/435-new-instance/
Dinfo.txt2 - InstantiationError on interfaces and abstract classes
3 - IllegalAccessError on inaccessible classes
4 - NoClassDefFoundError on unknown classes
/art/test/071-dexfile-get-static-size/
Dbuild25 cp res/test1.dex test-jar/classes.dex
27 zip -j res/test-jar.jar test-jar/classes.dex
28 zip -j res/multi-jar.jar test-jar/classes.dex test-jar/classes2.dex
/art/test/utils/python/
Dgenerate_java_main.py210 def flatten_classes(classes, c): argument
216 c = classes.get(c.super_class)
218 def flatten_class_methods(classes, c): argument
222 for c1 in flatten_classes(classes, c):
234 for cl in flatten_classes(dat.classes, c):
250 for c in dat.classes.values():
252 for clazz in flatten_classes(dat.classes, c):
253 for meth in flatten_class_methods(dat.classes, clazz):
283 classes = dict()
298 classes[name] = Clazz(name = name,
[all …]
/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).
16 dx --debug --dex --output=classes.dex classes
17 baksmali disassemble classes.dex
/art/runtime/jit/
Dprofiling_info_test.cc90 DexCacheResolvedClasses classes(dex_location, dex_location, checksum, kMaxMethodIds); in AddClass() local
91 classes.AddClass(type_index); in AddClass()
92 return info->AddClasses({classes}); in AddClass()
143 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() local
144 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(0)); in SaveProfilingInfoWithFakeInlineCaches()
145 caches.emplace_back(dex_pc, /*is_missing_types*/false, classes); in SaveProfilingInfoWithFakeInlineCaches()
149 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() local
151 classes.emplace_back(method->GetDexFile(), dex::TypeIndex(k)); in SaveProfilingInfoWithFakeInlineCaches()
153 caches.emplace_back(dex_pc, /*is_missing_types*/false, classes); in SaveProfilingInfoWithFakeInlineCaches()
157 std::vector<TypeReference> classes; in SaveProfilingInfoWithFakeInlineCaches() local
[all …]
/art/tools/class2greylist/test/src/com/android/class2greylist/
DRepeatedAnnotationHandlerTest.java79 private final List<String> classes; field in RepeatedAnnotationHandlerTest.TestAnnotationHandler
82 this.classes = new ArrayList<>(); in TestAnnotationHandler()
88 classes.add(annotation.getElementValuePairs()[0].getValue().stringifyValue()); in handleAnnotation()
92 return classes; in getClasses()
/art/test/1946-list-descriptors/
Ddescriptors.cc63 char** classes = nullptr; in Java_art_Test1946_getClassloaderDescriptors() local
68 &classes))) { in Java_art_Test1946_getClassloaderDescriptors()
75 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors()
80 env->SetObjectArrayElement(arr.get(), i, env->NewStringUTF(classes[i])); in Java_art_Test1946_getClassloaderDescriptors()
82 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors()
86 Cleanup(classes, cnt); in Java_art_Test1946_getClassloaderDescriptors()
/art/test/004-ReferenceMap/
Dbuild41 jar -cf classes.jar classes.dex
/art/test/004-StackWalk/
Dbuild38 jar -cf classes.jar classes.dex
/art/test/960-default-smali/
Dinfo.txt17 <Add new classes/interfaces>
18 <Add these classes/interfaces to ./smali/classes.xml>
20 git add ./smali/classes.xml ./expected.txt
/art/test/806-TooWideClassInstanceOf/
Dinfo.txt1 Test the instanceof in the case the classes are too wide (> the classes each depth's bitstring can

12345678