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

<<11121314151617181920>>

  /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;
136 /* while we're here, check isAnnotationPresent on Method */
  /dalvik/vm/native/
dalvik_system_VMStack.cpp 78 UniquePtr<const Method*[]> methods(new const Method*[depth]);
85 const Method* meth = methods[i];
  /external/guava/src/com/google/common/base/
FinalizableReferenceQueue.java 23 import java.lang.reflect.Method;
99 private static final Method startFinalizer;
145 * is empty. This method is a no-op if the background thread was created
307 static Method getStartFinalizer(Class<?> finalizer) {
  /external/proguard/src/proguard/optimize/peephole/
GotoCommonCodeReplacer.java 72 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
76 // method.getName(clazz).equals("abc");
79 branchTargetFinder.visitCodeAttribute(clazz, method, codeAttribute);
85 codeAttribute.instructionsAccept(clazz, method, this);
88 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute);
94 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
97 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
AnnotationsTest.java 26 import java.lang.reflect.Method;
53 Method method = Type.class.getMethod("method", String.class, String.class); local
54 assertAnnotatedElement(method, AnnotationB.class, AnnotationC.class);
58 Method method = Type.class.getMethod("method", String.class, String.class); local
59 Annotation[][] parameterAnnotations = method.getParameterAnnotations();
84 @AnnotationB @AnnotationC public void method(@AnnotationB @AnnotationD String parameter1 method in class:AnnotationsTest.Type
    [all...]
  /packages/apps/Email/src/com/android/email/
VendorPolicyLoader.java 28 import java.lang.reflect.Method;
34 * contain a class called "com.android.email.policy.EmailPolicy" with a static public method
63 private final Method mPolicyMethod;
111 Method method = null; local
117 method = clazz.getMethod(GET_POLICY_METHOD, ARGS);
124 // Method not found -- probably not OK, but let's not crash here
127 mPolicyMethod = method;
141 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CompatUtils.java 25 import java.lang.reflect.Method;
69 public static Method getMethod(Class<?> targetClass, String name,
117 Object receiver, Object defaultValue, Method method, Object... args) {
118 if (method == null) return defaultValue;
120 return method.invoke(receiver, args);
  /dalvik/vm/interp/
Interp.cpp 83 Method* method; /* method we're associated with */ member in struct:Breakpoint
233 static bool dvmBreakpointSetAdd(BreakpointSet* pSet, Method* method,
237 const u2* addr = method->insns + instrOffset;
258 pBreak->method = method;
267 * If the method has not been verified, we do NOT insert the
277 if (dvmIsClassVerified(method->clazz))
545 const Method* method; local
1698 const Method* method = self->interpSave.method; local
    [all...]
  /dalvik/dx/src/com/android/dx/command/grep/
Grep.java 40 private ClassData.Method currentMethod;
100 // find the strings in method bodies
101 for (ClassData.Method method : classData.allMethods()) {
102 currentMethod = method;
103 if (method.getCodeOffset() != 0) {
104 codeReader.visitAll(dex.readCode(method).getInstructions());
  /dalvik/tests/068-classloader/src/
FancyLoader.java 22 import java.lang.reflect.Method;
111 Method meth;
205 * 3. Invoke the findClass(String) method to find the class.
217 * 2. Invoke the loadClass method on the parent class loader. If
222 * parent's loadClass() method, but we passed our parent to the
  /dalvik/vm/
Misc.h 168 struct Method;
169 std::string dvmHumanReadableMethod(const Method* method, bool withSignature);
  /dalvik/vm/analysis/
CodeVerify.h 56 * For example, if a method takes a byte argument, we don't want to allow
127 * instruction. We track the status of all registers, and (if the method
133 * track the liveness of the method result register (which is not visible
146 * address of the new-instance instruction. One per method.
151 int addr; /* code offset, or -1 for method arg ("this") */
163 * The method we're working on.
165 const Method* method; member in struct:VerifierData
168 * Number of code units of instructions in the method. A cache of the
175 * to the method's declared "registersSize". (Does not include th
    [all...]
RegisterMap.h 155 * Each entry is a 4-byte method index followed by the 32-bit-aligned
165 /* stream of per-method data starts here */
197 * Get the register map for the next method. "*pPtr" will be advanced past
232 * Generate the register map for a method that has just been verified
241 * method. May update method->registerMap, possibly freeing the previous
249 const RegisterMap* dvmGetExpandedRegisterMap0(Method* method);
250 INLINE const RegisterMap* dvmGetExpandedRegisterMap(Method* method)
    [all...]
  /external/javassist/src/main/javassist/bytecode/annotation/
ArrayMemberValue.java 21 import java.lang.reflect.Method;
53 Object getValue(ClassLoader cl, ClassPool cp, Method method)
58 "no array elements found: " + method.getName());
63 clazz = method.getReturnType().getComponentType();
66 + method.getName());
73 Array.set(a, i, values[i].getValue(cl, cp, method));
  /external/javassist/src/main/javassist/tools/reflect/
Metaobject.java 18 import java.lang.reflect.Method;
31 * <p>The metaobject intercepts method calls
33 * of the method calls, a subclass of <code>Metaobject</code>
48 protected Method[] methods;
119 * Returns the name of the method specified
136 * formal parameter types of the method specified
145 * return type of the method specified by <code>identifier</code>.
154 * This method simply returns the value of the field.
156 * <p>Every subclass of this class should redefine this method.
174 * This method simply sets the field to the given value
    [all...]
  /external/proguard/src/proguard/classfile/util/
ClassReferenceInitializer.java 41 * All field and method reference constant pool entries get direct references
205 "method '" + ClassUtil.externalFullMethodDescription(className, 0, name, type)) +
252 // Make sure there is actually an enclosed method.
261 // See if we can find the method in the referenced class.
262 Method referencedMethod = referencedClass.findMethod(name, type);
266 // We couldn't find the enclosing method.
271 ": can't find enclosing method '" +
284 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
287 codeAttribute.attributesAccept(clazz, method, this)
    [all...]
  /external/proguard/src/proguard/optimize/info/
NonPrivateMemberMarker.java 51 // Explicitly mark the <clinit> method.
56 // Explicitly mark the parameterless <init> method.
158 private static void markCanNotBeMadePrivate(Method method)
160 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
169 * Returns whether the given method can be made private.
171 public static boolean canBeMadePrivate(Method method)
173 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
ReadWriteFieldMarker.java 50 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {}
53 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
disconnected-frame-already.js 26 debug('Method called on Geolocation object with disconnected Frame.');
  /external/webkit/Source/WebCore/bridge/c/
c_class.cpp 80 Method* method = _methods.get(identifier.ustring().impl()); local
81 if (method) {
82 methodList.append(method);
90 Method* aMethod = new CMethod(ident); // deleted in the CClass destructor
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 24 import java.lang.reflect.Method;
36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
37 this(method.getName(), enclosingClass);
  /frameworks/base/tools/aidl/
generate_java.cpp 78 Method* ctor = new Method;
93 Method* asBinder = new Method;
106 Method* onTransact = new Method;
135 Method* m = new Method;
212 Method* ctor = new Method;
    [all...]
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DelegateClassAdapterTest.java 43 import java.lang.reflect.Method;
82 // This is expected to fail since the native method is not implemented.
85 // Now process it but tell the delegate to not modify any method
112 // This is expected to fail since the native method has NOT been
117 // Check that the native method does NOT have the new annotation
118 Method[] m = clazz2.getDeclaredMethods();
185 // Check that the native method now has the new annotation and is not native
186 Method[] m = clazz2.getDeclaredMethods();
202 // We'll delegate the "get" method of both the inner and outer class.
240 // The original Outer has a private method that i
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
DocumentBuilderSettingStrategy.java 14 import java.lang.reflect.Method;
172 Method getAttrMethod = factory.getClass().getMethod("getAttribute",
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DocumentBuilderSettingStrategy.java 3 import java.lang.reflect.Method;
132 Method getAttrMethod = factory.getClass().getMethod(

Completed in 869 milliseconds

<<11121314151617181920>>