HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 201 - 225 of 2520) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
PoolMethod.java 37 import org.jf.dexlib2.iface.Method;
47 class PoolMethod extends BaseMethodReference implements Method {
48 @Nonnull private final Method method; field in class:PoolMethod
52 public static final Function<Method, PoolMethod> TRANSFORM = new Function<Method, PoolMethod>() {
53 @Override public PoolMethod apply(Method method) {
54 return new PoolMethod(method);
58 PoolMethod(@Nonnull Method method)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
InlineMethodResolver.java 35 import org.jf.dexlib2.iface.Method;
45 // These are the possible values for the accessFlag field on a resolved inline method
67 private static Method inlineMethod(int accessFlags, @Nonnull String cls, @Nonnull String name,
73 @Nonnull public abstract Method resolveExecuteInline(@Nonnull AnalyzedInstruction instruction);
77 private final Method[] inlineMethods;
80 inlineMethods = new Method[] {
100 public Method resolveExecuteInline(@Nonnull AnalyzedInstruction analyzedInstruction) {
113 private final Method[] inlineMethods;
114 private final Method indexOfIMethod;
115 private final Method indexOfIIMethod
    [all...]
  /device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
PchXhci.asl 30 Method(XDEP, 0)
44 Method(_PSW,1)
61 Method(_STA, 0)
92 Method(_UPC,0,Serialized)
104 Method(_PLD,0,Serialized)
137 Method(_UPC,0,Serialized)
143 Method(_PLD,0,Serialized)
173 Method(_UPC,0,Serialized)
186 Method(_PLD,0,Serialized)
215 Method(_UPC,0,Serialized)
    [all...]
Pch.asl 138 Method (_STA, 0x0, NotSerialized)
150 Method (_DIS, 0x0, NotSerialized)
170 Method (_CRS, 0x0, NotSerialized)
190 Method (_STA)
195 Method (_ON)
201 Method (_OFF)
220 Method (_STA, 0x0, NotSerialized)
232 Method (_DIS, 0x0, NotSerialized)
249 Method (_CRS, 0x0, NotSerialized)
275 Method (_STA)
    [all...]
  /external/proguard/src/proguard/optimize/info/
AccessMethodMarker.java 45 private Method invokingMethod;
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)
55 invokingMethod = method;
76 // Check the bootstrap method.
83 // Check the method reference.
142 private static void setAccessesPrivateCode(Method method)
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkMethods.java 24 import java.lang.reflect.Method;
42 static Type of(Method benchmarkMethod) {
51 throw new IllegalArgumentException("invalid method parameters: " + benchmarkMethod);
60 * <p>This method does not check the correctness of the argument types.
62 static boolean isTimeMethod(Method method) {
63 return method.getName().startsWith("time") && Util.isPublic(method);
67 * For instruments that use {@link #isTimeMethod} to identify their methods, this method checks
68 * the {@link Method} appropriately
    [all...]
BenchmarkClassModule.java 25 import java.lang.reflect.Method;
44 static ImmutableSet<Method> provideBeforeExperimentMethods(
51 static ImmutableSet<Method> provideAfterExperimentMethods(
  /external/guice/core/src/com/google/inject/internal/
MethodAspect.java 25 import java.lang.reflect.Method;
30 * Ties a matcher to a method interceptor.
37 private final Matcher<? super Method> methodMatcher;
48 Matcher<? super Method> methodMatcher, List<MethodInterceptor> interceptors) {
50 this.methodMatcher = checkNotNull(methodMatcher, "method matcher");
55 Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors) {
63 boolean matches(Method method) {
64 return methodMatcher.matches(method);
  /external/junit/src/main/java/org/junit/internal/runners/
ClassRoadie.java 4 import java.lang.reflect.Method;
54 List<Method> befores = testClass.getBefores();
55 for (Method before : befores) {
70 List<Method> afters = testClass.getAfters();
71 for (Method after : afters) {
TestMethod.java 4 import java.lang.reflect.Method;
21 private final Method method; field in class:TestMethod
24 public TestMethod(Method method, TestClass testClass) {
25 this.method = method;
30 return method.getAnnotation(Ignore.class) != null;
34 Test annotation = method.getAnnotation(Test.class);
43 Test annotation = method.getAnnotation(Test.class)
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ForwardsInvocations.java 12 import java.lang.reflect.Method;
33 Method mockMethod = invocation.getMethod();
36 Method delegateMethod = getDelegateMethod(mockMethod);
52 private Method getDelegateMethod(Method mockMethod) throws NoSuchMethodException {
54 // Compatible class. Return original method.
57 // Return method of delegate object with the same signature as mockMethod.
  /external/objenesis/main/src/main/java/org/objenesis/instantiator/android/
Android17Instantiator.java 20 import java.lang.reflect.Method;
36 private final Method newInstanceMethod;
54 private static Method getNewInstanceMethod() {
56 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod(
71 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod(
Android18Instantiator.java 20 import java.lang.reflect.Method;
36 private final Method newInstanceMethod;
54 private static Method getNewInstanceMethod() {
56 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod("newInstance",
71 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod("getConstructorId",
AndroidSerializationInstantiator.java 20 import java.lang.reflect.Method;
38 private final Method newInstanceMethod;
43 Method m = null;
73 private static Method getNewInstanceMethod() {
75 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod(
  /external/proguard/src/proguard/classfile/util/
SimplifiedVisitor.java 48 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
71 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
121 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
189 * Visits any type of method RefConstant of the given class.
234 throw new UnsupportedOperationException("Method must be overridden in ["+this.getClass().getName()+"] if ever called");
295 public void visitDeprecatedAttribute(Clazz clazz, Method method, DeprecatedAttribute deprecatedAttribute)
297 visitDeprecatedAttribute(clazz, (Member)method, deprecatedAttribute);
322 public void visitSyntheticAttribute(Clazz clazz, Method method, SyntheticAttribute syntheticAttribute
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericReflectionTestsBase.java 19 import java.lang.reflect.Method;
27 * Returns the type parameter of the declaring method.
29 * @param method
30 * the declaring method
31 * @return the type parameter of the method
33 public TypeVariable<Method> getTypeParameter(Method method) {
34 TypeVariable<Method>[] typeParameters = method.getTypeParameters()
    [all...]
  /external/proguard/src/proguard/classfile/visitor/
ClassCleaner.java 130 public void visitMethodParametersAttribute(Clazz clazz, Method method, MethodParametersAttribute methodParametersAttribute)
134 methodParametersAttribute.parametersAccept(clazz, method, this);
138 public void visitExceptionsAttribute(Clazz clazz, Method method, ExceptionsAttribute exceptionsAttribute)
146 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
150 codeAttribute.exceptionsAccept(clazz, method, this);
151 codeAttribute.attributesAccept(clazz, method, this);
155 public void visitStackMapAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, StackMapAttribute stackMapAttribute
    [all...]
  /art/test/071-dexfile-get-static-size/src/
Main.java 17 import java.lang.reflect.Method;
23 Method DexFile_loadDex = DexFile.getMethod("loadDex",
27 Method DexFile_getStaticSizeOfDexFile = DexFile.getMethod("getStaticSizeOfDexFile");
  /art/test/104-growth-limit/src/
Main.java 17 import java.lang.reflect.Method;
28 final Method get_runtime = vm_runtime.getDeclaredMethod("getRuntime");
30 final Method clear_growth_limit = vm_runtime.getDeclaredMethod("clearGrowthLimit");
  /art/test/622-simplifyifs-exception-edges/src/
Main.java 17 import java.lang.reflect.Method;
23 Method test = c.getDeclaredMethod("test", int[].class);
28 Method test2 = c.getDeclaredMethod("test2", int[].class, int.class);
  /art/test/663-checker-select-generator/src/
Main.java 17 import java.lang.reflect.Method;
50 Method m = c.getMethod("testCase", boolean.class);
51 Method m2 = c.getMethod("referenceTypeTestCase", Sub1.class, Sub2.class, boolean.class);
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
MacrobenchmarkAllocationWorker.java 24 import java.lang.reflect.Method;
29 * The {@link Worker} for the {@code AllocationInstrument}. This class invokes the benchmark method
37 @BenchmarkMethod Method method, AllocationRecorder recorder) {
38 super(benchmark, method);
51 private AllocationStats measureAllocations(Object benchmark, Method method) throws Exception {
53 method.invoke(benchmark);
  /external/guava/guava/src/com/google/common/eventbus/
AnnotatedSubscriberFinder.java 31 import java.lang.reflect.Method;
53 private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =
56 .build(new CacheLoader<Class<?>, ImmutableList<Method>>() {
58 public ImmutableList<Method> load(Class<?> concreteClass) throws Exception {
72 for (Method method : getAnnotatedMethods(clazz)) {
73 Class<?>[] parameterTypes = method.getParameterTypes();
75 EventSubscriber subscriber = makeSubscriber(listener, method);
81 private static ImmutableList<Method> getAnnotatedMethods(Class<?> clazz) {
93 MethodIdentifier(Method method)
    [all...]
  /external/guava/guava-tests/test/com/google/common/reflect/
ParameterTest.java 24 import java.lang.reflect.Method;
34 for (Method method : ParameterTest.class.getDeclaredMethods()) {
35 for (Parameter param : Invokable.from(method).getParameters()) {
43 for (Method method : ParameterTest.class.getDeclaredMethods()) {
44 for (Parameter param : Invokable.from(method).getParameters()) {
  /external/junit/src/main/java/org/junit/internal/matchers/
TypeSafeMatcher.java 3 import java.lang.reflect.Method;
32 for (Method method : MethodSorter.getDeclaredMethods(c)) {
33 if (isMatchesSafelyMethod(method)) {
34 return method.getParameterTypes()[0];
39 throw new Error("Cannot determine correct type for matchesSafely() method.");
42 private static boolean isMatchesSafelyMethod(Method method) {
43 return method.getName().equals("matchesSafely")
44 && method.getParameterTypes().length ==
    [all...]

Completed in 403 milliseconds

1 2 3 4 5 6 7 891011>>