/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/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/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::GetNativePairPtrSize(methods, i, kRuntimePointerSize); 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::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); in Java_Main_restoreResolvedMethods()
|
/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/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/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/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.
|
D | build | 20 ./default-build "$@" --experimental default-methods
|
/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/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/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/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 (greylist, 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/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/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()
|
/art/test/978-virtual-interface/ |
D | build | 20 ./default-build "$@" --experimental default-methods
|
/art/test/616-cha-interface-default/ |
D | build | 17 ./default-build "$@" --experimental default-methods
|
/art/test/529-checker-unresolved/ |
D | info.txt | 1 Test calling of unresolved methods.
|
/art/test/962-iface-static/ |
D | build | 20 ./default-build "$@" --experimental default-methods
|
/art/test/123-inline-execute2/ |
D | info.txt | 1 Sanity checks for added InlineNative methods.
|