Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 25 of 150) sorted by relevance

123456

/art/test/626-set-resolved-string/src/
DMain.java25 Method[] methods = Main.class.getDeclaredMethods(); in main() local
29 for (int i = 0; i < methods.length; i++) { in main()
30 methods[i].getName(); in main()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc37 mirror::MethodDexCacheType* methods = dex_cache->GetResolvedMethods(); in Java_Main_cloneResolvedMethods() local
38 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_cloneResolvedMethods()
51 auto pair = mirror::DexCache::GetNativePairPtrSize(methods, i, kRuntimePointerSize); in Java_Main_cloneResolvedMethods()
72 mirror::MethodDexCacheType* methods = in Java_Main_restoreResolvedMethods() local
74 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_restoreResolvedMethods()
76 CHECK_EQ(methods != nullptr, old != nullptr); in Java_Main_restoreResolvedMethods()
91 mirror::DexCache::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); in Java_Main_restoreResolvedMethods()
/art/runtime/
Dimtable_test.cc93 std::pair<ArtMethod*, ArtMethod*> methods = LoadMethods("LInterfaces$A;", "foo"); in TEST_F() local
94 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
100 std::pair<ArtMethod*, ArtMethod*> methods = LoadMethods("LInterfaces$Z;", "foo"); in TEST_F() local
101 CHECK_EQ(ImTable::GetImtIndex(methods.first), ImTable::GetImtIndex(methods.second)); in TEST_F()
Dnative_bridge_art_interface.cc56 static uint32_t GetNativeMethods(JNIEnv* env, jclass clazz, JNINativeMethod* methods, in GetNativeMethods() argument
58 if ((clazz == nullptr) || (methods == nullptr)) { in GetNativeMethods()
68 methods[count].name = m.GetName(); in GetNativeMethods()
69 methods[count].signature = m.GetShorty(); in GetNativeMethods()
70 methods[count].fnPtr = m.GetEntryPointFromJni(); in GetNativeMethods()
Dimage-inl.h75 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) { in VisitPackedImtConflictTables()
76 return std::make_pair(visitor(methods.first), visitor(methods.second)); in VisitPackedImtConflictTables()
/art/test/097-duplicate-method/
Dinfo.txt1 This is a test to verify that duplicate methods in a dex file are handled
4 We need to build a dex file with duplicate methods. We cannot do that
6 methods, only one is in the dex). Therefore, having a precompiled
/art/test/utils/python/
Dgenerate_java_main.py223 yield from c1.methods
241 yield from i.methods
243 yield from i2.methods
289 methods = [a.text for a in iface.find("methods")]
292 methods = methods,
297 methods = [a.text for a in clazz.find("methods")]
300 methods = methods,
/art/test/975-iface-private/
Dinfo.txt1 Smali-based tests for experimental interface private methods.
5 This test checks that synthetic private methods in interfaces work correctly.
Dbuild20 ./default-build "$@" --experimental default-methods
/art/test/996-breakpoint-obsolete/
Dinfo.txt4 methods and that it is possible to set breakpoints on obsolete methods.
/art/test/969-iface-super/
Dinfo.txt1 Smali-based tests for experimental interface static methods.
3 This tests invoke-super with default methods.
/art/runtime/native/
Djava_lang_reflect_Proxy.cc33 jobject loader, jobjectArray methods, jobjectArray throws) { in Proxy_generateProxy() argument
37 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
Dnative_util.h30 const JNINativeMethod* methods, in RegisterNativeMethodsInternal() argument
36 jint jni_result = env->RegisterNatives(c.get(), methods, method_count); in RegisterNativeMethodsInternal()
/art/tools/dmtracedump/
Dtracedump.cc149 struct MethodEntry** methods; /* list of methods in this class */ member
156 struct MethodEntry** methods; /* list of methods with same name */ member
191 MethodEntry* methods; /* 2 extra methods: "toplevel" and "unknown" */ member
449 int64_t idA = classA->methods[0]->methodId; in compareClassExclusive()
450 int64_t idB = classB->methods[0]->methodId; in compareClassExclusive()
498 int32_t result = strcmp(uniqueA->methods[0]->className, uniqueB->methods[0]->className); in compareUniqueExclusive()
500 int64_t idA = uniqueA->methods[0]->methodId; in compareUniqueExclusive()
501 int64_t idB = uniqueB->methods[0]->methodId; in compareUniqueExclusive()
517 delete[] pKeys->methods; in freeDataKeys()
703 pKeys->methods = new MethodEntry[count]; in parseMethods()
[all …]
/art/dex2oat/
Ddex2oat_image_test.cc286 ScratchFile methods; in TEST_F() local
288 GenerateMethods(methods.GetFile(), /*frequency*/ 1u); in TEST_F()
290 {"--compiled-methods=" + methods.GetFilename()}); in TEST_F()
291 methods.Close(); in TEST_F()
302 ScratchFile methods; in TEST_F() local
305 GenerateMethods(methods.GetFile(), kMethodFrequency); in TEST_F()
309 "--compiled-methods=" + methods.GetFilename()}); in TEST_F()
310 methods.Close(); in TEST_F()
/art/runtime/mirror/
Ddex_cache.cc68 MethodDexCacheType* methods = (dex_file->NumMethodIds() == 0u) ? nullptr : in InitializeDexCache() local
133 CHECK_EQ(GetNativePairPtrSize(methods, i, image_pointer_size).index, 0u); in InitializeDexCache()
134 CHECK(GetNativePairPtrSize(methods, i, image_pointer_size).object == nullptr); in InitializeDexCache()
157 if (methods != nullptr) { in InitializeDexCache()
158 mirror::MethodDexCachePair::Initialize(methods, image_pointer_size); in InitializeDexCache()
169 methods, in InitializeDexCache()
Dclass_ext.cc41 void ClassExt::SetObsoleteArrays(ObjPtr<PointerArray> methods, in SetObsoleteArrays() argument
43 CHECK_EQ(methods.IsNull(), dex_caches.IsNull()); in SetObsoleteArrays()
48 SetFieldObject<false>(obsolete_methods_off, methods.Ptr()); in SetObsoleteArrays()
/art/test/044-proxy/src/
DNarrowingTest.java50 Method[] methods = proxy.getClass().getDeclaredMethods(); in main() local
52 Main.replaceProxyClassNamesForOutput(Arrays.deepToString(methods))); in main()
/art/test/978-virtual-interface/
Dbuild20 ./default-build "$@" --experimental default-methods
/art/test/616-cha-interface-default/
Dbuild17 ./default-build "$@" --experimental default-methods
/art/test/529-checker-unresolved/
Dinfo.txt1 Test calling of unresolved methods.
/art/test/962-iface-static/
Dbuild20 ./default-build "$@" --experimental default-methods
/art/test/123-inline-execute2/
Dinfo.txt1 Sanity checks for added InlineNative methods.
/art/test/537-checker-inline-and-unverified/
Dinfo.txt1 Checks that unverified methods are not inlined.
/art/test/987-agent-bind/
Dinfo.txt1 Tests that native methods are bound from agent libs.

123456