Home
last modified time | relevance | path

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

12345

/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()
Dcom_android_server_storage_AppFuseBridge.cpp134 const JNINativeMethod methods[] = { variable
175 RegisterMethodsOrDie(env, CLASS_NAME, methods, NELEM(methods)); in register_android_server_storage_AppFuse()
/frameworks/base/tests/testables/src/android/testing/
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()
DTestWithLooperRule.java149 List<FrameworkMethod> methods) { in looperWrap() argument
153 methods = new ArrayList<>(methods); in looperWrap()
154 for (int i = 0; i < methods.size(); i++) { in looperWrap()
155 methods.set(i, LooperFrameworkMethod.get(methods.get(i), in looperWrap()
159 return methods; in looperWrap()
/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/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/32/jni/
Dnative.cpp36 static const JNINativeMethod methods[] = { variable
69 methods, sizeof(methods) / sizeof(methods[0]))) { in registerNatives()
/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()
Dandroid_os_SharedMemory.cpp82 const JNINativeMethod methods[] = { variable
97 return RegisterMethodsOrDie(env, "android/os/SharedMemory", methods, NELEM(methods)); in register_android_os_SharedMemory()
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_opengl_EGLExt.cpp101 static const JNINativeMethod methods[] = { variable
112 …err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods)); in register_android_opengl_jni_EGLExt()
Dandroid_util_MemoryIntArray.cpp212 static const JNINativeMethod methods[] = { variable
223 return RegisterMethodsOrDie(env, "android/util/MemoryIntArray", methods, NELEM(methods)); in register_android_util_MemoryIntArray()
/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/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/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/services/
Dproguard.flags7 # Allows making private and protected methods/fields public as part of
8 # optimization. This enables inlining of trivial getter/setter methods.
27 public <methods>;
81 # The global keep rule for native methods allows stripping of such methods if they're unreferenced
82 # in Java. However, because system_server explicitly registers these methods from native code,
83 # stripping them in Java can cause runtime issues. As such, conservatively keep all such methods in
86 native <methods>;
113 <methods>;
116 <methods>;
/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/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/startop/view_compiler/
Dapk_layout_compiler.cc101 std::vector<dex::MethodBuilder> methods; in CompileApkAssetsLayouts() local
129 methods.push_back(compiled_view.CreateMethod( in CompileApkAssetsLayouts()
136 DexViewBuilder builder(&methods.back()); in CompileApkAssetsLayouts()
141 methods.back().Encode(); in CompileApkAssetsLayouts()
/frameworks/base/services/api/
Dlint-baseline.txt7 …Protected methods not allowed; must be public: method com.android.server.SystemService.publishBind…
9 …Protected methods not allowed; must be public: method com.android.server.SystemService.publishBind…
/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 …]
/frameworks/base/config/
DREADME.md3 * boot-image-profile.txt: A list of methods from the boot classpath to be compiled by dex2oat.
5 * boot-profile.txt: An ordered list of methods from the boot classpath to be compiled by

12345