/dalvik/vm/mterp/common/ |
asm-constants.h | 94 MTERP_OFFSET(offGlue_method, MterpGlue, method, 16) 163 MTERP_OFFSET(offStackSaveArea_method, StackSaveArea, method, 12) 172 MTERP_OFFSET(offStackSaveArea_method, StackSaveArea, method, 8) 204 /* Method fields */ 205 MTERP_OFFSET(offMethod_clazz, Method, clazz, 0) 206 MTERP_OFFSET(offMethod_accessFlags, Method, accessFlags, 4) 207 MTERP_OFFSET(offMethod_methodIndex, Method, methodIndex, 8) 208 MTERP_OFFSET(offMethod_registersSize, Method, registersSize, 10) 209 MTERP_OFFSET(offMethod_outsSize, Method, outsSize, 12) 210 MTERP_OFFSET(offMethod_name, Method, name, 16 [all...] |
/dalvik/vm/native/ |
java_security_AccessController.c | 36 const Method** methods = NULL; 56 * we're interested in. Skip the first two methods (this method, and 78 const Method* meth = methods[idx]; 93 /* get the pd object from the method's class */
|
dalvik_system_SamplingProfiler.c | 54 /** This method is in the call stack. */ 56 /** VM is in this method. */ 65 const Method* method; // 4 bytes member in struct:__anon766 66 /** Sample counts for method divided by thread type and state. */ 133 if (oldEntry.method != NULL) { 135 int start = hash(oldEntry.method) & newSet.mask; 137 while (newSet.entries[i].method != NULL) { 152 /** Increments counter for method in set. */ 153 static void countMethod(SampleSet* set, const Method* method 230 const Method* method = saveArea->method; local 549 const Method* method = mc->method; local [all...] |
/external/easymock/src/org/easymock/internal/ |
ReplayState.java | 19 import java.lang.reflect.Method;
136 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) {
159 "This method must not be called in replay state."));
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
MoreZeroFrame.java | 78 public void additionalVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 82 additionalVariables[index].accept(clazz, method, codeAttribute, offset, verificationTypeVisitor); 95 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor) 97 stackMapFrameVisitor.visitMoreZeroFrame(clazz, method, codeAttribute, offset, this);
|
/external/proguard/src/proguard/optimize/evaluation/ |
LoadingInvocationUnit.java | 124 Method method, 131 // Retrieve the stored method parameter value. 132 Value value = StoringInvocationUnit.getMethodParameterValue(method, parameterIndex); 143 method, 156 // Do we know this method? 160 // Retrieve the stored method return value. 161 Value value = StoringInvocationUnit.getMethodReturnValue((Method)referencedMember);
|
/external/proguard/src/proguard/optimize/peephole/ |
TargetClassChanger.java | 110 // TODO: Maybe restore private method references. 217 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 220 codeAttribute.attributesAccept(clazz, method, this); 224 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 227 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 231 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) 234 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this) [all...] |
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...] |
/external/webkit/WebCore/bridge/c/ |
c_class.cpp | 77 Method* method = _methods.get(identifier.ustring().rep()); local 78 if (method) { 79 methodList.append(method); 87 Method* aMethod = new CMethod(ident); // deleted in the CClass destructor
|
/dalvik/vm/ |
Properties.c | 82 * Find the "put" method for this class. 86 static Method* getPut(ClassObject* clazz) 88 Method* put; 103 static void setProperty(Object* propObj, Method* put, const char* key, 137 Method* put = getPut(propObj->clazz); 225 Method* put = getPut(propObj->clazz); 250 Method* getProp;
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 28 import java.lang.reflect.Method; 71 for (Method testMethod : getTestMethods(testCase)) { 78 protected List<Method> getTestMethods(Class<? extends TestCase> testCaseClass) { 79 List<Method> methods = Arrays.asList(testCaseClass.getMethods()); 111 * @return The {@link TestGrouping} for method chaining. 133 * @return The {@link TestGrouping} for method chaining. 144 * if that method was never called. 241 private static class TestMethodPredicate implements Predicate<Method> { 243 public boolean apply(Method method) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutParamsParserTest.java | 27 import java.lang.reflect.Method; 37 * Convention: method names that start with an underscore are actually local wrappers 141 Method method = AndroidTargetParser.class.getDeclaredMethod("getLayoutClasses"); //$NON-NLS-1$ local 142 method.setAccessible(true); 143 method.invoke(mParser); 149 Method method = LayoutParamsParser.class.getDeclaredMethod("addGroup", //$NON-NLS-1$ local 151 method.setAccessible(true); 152 return (ViewClassInfo) method.invoke(mParser, new ClassWrapper(groupClass)) 158 Method method = LayoutParamsParser.class.getDeclaredMethod("addLayoutParams", \/\/$NON-NLS-1\$ local 166 Method method = LayoutParamsParser.class.getDeclaredMethod("getLayoutParamsInfo", \/\/$NON-NLS-1\$ local 174 Method method = LayoutParamsParser.class.getDeclaredMethod("findLayoutParams", \/\/$NON-NLS-1\$ local [all...] |
/dalvik/vm/analysis/ |
VerifySubs.c | 33 * new-instance instructions in the method. 37 bool dvmComputeCodeWidths(const Method* meth, InsnFlags* insnFlags, 113 bool dvmSetTryFlags(const Method* meth, InsnFlags* insnFlags) 194 bool dvmCheckSwitchTargets(const Method* meth, InsnFlags* insnFlags, 310 bool dvmCheckBranchTarget(const Method* meth, InsnFlags* insnFlags, 358 void dvmLogVerifyFailure(const Method* meth, const char* format, ...) 388 const Method* meth) 397 LOGE("Could not find class '%s', referenced from method %s.%s\n", 410 bool dvmGetBranchTarget(const Method* meth, InsnFlags* insnFlags,
|
/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...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
Class.java | 52 import java.lang.reflect.Method; 163 * primitive types can not be found using this method. 189 * primitive types can not be found using this method. Security rules will 283 * then the method returns {@code null}. 347 * method returns {@code null}. 724 * Returns a {@code Method} object which represents the method matching the 729 * the requested method's name. 731 * the parameter types of the requested method. 733 * @return the method described by {@code name} and {@code parameterTypes} 748 Method method = findMethodByName(methods, name, parameterTypes); local 985 Method method = findMethodByName(methods, name, parameterTypes); local [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
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 {
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
InvocationTargetExceptionTest.java | 31 import java.lang.reflect.Method; 126 method = "InvocationTargetException", 145 method = "InvocationTargetException", 149 // Test for method 152 Method mth = TestMethod.class.getDeclaredMethod( 172 method = "InvocationTargetException", 176 // Test for method 180 Method mth = TestMethod.class.getDeclaredMethod( 200 method = "getTargetException", 204 // Test for method java.lang.Throwabl [all...] |
TypeVariableTest.java | 26 import java.lang.reflect.Method; 40 method = "getGenericDeclaration", 60 notes = "Tests getGenericDeclaration of a type variable on a method.", 61 method = "getGenericDeclaration", 66 Method method = clazz.getDeclaredMethod("b"); local 67 TypeVariable<Method>[] typeParameters = method.getTypeParameters(); 69 TypeVariable<Method> typeVariable = typeParameters[0]; 70 assertEquals(method, typeVariable.getGenericDeclaration()) 146 Method method = clazz.getDeclaredMethod("e"); local [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/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...] |
/dalvik/vm/interp/ |
Interp.c | 74 Method* method; /* method we're associated with */ member in struct:__anon699 224 static bool dvmBreakpointSetAdd(BreakpointSet* pSet, Method* method, 228 const u2* addr = method->insns + instrOffset; 249 pBreak->method = method; 258 * If the method has not been verified, we do NOT insert the 269 if (dvmIsClassVerified(method->clazz)) 372 const Method* method = pBreak->method; local 548 const Method* method; local [all...] |
/dalvik/tests/004-annotations/src/android/test/anno/ |
TestAnnotations.java | 6 import java.lang.reflect.Method; 49 for (Method m: clazz.getDeclaredMethods()) { 54 System.out.println(" method parameter annotations:"); 120 Method meth;
|