/aosp12/art/test/910-methods/ |
H A 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"],
|
/aosp12/art/test/163-app-image-methods/ |
H A 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"],
|
/aosp12/art/test/1976-hello-structural-static-methods/ |
H A 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"],
|
/aosp12/packages/inputmethods/LatinIME/java/ |
H A D | proguard.flags | 1 # Keep classes and methods that have the @UsedForTesting annotation 7 # Keep classes and methods that have the @ExternallyReferenced annotation 13 # Keep native methods 15 native <methods>; 18 # Keep classes that are used as a parameter type of methods that are also marked as keep 19 # to preserve changing those methods' signature.
|
/aosp12/packages/apps/Car/LatinIME/ |
H A D | proguard.flags | 1 # Keep classes and methods that have the @UsedForTesting annotation 7 # Keep classes and methods that have the @ExternallyReferenced annotation 13 # Keep native methods 15 native <methods>; 18 # Keep classes that are used as a parameter type of methods that are also marked as keep 19 # to preserve changing those methods' signature.
|
/aosp12/art/test/690-hiddenapi-same-name-methods/src/ |
H A 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()
|
/aosp12/art/test/497-inlining-and-class-loader/ |
H A 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()
|
/aosp12/frameworks/base/tests/testables/src/android/testing/ |
H A D | AndroidTestingRunner.java | 88 List<FrameworkMethod> methods) { in looperWrap() argument 92 methods = new ArrayList<>(methods); in looperWrap() 93 for (int i = 0; i < methods.size(); i++) { in looperWrap() 94 methods.set(i, LooperFrameworkMethod.get(methods.get(i), in looperWrap() 98 return methods; in looperWrap()
|
/aosp12/art/runtime/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp12/art/test/1976-hello-structural-static-methods/src/art/ |
H A 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()
|
/aosp12/art/test/utils/python/ |
H A 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,
|
/aosp12/art/compiler/debug/ |
H A 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()
|
/aosp12/frameworks/base/test-runner/api/ |
H A D | lint-baseline.txt | 149 Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.setUp()} 151 …Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.tearDown()} 153 Protected methods not allowed; must be public: method android.test.ApplicationTestCase.setUp()} 155 … Protected methods not allowed; must be public: method android.test.ApplicationTestCase.tearDown()} 157 Protected methods not allowed; must be public: method android.test.ProviderTestCase.setUp()} 159 Protected methods not allowed; must be public: method android.test.ProviderTestCase.tearDown()} 161 Protected methods not allowed; must be public: method android.test.ProviderTestCase2.setUp()} 163 Protected methods not allowed; must be public: method android.test.ProviderTestCase2.tearDown()} 165 Protected methods not allowed; must be public: method android.test.ServiceTestCase.setUp()} 167 Protected methods not allowed; must be public: method android.test.ServiceTestCase.tearDown()} [all …]
|
/aosp12/art/tools/dmtracedump/ |
H A D | tracedump.cc | 498 int32_t result = strcmp(uniqueA->methods[0]->className, uniqueB->methods[0]->className); in compareUniqueExclusive() 517 delete[] pKeys->methods; in freeDataKeys() 703 pKeys->methods = new MethodEntry[count]; in parseMethods() 704 if (pKeys->methods == nullptr) return -1; in parseMethods() 899 pKeys->methods[i].methodId, pKeys->methods[i].className, in parseKeys() 900 pKeys->methods[i].methodName, pKeys->methods[i].signature); in parseKeys() 983 return &pKeys->methods[mid]; in lookupMethod() 1472 createLabels(file, dataKeys->methods); in createInclusiveProfileGraphNew() 1473 createLinks(file, dataKeys->methods); in createInclusiveProfileGraphNew() 2269 MethodEntry* method = methods[i]; in findMatch() [all …]
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/ |
H A D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/ |
H A D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
H A D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/aosp12/frameworks/base/services/core/jni/ |
H A D | com_android_server_devicepolicy_CryptoTestHelper.cpp | 28 static const JNINativeMethod methods[] = { variable 39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
|
/aosp12/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/jni/ |
H A D | CarEvsCameraPreviewRenderer.cpp | 86 static const JNINativeMethod methods[] = { in JNI_OnLoad() local 96 int result = env->RegisterNatives(clazz, methods, sizeof(methods) / sizeof(methods[0])); in JNI_OnLoad()
|
/aosp12/system/extras/perf2cfg/perf2cfg/ |
H A D | analyze.py | 142 self.methods: Dict[str, Method] = {} 178 len(self.event_counts), len(self.methods)) 206 if method_name not in self.methods: 207 self.methods[method_name] = Method(method_name) 209 method = self.methods[method_name]
|
/aosp12/art/test/626-set-resolved-string/src/ |
H A 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()
|
/aosp12/frameworks/base/packages/SystemUI/docs/ |
H A D | physics-animation-layout.md | 10 …methods such as ```moveStack(x, y)``` to animate the stack to a given point. ExpansionAnimationCon… 13 …t override configuration methods, which are used by the layout while constructing the animations, … 16 …are configured using the controller's configuration methods.](physics-animation-layout-config-meth… 17 The controller must override the following methods: 38 Like `ViewPropertyAnimator`, `PhysicsPropertyAnimator` provides the following methods for animating… 43 ...as well as shortcut methods to reduce the amount of boilerplate code needed for common use cases: 47 It also provides the following configuration methods: 71 …set starting values for properties before the animation begins. Property methods like `translation… 73 …s called with a `PhysicsPropertyAnimator` for each child, where calls to methods like `translation… 117 The layout itself is a FrameLayout descendant with a few extra methods: [all …]
|
/aosp12/frameworks/base/core/jni/ |
H A D | com_android_internal_os_KernelCpuTotalBpfMapReader.cpp | 42 static const JNINativeMethod methods[] = { variable 47 return RegisterMethodsOrDie(env, "com/android/internal/os/KernelCpuTotalBpfMapReader", methods, in register_com_android_internal_os_KernelCpuTotalBpfMapReader() 48 NELEM(methods)); in register_com_android_internal_os_KernelCpuTotalBpfMapReader()
|