/libcore/dom/src/test/java/org/w3c/domts/ |
JTidyDocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 32 private final Method parseDOMMethod;
|
XercesHTML2DocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 40 private Method getHTMLDocumentMethod; 68 Method method = local 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS); 118 private final Method getHTMLDocumentMethod; 123 Method getHTMLDocumentMethod) throws Exception {
|
XercesHTMLDocumentBuilderFactory.java | 17 import java.lang.reflect.Method; 40 private Method getHTMLDocumentMethod; 68 Method method = local 70 domImpl = (DOMImplementation) method.invoke(null, NO_OBJECTS); 118 private final Method getHTMLDocumentMethod; 123 Method getHTMLDocumentMethod) throws Exception {
|
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationImpl.java | 19 import java.lang.reflect.Method; 39 private static Method JDK_ANNOTATION_TYPE_METHOD = null; 48 // Try to resolve the JDK annotation type method 120 * Executes a method invocation on a proxy instance. 123 * <code>AnnotationImpl</code>. The <code>annotationType()</code> method 126 public Object invoke(Object proxy, Method method, Object[] args) 129 String name = method.getName(); 130 if (Object.class == method.getDeclaringClass()) { 141 && method.getParameterTypes().length == 0 [all...] |
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 28 import java.lang.reflect.Method; 73 for (Method testMethod : getTestMethods(testCase)) { 80 protected List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) { 81 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); 113 * @return The {@link TestGrouping} for method chaining. 135 * @return The {@link TestGrouping} for method chaining. 146 * if that method was never called. 247 private static class TestMethodPredicate implements Predicate<Method> { 249 public boolean apply(Method method) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutParamsParserTest.java | 28 import java.lang.reflect.Method; 38 * Convention: method names that start with an underscore are actually local wrappers 143 Method method = AndroidTargetParser.class.getDeclaredMethod("getLayoutClasses"); //$NON-NLS-1$ local 144 method.setAccessible(true); 145 method.invoke(mParser); 151 Method method = LayoutParamsParser.class.getDeclaredMethod("addGroup", //$NON-NLS-1$ local 153 method.setAccessible(true); 154 return (ViewClassInfo) method.invoke(mParser, new ClassWrapper(groupClass)) 160 Method method = LayoutParamsParser.class.getDeclaredMethod("addLayoutParams", \/\/$NON-NLS-1\$ local 168 Method method = LayoutParamsParser.class.getDeclaredMethod("getLayoutParamsInfo", \/\/$NON-NLS-1\$ local 176 Method method = LayoutParamsParser.class.getDeclaredMethod("findLayoutParams", \/\/$NON-NLS-1\$ local [all...] |
/libcore/luni/src/main/java/java/lang/ |
Class.java | 45 import java.lang.reflect.Method; 153 * primitive types can not be found using this method. 179 * primitive types can not be found using this method. Security rules will 320 * method returns {@code null}. 435 * Returns a constructor or method with the specified name. 437 * @param name the method name, or "<init>" to return a constructor. 667 * Returns a {@code Method} object which represents the method matching the 672 * the requested method's name. 674 * the parameter types of the requested method [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/i18n/ |
messages.properties | 41 DeviceView_Start_Method_Profiling=Start Method Profiling 42 DeviceView_Start_Method_Profiling_Not_Suported_By_Vm=Start Method Profiling (not supported by this VM) 43 DeviceView_Start_Method_Profiling_Tooltip=Start Method Profiling 44 DeviceView_Stop_Method_Profiling=Stop Method Profiling 45 DeviceView_Stop_Method_Profiling_Tooltip=Stop Method Profiling 75 LogCatPreferencePage_Go_To_Problem_Declararion=Go to Problem (method declaration) 91 LogCatView_Go_To_Problem_Method=Go to Problem (method declaration)
|
/libcore/luni/src/main/java/java/io/ |
ObjectStreamClass.java | 23 import java.lang.reflect.Method; 110 private transient Method methodWriteReplace; 112 private transient Method methodReadResolve; 114 private transient Method methodWriteObject; 116 private transient Method methodReadObject; 118 private transient Method methodReadObjectNoData; 275 // ObjectInputStream.defaultReadObject() method 379 * names, method names, modifiers, etc. 547 // Method information 548 Method[] methods = cl.getDeclaredMethods() 567 Method method = methods[i]; local 1108 Method method = null; local 1137 Method method = cl.getDeclaredMethod(methodName, param); local [all...] |
/frameworks/base/core/java/android/animation/ |
PropertyValuesHolder.java | 25 import java.lang.reflect.Method; 55 Method mSetter = null; 64 private Method mGetter = null; 99 private static final HashMap<Class, HashMap<String, Method>> sSetterPropertyMap = 100 new HashMap<Class, HashMap<String, Method>>(); 101 private static final HashMap<Class, HashMap<String, Method>> sGetterPropertyMap = 102 new HashMap<Class, HashMap<String, Method>>(); 366 * function should be and uses reflection to find the Method with that name on the 369 * @param targetClass The class to search for the method 376 * @return Method the method associated with mPropertyName [all...] |
/dalvik/vm/compiler/ |
InlineTransformation.cpp | 23 const Method *calleeMethod, 38 const Method *calleeMethod, 131 const Method *calleeMethod, 212 const Method *calleeMethod, 217 /* Not a Java method */ 246 const Method *calleeMethod, 260 const Method *calleeMethod, 265 /* Not a Java method */ 310 /* Disable inlining when doing method tracing */ 321 const Method *calleeMethod [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
BranchTargetFinder.java | 248 * Returns whether the method is an instance initializer, in the 259 * the "super" or "this" initializer method, or <code>NONE</code> if it is 283 * "this" initializer method, , or <code>NONE</code> if it is not a 'new' 297 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 301 // method.getName(clazz).equals("abc"); 347 // Initialize the stack of 'new' instruction offsets if this method is 349 if (method.getName(clazz).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT)) 358 codeAttribute.instructionsAccept(clazz, method, this); 361 codeAttribute.exceptionsAccept(clazz, method, this) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunnerHelp.java | 34 import java.lang.reflect.Method; 56 ENUM, FIELD, METHOD 60 Set<Method> methods, 103 for (Method m : clz.getMethods()) { 187 Set<Method> methods = Sets.newTreeSet(MEMBER_SORTER); 215 for (Method m : methods) { 246 Set<Method> methods = Sets.newTreeSet(MEMBER_SORTER); 259 for (Method m : methods) {
|
/external/proguard/src/proguard/classfile/io/ |
ProgramClassReader.java | 187 // Read the general method information. 192 // Read the method attributes. 342 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 355 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 375 this.visitExceptionInfo(clazz, method, codeAttribute, exceptionInfo); 386 attribute.accept(clazz, method, codeAttribute, this); 392 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
GeneratedMessage.java | 38 import java.lang.reflect.Method; 768 // called more than once, so this method is useless to users. 814 private Method enumValueOf; 815 private Method enumGetValueDescriptor; [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
MethodTest.java | 21 import java.lang.reflect.Method; 137 * @tests java.lang.reflect.Method#equals(java.lang.Object) 140 // Test for method boolean 141 // java.lang.reflect.Method.equals(java.lang.Object) 143 Method m1 = null, m2 = null; 148 assertTrue("Overriden method returned equal", !m1.equals(m2)); 149 assertTrue("Same method returned not-equal", m1.equals(m1)); 154 assertTrue("Inherited method returned not-equal", m1.equals(m2)); 158 * @tests java.lang.reflect.Method#getDeclaringClass() 161 // Test for method java.lang.Clas 546 Method method = MockObject.class.getDeclaredMethod("mockMethod", Class.class); local [all...] |
/dalvik/vm/ |
Native.cpp | 18 * Native method resolution. 30 static void* lookupSharedLibMethod(const Method* method); 56 * Resolve a native method and invoke it. 59 * resolution succeeds, method->insns is replaced, and we don't go through 60 * here again unless the method is unregistered. 62 * Initializes method's class if necessary. 66 * (This should not be taking "const Method*", because it modifies the 71 const Method* method, Thread* self [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ForegroundService.java | 33 import java.lang.reflect.Method; 60 private Method mSetForeground; 61 private Method mStartForeground; 62 private Method mStopForeground; 67 void invokeMethod(Method method, Object[] args) { 69 method.invoke(this, args); 72 Log.w("ApiDemos", "Unable to invoke method", e); 75 Log.w("ApiDemos", "Unable to invoke method", e); 80 * This is a wrapper around the new startForeground method, using the olde [all...] |
/external/junit/src/junit/framework/ |
TestSuite.java | 7 import java.lang.reflect.Method; 118 * Parts of this method was written at 2337 meters in the Hueffihuette, 138 Method[] methods= superClass.getDeclaredMethods(); 210 * test suites have a name and this method 270 private void addTestMethod(Method m, Vector names, Class theClass) { 276 addTest(warning("Test method isn't public: "+m.getName())); 283 private boolean isPublicTestMethod(Method m) { 287 private boolean isTestMethod(Method m) {
|
/external/proguard/src/proguard/classfile/ |
LibraryClass.java | 229 public Method findMethod(String name, String descriptor) 233 Method method = methods[index]; local 234 if (method != null && 235 (name == null || method.getName(this).equals(name)) && 236 (descriptor == null || method.getDescriptor(this).equals(descriptor))) 238 return method; 433 Method method = methods[index]; local 434 if (method != null 444 Method method = findMethod(name, descriptor); local [all...] |
/external/proguard/src/proguard/evaluation/ |
BasicInvocationUnit.java | 33 * This InvocationUnit sets up the variables for entering a method, 65 public void enterMethod(Clazz clazz, Method method, Variables variables) 67 String descriptor = method.getDescriptor(clazz); 71 (method.getAccessFlags() & ClassConstants.INTERNAL_ACC_STATIC) != 0; 91 method, 100 Clazz[] referencedClasses = ((ProgramMethod)method).referencedClasses; 115 method, 132 public void exitMethod(Clazz clazz, Method method, Value returnValue [all...] |
/frameworks/base/core/java/android/test/ |
InstrumentationTestCase.java | 28 import java.lang.reflect.Method; 41 * Injects instrumentation into this test case. This method is 51 * Injects instrumentation into this test case. This method is 73 * Utility method for launching an activity. 101 * Utility method for launching an activity with a specific Intent. 127 * Note, in most cases it is simpler to annotate the test method with 128 * {@link android.test.UiThreadTest}, which will run the entire test method on the UI thread. 129 * Use this method if you need to switch in and out of the UI thread to perform your test. 131 * @param r runnable containing test code in the {@link Runnable#run()} method 157 Method method = null local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
ClassTest.java | 26 import java.lang.reflect.Method; 69 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); local 71 method.invoke(new ClassTest(), (Object[]) null); 75 method = helloClass.getDeclaredMethod("methodWithArgs", Object.class); 79 Object ret = method.invoke(new ClassTest(), invokeArgs); 84 method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null); 86 method.invoke(new ClassTest(), (Object[]) null); 89 // call to the private method is being made from the same class 140 public void method() { method in class:ClassTest [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
InvocationTargetExceptionTest.java | 26 import java.lang.reflect.Method; 131 // Test for method 134 Method mth = TestMethod.class.getDeclaredMethod( 152 // Test for method 156 Method mth = TestMethod.class.getDeclaredMethod( 174 // Test for method java.lang.Throwable 177 Method mth = TestMethod.class.getDeclaredMethod( 198 Method mth = TestMethod.class.getDeclaredMethod( 218 // Test for method void 242 // Test for method voi [all...] |
/sdk/swtmenubar/src-darwin/com/android/menubar/internal/ |
MenuBarEnhancerCocoa.java | 37 import java.lang.reflect.Method; 122 // This is our callback object whose 'actionProc' method will be called 152 // Create an SWT Callback object that will invoke the actionProc method 155 Method getAddress = Callback.class.getMethod("getAddress", new Class[0]); 299 Method method = clazz.getMethod(methodName, signature); local 300 return method.invoke(target, args); 322 Method m = cls.getDeclaredMethod(methodName, paramTypes); 335 Method m = obj.getClass().getDeclaredMethod(methodName, paramTypes);
|