/art/runtime/entrypoints/ |
entrypoint_utils.cc | 29 #include "mirror/method.h" 126 // Make sure that the result is an instance of the type this method was expected to return. 172 // Call Proxy.invoke(Proxy proxy, Method method, Object[] args). 189 auto h_interface_method(hs.NewHandle(soa.Decode<mirror::Method*>(interface_method_jobj))); 209 mirror::Method* interface_method = soa.Decode<mirror::Method*>(interface_method_jobj); 215 // Rely on the fact that the methods are contiguous to determine the index of the method in 291 // Note that do_caller_check is optional, as this method can be called by
|
/art/test/004-ThreadStress/src/ |
Main.java | 77 private final static Method kill; 83 Method killTemp = null; 87 Method getpid = osClass.getDeclaredMethod("getpid");
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
JUnitCodeGen.java | 37 import java.lang.reflect.Method; 77 Method[] methods = parserClass.getDeclaredMethods(); 78 for(Method method : methods) { 79 if ( !method.getReturnType().getName().equals("void") ) { 80 ruleWithReturn.put(method.getName(), method.getReturnType().getName().replace('$', '.'));
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
StackTrace002Debuggee.java | 26 import java.lang.reflect.Method; 32 // Signals to select which method the debuggee needs to call. 128 // Invoke the method requested by the test. 394 Method suspensionMethod = 525 Method suspensionMethod =
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 37 import java.lang.reflect.Method; 480 for (Method method : RateLimiter.class.getMethods()) { 481 if (!isStatic(method.getModifiers()) 482 && !NOT_WORKING_ON_MOCKS.contains(method.getName()) 483 && !method.getDeclaringClass().equals(Object.class)) { 484 method.invoke(mockito, arbitraryParameters(method)); 485 method.invoke(easyMock, arbitraryParameters(method)); [all...] |
/external/guice/core/test/com/googlecode/guice/bundle/ |
OSGiTestActivator.java | 33 import java.lang.reflect.Method; 444 // applies method-interception to classes with enough visibility 462 }, new AbstractMatcher<Method>() { 463 public boolean matches(Method method) { 465 // the intercepted method must also be visible 466 int methodModifiers = method.getModifiers();
|
/external/guice/extensions/mini/src/com/google/inject/mini/ |
MiniGuice.java | 23 import java.lang.reflect.Method; 66 * <li>Injection of {@code @Provides} method parameters. 76 * <p><strong>Note that method injection is not supported.</strong> 134 for (Method method : c.getDeclaredMethods()) { 135 if (method.isAnnotationPresent(com.google.inject.Provides.class)) { 136 Key key = key(method, method.getGenericReturnType(), method.getAnnotations()); 137 addProviderMethodBinding(key, module, method); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTestTuple.java | 12 import java.lang.reflect.Method; 36 * setXXX method for that attribute that is used to initialize the attribute from a 37 * String value read from the data file. For example, there is a setLocale(String) method 38 * for the locale attribute and a setCurrency(String) method for the currency attribute. 48 * Finally, create a setter method for it. 461 Method m = getClass().getMethod( 474 Method m = getClass().getMethod(fieldToClearer(fieldName));
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
ULocale.java | 12 import java.lang.reflect.Method; 47 * which a factory method or object responds to a client request with 78 * to canonical form, or the <code>canonicalInstance</code> factory method 584 * By setting the default ULocale with this method, all of the default categoy locales 588 * <code>checkPermission</code> method doesn't allow the operation. 599 // This method also updates all category default locales 616 // Just in case this method is called during ULocale class [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatTestTuple.java | 11 import java.lang.reflect.Method; 35 * setXXX method for that attribute that is used to initialize the attribute from a 36 * String value read from the data file. For example, there is a setLocale(String) method 37 * for the locale attribute and a setCurrency(String) method for the currency attribute. 47 * Finally, create a setter method for it. 460 Method m = getClass().getMethod( 473 Method m = getClass().getMethod(fieldToClearer(fieldName));
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/ |
ICUZDump.java | 18 import java.lang.reflect.Method; 145 Method method = tzobj.getClass().getMethod("getOffset", new Class[] {long.class}); local 146 Object result = method.invoke(tzobj, new Object[] {new Long(time)}); 156 Method method = tzobj.getClass().getMethod("inDaylightTime", new Class[] {Date.class}); local 157 Object result = method.invoke(tzobj, new Object[] {new Date(time)});
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/ |
SmaliCodeFragmentFactory.java | 291 Method method = currentLocation.method(); 295 VirtualMachine.class, Method.class, Integer.TYPE, Location.class, Location.class, String.class, 300 VirtualMachine.class, Method.class, Long.TYPE); 307 Location endLocation = method.locationOfCodeIndex((methodSize/2) - 1); 310 method, 312 method.locationOfCodeIndex(0),
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardComposer.java | 49 import java.lang.reflect.Method; 244 * You can call this method or a variant of this method just once. In other words, you cannot 264 * You can call this method or a variant of this method just once. In other words, you cannot 458 public String createOneEntry(Method getEntityIteratorMethod) { 502 final Method getEntityIteratorMethod) { 507 // they are hidden from the view of this method, though contact id itself exists. 594 * {ContactsContract}. Developers can override this method to customize the output.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SortedMapTestBase.java | 25 import java.lang.reflect.Method; 361 Method refClone = ref.getClass().getMethod("clone", new Class[0]); 362 Method mapClone = map.getClass().getMethod("clone", new Class[0]);
|
/libcore/ojluni/src/main/java/java/io/ |
ObjectStreamClass.java | 36 import java.lang.reflect.Method; 60 * loaded in this Java VM can be found/created using the lookup method. 116 /** true if desc has data written by class-defined writeObject method */ 173 /** class-defined writeObject method, or null if none */ 174 private Method writeObjectMethod; 175 /** class-defined readObject method, or null if none */ 176 private Method readObjectMethod; 177 /** class-defined readObjectNoData method, or null if none */ 178 private Method readObjectNoDataMethod; 179 /** class-defined writeReplace method, or null if none * [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AsyncRingtonePlayer.java | 20 import java.lang.reflect.Method; 448 /** The method to adjust playback volume; cannot be null. */ 449 private Method mSetVolumeMethod; 451 /** The method to adjust playback looping; cannot be null. */ 452 private Method mSetLoopingMethod; 464 LogUtils.e(TAG, "Unable to locate method: Ringtone.setVolume(float).", nsme); 470 LogUtils.e(TAG, "Unable to locate method: Ringtone.setLooping(boolean).", nsme);
|
/art/test/064-field-access/src/ |
Main.java | 20 import java.lang.reflect.Method; 534 Method[] methods; 623 for (Method m : methods) { 701 public Object invoke(Method method, Object obj, Class expectedException) { 704 result = method.invoke(obj); 707 System.err.println("ERROR: call succeeded for method " + method + "', was expecting " +
|
/art/test/121-modifiers/src/ |
Main.java | 129 for (java.lang.reflect.Method m : clazz.getDeclaredMethods()) { 135 throw new RuntimeException("Unexpected method bits: " + name); 140 throw new RuntimeException("Expected method bit not set."); 175 int index = name.indexOf("Method"); 209 throw new RuntimeException("Unexpected method name " + name);
|
/external/clang/lib/AST/ |
ExprClassification.cpp | 354 if (const ObjCMethodDecl *Method = 356 Cl::Kinds kind = ClassifyUnnamed(Ctx, Method->getReturnType()); 506 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Member)) 507 return Method->isStatic() ? Cl::CL_LValue : Cl::CL_MemberFunction;
|
/external/curl/tests/ |
http_pipe.py | 100 UnexpectedMethodError: On a non-GET method. 133 UnexpectedMethodError: On a non-GET method. 138 method, path, http_major, http_minor = m.groups() 140 if method != 'GET': 141 raise UnexpectedMethodError('Unexpected method: ' + method) 148 # print method, path 402 '405 Method Not Allowed', e))
|
/external/emma/core/java12/com/vladium/emma/rt/ |
AppRunner.java | 13 import java.lang.reflect.Method; 489 final Method appMain; 493 appMain = appClass.getMethod ("main", MAIN_TYPE); // Sun JVMs do not seem to require the method to be declared 641 Invoker (final Method method, final Object target, final Object [] args) 643 if (method == null) throw new IllegalArgumentException ("null input: method"); 646 m_method = method; 669 private final Method m_method; [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 34 import java.lang.reflect.Method; 423 for (Method method : Hashing.class.getDeclaredMethods()) { 424 if (method.getReturnType().equals(HashFunction.class) // must return HashFunction 425 && Modifier.isPublic(method.getModifiers()) // only the public methods 426 && method.getParameterTypes().length == 0) { // only the seed-less grapes^W hash functions 427 HashFunction hashFunction = (HashFunction) method.invoke(Hashing.class); 491 for (Method method : clazz.getDeclaredMethods()) { 492 if (method.getReturnType().equals(HashFunction.class) // must return HashFunctio [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
BulkBean.java | 19 import java.lang.reflect.Method;
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpServerTest.java | 68 public Method method; field in class:HttpServerTest.TestServer 101 this.method = session.getMethod();
|
/external/proguard/src/proguard/classfile/instruction/ |
Instruction.java | 948 public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor);
|