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

1 2 3 4 5 6 7 891011>>

  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
BitmapUtils.java 30 import java.lang.reflect.Method;
198 Method method = clazz.getMethod("setDataSource", String.class); local
199 method.invoke(instance, filePath);
201 // The method name changes between API Level 9 and 10.
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericMethodsTests.java 20 import java.lang.reflect.Method;
52 * Tests whether the specified method declares a type parameter T.
53 * @param method the method
55 private void checkTypeParameter(Method method) {
56 TypeVariable<Method> typeParameter = getTypeParameter(method);
58 assertEquals(method, typeParameter.getGenericDeclaration());
62 * Tests whether the specified method declares a parameter with th
87 Method method = clazz.getMethod("noParamNoReturn"); local
92 Method method = clazz.getMethod("paramNoReturn", Object.class); local
98 Method method = clazz.getMethod("noParamReturn"); local
104 Method method = clazz.getMethod("paramReturn", Object.class); local
    [all...]
WildcardTypeTest.java 20 import java.lang.reflect.Method;
55 * @param method the declaring method
57 private void checkBoundedTypeParameter(Method method) {
58 TypeVariable<Method> typeParameter = getTypeParameter(method);
60 assertEquals(method, typeParameter.getGenericDeclaration());
68 private void checkLowerBoundedParameter(Method method) {
125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local
145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodTest.java 19 import java.lang.reflect.Method;
25 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); local
26 Class[] exceptions = method.getExceptionTypes();
31 exceptions = method.getExceptionTypes();
38 Method method = MethodTestHelper.class.getMethod("m2", expectedParameters); local
39 Class[] parameters = method.getParameterTypes();
44 parameters = method.getParameterTypes();
88 Method m1 = MethodTestHelper.class.getMethod("m1", (Class[]) null)
106 Method method = Super.class.getDeclaredMethod("a"); local
131 Method method = anonymous.getClass().getMethod("a"); local
140 Method method = anonymous.getClass().getMethod("a"); local
161 Method method = anonymous.getClass().getDeclaredMethod("a"); local
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BitmapUtils.java 30 import java.lang.reflect.Method;
198 Method method = clazz.getMethod("setDataSource", String.class); local
199 method.invoke(instance, filePath);
201 // The method name changes between API Level 9 and 10.
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.11/
proguard-base-4.11.jar 
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.10/
proguard-base-4.10.jar 
  /prebuilts/tools/common/m2/repository/net/sf/proguard/proguard-base/4.9/
proguard-base-4.9.jar 
  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidMockGeneratorTest.java 27 import java.lang.reflect.Method;
109 for (CtMethod method : methods) {
110 methodNames.add(method.getName());
176 private List<String> getMethodSignatures(Method[] methods) {
178 for (Method method : methods) {
179 if (getAndroidMockGenerator().isMockable(method)) {
180 methodSignatures.add(method.toGenericString());
205 Method method = Object.class.getMethod("equals", Object.class) local
212 Method method = Class.class.getDeclaredMethod("newInstance"); local
220 Method method = Object.class.getDeclaredMethod("finalize"); local
227 Method method = Object.class.getMethod("toString"); local
234 Method method = Thread.class.getMethod("run"); local
239 Method method = Object.class.getMethod("notify"); local
249 Method method = Thread.class.getMethod("currentThread"); local
271 Method method = Object.class.getMethod("equals", Object.class); local
285 Method method = AllTypes.class.getMethod(returnTypes[i] + "Foo"); local
291 Method method = AllTypes.class.getMethod("objectFoo"); local
354 Method method = Class.class.getDeclaredMethod("newInstance"); local
364 Method method = Object.class.getDeclaredMethod("finalize"); local
372 Method method = local
382 Method method = Object.class.getMethod("toString"); local
391 Method method = Thread.class.getMethod("run"); local
397 Method method = Object.class.getMethod("notify"); local
407 Method method = Thread.class.getMethod("currentThread"); local
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
MethodDefinition.java 65 @Nonnull public final Method method; field in class:MethodDefinition
77 public MethodDefinition(@Nonnull ClassDefinition classDef, @Nonnull Method method,
80 this.method = method;
87 methodParameters = ImmutableList.copyOf(method.getParameters());
128 methodString = ReferenceUtil.getMethodDescriptor(method);
130 throw ExceptionWithContext.withContext(ex, "Error while processing method");
132 throw ExceptionWithContext.withContext(ex, "Error while processing method %s", methodString)
    [all...]
  /prebuilts/tools/common/m2/repository/org/parboiled/parboiled-java/1.0.2/
parboiled-java-1.0.2.jar 
  /art/compiler/driver/
compiler_driver_test.cc 50 void EnsureCompiled(jobject class_loader, const char* class_name, const char* method,
61 mid_ = env_->GetMethodID(class_, method, signature);
63 mid_ = env_->GetStaticMethodID(class_, method, signature);
65 CHECK(mid_ != nullptr) << "Method not found: " << class_name << "." << method << signature;
127 ArtMethod* method = dex_cache->GetResolvedMethod(i, pointer_size); local
128 EXPECT_TRUE(method != nullptr) << "method_idx=" << i
131 EXPECT_TRUE(method->GetEntryPointFromQuickCompiledCode() != nullptr) << "method_idx=" << i
145 // TODO: check that all Method::GetCode() values are non-null
  /art/runtime/interpreter/
unstarted_runtime_test.cc 57 ArtMethod* method, \
62 interpreter::UnstartedRuntime::UnstartedJNI ## Name(self, method, receiver, args, result); \
256 ArtMethod* method = klass->FindDeclaredDirectMethod("<init>", "(Ljava/lang/String;)V", local
259 // create instruction data for invoke-direct {v0, v1} of method with fake index
264 ShadowFrame* shadow_frame = ShadowFrame::CreateDeoptimizedFrame(10, nullptr, method, 0);
271 interpreter::DoCall<false, false>(method, self, *shadow_frame, inst, inst_data[0], &result);
  /art/runtime/mirror/
throwable.cc 82 // The format is [method pointers][pcs] so the depth is half the length (see method
100 // Decode the internal stack trace into the depth and method trace
101 // Format is [method pointers][pcs]
111 ArtMethod* method = method_trace->GetElementPtrSize<ArtMethod*>(i, ptr_size); local
113 int32_t line_number = method->GetLineNumFromDexPC(dex_pc);
114 const char* source_file = method->GetDeclaringClassSourceFile();
115 result += StringPrintf(" at %s (%s:%d)\n", PrettyMethod(method, true).c_str(),
135 method_name != nullptr ? method_name->ToModifiedUtf8().c_str() : "<unknown method>",
  /art/runtime/quick/
inline_method_analyser.cc 31 * only to allow the debugger to check whether a method has been inlined.
71 // we need to be able to detect possibly inlined method, we pass a null inline method to indicate
74 InlineMethod* method) {
76 DCHECK_EQ(Runtime::Current()->IsCompiler(), method != nullptr);
78 DCHECK_EQ(verifier->CanLoadClasses(), method != nullptr);
89 if (method != nullptr) {
90 method->opcode = kInlineOpNop;
91 method->flags = kInlineSpecial;
92 method->d.data = 0u
334 ArtMethod* method = dex_cache->GetResolvedMethod(method_idx, cl->GetImagePointerSize()); local
    [all...]
  /art/runtime/
reflection_test.cc 84 void ReflectionTestMakeExecutable(ArtMethod** method,
110 *method = is_static ? c->FindDirectMethod(method_name, method_signature, sizeof(void*))
112 CHECK(method != nullptr);
133 ArtMethod* method; local
135 ReflectionTestMakeExecutable(&method, &receiver, is_static, "nop", "()V");
137 InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), nullptr);
142 ArtMethod* method; local
144 ReflectionTestMakeExecutable(&method, &receiver, is_static, "identity", "(B)B");
149 JValue result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args);
153 result = InvokeWithJValues(soa, receiver_ref.get(), soa.EncodeMethod(method), args)
167 ArtMethod* method; local
192 ArtMethod* method; local
217 ArtMethod* method; local
246 ArtMethod* method; local
285 ArtMethod* method; local
329 ArtMethod* method; local
378 ArtMethod* method; local
412 ArtMethod* method; local
439 ArtMethod* method; local
469 ArtMethod* method; local
518 ArtMethod* method = klass->FindDirectMethod("main", "([Ljava\/lang\/String;)V", sizeof(void*)); local
    [all...]
  /bootable/recovery/applypatch/
imgpatch.c 121 int method = Read4(deflate_header+44); local
209 ret = deflateInit2(&strm, level, method, windowBits, memLevel, strategy);
  /cts/tests/tests/text/src/android/text/method/cts/
ArrowKeyMovementMethodTest.java 17 package android.text.method.cts;
27 import android.text.method.ArrowKeyMovementMethod;
28 import android.text.method.MetaKeyKeyListener;
29 import android.text.method.MovementMethod;
105 * The text view will not get layout in setContent method but in other
167 fail("The method did not throw NullPointerException when param textView is null.");
174 fail("The method did not throw NullPointerException when param spannable is null.");
540 fail("The method did not throw NullPointerException when layout of the view is null.");
640 fail("The method did not throw NullPointerException when param textView is null.");
648 fail("The method did not throw NullPointerException when param spannable is null.")
663 ArrowKeyMovementMethod method = new ArrowKeyMovementMethod(); local
702 ArrowKeyMovementMethod method = new ArrowKeyMovementMethod(); local
    [all...]
DialerKeyListenerTest.java 17 package android.text.method.cts;
22 import android.text.method.cts.KeyListenerTestCase;
23 import android.text.method.DialerKeyListener;
27 * Test {@link android.text.method.DialerKeyListener}.
80 * A mocked {@link android.text.method.DialerKeyListener} for testing purposes.
83 * {@link android.text.method.DialerKeyListener#getAcceptedChars()} and
84 * {@link android.text.method.DialerKeyListener#lookup(KeyEvent, Spannable)}.
QwertyKeyListenerTest.java 17 package android.text.method.cts;
23 import android.text.method.cts.KeyListenerTestCase;
24 import android.text.method.QwertyKeyListener;
25 import android.text.method.TextKeyListener;
26 import android.text.method.TextKeyListener.Capitalize;
TouchTest.java 17 package android.text.method.cts;
27 import android.text.method.Touch;
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
EncodedMethod.java 31 * Class that representats a method of a class.
35 /** {@code non-null;} constant for the method */
36 private final CstMethodRef method; field in class:EncodedMethod
39 * {@code null-ok;} code for the method, if the method is neither
47 * @param method {@code non-null;} constant for the method
49 * @param code {@code null-ok;} code for the method, if it is neither
54 public EncodedMethod(CstMethodRef method, int accessFlags,
58 if (method == null)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
ConcreteMethod.java 25 import com.android.dx.cf.iface.Method;
34 * Container for all the giblets that make up a concrete Java bytecode method.
35 * It implements {@link Method}, so it provides all the original access
37 * stuff extracted from the method's {@code Code} attribute.
39 public final class ConcreteMethod implements Method {
40 /** {@code non-null;} method being wrapped */
41 private final Method method; field in class:ConcreteMethod
50 * whether the class that this method is part of is defined with
67 * @param method {@code non-null;} the method to be based o
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
EncodedMethod.java 30 * Class that representats a method of a class.
34 /** {@code non-null;} constant for the method */
35 private final CstMethodRef method; field in class:EncodedMethod
38 * {@code null-ok;} code for the method, if the method is neither
46 * @param method {@code non-null;} constant for the method
48 * @param code {@code null-ok;} code for the method, if it is neither
53 public EncodedMethod(CstMethodRef method, int accessFlags,
57 if (method == null)
    [all...]
  /dalvik/dx/src/com/android/dx/ssa/
LocalVariableExtractor.java 28 * a method. Stolen and retrofitted from
35 /** {@code non-null;} method being extracted from */
36 private final SsaMethod method; field in class:LocalVariableExtractor
38 /** {@code non-null;} block list for the method */
48 * Extracts out all the local variable information from the given method.
50 * @param method {@code non-null;} the method to extract from
53 public static LocalVariableInfo extract(SsaMethod method) {
54 LocalVariableExtractor lve = new LocalVariableExtractor(method);
59 * Constructs an instance. This method is private. Use {@link #extract}
    [all...]

Completed in 363 milliseconds

1 2 3 4 5 6 7 891011>>