Home
last modified time | relevance | path

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

123456

/frameworks/base/tests/testables/src/android/testing/
DTestWithLooperRule.java147 List<FrameworkMethod> methods) { in looperWrap() argument
151 methods = new ArrayList<>(methods); in looperWrap()
152 for (int i = 0; i < methods.size(); i++) { in looperWrap()
153 methods.set(i, LooperFrameworkMethod.get(methods.get(i), in looperWrap()
157 return methods; in looperWrap()
DAndroidTestingRunner.java88 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()
/frameworks/base/services/core/jni/
Dcom_android_server_devicepolicy_CryptoTestHelper.cpp28 static const JNINativeMethod methods[] = { variable
39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/frameworks/base/tools/hoststubgen/hoststubgen/test/com/android/hoststubgen/visitors/
DHelperTest.kt37 methods = ArrayList() in testCheckSubstitutionMethodCompatibility()
46 cn.methods.add(this) in testCheckSubstitutionMethodCompatibility()
53 cn.methods.add(this) in testCheckSubstitutionMethodCompatibility()
60 cn.methods.add(this) in testCheckSubstitutionMethodCompatibility()
67 cn.methods.add(this) in testCheckSubstitutionMethodCompatibility()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuTotalBpfMapReader.cpp42 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()
Dandroid_os_MemoryFile.cpp59 static const JNINativeMethod methods[] = { variable
66 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods)); in register_android_os_MemoryFile()
Dandroid_util_CharsetUtils.cpp58 static const JNINativeMethod methods[] = { variable
68 return RegisterMethodsOrDie(env, "android/util/CharsetUtils", methods, NELEM(methods)); in register_android_util_CharsetUtils()
Dcom_android_internal_os_KernelCpuBpfTracking.cpp64 static const JNINativeMethod methods[] = { variable
72 return RegisterMethodsOrDie(env, "com/android/internal/os/KernelCpuBpfTracking", methods, in register_com_android_internal_os_KernelCpuBpfTracking()
73 NELEM(methods)); in register_com_android_internal_os_KernelCpuBpfTracking()
Dandroid_os_SharedMemory.cpp82 const JNINativeMethod methods[] = { variable
97 return RegisterMethodsOrDie(env, "android/os/SharedMemory", methods, NELEM(methods)); in register_android_os_SharedMemory()
Dandroid_opengl_EGLExt.cpp103 static const JNINativeMethod methods[] = { variable
112 …err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); in register_android_opengl_jni_EGLExt()
/frameworks/opt/car/services/builtInServices/jni/
Dcom_android_internal_car_os_Util.cpp49 static const JNINativeMethod methods[] = { variable
56 return RegisterMethodsOrDie(env, "com/android/internal/car/os/Util", methods, NELEM(methods)); in register_com_android_internal_car_os_Util()
/frameworks/libs/binary_translation/tests/jni_tests/jni/
Djni_tests.cc69 JNINativeMethod methods[] = {{"add42", "(I)I", reinterpret_cast<void*>(&add42)}}; in Java_com_berberis_jnitests_JniTests_callRegisterNatives() local
70 return env->RegisterNatives(clazz, methods, sizeof(methods) / sizeof(methods[1])) == JNI_OK; in Java_com_berberis_jnitests_JniTests_callRegisterNatives()
/frameworks/base/test-runner/api/
Dlint-baseline.txt139 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
141 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
143 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
145 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
147 …Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase…
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()}
[all …]
/frameworks/libs/binary_translation/tests/tests_apk/jni/
Djni_test.cc80 JNINativeMethod methods[] = {{"return42", "()I", reinterpret_cast<void*>(&return42)}}; in TEST() local
82 gEnv->RegisterNatives(clazz, methods, sizeof(methods) / sizeof(methods[1])); in TEST()
/frameworks/base/api/coverage/tools/
DExtractFlaggedApis.kt33 extractFlaggedApisFromClass(it, it.methods(), packageName, builder) in main()
43 methods: List<MethodItem>, in extractFlaggedApisFromClass()
47 if (methods.isEmpty()) return in extractFlaggedApisFromClass()
49 for (method in methods) { in extractFlaggedApisFromClass()
/frameworks/base/packages/CarrierDefaultApp/
Dproguard.flags1 # Keep classes and methods that have the @JavascriptInterface annotation
3 @android.webkit.JavascriptInterface <methods>;
/frameworks/base/libs/hwui/jni/
DPathIterator.cpp67 static const JNINativeMethod methods[] = { variable
78 return RegisterMethodsOrDie(env, "android/graphics/PathIterator", methods, NELEM(methods)); in register_android_graphics_PathIterator()
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md10methods 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:
32 …troller the opportunity to animate the child in/out/visible/gone. Custom methods are called by any…
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…
[all …]
/frameworks/base/services/
Dproguard.flags7 # Allows making private and protected methods/fields public as part of
8 # optimization. This enables inlining of trivial getter/setter methods.
61 # The global keep rule for native methods allows stripping of such methods if they're unreferenced
62 # in Java. However, because system_server explicitly registers these methods from native code,
63 # stripping them in Java can cause runtime issues. As such, conservatively keep all such methods in
66 native <methods>;
93 <methods>;
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py130 self.methods = []
158 return hash((self.raw, tuple(self.ctors), tuple(self.fields), tuple(self.methods)))
203 clazz.methods.append(Method(clazz, line, raw, blame))
291 sigs = { i.ident: i for i in prev_clazz.methods }
292 cur_clazz.methods = [ i for i in cur_clazz.methods if i.ident not in sigs ]
297 if len(cur_clazz.ctors) == 0 and len(cur_clazz.methods) == 0 and len(cur_clazz.fields) == 0:
306 for i in clazz.ctors + clazz.methods + clazz.fields:
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/
Dproguard.flags21 # Allows proguard to make private and protected methods and fields public as
23 # methods.
/frameworks/layoutlib/create/
DREADME.txt92 - specific methods to override (see method stubs details below).
93 - specific methods for which to delegate calls.
94 - specific methods to remove based on their return type.
110 changed from protected/private to public. The code of the methods is then kept as-is, except for
111 native methods which are replaced by a stub. Methods that are to be overridden are also replaced by
118 methods and types. Note that other classes are not transformed and keep referencing the original
127 ReplaceMethodCallsAdapter replaces calls to certain methods. This is different from the
130 This is useful for methods in the Java namespace where we cannot add delegates. The configuration
142 As indicated above, all native and overridden methods are replaced by a stub. We don't have the
166 some specific methods that are stubbed out and change their return value.
[all …]

123456