/cts/libs/deviceutil/src/android/cts/util/ |
BitmapUtils.java | 27 import java.lang.reflect.Method; 82 Method methodGetBitmap = wmClass.getDeclaredMethod("getBitmap", noparams);
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 40 private ClassData.Method currentMethod; 105 // find the strings in method bodies 106 for (ClassData.Method method : classData.allMethods()) { 107 currentMethod = method; 108 if (method.getCodeOffset() != 0) { 109 codeReader.visitAll(dex.readCode(method).getInstructions());
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
Parsers.java | 24 import java.lang.reflect.Method; 59 final Method method = wrappedResultType.getDeclaredMethod(methodName, String.class); local 61 if (Util.isStatic(method) && wrappedResultType.isAssignableFrom(method.getReturnType())) { 62 method.setAccessible(true); // to permit inner enums, etc. 65 return wrappedResultType.cast(method.invoke(null, input));
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
xml_interface_parser.cc | 23 const char XmlInterfaceParser::kMethodTag[] = "method"; 41 "org.chromium.DBus.Method.Const"; 45 "org.chromium.DBus.Method.IncludeDBusMessage"; 47 const char XmlInterfaceParser::kMethodKind[] = "org.chromium.DBus.Method.Kind"; 117 std::vector<Interface::Method>{}, 126 Interface::Method(GetValidatedElementName(attributes, element_path_))); 155 // Parse method annotations... 156 Interface::Method& method = interfaces_.back().methods.back(); local 159 method.is_const = (value == kTrue) [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
DummyProxy.java | 29 import java.lang.reflect.Method; 36 * Generates a dummy interface proxy that simply returns a dummy value for each method. 71 Object proxy, Method method, Object[] args) { 72 Invokable<?, ?> invokable = interfaceType.method(method); 80 return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
|
/external/guice/core/src/com/google/inject/ |
Binder.java | 31 import java.lang.reflect.Method; 46 * method-level javadocs</b>. Instead, you should consult the series of 140 * and method injection for this instance, but any injectable constructor on 199 * you can learn how to use these in the usual way, from the method 210 * Binds method interceptor[s] to methods matched by class and method matchers. A method is 214 * <li>Guice created the instance the method is on</li> 215 * <li>Neither the enclosing type nor the method is final</li> 216 * <li>And the method is package-private, protected, or public</li [all...] |
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaLocalTxnInterceptor.java | 26 import java.lang.reflect.Method; 60 // Allow 'joining' of transactions if there is an enclosing @Transactional method. 89 // interferes with the advised method's throwing semantics) 104 // TODO(dhanji): Cache this method's results. 107 Method method = methodInvocation.getMethod(); local 110 transactional = method.getAnnotation(Transactional.class); 112 // If none on method, try the class. 126 * @param transactional The metadata annotaiton of the method
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
ModuleTest.java | 10 import java.lang.reflect.Method; 59 Method method = getClass() local 63 .getName(), method).setNext(target); 96 * TestFmwk calls this before trying to invoke a test method. The method is 97 * valid if there is test data with the name of this method in the module. 107 * Override of TestFmwk method to get the test suite description from the 119 * Override of TestFmwk method to get the test method description from th [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
ModuleTest.java | 9 import java.lang.reflect.Method; 58 Method method = getClass() local 62 .getName(), method).setNext(target); 95 * TestFmwk calls this before trying to invoke a test method. The method is 96 * valid if there is test data with the name of this method in the module. 106 * Override of TestFmwk method to get the test suite description from the 118 * Override of TestFmwk method to get the test method description from th [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/junit/src/org/junit/experimental/theories/ |
ParameterSignature.java | 8 import java.lang.reflect.Method; 14 public static ArrayList<ParameterSignature> signatures(Method method) { 15 return signatures(method.getParameterTypes(), method
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationImpl.java | 15 import java.lang.reflect.Method; 19 * Method call on a mock object. 32 private final MockitoMethod method; field in class:InvocationImpl 44 this.method = mockitoMethod; 57 public Method getMethod() { 58 return method.getJavaMethod(); 80 return this.mock.equals(other.mock) && this.method.equals(other.method) && this.equalArguments(other.arguments);
|
/external/opencv3/samples/gpu/ |
bgfg_segm.cpp | 15 enum Method 28 "{ m method | mog | method (mog, mog2, gmg, fgd) }" 40 string method = cmd.get<string>("method"); local 42 if (method != "mog" 43 && method != "mog2" 44 && method != "gmg" 45 && method != "fgd") 47 cerr << "Incorrect method" << endl [all...] |
/external/proguard/src/proguard/classfile/util/ |
EnumFieldReferenceInitializer.java | 109 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 112 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
|
/external/proguard/src/proguard/optimize/evaluation/ |
SimpleEnumClassSimplifier.java | 133 // Remove the valueOf method, if present. 134 Method valueOfMethod = 153 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 159 codeAttribute.instructionsAccept(clazz, method, instructionSequenceReplacer); 162 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute);
|
/external/proguard/src/proguard/optimize/info/ |
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/proguard/src/proguard/optimize/peephole/ |
MethodInliner.java | 138 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 140 // TODO: Remove this when the method inliner has stabilized. 141 // Catch any unexpected exceptions from the actual visiting method. 145 visitCodeAttribute0(clazz, method, codeAttribute); 149 System.err.println("Unexpected error while inlining method:"); 151 System.err.println(" Target method = ["+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass)+"]"); 155 System.err.println(" Inlined method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]") [all...] |
/external/proguard/src/proguard/shrink/ |
UsagePrinter.java | 157 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 159 codeAttribute.attributesAccept(clazz, method, this); 163 public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute)
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
GeneratedMessage.java | 43 import java.lang.reflect.Method; 749 // we need to change the following write method to write cached [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 17 import java.lang.reflect.Method; 95 throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-safe."); 126 System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" + 293 private Method method; field in class:ShadowWrangler.InvocationPlan 308 public Method getMethod() { 309 return method; 317 // method is loaded by another class loader. So do everything reflectively. 318 Annotation[] annos = method.getAnnotations(); 323 Method m = (annos[i]).getClass().getMethod("i18nSafe") 403 Method method = null; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothAvrcpFacade.java | 20 import java.lang.reflect.Method; 91 Method m = sAvrcpProfile.getClass().getMethod("close");
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
RpcReceiverManager.java | 20 import java.lang.reflect.Method; 86 public Object invoke(Class<? extends RpcReceiver> clazz, Method method, Object[] args) 89 return method.invoke(object, args);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
ReflectionConstructor.java | 39 import org.jf.dexlib2.iface.Method; 50 public class ReflectionConstructor extends BaseMethodReference implements Method { 58 final Constructor method = this.constructor; local 60 private final Class[] parameters = method.getParameterTypes();
|
/external/testng/src/main/java/org/testng/internal/ |
PropertyUtils.java | 10 import java.lang.reflect.Method; 79 Method method = propDesc.getWriteMethod(); local 81 method.invoke(instance, new Object[]{value});
|