/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
ArbitraryMeasurementWorker.java | 27 import java.lang.reflect.Method; 42 @BenchmarkMethod Method method, 44 super(benchmark, method); 46 ArbitraryMeasurement annotation = method.getAnnotation(ArbitraryMeasurement.class);
|
/external/caliper/examples/src/main/java/examples/ |
DoubleToStringBenchmark.java | 26 @Param Method method; field in class:DoubleToStringBenchmark 28 public enum Method { 86 dummy += method.convert(d).length(); 95 dummy += method.convert(d).length();
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
util_unittest.py | 35 def Method(self): 38 util.WaitFor(Test().Method, 0.1)
|
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
RootFinder.java | 24 import java.lang.reflect.Method; 46 Method getMethod = clazz.getMethod(instanceMethod); 60 throw new DroidDriverException(String.format("could not find method: %s on %s", 64 "reflective setup failed using obj: %s method: %s field: %s", windowManagerClassName, 68 "reflective setup failed using obj: %s method: %s field: %s", windowManagerClassName,
|
/external/easymock/src/org/easymock/internal/ |
ReplayState.java | 19 import java.lang.reflect.Method;
136 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) {
159 "This method must not be called in replay state."));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetCountTester.java | 31 import java.lang.reflect.Method; 88 * Returns {@link Method} instances for the read tests that assume multisets 93 public static List<Method> getCountDuplicateInitializingMethods() {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListAddTester.java | 29 import java.lang.reflect.Method; 53 * throw regardless, but it keeps the method name accurate. 76 * Returns the {@link Method} instance for 81 public static Method getAddSupportedNullPresentMethod() {
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
FeatureEnumTest.java | 25 import java.lang.reflect.Method; 54 Method method = null; local 56 method = annotationClass.getMethod(propertyName); 61 final Class<?> returnType = method.getReturnType();
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 10 import java.lang.reflect.Method; 52 Method meth = data2.getClass().getDeclaredMethod("writeReplace", new Class[0]);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
PutStreamIntegrationTest.java | 60 Method method = session.getMethod(); local 73 String response = String.valueOf(method) + ':' + new String(body); 78 public Response serve(String uri, Method method, Map<String, String> headers, Map<String, String> parms, Map<String, String> files) {
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
ExamplesTest.java | 35 import java.lang.reflect.Method; 58 Method main;
|
/external/proguard/src/proguard/classfile/ |
Clazz.java | 163 * Returns the method with the given name and descriptor. 165 Method findMethod(String name, String descriptor); 243 * Lets the given member info visitor visit the specified method. 248 * Returns whether the given method may possibly have implementing or 250 * if the class is not final, and the method is not private, static, or 252 * @param method the method that may have implementations. 255 public boolean mayHaveImplementations(Method method);
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
MoreZeroFrame.java | 78 public void additionalVariablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VerificationTypeVisitor verificationTypeVisitor) 82 additionalVariables[index].accept(clazz, method, codeAttribute, offset, verificationTypeVisitor); 95 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor) 97 stackMapFrameVisitor.visitMoreZeroFrame(clazz, method, codeAttribute, offset, this);
|
/external/proguard/src/proguard/obfuscate/ |
MappingPrinter.java | 135 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 137 codeAttribute.attributesAccept(clazz, method, this); 141 public void visitLineNumberTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LineNumberTableAttribute lineNumberTableAttribute)
|
/external/proguard/src/proguard/optimize/evaluation/ |
LoadingInvocationUnit.java | 118 Method method, 125 // Retrieve the stored method parameter value. 126 Value value = StoringInvocationUnit.getMethodParameterValue(method, parameterIndex); 134 method, 147 // Do we know this method? 151 // Retrieve the stored method return value. 152 Value value = StoringInvocationUnit.getMethodReturnValue((Method)referencedMember);
|
/external/proguard/src/proguard/optimize/info/ |
NonPrivateMemberMarker.java | 51 // Explicitly mark the <clinit> method. 56 // Explicitly mark the parameterless <init> method. 152 private static void markCanNotBeMadePrivate(Method method) 154 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method); 163 * Returns whether the given method can be made private. 165 public static boolean canBeMadePrivate(Method method) 167 MethodOptimizationInfo info = MethodOptimizationInfo.getMethodOptimizationInfo(method);
|
/external/proguard/src/proguard/optimize/peephole/ |
TargetClassChanger.java | 133 // TODO: Maybe restore private method references. 252 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 255 codeAttribute.attributesAccept(clazz, method, this); 259 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 262 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this); 266 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) 269 localVariableTypeTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowListActivity.java | 13 import java.lang.reflect.Method; 48 Method handler = realActivity.getClass().getDeclaredMethod("onListItemClick",
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
FacadeManager.java | 30 import java.lang.reflect.Method; 60 public Object invoke(Class<? extends RpcReceiver> clazz, Method method, Object[] args) 63 if (method.isAnnotationPresent(RpcDeprecated.class)) { 64 String replacedBy = method.getAnnotation(RpcDeprecated.class).value(); 65 String title = method.getName() + " is deprecated"; 67 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { 68 int requiredSdkLevel = method.getAnnotation(RpcMinSdk.class).value(); 71 method.getName(), requiredSdkLevel, mSdkLevel)); 74 return super.invoke(clazz, method, args) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderMethod.java | 35 import org.jf.dexlib2.iface.Method; 43 public class BuilderMethod extends BaseMethodReference implements Method {
|
/external/testng/src/main/java/org/testng/ |
ITestNGMethod.java | 8 import java.lang.reflect.Method;
13 * Describes a TestNG annotated method and the instance on which it will be invoked.
22 * @return The real class on which this method was declared
24 * the test method was defined in a superclass).
31 * Sets the test class having this method. This is not necessarily the declaring class.
33 * @param cls The test class having this method.
38 * @return the corresponding Java test method.
39 * @deprecated This method is deprecated and can now return null. Use
43 Method getMethod();
46 * Returns the method name. This is needed for serialization because [all...] |
/external/testng/src/test/java/test/tmp/verify/ |
VerifyInterceptor.java | 11 import java.lang.reflect.Method; 24 * - Insert these verify methods after each method passed in parameter 52 for (final Method m : realClass.getDeclaredMethods()) {
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
JavaTypeUtil.java | 22 import java.lang.reflect.Method; 33 Method method = ((JavaMethod) modelMethod).mMethod; local 35 sb.append(method.getName()); 37 for (Class param : method.getParameterTypes()) { 41 sb.append(getDescription(method.getReturnType()));
|
/frameworks/volley/src/test/java/com/android/volley/ |
RequestTest.java | 51 super(Request.Method.GET, "", null); 85 super(Request.Method.GET, url, null);
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
MockRequest.java | 31 super(Request.Method.GET, "http://foo.com", null); 35 super(Request.Method.GET, url, listener);
|