/frameworks/base/tests/testables/src/android/testing/ |
D | TestWithLooperRule.java | 147 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()
|
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()
|
/frameworks/base/services/core/jni/ |
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()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/ |
D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/ |
D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
D | native.cpp | 36 static const JNINativeMethod methods[] = { variable 69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
|
/frameworks/base/tools/hoststubgen/hoststubgen/test/com/android/hoststubgen/visitors/ |
D | HelperTest.kt | 37 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/ |
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()
|
D | android_os_MemoryFile.cpp | 59 static const JNINativeMethod methods[] = { variable 66 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods)); in register_android_os_MemoryFile()
|
D | android_util_CharsetUtils.cpp | 58 static const JNINativeMethod methods[] = { variable 68 return RegisterMethodsOrDie(env, "android/util/CharsetUtils", methods, NELEM(methods)); in register_android_util_CharsetUtils()
|
D | com_android_internal_os_KernelCpuBpfTracking.cpp | 64 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()
|
D | android_os_SharedMemory.cpp | 82 const JNINativeMethod methods[] = { variable 97 return RegisterMethodsOrDie(env, "android/os/SharedMemory", methods, NELEM(methods)); in register_android_os_SharedMemory()
|
D | android_opengl_EGLExt.cpp | 103 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/ |
D | com_android_internal_car_os_Util.cpp | 49 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/ |
D | jni_tests.cc | 69 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/ |
D | lint-baseline.txt | 139 …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/ |
D | jni_test.cc | 80 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/ |
D | ExtractFlaggedApis.kt | 33 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/ |
D | proguard.flags | 1 # Keep classes and methods that have the @JavascriptInterface annotation 3 @android.webkit.JavascriptInterface <methods>;
|
/frameworks/base/libs/hwui/jni/ |
D | PathIterator.cpp | 67 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/ |
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: 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/ |
D | proguard.flags | 7 # 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/ |
D | deprecated_at_birth.py | 130 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/ |
D | proguard.flags | 21 # Allows proguard to make private and protected methods and fields public as 23 # methods.
|
/frameworks/layoutlib/create/ |
D | README.txt | 92 - 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 …]
|