/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | MethodLogger.java | 31 private List<String> methods = new ArrayList<String>(); field in MethodLogger 45 methods.add(method); in add() 53 return methods.size(); in size() 60 return methods.get(index); in getMethod() 91 methods.clear(); in clear()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | MethodTest.java | 522 Method[] methods = null; in test_getParameterTypes() local 549 methods = cl.getDeclaredMethods(); in test_getParameterTypes() 552 for (i = 0; i < methods.length; i++) in test_getParameterTypes() 553 if (methods[i].getName().equals("parmTest")) { in test_getParameterTypes() 554 mth = methods[i]; in test_getParameterTypes() 555 i = methods.length + 1; in test_getParameterTypes() 557 if (i < methods.length) { in test_getParameterTypes() 707 Method methods[] = cl.getMethods(); in test_invokeLjava_lang_Object$Ljava_lang_Object() local 708 for (int i = 0; i < methods.length; i++) { in test_invokeLjava_lang_Object$Ljava_lang_Object() 709 if (methods[i].getName().startsWith("invokeCastTest1")) { in test_invokeLjava_lang_Object$Ljava_lang_Object() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidClassTest.java | 141 Method[] methods = ArrayList.class.getMethods(); in testClassGetMethodsNoDupes() local 144 for (Method method : methods) { in testClassGetMethodsNoDupes() 175 Method[] methods = MyInterface.class.getMethods(); in testGetMethodsInterfaces() local 176 assertTrue(hasMethod(methods, ".foo(")); in testGetMethodsInterfaces() 178 methods = MyOtherInterface.class.getMethods(); in testGetMethodsInterfaces() 179 assertTrue(hasMethod(methods, ".foo(")); in testGetMethodsInterfaces() 180 assertTrue(hasMethod(methods, ".bar(")); in testGetMethodsInterfaces() 182 methods = MyClass.class.getMethods(); in testGetMethodsInterfaces() 183 assertTrue(hasMethod(methods, ".foo(")); in testGetMethodsInterfaces() 184 assertTrue(hasMethod(methods, ".bar(")); in testGetMethodsInterfaces() [all …]
|
D | MethodOverridesTest.java | 98 Method[] methods = Sub.class.getMethods(); in testSubclassChangesVisibility() local 100 for (Method method : methods) { in testSubclassChangesVisibility() 115 Method[] methods = PublicSub.class.getMethods(); in testMoreVisibleSubclassChangesVisibility() local 117 for (Method method : methods) { in testMoreVisibleSubclassChangesVisibility() 166 private Set<String> signatures(Method[] methods) { in signatures() argument 168 for (Method method : methods) { in signatures()
|
D | ReflectionTest.java | 290 Method[] methods = ExtendsImplementsDefinesMember.class.getMethods(); in testGetMethodsViaExtendsThenImplements() local 291 assertTrue(names(methods).contains("method")); in testGetMethodsViaExtendsThenImplements() 295 Method[] methods = ImplementsExtendsDefinesMember.class.getMethods(); in testGetMethodsViaImplementsThenExtends() local 296 assertTrue(names(methods).contains("method")); in testGetMethodsViaImplementsThenExtends() 300 Method[] methods = ExtendsAndImplementsDefinesMember.class.getMethods(); in testGetMethodsContainsNoDuplicates() local 301 assertEquals(1, count(names(methods), "method")); in testGetMethodsContainsNoDuplicates() 411 private List<String> names(Member[] methods) { in names() argument 413 for (Member method : methods) { in names()
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Proxy.java | 678 List<Method> methods = getMethods(interfaces); in apply() local 679 Collections.sort(methods, ORDER_BY_SIGNATURE_AND_SUBTYPE); in apply() 680 validateReturnTypes(methods); in apply() 681 List<Class<?>[]> exceptions = deduplicateAndGetExceptions(methods); in apply() 683 Method[] methodsArray = methods.toArray(new Method[methods.size()]); in apply() 706 private static List<Class<?>[]> deduplicateAndGetExceptions(List<Method> methods) { in deduplicateAndGetExceptions() argument 707 List<Class<?>[]> exceptions = new ArrayList<Class<?>[]>(methods.size()); in deduplicateAndGetExceptions() 709 for (int i = 0; i < methods.size(); ) { in deduplicateAndGetExceptions() 710 Method method = methods.get(i); in deduplicateAndGetExceptions() 713 if (i > 0 && Method.ORDER_BY_SIGNATURE.compare(method, methods.get(i - 1)) == 0) { in deduplicateAndGetExceptions() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | AnnotationTypeMismatchExceptionTest.java | 38 Method[] methods = Class.forName("java.lang.String").getMethods(); in test_constructorLjava_lang_reflect_MethodLjava_lang_String() local 39 Method m = methods[0]; in test_constructorLjava_lang_reflect_MethodLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpURLConnection.java | 519 private static final String[] methods = { field in HttpURLConnection 634 for (int i = 0; i < methods.length; i++) { in setRequestMethod() 635 if (methods[i].equals(method)) { in setRequestMethod()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | README.txt | 1 These classes are tied to the VM, e.g. the VM may invoke some of the methods.
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Proxy.java | 54 java.util.List<java.lang.reflect.Method> methods) { in deduplicateAndGetExceptions() argument 63 private static void validateReturnTypes(java.util.List<java.lang.reflect.Method> methods) { in validateReturnTypes() argument 73 java.lang.Class<?>[] interfaces, java.util.List<java.lang.reflect.Method> methods) { in getMethodsRecursive() argument 81 java.lang.reflect.Method[] methods, in generateProxy() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 835 Method[] methods = Cls2.class.getMethods(); in test_getMethods() local 836 for (Method method : methods) { in test_getMethods() 848 methods = Cls3.class.getMethods(); in test_getMethods() 849 for (Method method : methods) { in test_getMethods() 861 methods = Cls3.class.getMethods(); in test_getMethods() 862 for (Method method : methods) { in test_getMethods()
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
D | AnnotationTest.java | 53 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods()); in test_equals() local 56 for (Method m : methods) { in test_equals()
|
/libcore/mmodules/core_platform_api/ |
D | Android.bp | 29 + "--skip-annotation-instance-methods=false ",
|
/libcore/mmodules/intracoreapi/ |
D | Android.bp | 30 + "--skip-annotation-instance-methods=false ",
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1750 Method[] methods = cl.getDeclaredMethods(); in computeDefaultSUID() local 1752 classMods = (methods.length > 0) ? in computeDefaultSUID() 1850 MemberSignature[] methSigs = new MemberSignature[methods.length]; in computeDefaultSUID() 1851 for (int i = 0; i < methods.length; i++) { in computeDefaultSUID() 1852 methSigs[i] = new MemberSignature(methods[i]); in computeDefaultSUID()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 511 Method[] methods = testClass.getDeclaredMethods(); in testMethodNames() local 512 ArrayList<String> names = new ArrayList<String>(methods.length); in testMethodNames() 513 for (Method method : methods) { in testMethodNames()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Class.java | 446 private transient long methods; field in Class
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/parameter/ |
D | MetadataVariations.smali | 23 # virtual methods
|
/libcore/support/src/test/java/tests/resources/ |
D | junit4-4.3.1.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/extensions/
junit/ ... |
/libcore/ojluni/src/main/native/ |
D | jvm.h | 994 unsigned int methods; member
|
/libcore/ |
D | JavaLibrary.bp | 341 // contains lambdas. This contains all classes / methods required by javac
|