/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/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 37 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::GetNativePair(methods, i); in Java_Main_cloneResolvedMethods() 72 mirror::MethodDexCacheType* 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 mirror::DexCache::SetNativePair(methods, 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()
|
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/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/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/compiler/debug/ |
D | elf_symtab_writer.h | 56 static void GetDedupedName(const std::vector<const MethodDebugInfo*>& methods, std::string* out) { in GetDedupedName() argument 57 DCHECK(!methods.empty()); in GetDedupedName() 58 const MethodDebugInfo* first = methods.front(); in GetDedupedName() 67 bool all_same_class = std::all_of(methods.begin(), methods.end(), is_same_class); in GetDedupedName() 68 bool all_same_method_name = std::all_of(methods.begin(), methods.end(), is_same_method_name); in GetDedupedName()
|
/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/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/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/tools/hiddenapi/ |
D | README.md | 7 runtime that the marked methods/fields should be treated as internal APIs with 14 The methods/fields to be marked are specified in two text files (unsupported, 33 different modifiers were chosen for different kinds of methods/fields. 45 * bit 5 for non-native methods, as `synchronized` can only be set on native 46 methods (the Java `synchronized` modifier is bit 17) 47 * bit 9 for native methods, as it carries no meaning and bit 8 (`native`) will
|
/art/test/2032-default-method-private-override/ |
D | info.txt | 3 We would incorrectly search all declared methods of a class for interface 4 implementations instead of restricting ourselves to virtual methods when
|
/art/test/Dex2oatVdexPublicSdkDex/ |
D | Readme.md | 4 Each of these classes only defines the stubs for a limited number of methods 6 a proper SDK-stub jars. The methods not declared here should not be resolved.
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 149 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/runtime/jit/ |
D | profiling_info_test.cc | 58 std::vector<ArtMethod*> methods; in GetVirtualMethods() local 60 methods.push_back(&m); in GetVirtualMethods() 62 return methods; in GetVirtualMethods() 71 const std::vector<ArtMethod*>& methods, in SaveProfilingInfo() argument 76 for (ArtMethod* method : methods) { in SaveProfilingInfo() 102 const std::vector<ArtMethod*>& methods, in SaveProfilingInfoWithFakeInlineCaches() argument 108 for (ArtMethod* method : methods) { in SaveProfilingInfoWithFakeInlineCaches()
|
/art/libdexfile/dex/ |
D | class_accessor_test.cc | 38 auto methods = accessor.GetMethods(); in TEST_F() local 40 auto method_it = methods.begin(); in TEST_F() 83 ASSERT_TRUE(method_it == methods.end()); in TEST_F()
|