/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/542-unresolved-access-check/src/ |
Main.java | 18 import java.lang.reflect.Method; 57 Method method = dex.getClass().getDeclaredMethod( local 61 Class clazz = (Class)method.invoke(dex, className, this, null); 76 Method m = foo.getDeclaredMethod("main");
|
/art/test/800-smali/src/ |
Main.java | 18 import java.lang.reflect.Method; 197 Method[] methods = c.getDeclaredMethods(); 200 // will give us the method we need to run. 201 Method method = null; local 202 for (Method m : methods) { 204 method = m; 209 if (method == null) { 210 errorReturn = new IllegalArgumentException("Could not find test method " + 216 if (Modifier.isStatic(method.getModifiers())) [all...] |
/art/test/common/ |
runtime_state.cc | 138 ArtMethod* method = klass->FindDeclaredDirectMethodByName(chars.c_str(), sizeof(void*)); local 143 ProfilingInfo::Create(soa.Self(), method, /* retry_allocation */ true); 145 header = OatQuickMethodHeader::FromEntryPoint(method->GetEntryPointFromQuickCompiledCode()); 152 jit->CompileMethod(method, soa.Self(), /* osr */ false);
|
/bootable/recovery/applypatch/ |
imgpatch.cpp | 134 int method = Read4(deflate_header+44); local 222 int ret = deflateInit2(&strm, level, method, windowBits, memLevel, strategy);
|
/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/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/ |
CtsJavaScannerDoclet.java | 91 for (MethodDoc method : clazz.methods()) { 94 if (!method.name().startsWith("test")) { 99 AnnotationDesc[] annotations = method.annotations(); 113 for (AnnotationDesc annot : method.annotations()) { 133 writer.append(method.name()).println(":" + timeout); 135 writer.println(method.name()); 155 for (MethodDoc method : clazz.methods()) { 156 for (AnnotationDesc annot : method.annotations()) {
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
SerializerFactory.java | 35 * The properties object passed to the getSerializer() method should be created by 40 * are set for the given output "method". 43 * The standard property keys supported are: "method", "version", "encoding", 58 * @see Method 76 * Returns a serializer for the specified output method. The output method 77 * is specified by the value of the property associated with the "method" key. 78 * If no implementation exists that supports the specified output method 80 * For a list of the output "method" key values see {@link Method} 96 String method = format.getProperty(OutputKeys.METHOD); local [all...] |
/external/clang/test/CodeGenCXX/ |
2007-01-06-PtrMethodInit.cpp | 56 GenericHandler method; member in struct:EventDispatchData
|
mangle-ms-template-callback.cpp | 58 void method() {} function in class:Z
|
template-linkage.cpp | 62 mptr method = &Outer::Get<local>; local
|
/external/clang/test/Misc/ |
diag-aka-types.cpp | 35 static void method(struct data *) {} function in struct:ns::str 46 helper(&ns::str::method); // expected-error{{no matching function for call to 'helper'}}
|
/external/clang/test/SemaCXX/ |
warn-unused-value.cpp | 39 void method() const { function in struct:test2::std::basic_string 46 str.method(); // expected-note {{in instantiation of member function}}
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
MethodSignatureFormatter.java | 49 @Override public String format(ExecutableElement method) { 50 return format(method, Optional.<DeclaredType>absent()); 57 public String format(ExecutableElement method, Optional<DeclaredType> container) { 59 TypeElement type = MoreElements.asType(method.getEnclosingElement()); 60 ExecutableType executableType = MoreTypes.asExecutable(method.asType()); 62 executableType = MoreTypes.asExecutable(types.asMemberOf(container.get(), method)); 67 List<? extends AnnotationMirror> annotations = method.getAnnotationMirrors(); 82 builder.append(method.getSimpleName()); 84 checkState(method.getParameters().size() == executableType.getParameterTypes().size()); 85 Iterator<? extends VariableElement> parameters = method.getParameters().iterator() [all...] |
/external/dbus/dbus/ |
dbus-server-debug-pipe.c | 341 const char *method; local 345 method = dbus_address_entry_get_method (entry); 347 if (strcmp (method, "debug-pipe") == 0) 391 const char *method; local 393 method = dbus_address_entry_get_method (entry); 394 _dbus_assert (method != NULL); 396 if (strcmp (method, "debug-pipe") == 0)
|
dbus-transport-unix.c | 229 const char *method; local 231 method = dbus_address_entry_get_method (entry); 232 _dbus_assert (method != NULL); 234 if (strcmp (method, "unix") == 0) 279 else if (strcmp (method, "unixexec") == 0) 354 else if (strcmp (method, "launchd") == 0)
|
/external/dbus/test/name-test/ |
test-threads-init.c | 19 DBusMessage *method; local 24 method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService", 29 dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL); 30 dbus_connection_send_with_reply (conn, method, &echo_pending, -1); 31 dbus_message_unref (method); 34 method = dbus_message_new_method_call (DBUS_SERVICE_DBUS, 39 dbus_connection_send_with_reply (conn, method, &dbus_pending, -1); 40 dbus_message_unref (method); 112 DBusMessage *method; local 171 method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService" [all...] |
/external/easymock/src/org/easymock/internal/ |
LegacyMatcherProvider.java | 20 import java.lang.reflect.Method;
36 private transient Map<Method, ArgumentsMatcher> matchers = new HashMap<Method, ArgumentsMatcher>();
38 public ArgumentsMatcher getMatcher(Method method) {
39 if (!matchers.containsKey(method)) {
43 matchers.put(method, defaultMatcher);
45 return matchers.get(method);
58 public void setMatcher(Method method, ArgumentsMatcher matcher) { 81 Method method = entry.getKey().getMethod(); local [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
MethodCollection.java | 44 final Method_info method = (Method_info) m_methods.get (m); local 46 if (method.getName (cls).equals (name)) 108 public int add (final Method_info method) 111 m_methods.add (method); 116 public Method_info set (final int offset, final Method_info method) 118 return (Method_info) m_methods.set (offset, method); 139 private List/* Method_info */ m_methods; // method collection
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
FeatureEnumTest.java | 25 import java.lang.reflect.Method; 54 Method method = null; local 56 method = annotationClass.getMethod(propertyName); 61 final Class<?> returnType = method.getReturnType();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 27 import java.lang.reflect.Method; 62 * This invocation handler only registers that a method was called, 67 public Object invoke(Object proxy, Method method, Object[] args) 69 called(asString(method)); 71 return getDefaultValue(method.getReturnType()); 82 * Returns string representation of a method. 84 * If the method takes no parameters, it returns the name (e.g. 85 * "isEmpty". If the method takes parameters, it returns the simple names 88 private String asString(Method method) [all...] |
/external/guice/core/src/com/google/inject/internal/ |
InterceptorStackCallback.java | 27 import java.lang.reflect.Method; 34 * Intercepts a method with a stack of interceptors. 45 final Method method; field in class:InterceptorStackCallback 47 public InterceptorStackCallback(Method method, 49 this.method = method; 53 public Object intercept(Object proxy, Method method, Object[] arguments [all...] |
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/ |
TestFmwkUtils.java | 23 import java.lang.reflect.Method; 55 private static final Method getTargetsMethod = getTargetsMethod(); 88 private static Method getTargetsMethod() { 90 Method method = TestFmwk.class.getDeclaredMethod("getTargets", String.class); local 91 method.setAccessible(true); 92 return method; 103 * A special method to avoid the TestFmwk from throwing an InternalError when an error occurs 104 * during execution of the test but outside the actual test method, e.g. in a 105 * {@link TestFmwk#validate()} method. See http://bugs.icu-project.org/trac/ticket/1218 [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UCharacterCompare.java | 36 * Main testing method 48 p.println("method name ucharacter character"); 200 * @param method 203 * UCharacter value after running method 205 * Character value after running method 207 private static void trackDifference(PrintWriter f, int ch, String method, String ucharval, String charval) 209 if (m_hashtable_.containsKey(method)) { 210 Integer value = m_hashtable_.get(method); 211 m_hashtable_.put(method, new Integer(value.intValue() + 1)); 213 m_hashtable_.put(method, new Integer(1)) 246 StringBuilder method = new StringBuilder(s); local [all...] |