Searched refs:methods (Results 1 - 25 of 80) sorted by relevance

1234

/frameworks/base/services/core/jni/
H A Dcom_android_server_devicepolicy_CryptoTestHelper.cpp28 static const JNINativeMethod methods[] = { member in namespace:__anon1121
39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods));
H A Dcom_android_server_storage_AppFuseBridge.cpp126 const JNINativeMethod methods[] = { member in namespace:android::__anon1135
157 RegisterMethodsOrDie(env, CLASS_NAME, methods, NELEM(methods));
/frameworks/support/webkit-codegen/src/main/java/androidx/webkit/internal/codegen/representations/
H A DClassRepr.java34 * List of methods to implement in the support library version of this class.
36 public final List<MethodRepr> methods; field in class:ClassRepr
43 public ClassRepr(List<MethodRepr> methods, PsiClass psiClass) { argument
44 this.methods = methods;
49 * Helper method for creating a ClassRepr containing all of the methods in the original Android
53 List<MethodRepr> methods = new ArrayList<>();
55 methods.add(MethodRepr.fromPsiMethod(psiMethod));
57 return new ClassRepr(methods, psiClass);
68 for (MethodRepr methodRepr : this.methods) {
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp59 static const JNINativeMethod methods[] = { member in namespace:android
66 return RegisterMethodsOrDie(env, "android/os/MemoryFile", methods, NELEM(methods));
H A Dandroid_os_SharedMemory.cpp90 static const JNINativeMethod methods[] = { variable
102 return RegisterMethodsOrDie(env, "android/os/SharedMemory", methods, NELEM(methods));
H A Dandroid_opengl_EGLExt.cpp151 static const JNINativeMethod methods[] = { variable
159 err = android::AndroidRuntime::registerNativeMethods(_env, classPathName, methods, NELEM(methods));
H A Dandroid_util_MemoryIntArray.cpp212 static const JNINativeMethod methods[] = { member in namespace:android
223 return RegisterMethodsOrDie(env, "android/util/MemoryIntArray", methods, NELEM(methods));
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/model/
H A DLifecycleObserverInfo.kt23 val methods: List<EventMethod>,
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/
H A Dnative.cpp36 static const JNINativeMethod methods[] = { variable
41 * Register several native methods for one class.
62 * Register native methods for all classes we know about.
69 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/
H A Dnative.cpp36 static const JNINativeMethod methods[] = { variable
41 * Register several native methods for one class.
62 * Register native methods for all classes we know about.
69 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/
H A Dnative.cpp36 static const JNINativeMethod methods[] = { variable
41 * Register several native methods for one class.
62 * Register native methods for all classes we know about.
69 methods, sizeof(methods) / sizeof(methods[0]))) {
/frameworks/support/lifecycle/compiler/src/main/kotlin/androidx/lifecycle/
H A Dtransformation.kt33 // need to update parent methods like that because:
66 val methods = observer.parents
70 parentObserver!!.methods, list)
74 mergeAndVerifyMethods(processingEnv, observer.type, observer.methods, methods))
118 .filter { (type, methods) ->
119 methods.all { eventMethod ->
123 .map { (type, methods) ->
124 val calls = methods.map { eventMethod ->
139 val methods
[all...]
H A Delements_ext.kt39 fun TypeElement.methods(): List<ExecutableElement> = ElementFilter.methodsIn(enclosedElements)
H A Dinput_collector.kt91 return adapterType?.methods()
100 val methods = typeElement.methods().filter { executable ->
110 return LifecycleObserverInfo(typeElement, methods, parents)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiTestUtil.java43 Method[] methods = clazz.getDeclaredMethods();
44 for (Method method : methods) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DModelClass.java238 * Returns an array containing all public methods (or protected if allowProtected is true)
245 * @param staticOnly Whether only static methods should be returned or both instance methods
246 * and static methods are valid.
249 * @return An array containing all public methods with the name <code>name</code> and taking
254 ModelMethod[] methods = getDeclaredMethods();
256 for (ModelMethod method : methods) {
267 * Returns all public instance methods with the given name and number of parameters.
271 * @return An array containing all public methods with the given name and number of parameters.
274 ModelMethod[] methods
[all...]
H A DInjectedClass.java29 * to resolve methods and fields for them.
207 final ModelMethod[] methods = Arrays.copyOf(superMethods, methodCount);
209 methods[i + initialCount] = mMethods.get(i);
211 return methods;
/frameworks/base/tests/testables/src/android/testing/
H A DAndroidTestingRunner.java88 List<FrameworkMethod> methods) {
92 methods = new ArrayList<>(methods);
93 for (int i = 0; i < methods.size(); i++) {
94 methods.set(i, LooperFrameworkMethod.get(methods.get(i),
98 return methods;
87 looperWrap(FrameworkMethod method, Object test, List<FrameworkMethod> methods) argument
/frameworks/base/tools/apilint/
H A Dapilint.py136 self.methods = []
160 return hash((self.raw, tuple(self.ctors), tuple(self.fields), tuple(self.methods)))
211 clazz.methods.append(Method(clazz, line, raw, blame))
294 warn(clazz, f, "C8", "If min/max could change in future, make them dynamic methods")
325 for m in clazz.methods:
335 All methods must follow onFoo() naming style."""
347 for m in clazz.methods:
355 All methods must follow onFoo() naming style.
363 for m in clazz.methods:
367 if len(clazz.methods)
[all...]
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DDaoProcessor.kt58 val methods = allMembers
90 val queryMethods = methods[Query::class]?.map {
98 val rawQueryMethods = methods[RawQuery::class]?.map {
106 val insertionMethods = methods[Insert::class]?.map {
113 val deletionMethods = methods[Delete::class]?.map {
120 val updateMethods = methods[Update::class]?.map {
153 context.checker.check(methods[Any::class] == null, element,
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaClass.java243 Method[] methods = mClass.getDeclaredMethods();
244 if (methods == null) {
247 ModelMethod[] classMethods = new ModelMethod[methods.length];
248 for (int i = 0; i < methods.length; i++) {
249 classMethods[i] = new JavaMethod(methods[i]);
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/
H A DRoomProcessor.kt94 * Traverses all dao methods and assigns them suffix if they are used in multiple databases.
107 }.forEach { (dbName, methods) ->
108 if (methods.size == 1) {
110 methods.first().dao.setSuffix(dbName)
114 methods.forEachIndexed { index, method ->
/frameworks/support/lifecycle/common/src/main/java/androidx/lifecycle/
H A DClassesInfoCache.java29 * Reflection is expensive, so we cache information about methods
49 Method[] methods = getDeclaredMethods(klass);
50 for (Method method : methods) {
54 // when there is no generated adapter. But there are methods with @OnLifecycleEvent
59 createInfo(klass, methods);
71 throw new IllegalArgumentException("The observer class has some methods that use "
73 + "cannot access even other methods so you should make sure that your "
121 Method[] methods = declaredMethods != null ? declaredMethods : getDeclaredMethods(klass);
123 for (Method method : methods) {
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp146 static const JNINativeMethod methods[] = { member in namespace:android
159 return RegisterMethodsOrDie(env, "android/graphics/PathMeasure", methods, NELEM(methods));
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
H A DTestCaseCollector.java88 Method[] methods = clazz.getMethods();
89 for (Method method : methods) {

Completed in 253 milliseconds

1234