HomeSort by relevance Sort by last modified time
    Searched refs:Method (Results 1026 - 1050 of 1620) sorted by null

<<41424344454647484950>>

  /frameworks/multidex/library/src/android/support/multidex/
MultiDex.java 34 import java.lang.reflect.Method;
84 * loaded from the application apk. This method should be called in the
293 * Locates a given method anywhere in the class inheritance hierarchy.
295 * @param instance an object to search the method into.
296 * @param name method name
297 * @param parameterTypes method parameter types
298 * @return a method object
299 * @throws NoSuchMethodException if the method cannot be located
301 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes)
305 Method method = clazz.getDeclaredMethod(name, parameterTypes) local
    [all...]
  /external/guava/guava-testlib/test/com/google/common/testing/
NullPointerTesterTest.java 45 import java.lang.reflect.Method;
174 Method method = OneArg.class.getMethod(methodName, String.class); local
176 new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
178 fail("Should not have flagged method " + methodName);
185 Method method = OneArg.class.getMethod(methodName, String.class); local
188 new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
192 assertTrue("Should report error in method " + methodName, foundProblem);
199 Method method = OneArg.class.getMethod(methodName, String.class) local
211 Method method = OneArg.class.getMethod(methodName, String.class); local
320 Method method = TwoArg.class.getMethod( local
336 Method method = TwoArg.class.getMethod( local
351 Method method = TwoArg.class.getMethod( local
366 Method method = TwoArg.class.getMethod( local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/jmx/
ObjectMBean.java 24 import java.lang.reflect.Method;
99 * Then this method would look for the following classes:
318 Method getter = (Method) _getters.get(name);
325 o = this; // mbean method
397 Method setter = (Method) _setters.get(attr.getName());
478 Method method = (Method) _methods.get(methodKey) local
761 Method method = oClass.getMethod(method_name, types); local
    [all...]
  /external/guava/guava/src/com/google/common/reflect/
Types.java 39 import java.lang.reflect.Method;
337 * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
340 * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means
341 * it won't compile on Java 7, while if we don't include the method then the compiler will
342 * complain that an abstract method is unimplemented. So instead we use a dynamic proxy to
343 * get an implementation. If the method being called on the {@code TypeVariable} instance has
345 * the same method on its instance of {@code TypeVariableImpl}. Otherwise it throws {@link
355 private static final ImmutableMap<String, Method> typeVariableMethods;
357 ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder();
358 for (Method method : TypeVariableImpl.class.getMethods())
366 builder.put(method.getName(), method); typedefs
    [all...]
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
ThrowingProviderBinder.java 43 import java.lang.reflect.Method;
299 public Object invoke(Object proxy, Method method, Object[] args)
302 if (method.getDeclaringClass() == Object.class) {
303 return method.invoke(this, args);
379 * Returns the exception type declared to be thrown by the get method of
384 Method getMethod = interfaceType.getMethod("get");
395 throw new IllegalStateException("No 'get'method available", e);
458 // a default method on the interface w/ the superinterface type that
459 // just delegates directly to the overridden method
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
SimpleEnumUseChecker.java 112 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
114 // Evaluate the method.
115 partialEvaluator.visitCodeAttribute(clazz, method, codeAttribute);
127 instruction.accept(clazz, method, codeAttribute, offset, this);
143 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
157 System.out.println("SimpleEnumUseChecker: ["+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)+"] stores enum ["+
171 if (!isReturningSimpleEnumType(clazz, method))
    [all...]
  /external/clang/lib/Sema/
SemaOverload.cpp     [all...]
SemaTemplateInstantiateDecl.cpp     [all...]
SemaLambda.cpp 386 CXXMethodDecl *Method
396 Method->setAccess(AS_public);
400 Method->setLexicalDeclContext(CurContext);
404 Method->getLocation(), MethodName,
406 Method) : nullptr;
410 Method->setDescribedFunctionTemplate(TemplateMethod);
415 Method->setParams(Params);
420 for (auto P : Method->params())
421 P->setOwningFunction(Method);
428 unsigned ManglingNumber = MCtx->getManglingNumber(Method);
    [all...]
  /external/libweave/src/
device_registration_info.cc 121 RequestSender(HttpClient::Method method,
124 : method_{method}, url_{url}, transport_{transport} {}
130 << " method:" << EnumToString(method_) << " url:" << url_;
180 HttpClient::Method method_;
378 RequestSender sender{HttpClient::Method::kPost, GetOAuthURL("token"),
509 DoCloudRequest(HttpClient::Method::kGet, GetDeviceURL(), nullptr, callback);
538 RequestSender sender{HttpClient::Method::kPatch, url, http_client_};
563 RequestSender{HttpClient::Method::kPost, url, http_client_}.Send(
598 RequestSender sender2{HttpClient::Method::kPost, GetOAuthURL("token")
    [all...]
  /external/nanohttpd/core/src/main/java/fi/iki/elonen/
NanoHTTPD.java 555 private Method method; field in class:NanoHTTPD.HTTPSession
599 pre.put("method", st.nextToken());
823 this.method = Method.lookup(pre.get("method"));
824 if (this.method == null) {
849 r.setRequestMethod(this.method);
2018 Method method = session.getMethod(); local
    [all...]
  /art/runtime/arch/mips64/
quick_entrypoints_mips64.S 89 # load appropriate callee-save-method
131 # load appropriate callee-save-method
135 sd $t1, 0($sp) # Place Method* at bottom of stack.
242 # 1x8 bytes padding + Method*
249 * callee-save: padding + $f12-$f19 + $a1-$a7 + $s2-$s7 + $gp + $ra + $s8 = 24 total + 1 words padding + Method*
253 # load appropriate callee-save-method
257 sd $t1, 0($sp) # Place Method* at bottom of stack.
263 sd $a0, 0($sp) # Place Method* at bottom of stack.
573 * artDeliverExceptionFromCode will place the callee save Method* at
643 * as usual - except instead of loading arg0/$a0 with the target Method*, arg0/$a0 will contai
    [all...]
  /external/javassist/src/main/javassist/util/proxy/
ProxyFactory.java 20 import java.lang.reflect.Method;
41 * forwarded and then <code>invoke()</code> is called on the method handler
43 * the interfaces are also forwarded to the method handler.
51 * public boolean isHandled(Method m) {
58 * public Object invoke(Object self, Method m, Method proceed,
61 * return proceed.invoke(self, args); // execute the original method.
68 * <p>Then, the following method call will be forwarded to MethodHandler
69 * <code>mi</code> and prints a message before executing the originally called method
77 * the helper method <code>create</code>, which generates a proxy class, instantiate
    [all...]
  /art/runtime/arch/mips/
quick_entrypoints_mips.S 34 * Callee-save: $s0-$s8 + $gp + $ra, 11 total + 1 word for Method*
78 # 1 word for holding Method*
83 sw $t0, 0($sp) # Place Method* at bottom of stack.
93 * callee-save: $s2-$s8 + $gp + $ra, 9 total + 2 words padding + 1 word to hold Method*
125 # 2 words for alignment and bottom word will hold Method*
130 sw $t0, 0($sp) # Place Method* at bottom of stack.
170 * callee-save: $a1-$a3, $s2-$s8 + $gp + $ra, 12 total + 3 words padding + method*
207 # bottom will hold Method*
213 * callee-save: $a1-$a3, $f12-$f15, $s2-$s8 + $gp + $ra, 12 total + 3 words padding + method*
223 sw $t0, 0($sp) # Place Method* at bottom of stack
    [all...]
  /art/runtime/arch/arm/
quick_entrypoints_arm.S 51 sub sp, #12 @ 3 words of space, bottom word will hold Method*
54 ldr \rTemp1, [\rTemp1, #RUNTIME_SAVE_ALL_CALLEE_SAVE_FRAME_OFFSET] @ rTemp1 is kSaveAll Method*.
55 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
78 sub sp, #4 @ bottom word will hold Method*
81 ldr \rTemp1, [\rTemp1, #RUNTIME_REFS_ONLY_CALLEE_SAVE_FRAME_OFFSET] @ rTemp1 is kRefsOnly Method*.
82 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
106 sub sp, #4 @ bottom word will hold Method*
110 ldr \rTemp1, [\rTemp1, #RUNTIME_REFS_ONLY_CALLEE_SAVE_FRAME_OFFSET] @ rTemp1 is kRefsOnly Method*.
112 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
122 add sp, #4 @ bottom word holds Method*
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
WorkSourceTest.java 20 import java.lang.reflect.Method;
28 private Method mAddUid;
30 private Method mAddUidName;
32 private Method mAddReturningNewbs;
34 private Method mSetReturningDiffs;
36 private Method mStripNames;
  /cts/tools/utils/
CollectAllTests.java 34 import java.lang.reflect.Method;
366 Method testMethod = testClass.getMethod(testName, (Class[])null);
403 Method[] testMethods = testClass.getMethods();
404 for (Method testMethod : testMethods) {
410 /* Make sure the method has the right signature. */
488 for (Method m : klass.getMethods()) {
497 private static boolean isJunit4TestMethod(Method method) {
498 for (Annotation a : method.getAnnotations()) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
EventBus.java 37 import java.lang.reflect.Method;
75 EventHandlerMethod method; field in class:EventHandler
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) {
79 this.method = method;
85 return subscriber.toString(priority) + " " + method.toString();
90 * Represents the low level method handling a particular event.
93 private Method mMethod;
96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType)
788 EventHandlerMethod method = new EventHandlerMethod(m, eventType); local
    [all...]
  /art/test/068-classloader/src/
Main.java 18 import java.lang.reflect.Method;
40 * we call a method that isn't actually implemented.
80 Method meth = mDexClass.getMethod("loadClass",
138 java.lang.reflect.Method m = c.getDeclaredMethod("mutate", int.class);
268 * it doesn't override the base class method.
  /cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DalvikTestRunner.java 35 import java.lang.reflect.Method;
139 // Skip method because it was excluded
217 for (Method m : cls.getDeclaredMethods()) {
225 private static boolean isPublicTestMethod(Method m) {
  /dalvik/dx/src/com/android/dx/command/dump/
BlockDumper.java 30 import com.android.dx.cf.iface.Method;
63 /** whether this is the first method being dumped */
142 * @param name method name
143 * @return true if this method should be dumped
146 return args.method == null || args.method.equals(name);
154 // It's a field, not a method
162 // Reset the dump cursor to the start of the method.
173 parsed(bytes, offset, 0, "method " + name + " " + descriptor);
181 if (!(member instanceof Method)) {
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
DuckTypedPSKKeyManagerTest.java 22 import java.lang.reflect.Method;
91 // invoke each method of the PSKKeyManager interface on the DuckTypedPSKKeyManager instance,
197 // Missing method from the PSKKeyManager interface:
304 Method lastInvokedMethod;
308 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
309 lastInvokedMethod = method;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
AbstractMultisetSetCountTester.java 35 import java.lang.reflect.Method;
44 * test calls to the unconditional {@code setCount()} method and calls to the
45 * conditional {@code setCount()} method when the expected present count is
78 * Call the {@code setCount()} method under test, and check its return value.
83 * Call the {@code setCount()} method under test, but do not check its return
84 * value. Callers should use this method over
394 * Returns {@link Method} instances for the {@code setCount()} tests that
399 public static List<Method> getSetCountDuplicateInitializingMethods() {
407 private static Method getMethod(String methodName) {
  /external/proguard/src/proguard/classfile/editor/
MemberReferenceFixer.java 34 * This ClassVisitor fixes constant pool field and method references to fields
97 // Class.get[Declared]{Field,Method} construct?
151 // Do we know the referenced interface method?
178 // Check if this is an interface method.
182 // Has the method become a non-interface method?
190 System.out.println(" Ref method = "+interfaceMethodrefConstant.getName(clazz)+interfaceMethodrefConstant.getType(clazz));
191 System.out.println(" -> ordinary method");
194 // Replace the interface method reference by a method reference
    [all...]
  /external/proguard/src/proguard/classfile/util/
DynamicClassReferenceInitializer.java 241 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
246 instruction.accept(clazz, method, codeAttribute, offset,
257 instruction.accept(clazz, method, codeAttribute, offset,
271 instruction.accept(clazz, method, codeAttribute, offset,
283 instruction.accept(clazz, method, codeAttribute, offset,
333 * Checks whether the referenced method is a .class method.
339 // Do the method's class and type match?
345 // Does the method's name match one of the special names
    [all...]

Completed in 674 milliseconds

<<41424344454647484950>>