/art/test/2262-miranda-methods/ |
D | Android.bp | 3 // Build rules for ART run-test `2262-miranda-methods`. 16 name: "art-run-test-2262-miranda-methods-src", 23 name: "art-run-test-2262-miranda-methods", 28 "art-run-test-2262-miranda-methods-src", 31 ":art-run-test-2262-miranda-methods-expected-stdout", 32 ":art-run-test-2262-miranda-methods-expected-stderr", 38 name: "art-run-test-2262-miranda-methods-expected-stdout", 39 out: ["art-run-test-2262-miranda-methods-expected-stdout.txt"], 46 name: "art-run-test-2262-miranda-methods-expected-stderr", 47 out: ["art-run-test-2262-miranda-methods-expected-stderr.txt"],
|
/art/test/2262-default-conflict-methods/ |
D | Android.bp | 3 // Build rules for ART run-test `2262-default-conflict-methods`. 16 name: "art-run-test-2262-default-conflict-methods-src", 23 name: "art-run-test-2262-default-conflict-methods", 28 "art-run-test-2262-default-conflict-methods-src", 31 ":art-run-test-2262-default-conflict-methods-expected-stdout", 32 ":art-run-test-2262-default-conflict-methods-expected-stderr", 38 name: "art-run-test-2262-default-conflict-methods-expected-stdout", 39 out: ["art-run-test-2262-default-conflict-methods-expected-stdout.txt"], 46 name: "art-run-test-2262-default-conflict-methods-expected-stderr", 47 out: ["art-run-test-2262-default-conflict-methods-expected-stderr.txt"],
|
/art/test/910-methods/ |
D | Android.bp | 3 // Build rules for ART run-test `910-methods`. 16 name: "art-run-test-910-methods", 21 ":art-run-test-910-methods-expected-stdout", 22 ":art-run-test-910-methods-expected-stderr", 28 name: "art-run-test-910-methods-expected-stdout", 29 out: ["art-run-test-910-methods-expected-stdout.txt"], 36 name: "art-run-test-910-methods-expected-stderr", 37 out: ["art-run-test-910-methods-expected-stderr.txt"],
|
/art/test/163-app-image-methods/ |
D | Android.bp | 3 // Build rules for ART run-test `163-app-image-methods`. 16 name: "art-run-test-163-app-image-methods", 21 ":art-run-test-163-app-image-methods-expected-stdout", 22 ":art-run-test-163-app-image-methods-expected-stderr", 28 name: "art-run-test-163-app-image-methods-expected-stdout", 29 out: ["art-run-test-163-app-image-methods-expected-stdout.txt"], 36 name: "art-run-test-163-app-image-methods-expected-stderr", 37 out: ["art-run-test-163-app-image-methods-expected-stderr.txt"],
|
/art/test/1976-hello-structural-static-methods/ |
D | Android.bp | 3 // Build rules for ART run-test `1976-hello-structural-static-methods`. 16 name: "art-run-test-1976-hello-structural-static-methods", 21 ":art-run-test-1976-hello-structural-static-methods-expected-stdout", 22 ":art-run-test-1976-hello-structural-static-methods-expected-stderr", 28 name: "art-run-test-1976-hello-structural-static-methods-expected-stdout", 29 out: ["art-run-test-1976-hello-structural-static-methods-expected-stdout.txt"], 36 name: "art-run-test-1976-hello-structural-static-methods-expected-stderr", 37 out: ["art-run-test-1976-hello-structural-static-methods-expected-stderr.txt"],
|
/art/test/690-hiddenapi-same-name-methods/src/ |
D | Main.java | 57 Method[] methods = klass.getDeclaredMethods(); in checkMethodList() local 58 if (methods.length != expectedLength) { in checkMethodList() 60 " declared method(s), got " + methods.length); in checkMethodList() 64 for (Method method : methods) { in checkMethodList() 75 if (methods.length >= 1 && !hasNumberReturnType) { in checkMethodList() 78 if (methods.length >= 2 && !hasDoubleReturnType) { in checkMethodList()
|
/art/test/181-default-methods/ |
D | info.txt | 1 Test for linking interface methods and creating copied methods, 2 namely miranda, default and default conflict methods.
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 37 auto* methods = dex_cache->GetResolvedMethods(); in Java_Main_cloneResolvedMethods() local 38 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_cloneResolvedMethods() 51 auto pair = methods->GetNativePair(i); in Java_Main_cloneResolvedMethods() 72 auto* methods = dex_cache->GetResolvedMethods(); in Java_Main_restoreResolvedMethods() local 73 CHECK_EQ(num_methods != 0u, methods != nullptr); in Java_Main_restoreResolvedMethods() 75 CHECK_EQ(methods != nullptr, old != nullptr); in Java_Main_restoreResolvedMethods() 90 methods->SetNativePair(i, pair); in Java_Main_restoreResolvedMethods()
|
/art/test/626-set-resolved-string/src/ |
D | Main.java | 25 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/runtime/ |
D | imtable_test.cc | 93 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()
|
D | native_bridge_art_interface.cc | 56 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()
|
/art/test/1976-hello-structural-static-methods/src/art/ |
D | Test1976.java | 115 public static MethodHandleWrapper[] getMethodHandles(Method[] methods) throws Exception { in getMethodHandles() argument 118 for (Method m : methods) { in getMethodHandles() 149 Method[] methods = Transform1976.class.getDeclaredMethods(); in doTest() local 150 for (Method m : methods) { in doTest() 159 long[] mids = getMethodIds(methods); in doTest() 161 MethodHandleWrapper[] handles = getMethodHandles(methods); in doTest() 172 for (Method m : methods) { in doTest()
|
/art/compiler/debug/ |
D | elf_symtab_writer.h | 57 static void GetDedupedName(const std::vector<const MethodDebugInfo*>& methods, std::string* out) { in GetDedupedName() argument 58 DCHECK(!methods.empty()); in GetDedupedName() 59 const MethodDebugInfo* first = methods.front(); in GetDedupedName() 68 bool all_same_class = std::all_of(methods.begin(), methods.end(), is_same_class); in GetDedupedName() 69 bool all_same_method_name = std::all_of(methods.begin(), methods.end(), is_same_method_name); in GetDedupedName()
|
/art/test/097-duplicate-method/ |
D | info.txt | 1 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/ |
D | generate_java_main.py | 223 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/857-default-access/ |
D | info.txt | 1 Regression test for default interface methods which used to be able to access 2 private methods.
|
/art/test/2240-tracing-non-invokable-method/ |
D | info.txt | 1 Tests that tracing handles non-invokable methods correctly without updating the 2 entrypoints for non-invokable methods.
|
/art/test/044-proxy/src/ |
D | NarrowingTest.java | 50 Method[] methods = proxy.getClass().getDeclaredMethods(); in main() local 51 Arrays.sort(methods, new MethodComparator()); in main() 53 Main.replaceProxyClassNamesForOutput(Arrays.deepToString(methods))); in main()
|
/art/test/975-iface-private/ |
D | info.txt | 1 Smali-based tests for experimental interface private methods. 5 This test checks that synthetic private methods in interfaces work correctly.
|
/art/test/996-breakpoint-obsolete/ |
D | info.txt | 4 methods and that it is possible to set breakpoints on obsolete methods.
|
/art/test/969-iface-super/ |
D | info.txt | 1 Smali-based tests for experimental interface static methods. 3 This tests invoke-super with default methods.
|
/art/runtime/oat/ |
D | image-inl.h | 70 const ImageSection& methods = GetMethodsSection(); in VisitPackedArtMethods() local 71 for (size_t pos = 0u; pos < methods.Size(); ) { in VisitPackedArtMethods() 72 auto* array = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>(base + methods.Offset() + pos); in VisitPackedArtMethods() 111 table->Visit([&visitor](const std::pair<ArtMethod*, ArtMethod*>& methods) { in VisitPackedImtConflictTables() 112 return std::make_pair(visitor(methods.first), visitor(methods.second)); in VisitPackedImtConflictTables()
|
/art/runtime/native/ |
D | java_lang_reflect_Proxy.cc | 33 jobject loader, jobjectArray methods, jobjectArray throws) { in Proxy_generateProxy() argument 37 soa, name, interfaces, loader, methods, throws)); in Proxy_generateProxy()
|
D | native_util.h | 30 const JNINativeMethod* methods, in RegisterNativeMethodsInternal() argument 36 jint jni_result = env->RegisterNatives(c.get(), methods, method_count); in RegisterNativeMethodsInternal()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 60 std::vector<ArtMethod*> methods; in GetVirtualMethods() local 62 methods.push_back(&m); in GetVirtualMethods() 64 return methods; in GetVirtualMethods() 73 const std::vector<ArtMethod*>& methods, in SaveProfilingInfo() argument 77 profile_methods.reserve(methods.size()); in SaveProfilingInfo() 79 for (ArtMethod* method : methods) { in SaveProfilingInfo() 105 const std::vector<ArtMethod*>& methods, in SaveProfilingInfoWithFakeInlineCaches() argument 111 for (ArtMethod* method : methods) { in SaveProfilingInfoWithFakeInlineCaches()
|