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

<<11121314151617181920>>

  /external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java 41 import java.lang.reflect.Method;
87 * Ignore {@code method} in the tests that follow. Returns this object.
91 public NullPointerTester ignore(Method method) {
92 ignoredMembers.add(checkNotNull(method));
117 * Runs {@link #testMethod} on every static method of class {@code c} that has
122 for (Method method : minimalVisibility.getStaticMethods(c)) {
123 if (!isIgnored(method)) {
124 testMethod(null, method);
    [all...]
FreshValueGenerator.java 85 import java.lang.reflect.Method;
130 private static final ImmutableMap<Class<?>, Method> GENERATORS;
132 ImmutableMap.Builder<Class<?>, Method> builder =
134 for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
135 if (method.isAnnotationPresent(Generates.class)) {
136 builder.put(method.getReturnType(), method); typedefs
180 Method generator = GENERATORS.get(rawType);
191 // When a parameter of a @Generates method cannot be created
    [all...]
  /external/javassist/src/main/javassist/
CtConstructor.java 48 * @param declaring the class to which the created method is added.
82 * Javac compiler may produce a helper method.
84 * copies this helper method, the programmers have the responsiblity of
88 * @param src the source method.
89 * @param declaring the class to which the created method is added.
134 * then this method returns <code>"&lt;clinit&gt;"</code>.
145 * is the default one. This method returns true if the constructor
181 * of the super class. This method returns false if it
226 * @param src the method that the body is copied from.
279 /* This method is called by addCatch() in CtBehavior
350 CtMethod method = new CtMethod(null, declaring); local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/security/authentication/
DigestAuthenticator.java 323 final String method; field in class:DigestAuthenticator.Digest
336 method = m;
370 md.update(method.getBytes(StringUtil.__ISO_8859_1));
  /external/proguard/src/proguard/classfile/
LibraryClass.java 287 public Method findMethod(String name, String descriptor)
291 Method method = methods[index]; local
292 if (method != null &&
293 (name == null || method.getName(this).equals(name)) &&
294 (descriptor == null || method.getDescriptor(this).equals(descriptor)))
296 return method;
491 Method method = methods[index]; local
492 if (method != null
502 Method method = findMethod(name, descriptor); local
    [all...]
ProgramClass.java 340 public Method findMethod(String name, String descriptor)
344 Method method = methods[index]; local
345 if ((name == null || method.getName(this).equals(name)) &&
346 (descriptor == null || method.getDescriptor(this).equals(descriptor)))
348 return method;
523 Method method = findMethod(name, descriptor); local
524 if (method != null)
526 method.accept(this, memberVisitor)
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 25 import java.lang.reflect.Method;
351 throw new RuntimeException("Failed to deduce calling method name from stack trace");
355 Method method; local
357 method = getClass().getDeclaredMethod(invokedMethodName, Provider.class);
359 throw new AssertionFailedError("Failed to find per-Provider test method "
365 method.invoke(this, provider);
  /packages/apps/Messaging/src/android/support/v7/mms/
MmsNetworkManager.java 29 import java.lang.reflect.Method;
299 final Method method = mConnectivityManager.getClass().getMethod( local
301 if (method != null) {
302 return (Integer) method.invoke(
314 final Method method = mConnectivityManager.getClass().getMethod( local
316 if (method != null) {
317 method.invoke(
373 final Method method = cmClass.getDeclaredMethod("getMobileDataEnabled") local
    [all...]
  /prebuilts/tools/common/fest/
fest-reflect-1.2.jar 
  /dalvik/dx/src/com/android/dx/cf/code/
RopperMachine.java 19 import com.android.dx.cf.iface.Method;
58 * {@code non-null;} method constant for use in converting
70 /** {@code non-null;} method being converted */
71 private final ConcreteMethod method; field in class:RopperMachine
73 /** {@code non-null:} list of methods from the class whose method is being converted */
79 /** max locals of the method */
129 * @param method {@code non-null;} method being converted
132 * that defines {@code method}.
134 public RopperMachine(Ropper ropper, ConcreteMethod method,
    [all...]
  /external/javassist/src/main/javassist/compiler/
Javac.java 48 * @param thisClass the class that a compiled method/field
61 * @param thisClass the class that a compiled method/field
76 * Compiles a method, constructor, or field declaration
80 * <p>In a method or constructor body, $0, $1, ... and $_
164 CtMethod method = new CtMethod(rtype, r.getVariable().get(), local
166 method.setModifiers(mod);
167 gen.setThisMethod(method);
170 method.getMethodInfo().setCodeAttribute(
173 method.setModifiers(mod | Modifier.ABSTRACT);
175 method.setExceptionTypes(tlist)
525 final String method = methodname; local
    [all...]
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
MethodInterceptorGenerator.java 18 import java.lang.reflect.Method;
36 private static final Type METHOD =
37 TypeUtils.parseType("java.lang.reflect.Method");
45 TypeUtils.parseSignature("java.lang.reflect.Method[] getDeclaredMethods()");
49 TypeUtils.parseSignature("java.lang.reflect.Method[] findMethods(String[], java.lang.reflect.Method[])");
61 METHOD,
78 return impl.getName() + "$Method";
87 MethodInfo method = (MethodInfo)it.next(); local
88 Signature sig = method.getSignature()
179 MethodInfo method = (MethodInfo)classMethods.get(index); local
198 MethodInfo method = (MethodInfo)classMethods.get(index); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ClassLoaderReflectionTest.java 21 import java.lang.reflect.Method;
115 Method method = fClass.getDeclaredMethod("method", bClass, List.class); local
116 assertParameterizedType(method.getGenericReturnType(), bClass, String.class);
120 Method method = fClass.getDeclaredMethod("method", bClass, List.class); local
121 Type[] types = method.getGenericParameterTypes();
138 Method m1 = E.class.getMethod("call")
164 B<String> method(B<String> parameter, List<A> anotherParameter) { method in class:ClassLoaderReflectionTest.F
    [all...]
OldAndroidClassTest.java 21 import java.lang.reflect.Method;
55 Method method = helloClass.getDeclaredMethod("method", (Class[]) null); local
56 method.invoke(new OldAndroidClassTest(), (Object[]) null);
61 Method method = helloClass.getDeclaredMethod("methodWithArgs", Object.class); local
65 Object ret = method.invoke(new OldAndroidClassTest(), invokeArgs);
71 Method method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null) local
128 public void method() { method in class:OldAndroidClassTest
    [all...]
  /art/compiler/
common_compiler_test.cc 44 void CommonCompilerTest::MakeExecutable(ArtMethod* method) {
45 CHECK(method != nullptr);
48 if (!method->IsAbstract()) {
49 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache();
53 method->GetDexMethodIndex()));
100 LOG(INFO) << "MakeExecutable " << PrettyMethod(method) << " code=" << method_code;
101 class_linker_->SetEntryPointsToCompiledCode(method, method_code);
105 class_linker_->SetEntryPointsToInterpreter(method);
241 void CommonCompilerTest::CompileMethod(ArtMethod* method) {
242 CHECK(method != nullptr)
245 compiler_driver_->CompileOne(Thread::Current(), method, &timings); local
258 ArtMethod* method = klass->FindDirectMethod(method_name, signature, pointer_size); local
272 ArtMethod* method = klass->FindVirtualMethod(method_name, signature, pointer_size); local
    [all...]
  /art/compiler/dex/
verified_method.cc 97 LOG(WARNING) << "Cannot encode GC map for method with " << ref_bitmap_bits << " registers: "
104 LOG(WARNING) << "Cannot encode GC map for method with " << num_entries << " entries: "
118 LOG(WARNING) << "Cannot encode GC map for method with "
217 ArtMethod* method = local
219 if (method == nullptr) {
224 // failure. Put the dex method index in the dequicken map since we need this to get number of
226 dequicken_map_.Put(dex_pc, DexFileReference(method->GetDexFile(),
227 method->GetDexMethodIndex()));
239 // TODO: Putting a field index in a method reference is gross.
294 // If the method is not found in the cache this means that it was never foun
    [all...]
  /art/runtime/
common_throws.cc 81 void ThrowAbstractMethodError(ArtMethod* method) {
83 StringPrintf("abstract method \"%s\"",
84 PrettyMethod(method).c_str()).c_str());
153 << " method " << PrettyMethod(called).c_str();
159 msg << "Method '" << PrettyMethod(accessed) << "' is inaccessible to class '"
173 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '"
203 ArtMethod* method, ArtMethod* referrer) {
205 msg << "The method '" << PrettyMethod(method) << "' was expected to be of type "
312 msg << "No " << type << " method " << name << signatur
318 ArtMethod* method = Thread::Current()->GetCurrentMethod(nullptr); local
364 ArtMethod* method = Thread::Current()->GetCurrentMethod(&throw_dex_pc); local
    [all...]
fault_handler.cc 327 // Get the architecture specific method address and return address. These
331 // If we don't have a potential method, we're outta here.
332 VLOG(signals) << "potential method: " << method_obj;
335 VLOG(signals) << "no method";
339 // Verify that the potential method is indeed a method.
342 // TODO: Method might be not a heap address, and GetClass could fault.
360 // We can be certain that this is a method now. Check if we have a GC map
415 ArtMethod* method = nullptr; local
420 manager_->GetMethodAndReturnPcAndSp(siginfo, context, &method, &return_pc, &sp)
    [all...]
quick_exception_handler.cc 56 ArtMethod* method = GetMethod(); local
58 if (method == nullptr) {
65 // Report the method that did the down call as the handler.
69 // No next method? Check exception handler is set up for the unhandled exception handler
76 if (method->IsRuntimeMethod()) {
77 // Ignore callee save method.
78 DCHECK(method->IsCalleeSaveMethod());
81 return HandleTryItems(method);
85 bool HandleTryItems(ArtMethod* method)
88 if (!method->IsNative())
172 ArtMethod* method = GetMethod(); local
    [all...]
  /art/runtime/entrypoints/
entrypoint_utils-inl.h 63 ArtMethod* method,
65 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx);
67 klass = Runtime::Current()->GetClassLinker()->ResolveType(type_idx, method);
82 mirror::Class* referrer = method->GetDeclaringClass();
137 // Given the context of a calling Method, use its DexCache to resolve a type to a Class. If it
144 ArtMethod* method,
148 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path);
159 // Given the context of a calling Method and a resolved class, create an instance.
180 // Given the context of a calling Method and an initialized class, create an instance.
196 ArtMethod* method,
450 ArtMethod* method = klass->FindVirtualMethodForInterface( local
    [all...]
  /art/runtime/interpreter/
interpreter_common.h 93 // Invokes the given method. This is part of the invocation support and is used by DoInvoke and
135 // We lost the reference to the method index so we cannot get a more
198 ArtMethod* method = shadow_frame.GetMethod(); local
199 mirror::Class* declaring_class = method->GetDeclaringClass();
204 s = Runtime::Current()->GetClassLinker()->ResolveString(*method->GetDexFile(), string_idx,
  /art/runtime/native/
java_lang_Class.cc 28 #include "mirror/method.h"
316 // return a non-synthetic method in such situations. We may
317 // still return a synthetic method to handle situations like
343 return soa.AddLocalReference<jobject>(mirror::Method::CreateFromArtMethod(soa.Self(), &m));
346 result = &m; // Remember as potential result if it's not a miranda method.
369 return soa.AddLocalReference<jobject>(mirror::Method::CreateFromArtMethod(soa.Self(), &m));
376 soa.AddLocalReference<jobject>(mirror::Method::CreateFromArtMethod(soa.Self(), result)) :
401 auto ret = hs.NewHandle(mirror::ObjectArray<mirror::Method>::Alloc(
402 soa.Self(), mirror::Method::ArrayClass(), num_methods));
408 auto* method = mirror::Method::CreateFromArtMethod(soa.Self(), &m) local
421 auto* method = mirror::Method::CreateFromArtMethod(soa.Self(), &m); local
    [all...]
  /art/test/115-native-bridge/
nativebridge.cc 232 { "testGetMirandaMethodNative", "()Ljava/lang/reflect/Method;", true, nullptr,
303 NativeBridgeMethod* method = find_native_bridge_method(name); local
304 if (method == nullptr)
306 method->fnPtr = sym;
308 return method->trampoline;
  /bionic/libc/kernel/uapi/linux/
atmbr2684.h 59 int method; member in struct:br2684_if_spec
  /cts/tests/tests/jni/libjnitest/
macroized_tests.c 23 * This file also defines a static method called runAllTests(), which
50 * how to call a method: (virtual, direct, static) x (standard, array of
132 * Looks up a static method on StaticFromNative.
140 *errorMsg = failure("could not find static test method %s:%s",
148 * Looks up an instance method on InstanceFromNative.
155 *errorMsg = failure("could not find instance test method %s:%s",
163 * Looks up either an instance method on InstanceFromNative or a
164 * static method on StaticFromNative, depending on the given
191 jmethodID method = findAppropriateMethod(env, &msg, ct, local
194 if (method == NULL)
294 jmethodID method = findAppropriateMethod(env, &msg, ct, local
397 jmethodID method = findAppropriateMethod(env, &msg, ct, local
500 jmethodID method = findAppropriateMethod(env, &msg, ct, local
603 jmethodID method = findAppropriateMethod(env, &msg, ct, local
706 jmethodID method = findAppropriateMethod(env, &msg, ct, local
809 jmethodID method = findAppropriateMethod(env, &msg, ct, local
912 jmethodID method = findAppropriateMethod(env, &msg, ct, local
1015 jmethodID method = findAppropriateMethod(env, &msg, ct, local
1118 jmethodID method = findAppropriateMethod(env, &msg, ct, local
1239 jmethodID method = findAppropriateMethod(env, &msg, ct, local
1359 jmethodID method = findAppropriateMethod(env, &msg, ct, local
    [all...]

Completed in 862 milliseconds

<<11121314151617181920>>