HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 351 - 375 of 680) sorted by null

<<11121314151617181920>>

  /dalvik/dx/src/junit/framework/
TestCase.java 26 * For each test implement a method which interacts
37 * In the static way you override the runTest method and define the method to
48 * and invokes a method.
49 * In this case the name of the test case has to correspond to the test method
57 * A test runner either expects a static method <code>suite</code> as the entry
77 * No-arg constructor to enable serialization. This method
104 * A convenience method to run this test, collecting the results with a
139 Method runMethod= null;
147 fail("Method \""+fName+"\" not found")
    [all...]
TestSuite.java 51 * Parts of this method was written at 2337 meters in the Huffihutte,
71 Method[] methods= superClass.getDeclaredMethods();
102 private void addTestMethod(Method m, Vector<String> names, Class theClass) {
108 addTest(warning("Test method isn't public: "+m.getName()));
182 private boolean isPublicTestMethod(Method m) {
186 private boolean isTestMethod(Method m) {
248 * test suites have a name and this method
  /dalvik/tests/044-proxy/src/
BasicTest.java 22 import java.lang.reflect.Method;
72 Method[] methods = proxy.getClass().getDeclaredMethods();
74 Method meth = methods[methods.length -1];
84 /* declare an object that will handle the method calls */
222 public Object invoke(Object proxy, Method method, Object[] args)
229 if (method.getDeclaringClass() == java.lang.Object.class) {
230 //System.out.println("!!! object " + method.getName());
231 if (method.getName().equals("toString"))
233 else if (method.getName().equals("hashCode")
    [all...]
  /dalvik/tests/074-gc-thrash/src/
Main.java 19 import java.lang.reflect.Method;
36 Method dumpHprofDataMethod = null;
68 * @return the reflection object, or null if the method can't be found
70 private static Method getDumpHprofDataMethod() {
79 Method meth;
84 System.err.println("Found VMDebug but not dumpHprofData method");
  /dalvik/vm/
Exception.cpp 29 counter for the method now being executed, but that's only held in a local
85 executing a static method or accessing a static field. Attemping to access
198 * Find and return an exception constructor method that can take the
201 static Method* findExceptionInitMethod(ClassObject* excepClass,
205 Method* result;
257 Method* initMethod = NULL;
423 Method* initCause;
483 * method that doesn't declare it.
501 Method* initMethod;
558 * For consistency we just invoke the Throwable printStackTrace method,
850 const Method* method = saveArea->method; local
908 const Method* method = saveArea->method; local
    [all...]
  /dalvik/vm/compiler/
CompilerIR.h 68 kJitMethod, // Whole method
106 kMIRInvokeMethodJIT, // Callee is JIT'ed as a whole method
121 const Method *method; member in struct:CallsiteInfo
135 // Used by the inlined insn from the callee to find the mother method
136 const Method *calleeMethod;
137 // Used by the inlined invoke to find the class and method pointers
157 const Method *containingMethod; // For blocks from the callee
201 const Method *method; member in struct:CompilationUnit
    [all...]
  /dalvik/vm/mterp/armv5te/
debug.cpp 29 //const Method* method = self->method;
32 // method->clazz->descriptor, method->name, method->shorty);
48 saveArea->method, saveArea->xtra.currentPc);
52 saveArea->method, saveArea->xtra.currentPc,
60 void dvmMterpPrintMethod(Method* method)
    [all...]
  /dalvik/vm/oo/
AccessCheck.cpp 71 * Ljava/lang/Object; + Ljava/lang/reflect/Method; --> false
86 * Validate method/field access.
134 * Determine whether the "accessFrom" class is allowed to get at "method".
136 bool dvmCheckMethodAccess(const ClassObject* accessFrom, const Method* method)
138 return checkAccess(accessFrom, method->clazz, method->accessFlags);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
OutputPropertiesFactory.java 47 * {@link Method Method} class in this package.
81 * @see Method
188 /** the directory in which the various method property files are located */
206 /** The default properties when method="html". */
209 /** The default properties when method="text". */
212 /** The properties when method="" for the "unknown" wrapper */
241 * a property file. The method argument is used to construct a string of
242 * the form output_[method].properties (for instance, output_html.properties).
248 * @param method non-null reference to method name
    [all...]
  /external/easymock/src/org/easymock/internal/
Invocation.java 23 import java.lang.reflect.Method;
35 private transient Method method; field in class:Invocation
42 public Invocation(Object mock, Method method, Object[] args) {
44 this.method = method;
45 this.arguments = expandVarArgs(method.isVarArgs(), args);
80 public Method getMethod() {
81 return method;
    [all...]
  /external/proguard/src/proguard/classfile/attribute/visitor/
AllAttributeVisitor.java 113 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
115 codeAttribute.attributesAccept(clazz, method, attributeVisitor);
  /external/proguard/src/proguard/classfile/editor/
AttributeSorter.java 71 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
VariableEditor.java 96 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
124 variableRemapper.visitCodeAttribute(clazz, method, codeAttribute);
ClassReferenceFixer.java 243 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
246 codeAttribute.attributesAccept(clazz, method, this);
250 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute)
253 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
257 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute)
260 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this);
286 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
MethodImplementationTraveler.java 48 * @param visitSuperMethods specifies whether to visit the method in
50 * @param visitInterfaceMethods specifies whether to visit the method in
52 * @param visitOverridingMethods specifies whether to visit the method in
121 private boolean isSpecial(Clazz clazz, Method method)
123 return (method.getAccessFlags() &
126 method.getName(clazz).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT);
  /external/proguard/src/proguard/obfuscate/
AttributeShrinker.java 84 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
  /external/proguard/src/proguard/optimize/
MethodDescriptorShrinker.java 89 // Append a code, if the method isn't a class instance initializer.
99 System.out.println(" Method name = "+name);
101 System.out.println(" Method descriptor = "+descriptor);
125 // Visit the method, if required.
139 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute signatureAttribute)
143 String newSignature = shrinkDescriptor(method, signature);
151 shrinkReferencedClasses(method,
157 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute
    [all...]
  /external/proguard/src/proguard/optimize/peephole/
PeepholeOptimizer.java 86 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
91 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute);
98 codeAttribute.instructionsAccept(clazz, method, instructionVisitor);
101 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute);
MethodInliner.java 139 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
145 // method.getName(clazz).equals("abc");
148 targetMethod = (ProgramMethod)method;
153 uninitializedObjectCount = method.getName(clazz).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT) ? 1 : 0;
156 stackSizeComputer.visitCodeAttribute(clazz, method, codeAttribute);
159 copyCode(clazz, method, codeAttribute);
168 codeAttributeComposer.visitCodeAttribute(clazz, method, codeAttribute);
171 codeAttribute.instructionsAccept(clazz, method, accessMethodMarker);
174 catchExceptionMarker.visitCodeAttribute(clazz, method, codeAttribute)
    [all...]
  /libcore/junit/src/main/java/junit/framework/
TestCase.java 26 * For each test implement a method which interacts
37 * In the static way you override the runTest method and define the method to
48 * and invokes a method.
49 * In this case the name of the test case has to correspond to the test method
57 * A test runner either expects a static method <code>suite</code> as the entry
77 * No-arg constructor to enable serialization. This method
104 * A convenience method to run this test, collecting the results with a
139 Method runMethod= null;
147 fail("Method \""+fName+"\" not found")
    [all...]
TestSuite.java 53 * Parts of this method was written at 2337 meters in the Huffihutte,
73 Method[] methods= superClass.getDeclaredMethods();
104 private void addTestMethod(Method m, Vector names, Class theClass) {
110 addTest(warning("Test method isn't public: "+m.getName()));
184 private boolean isPublicTestMethod(Method m) {
188 private boolean isTestMethod(Method m) {
250 * test suites have a name and this method
  /libcore/luni/src/main/java/org/apache/harmony/lang/annotation/
AnnotationFactory.java 26 import java.lang.reflect.Method;
68 Method[] m = annotationType.getDeclaredMethods();
71 for (Method element : m) {
106 * New instances should not be created directly, use factory method
274 * Processes a method invocation request to this annotation instance.
278 * @throws IllegalArgumentException If the specified method is none of the above
281 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
283 String name = method.getName();
284 Class[] params = method.getParameterTypes()
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
GenericSignatureParser.java 22 import java.lang.reflect.Method;
117 * @param genericDecl the GenericDeclaration calling this method
140 * Parses the generic signature of a method and creates the data structure
143 * @param genericDecl the GenericDeclaration calling this method
152 if(genericDecl instanceof Method) {
153 Method m = (Method) genericDecl;
171 * @param genericDecl the GenericDeclaration calling this method
197 * @param genericDecl the GenericDeclaration calling this method
  /external/proguard/src/proguard/classfile/util/
InstructionSequenceMatcher.java 185 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
198 method,
205 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
220 method,
227 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
243 method,
250 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction
    [all...]
  /frameworks/base/tests/CoreTests/android/core/
MiscRegressionTest.java 26 import java.lang.reflect.Method;
92 // Regression test for #1045939: Different output for Method.toString()
96 Method m1 = Object.class.getMethod("notify", new Class[] { });
97 Method m2 = Object.class.getMethod("toString", new Class[] { });
98 Method m3 = Object.class.getMethod("wait", new Class[] { long.class, int.class });
99 Method m4 = Object.class.getMethod("equals", new Class[] { Object.class });
100 Method m5 = String.class.getMethod("valueOf", new Class[] { char[].class });
101 Method m6 = Runtime.class.getMethod("exec", new Class[] { String[].class });
103 assertEquals("Method.toString() must match expectations",
107 assertEquals("Method.toString() must match expectations"
    [all...]

Completed in 876 milliseconds

<<11121314151617181920>>