/system/tools/aidl/ |
generate_java_binder.cpp | 72 Method* ctor = new Method; 89 Method* asBinder = new Method; 102 Method* onTransact = new Method; 126 Method* m = new Method; 203 Method* ctor = new Method; [all...] |
/art/test/005-annotations/src/android/test/anno/ |
TestAnnotations.java | 22 import java.lang.reflect.Method; 66 for (Method m: clazz.getDeclaredMethods()) { 71 System.out.println(" method parameter annotations:"); 137 Method meth; 153 /* while we're here, check isAnnotationPresent on Method */ 241 for (Method m: RenamedNoted.class.getDeclaredMethods()) { 259 private static Method getRuntimeMethod; 260 private static Method getTargetSdkVersionMethod; 261 private static Method setTargetSdkVersionMethod;
|
/external/libweave/examples/provider/ |
curl_http_client.cc | 60 SendRequestBlocking(CurlHttpClient::Method method, 68 switch (method) { 69 case CurlHttpClient::Method::kGet: 72 case CurlHttpClient::Method::kPost: 75 case CurlHttpClient::Method::kPatch: 76 case CurlHttpClient::Method::kPut: 78 weave::EnumToString(method).c_str())); 90 if (!data.empty() || method == CurlHttpClient::Method::kPost) [all...] |
/external/proguard/src/proguard/optimize/ |
TailRecursionSimplifier.java | 59 private Method targetMethod; 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 91 int accessFlags = method.getAccessFlags(); 93 if (// Only check the method if it is private, static, or final. 98 // Only check the method if it is not synchronized, etc. 105 // method.getName(clazz).equals("abc"); 107 targetMethod = method; 116 codeAttribute.instructionsAccept(clazz, method, this); 122 codeAttribute.exceptionsAccept(clazz, method, this) [all...] |
/external/proguard/src/proguard/preverify/ |
CodeSubroutineInliner.java | 64 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 68 // method.getName(clazz).equals("abc"); 72 // Catch any unexpected exceptions from the actual visiting method. 76 visitCodeAttribute0(clazz, method, codeAttribute); 82 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]"); 87 method.accept(clazz, new ClassPrinter()); 95 public void visitCodeAttribute0(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
AppCompatActionBar.java | 40 import java.lang.reflect.Method; 131 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); 139 Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); 152 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); 162 Method setHomeAsUp = getMethod(mWindowActionBarClass, 175 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { 185 private static Object invoke(Method method, Object owner, Object... args) { 187 return method == null ? null : method.invoke(owner, args) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ReflectionBenchmark.java | 21 import java.lang.reflect.Method; 94 Method m = klass.getDeclaredMethod("m"); 103 Method m = klass.getDeclaredMethod("sm"); 111 Method m = klass.getDeclaredMethod("setField", int.class); 120 Method m = klass.getDeclaredMethod("setField", int.class); 130 Method m = klass.getDeclaredMethod("setStaticField", int.class); 138 Method m = klass.getDeclaredMethod("setStaticField", int.class);
|
/art/test/031-class-attributes/src/ |
ClassAttrs.java | 9 import java.lang.reflect.Method; 127 Method meth; 129 System.out.println("method signature: " 165 assertTrue(AccessibleObject.class.isAssignableFrom(Method.class)); 166 assertFalse(Method.class.isAssignableFrom(AccessibleObject.class)); 196 assertTrue(AccessibleObject.class.isInstance(Method.class.getDeclaredMethods()[0])); 197 assertFalse(Method.class.isInstance(Method.class.getDeclaredFields()[0])); 223 Method method; local [all...] |
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliPositionManagerTest.java | 64 ".method public getRandomParentType(I)I\n" + 104 ".end method"; 166 @Override public Value invokeMethod(EvaluationContext evaluationContext, ObjectReference objRef, Method method, List args) throws EvaluateException { return null; } 167 @Override public Value invokeMethod(EvaluationContext evaluationContext, ClassType classType, Method method, List args) throws EvaluateException { return null; } 168 @Override public Value invokeInstanceMethod(EvaluationContext evaluationContext, ObjectReference objRef, Method method, List args, int invocationOptions) throws EvaluateException { return null; } 171 @Override public ObjectReference newInstance(EvaluationContext evaluationContext, ClassType classType, Method constructor, List paramList) throws EvaluateException { return null; } 208 @Override public List<Method> methods() { return null; [all...] |
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator.cpp | 28 Pseudolocalizer::Method method, 30 Pseudolocalizer localizer(method); 120 Pseudolocalizer::Method mMethod; 127 Visitor(StringPool* pool, Pseudolocalizer::Method method) : 128 mPool(pool), mMethod(method), mLocalizer(method) { 190 Pseudolocalizer::Method m) { 193 case Pseudolocalizer::Method::kAccent [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidClassTest.java | 21 import java.lang.reflect.Method; 55 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); local 56 method.invoke(new OldAndroidClassTest(), (Object[]) null); 61 Method method = helloClass.getDeclaredMethod("methodWithArgs", Object.class); local 65 Object ret = method.invoke(new OldAndroidClassTest(), invokeArgs); 71 Method method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null) local 128 public void method() { method in class:OldAndroidClassTest [all...] |
OldGenericTypesTest.java | 20 import java.lang.reflect.Method; 80 Method method = clazz.getDeclaredMethod("staticMethodGenericType", Object.class); local 81 Type[] genericParameterTypes = method.getGenericParameterTypes(); 86 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration()); 93 Method method = clazz.getDeclaredMethod("hidingMethodGenericType", Object.class); local 94 Type[] genericParameterTypes = method.getGenericParameterTypes(); 99 assertEquals(method, ((TypeVariable)parameterType).getGenericDeclaration()); 121 Method multipleGenericTypesT = clazz.getDeclaredMethod("multipleGenericTypesT", new Class[]{Object.class} (…) 216 Method method = clazz.getDeclaredMethod("exceptionTest"); local [all...] |
/art/test/115-native-bridge/src/ |
NativeBridgeMain.java | 17 import java.lang.reflect.Method; 71 private static native Method testGetMirandaMethodNative(); 74 Method m = testGetMirandaMethodNative();
|
/art/test/497-inlining-and-class-loader/src/ |
Main.java | 18 import java.lang.reflect.Method; 65 Method method = dex.getClass().getDeclaredMethod( local 69 Class clazz = (Class)method.invoke(dex, className, this, null); 96 Method m = foo.getDeclaredMethod("bar");
|
/art/test/542-unresolved-access-check/src/ |
Main.java | 18 import java.lang.reflect.Method; 57 Method method = dex.getClass().getDeclaredMethod( local 61 Class clazz = (Class)method.invoke(dex, className, this, null); 76 Method m = foo.getDeclaredMethod("main");
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
SerializerSwitcher.java | 32 import org.apache.xml.serializer.Method; 65 // System.out.println("transformer.getOutputPropertyNoDefault(OutputKeys.METHOD): "+ 66 // transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)); 67 // Access at level of hashtable to see if the method has been set. 68 if (null != transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)) 76 // defaults for the HTML method. The easiest way to do this is to 78 OutputProperties htmlOutputProperties = new OutputProperties(Method.HTML); 158 // System.out.println("transformer.getOutputPropertyNoDefault(OutputKeys.METHOD): "+ 159 // transformer.getOutputPropertyNoDefault(OutputKeys.METHOD)); 160 // Access at level of hashtable to see if the method has been set [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
MicrobenchmarkAllocationWorker.java | 23 import java.lang.reflect.Method; 31 * The {@link Worker} for the {@code AllocationInstrument}. This class invokes the benchmark method 42 * up in order for the method to be determined to be deterministic. 58 @BenchmarkMethod Method method, AllocationRecorder recorder, Random random) { 59 super(benchmark, method); 65 // do some initial measurements and throw away the results. this warms up the bootstrap method 66 // itself and also the method invocation path for calling that method. 68 // warm up the loop in the benchmark method [all...] |
/external/clang/lib/AST/ |
DeclObjC.cpp | 53 /// getIvarDecl - This method looks up an ivar in this ContextDecl. 66 // Get the local instance/class method declared in this interface. 79 // ensures we get the correct method. 96 /// \brief This routine returns 'true' if a user declared setter method was 99 /// property. This is because, user must provide a setter method for the 114 // for a user declared instance method. 133 // Also look into protocols, for a user declared instance method. 591 /// lookupInheritedClass - This method returns ObjCInterfaceDecl * of the super 621 /// lookupMethod - This method returns an instance/class method by looking i [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
DuckTypedPSKKeyManager.java | 19 import java.lang.reflect.Method; 46 * @throws NoSuchMethodException if {@code obj} does not implement a method of the 51 for (Method targetMethod : PSKKeyManager.class.getMethods()) { 55 // Check that obj exposes the target method (same name and parameter types) 56 Method sourceMethod = 58 // Check that the return type of obj's method matches the target method.
|
/external/guava/guava/src/com/google/common/base/internal/ |
Finalizer.java | 24 import java.lang.reflect.Method; 59 * Starts the Finalizer thread. FinalizableReferenceQueue calls this method 66 * its close() method is called. 144 Method finalizeReferentMethod = getFinalizeReferentMethod(); 171 * CPU looking up the Method over and over again. 178 * Looks up FinalizableReference.finalizeReferent() method. 180 private Method getFinalizeReferentMethod() {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListListIteratorTester.java | 35 import java.lang.reflect.Method; 111 * Returns the {@link Method} instance for 119 public static Method getListIteratorFullyModifiableMethod() { 125 * Returns the {@link Method} instance for 130 public static Method getListIteratorUnmodifiableMethod() {
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletTestUtils.java | 10 import java.lang.reflect.Method; 32 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 102 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 103 String name = method.getName();
|
/external/jcommander/src/main/java/com/beust/jcommander/ |
WrappedParameter.java | 4 import java.lang.reflect.Method; 86 Method m; 100 private Method findPut(Class<?> cls) throws SecurityException, NoSuchMethodException {
|
/external/jetty/src/java/org/eclipse/jetty/util/ajax/ |
JSONPojoConvertor.java | 23 import java.lang.reflect.Method; 57 protected Map<String,Method> _getters = new HashMap<String,Method>(); 112 Method[] methods = _pojoClass.getMethods(); 115 Method m=methods[i]; 149 protected void addGetter(String name, Method method) 151 _getters.put(name, method); 155 protected void addSetter(String name, Method method) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MixinEmitter.java | 18 import java.lang.reflect.Method; 63 Method[] methods = getMethods(classes[i]); 66 MethodInfo method = ReflectUtils.getMethodInfo(methods[j]); local 67 e = EmitUtils.begin_method(this, method, Constants.ACC_PUBLIC); 71 e.checkcast(method.getClassInfo().getType()); 73 e.invoke(method); 87 protected Method[] getMethods(Class type) {
|