HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 126 - 150 of 1414) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/proguard/src/proguard/optimize/
ParameterShrinker.java 81 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
84 int oldParameterSize = ParameterUsageMarker.getParameterSize(method);
88 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz),
89 method.getAccessFlags());
98 System.out.println("ParameterShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz));
113 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex))
129 // Visit the method, if required.
132 method.accept(clazz, extraVariableMemberVisitor)
    [all...]
  /external/proguard/src/proguard/optimize/peephole/
VariableShrinker.java 79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
81 if ((method.getAccessFlags() & ClassConstants.ACC_ABSTRACT) == 0)
85 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz),
86 method.getAccessFlags());
93 System.out.println("VariableShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz));
99 variableUsageMarker.visitCodeAttribute(clazz, method, codeAttribute);
117 // Visit the method, if required.
120 method.accept(clazz, extraVariableMemberVisitor)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
MethodRewriter.java 36 import org.jf.dexlib2.iface.Method;
45 public class MethodRewriter implements Rewriter<Method> {
52 @Nonnull @Override public Method rewrite(@Nonnull Method value) {
56 protected class RewrittenMethod extends BaseMethodReference implements Method {
57 @Nonnull protected Method method; field in class:MethodRewriter.RewrittenMethod
59 public RewrittenMethod(@Nonnull Method method) {
60 this.method = method
    [all...]
  /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/test/java/org/jf/dexlib2/analysis/
CustomMethodInlineTableTest.java 63 ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PUBLIC.getValue(), null, local
67 null, null, null, null, null, ImmutableList.of(method));
74 MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver);
80 Assert.assertEquals(method, methodReference);
90 ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.STATIC.getValue(), null, local
94 null, null, null, null, ImmutableList.of(method), null);
101 MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver);
107 Assert.assertEquals(method, methodReference);
117 ImmutableMethod method = new ImmutableMethod("Lblah;", "blah", null, "V", AccessFlags.PRIVATE.getValue(), null, local
121 null, null, null, null, ImmutableList.of(method), null)
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
InputBindResult.java 24 * Bundle of information returned by input method manager about a successful
25 * binding to an input method.
31 * The input method service.
33 public final IInputMethodSession method; field in class:InputBindResult
41 * The ID for this input method, as found in InputMethodInfo; null if
42 * no input method will be bound.
58 method = _method;
66 method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
79 return "InputBindResult{" + method + " " + id
93 dest.writeStrongInterface(method);
    [all...]
  /frameworks/base/media/mca/filterfw/jni/
jni_util.cpp 137 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "booleanValue", "()Z"); local
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0);
140 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "intValue", "()I"); local
141 result = MakeIntValue(env->CallIntMethod(object, method));
143 jmethodID method = env->GetMethodID(env->GetObjectClass(object), "floatValue", "()F"); local
144 result = MakeFloatValue(env->CallFloatMethod(object, method));
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ViewUtils.java 26 import java.lang.reflect.Method;
34 private static Method sComputeFitSystemWindowsMethod;
45 Log.d(TAG, "Could not find method computeFitSystemWindows. Oh well.");
69 * Allow calling the hidden method {@code computeFitSystemWindows(Rect, Rect)} through
83 * Allow calling the hidden method {@code makeOptionalFitsSystem()} through reflection on
90 // and ViewGroup implement the method
91 Method method = view.getClass().getMethod("makeOptionalFitsSystemWindows"); local
92 if (!method.isAccessible()) {
93 method.setAccessible(true)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/
FmActivityToLayoutMethodTest.java 30 FmActivityToLayoutMethod method = new FmActivityToLayoutMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmCamelCaseToUnderscoreMethodTest.java 30 FmCamelCaseToUnderscoreMethod method = new FmCamelCaseToUnderscoreMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmEscapeXmlAttributeMethodTest.java 30 FmEscapeXmlAttributeMethod method = new FmEscapeXmlAttributeMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmLayoutToActivityMethodTest.java 30 FmLayoutToActivityMethod method = new FmLayoutToActivityMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmSlashedPackageNameMethodTest.java 30 FmSlashedPackageNameMethod method = new FmSlashedPackageNameMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmUnderscoreToCamelCaseMethodTest.java 30 FmUnderscoreToCamelCaseMethod method = new FmUnderscoreToCamelCaseMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
  /external/javassist/src/test/test/javassist/bytecode/analysis/
AnalyzerTest.java 31 CtMethod method = clazz.getDeclaredMethod("commonSuperArray"); local
32 verifyArrayLoad(clazz, method, "java.lang.Number");
38 CtMethod method = clazz.getDeclaredMethod("commonInterfaceArray"); local
39 verifyArrayLoad(clazz, method, "java.io.Serializable");
43 CtMethod method = ClassPool.getDefault().getMethod( local
45 verifyReturn(method, "java.io.Serializable");
47 method = ClassPool.getDefault().getMethod(
49 verifyReturn(method, "java.io.Serializable");
51 method = ClassPool.getDefault().getMethod(
53 verifyReturn(method, getClass().getName() + "$Dummy$A")
57 CtMethod method = ClassPool.getDefault().getMethod( local
67 CtMethod method = ClassPool.getDefault().getMethod( local
149 CtMethod method = generateDeadCode(ClassPool.getDefault()); local
159 CtMethod method = generateInvalidCode(ClassPool.getDefault()); local
171 CtMethod method = generateCodeFalloff(ClassPool.getDefault()); local
183 CtMethod method = generateJsrMerge(ClassPool.getDefault()); local
190 CtMethod method = generateJsrMerge2(ClassPool.getDefault()); local
199 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local
219 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local
236 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local
251 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local
275 CtMethod method = new CtMethod(stringClass, "foo", new CtClass[0], clazz); local
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java 24 import java.lang.reflect.Method;
30 private Method method; field in class:AnnotatedElementBenchmark
35 method = Type.class.getMethod("method", String.class);
39 // get annotations by member type and method
55 method.getAnnotations();
61 method.getParameterAnnotations();
79 method.getAnnotation(Marker.class);
97 method.isAnnotationPresent(Marker.class)
154 @Marker public void method(@Marker String parameter) {} method in class:AnnotatedElementBenchmark.Type
    [all...]
  /art/compiler/optimizing/
intrinsics.cc 73 static Intrinsics GetIntrinsic(InlineMethod method) {
74 switch (method.opcode) {
77 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ?
80 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ?
85 switch (GetType(method.d.data, true)) {
91 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data;
95 switch (GetType(method.d.data, true)) {
103 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data;
119 return ((method.d.data & kIntrinsicFlagMin) == 0) ?
122 return ((method.d.data & kIntrinsicFlagMin) == 0)
340 InlineMethod method; local
    [all...]
  /art/dalvikvm/
dalvikvm.cc 31 // Determine whether or not the specified method is public.
35 fprintf(stderr, "Failed to get reflected method\n");
38 // We now have a Method instance. We need to call its
39 // getModifiers() method.
40 jclass method_class = env->FindClass("java/lang/reflect/Method");
42 fprintf(stderr, "Failed to find class java.lang.reflect.Method\n");
47 fprintf(stderr, "Failed to find java.lang.reflect.Method.getModifiers\n");
82 jmethodID method = env->GetStaticMethodID(klass.get(), "main", "([Ljava/lang/String;)V"); local
83 if (method == nullptr) {
89 // Make sure the method is public. JNI doesn't prevent us fro
    [all...]
  /art/runtime/
proxy_test.cc 24 #include "mirror/method.h"
52 // Builds the method array.
58 methods_count, soa.AddLocalReference<jclass>(mirror::Method::StaticClass()), nullptr);
62 // Fill the method array
63 ArtMethod* method = javaLangObject->FindDeclaredVirtualMethod( local
65 CHECK(method != nullptr);
68 mirror::Method::CreateFromArtMethod(soa.Self(), method)));
69 method = javaLangObject->FindDeclaredVirtualMethod("hashCode", "()I", sizeof(void*));
70 CHECK(method != nullptr)
    [all...]
  /art/test/124-missing-classes/src/
Main.java 42 MissingClass method() { method in class:Main.ClassWithMissingMethodReturnType
57 void method(MissingClass arg) {} method in class:Main.ClassWithMissingMethodParameterType
  /art/test/800-smali/src/
Main.java 18 import java.lang.reflect.Method;
128 Method[] methods = c.getDeclaredMethods();
131 // will give us the method we need to run.
132 Method method = null; local
133 for (Method m : methods) {
135 method = m;
140 if (method == null) {
141 errorReturn = new IllegalArgumentException("Could not find test method " +
147 if (Modifier.isStatic(method.getModifiers()))
    [all...]
  /build/tools/droiddoc/test/stubs/expected/com/android/stubs/
Parent.java 7 public void method(); method in interface:Parent.Interface
11 public int method(boolean b, char c, int i, long l, float f, double d) { throw new RuntimeException("Stub!"); } method in class:Parent
  /build/tools/droiddoc/test/stubs/src/com/android/stubs/
Parent.java 36 void method(); method in interface:Parent.Interface
46 public int method(boolean b, char c, int i, long l, float f, double d) { method in class:Parent
  /cts/tests/tests/text/src/android/text/method/cts/
DateKeyListenerTest.java 17 package android.text.method.cts;
20 import android.text.method.cts.KeyListenerTestCase;
21 import android.text.method.DateKeyListener;
26 * Test {@link android.text.method.DateKeyListener}.
104 * A mocked {@link android.text.method.DateKeyListener} for testing purposes.
107 * {@link android.text.method.DateKeyListener#getAcceptedChars()}.
DateTimeKeyListenerTest.java 17 package android.text.method.cts;
20 import android.text.method.cts.KeyListenerTestCase;
21 import android.text.method.DateTimeKeyListener;
122 * A mocked {@link android.text.method.DateTimeKeyListener} for testing purposes.
125 * {@link android.text.method.DateTimeKeyListener#getAcceptedChars()}.

Completed in 610 milliseconds

1 2 3 4 56 7 8 91011>>