/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MediaButtonHelper.java | 8 import java.lang.reflect.Method; 21 static Method sMethodRegisterMediaButtonEventReceiver; 22 static Method sMethodUnregisterMediaButtonEventReceiver;
|
RemoteControlHelper.java | 22 import java.lang.reflect.Method; 34 private static Method sRegisterRemoteControlClientMethod; 35 private static Method sUnregisterRemoteControlClientMethod;
|
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AllAnnotationVisitor.java | 67 public void visitRuntimeVisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute) 70 runtimeVisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 88 public void visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz, Method method, RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute) 91 runtimeInvisibleAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor); 95 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) 98 parameterAnnotationsAttribute.annotationsAccept(clazz, method, annotationVisitor);
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
ObjectType.java | 63 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 65 verificationTypeVisitor.visitObjectType(clazz, method, codeAttribute, instructionOffset, this); 69 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 71 verificationTypeVisitor.visitStackObjectType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 75 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 77 verificationTypeVisitor.visitVariablesObjectType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedType.java | 62 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 64 verificationTypeVisitor.visitUninitializedType(clazz, method, codeAttribute, instructionOffset, this); 68 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 70 verificationTypeVisitor.visitStackUninitializedType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 74 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 76 verificationTypeVisitor.visitVariablesUninitializedType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
/external/proguard/src/proguard/classfile/editor/ |
VariableSizeUpdater.java | 53 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 57 // method.getName(clazz).equals("abc"); 61 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 62 method.getAccessFlags()); 66 System.out.println("VariableSizeUpdater: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 71 codeAttribute.instructionsAccept(clazz, method, this); 77 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) { [all...] |
ConstantPoolRemapper.java | 304 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute) 315 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 324 codeAttribute.instructionsAccept(clazz, method, this); 328 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 331 codeAttribute.exceptionsAccept(clazz, method, this); 332 codeAttribute.attributesAccept(clazz, method, this); 336 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute [all...] |
/external/proguard/src/proguard/optimize/info/ |
VariableUsageMarker.java | 58 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 75 codeAttribute.instructionsAccept(clazz, method, this); 81 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 84 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
InputMethodInfoCompatWrapper.java | 23 import java.lang.reflect.Method; 27 private static final Method METHOD_getSubtypeAt = CompatUtils.getMethod( 29 private static final Method METHOD_getSubtypeCount = CompatUtils.getMethod(
|
InputMethodSubtypeCompatWrapper.java | 26 import java.lang.reflect.Method; 40 private static final Method METHOD_getNameResId = 42 private static final Method METHOD_getIconResId = 44 private static final Method METHOD_getLocale = 46 private static final Method METHOD_getMode = 48 private static final Method METHOD_getExtraValue = 50 private static final Method METHOD_containsExtraValueKey = 52 private static final Method METHOD_getExtraValueOf = 54 private static final Method METHOD_isAuxiliary = 56 private static final Method METHOD_getDisplayName [all...] |
/dalvik/dx/junit-tests/com/android/dx/gen/ |
DexGeneratorTest.java | 28 import java.lang.reflect.Method; 60 * This is necessary to generate multiple classes in the same test method. 180 Method method = generatedClass.getMethod("call", generatedClass); local 181 assertEquals(5, method.invoke(null, instance)); 213 Method method = generatedClass.getMethod("superHashCode"); local 214 assertEquals(System.identityHashCode(instance), method.invoke(instance)); 410 Method method = generatedClass.getMethod("call") local 1009 Method method = getMethod(); local 1034 Method method = getMethod(); local 1259 Method method = getMethod(); local 1340 Method method = getMethod(); local 1456 Method method = getMethod(); local [all...] |
/external/proguard/src/proguard/classfile/attribute/visitor/ |
MultiAttributeVisitor.java | 178 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute) 182 attributeVisitors[index].visitDeprecatedAttribute(clazz, method, deprecatedAttribute); 187 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute) 191 attributeVisitors[index].visitSyntheticAttribute(clazz, method, syntheticAttribute); 196 public void visitSignatureAttribute(Clazz clazz, Method method, SignatureAttribute syntheticAttribute) 200 attributeVisitors[index].visitSignatureAttribute(clazz, method, syntheticAttribute); 214 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute [all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMockGenerator.java | 30 import java.lang.reflect.Method; 43 * The only public method of AndroidMockGenerator is createMocksForClass. See 44 * the javadocs for this method for more information about AndroidMockGenerator. 60 * {@link UsesMocks} annotation at either the Class or Method level. All 65 * a method to be mockable, it must be non-final and non-static, although this 68 * The class itself must be mockable, otherwise this method will ignore the 173 String getInterfaceMethodSource(Method method) throws UnsupportedOperationException { 174 StringBuilder methodBody = getMethodSignature(method); 179 private StringBuilder getMethodSignature(Method method) [all...] |
/external/clang/lib/CodeGen/ |
ModuleBuilder.cpp | 81 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(*M)) 82 if (Method->doesThisDeclarationHaveABody() && 83 (Method->hasAttr<UsedAttr>() || 84 Method->hasAttr<ConstructorAttr>())) 85 Builder->EmitTopLevelDecl(Method);
|
/external/easymock/src/org/easymock/internal/ |
ObjectMethodsFilter.java | 21 import java.lang.reflect.Method;
28 private transient Method equalsMethod;
30 private transient Method hashCodeMethod;
32 private transient Method toStringMethod;
54 throw new RuntimeException("An Object method could not be found!");
61 public final Object invoke(Object proxy, Method method, Object[] args)
63 if (equalsMethod.equals(method)) {
66 if (hashCodeMethod.equals(method)) {
69 if (toStringMethod.equals(method)) {
[all...] |
/external/javassist/src/main/javassist/util/proxy/ |
SecurityActions.java | 20 import java.lang.reflect.Method; 27 static Method[] getDeclaredMethods(final Class clazz) { 31 return (Method[]) AccessController 53 static Method getDeclaredMethod(final Class clazz, final String name, 59 return (Method) AccessController
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
AnnotationTest.java | 23 import java.lang.reflect.Method; 44 Method m1 = AnnotatedClass2.class 46 Method m2 = AnnotatedClass2.class 53 List<Method> methods = Arrays.asList(AnnotatedClass.class.getDeclaredMethods()); 54 Map<String, List<Method>> eqs = new HashMap<String, List<Method>>(); 55 Map<String, List<Method>> neqs = new HashMap<String, List<Method>>(); 56 for (Method m : methods) { 59 Map<String, List<Method>> curT = name.charAt(0) == 'e'? eqs : neqs [all...] |
/external/chromium/base/memory/ |
scoped_callback_factory.h | 34 // avoid calling the GotData method. 51 void (T::*method)()) { 53 weak_factory_.GetWeakPtr(), method); 58 void (T::*method)(Arg1)) { 60 weak_factory_.GetWeakPtr(), method); 65 void (T::*method)(Arg1, Arg2)) { 67 weak_factory_.GetWeakPtr(), method); 72 void (T::*method)(Arg1, Arg2, Arg3)) { 75 weak_factory_.GetWeakPtr(), method); 80 void (T::*method)(Arg1, Arg2, Arg3, Arg4)) [all...] |
/external/clang/include/clang/AST/ |
CXXInheritance.h | 233 /// \brief Uniquely identifies a virtual method within a class 234 /// hierarchy by the method itself and a class subobject number. 236 UniqueVirtualMethod() : Method(0), Subobject(0), InVirtualSubobject(0) { } 238 UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject, 240 : Method(Method), Subobject(Subobject), 243 /// \brief The overriding virtual method. 244 CXXMethodDecl *Method; 246 /// \brief The subobject in which the overriding virtual method 251 /// virtual method is a part. Note that this records the closes [all...] |
/external/guava/src/com/google/common/util/concurrent/ |
SimpleTimeLimiter.java | 26 import java.lang.reflect.Method; 38 * A TimeLimiter that runs method calls in the background using an 39 * {@link ExecutorService}. If the time limit expires for a given method call, 51 * execute proxied method calls. 56 * this case the call may even time out before the target method is ever 59 * @param executor the ExecutorService that will execute the method calls on 71 * method calls. 76 * before the target method is ever invoked. 91 final Set<Method> interruptibleMethods 95 public Object invoke(Object obj, final Method method, final Object[] args [all...] |
/external/proguard/src/proguard/classfile/visitor/ |
ReferencedClassVisitor.java | 140 // Let the visitor visit the class of the enclosing method. 145 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 148 codeAttribute.attributesAccept(clazz, method, this); 152 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 155 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 159 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) 162 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this) [all...] |
/external/android-mock/tests/com/google/android/testing/mocking/ |
AndroidMockGeneratorTest.java | 27 import java.lang.reflect.Method; 109 for (CtMethod method : methods) { 110 methodNames.add(method.getName()); 176 private List<String> getMethodSignatures(Method[] methods) { 178 for (Method method : methods) { 179 if (getAndroidMockGenerator().isMockable(method)) { 180 methodSignatures.add(method.toGenericString()); 205 Method method = Object.class.getMethod("equals", Object.class) local 212 Method method = Class.class.getDeclaredMethod("newInstance"); local 220 Method method = Object.class.getDeclaredMethod("finalize"); local 227 Method method = Object.class.getMethod("toString"); local 234 Method method = Thread.class.getMethod("run"); local 239 Method method = Object.class.getMethod("notify"); local 249 Method method = Thread.class.getMethod("currentThread"); local 271 Method method = Object.class.getMethod("equals", Object.class); local 285 Method method = AllTypes.class.getMethod(returnTypes[i] + "Foo"); local 291 Method method = AllTypes.class.getMethod("objectFoo"); local 354 Method method = Class.class.getDeclaredMethod("newInstance"); local 364 Method method = Object.class.getDeclaredMethod("finalize"); local 372 Method method = local 382 Method method = Object.class.getMethod("toString"); local 391 Method method = Thread.class.getMethod("run"); local 397 Method method = Object.class.getMethod("notify"); local 407 Method method = Thread.class.getMethod("currentThread"); local [all...] |
/dalvik/vm/analysis/ |
Optimize.cpp | 30 * Virtual/direct calls to "method" are replaced with an execute-inline 34 Method* method; member in struct:InlineSub 40 static void optimizeMethod(Method* method, bool essentialOnly); 41 static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc, 43 static void rewriteJumboInstField(Method* method, u2* insns, 45 static void rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc) 81 Method* method = dvmFindInlinableMethod(ops[i].classDescriptor, local [all...] |
/dalvik/vm/reflect/ |
Proxy.cpp | 31 static bool returnTypesAreCompatible(Method* baseMethod, Method* subMethod); 32 static bool gatherMethods(ArrayObject* interfaces, Method*** pMethods,\ 34 static int copyWithoutDuplicates(Method** allMethods, int allCount, 35 Method** outMethods, ArrayObject* throws); 36 static bool createExceptionClassList(const Method* method, 38 static void updateExceptionClassList(const Method* method, PointerSet* throws); 39 static void createConstructor(ClassObject* clazz, Method* meth) [all...] |
/dalvik/vm/compiler/ |
Compiler.h | 86 bool methodCompilationAborted; // Cannot compile the whole method 93 kWorkOrderMethod = 1, // Work is to compile a whole method 107 /* Chain cell for predicted method invocation */ 111 const Method *method; /* to lookup native PC from dalvik PC */ member in struct:PredictedChainingCell 131 const Method* method; member in struct:__anon734 138 kIsLeaf, /* Method is leaf */ 139 kIsEmpty, /* Method is empty */ 140 kIsThrowFree, /* Method doesn't throw * 172 const Method *method; \/\/ Used as hash entry signature member in struct:CompilerMethodStats [all...] |