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

<<41424344454647484950>>

  /libcore/luni/src/test/java/libcore/java/lang/
OldSystemTest.java 22 import java.lang.reflect.Method;
32 // Test for method void java.lang.System.arraycopy(java.lang.Object,
159 // Test for method long java.lang.System.currentTimeMillis()
328 final Method m = ClassLoader.class.getDeclaredMethod("findLibrary", String.class);
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 19 import java.lang.reflect.Method;
300 for (Method spiMethod : MessageDigestSpi.class.getDeclaredMethods()) {
  /packages/apps/Email/provider_src/com/android/email/mail/
Store.java 37 import java.lang.reflect.Method;
63 * Because this method will be called through reflection, it can not be protected.
118 // invoke "newInstance" class method
119 Method m = klass.getMethod("newInstance", Account.class, Context.class);
123 "exception %s invoking method %s#newInstance(Account, Context) for %s",
  /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.
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
LocaleSpanCompatUtils.java 27 import java.lang.reflect.Method;
46 private static final Method LOCALE_SPAN_GET_LOCALE;
94 // If no appropriate span is found, create a new one with newLocaleSpan method.
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
bdasup.h 37 KSMETHOD Method;
44 KSMETHOD Method;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DexWrapper.java 30 import java.lang.reflect.Method;
38 * <p/>Since there is no proper api to call the method in the dex library, this wrapper is going
49 private Method mRunMethod;
187 // call the run method
188 Object res = mRunMethod.invoke(null /* obj: static method */, args);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
SectionHelper.java 41 import java.lang.reflect.Method;
153 * through the setLayoutData method. In some case, creating it will make the table parent
173 Method reflow;
340 * through the setLayoutData method. In some case, creating it will make the table parent
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
CopyCutAction.java 23 import org.apache.xml.serialize.Method;
200 new OutputFormat(Method.XML,
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
OptionalBinder.java 51 import java.lang.reflect.Method;
90 * provider, that provider's get method will be called each time the optional
171 private static final Method JAVA_EMPTY_METHOD;
172 private static final Method JAVA_OF_NULLABLE_METHOD;
175 Method empty = null;
176 Method ofNullable = null;
261 * The binding set by this method will be ignored if {@link #setBinding} is called.
263 * <p>It is an error to call this method without also calling one of the {@code to}
273 * <p>It is an error to call this method without also calling one of the {@code to}
  /external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DeprecatedAPIChecker.java 14 import java.lang.reflect.Method;
148 for (Method mtd : cls.getDeclaredMethods()) {
149 // Note: We exclude synthetic method.
159 pw.println("## Error ## Method " + clsName + "#" + mtdName + formatParams(paramNames)
166 + formatParams(paramNames), "Method");
208 for (Method mtd : cls.getDeclaredMethods()) {
219 pw.println("## Error ## Method " + enumName + "#" + mtdName + formatParams(paramNames)
226 + formatParams(paramNames), "Method");
250 // Check if a method is automatically generated for a each Enum
251 private static boolean isBuiltinEnumMethod(Method mtd)
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/
TypeUtil.java 25 import java.lang.reflect.Method;
127 private static final HashMap<Class<?>, Method> class2Value=new HashMap<Class<?>, Method>();
216 Method m = class2Value.get(type);
561 public static Object call(Class<?> oClass, String method, Object obj, Object[] arg)
565 Method[] methods = oClass.getMethods();
568 if (!methods[c].getName().equals(method))
591 throw new NoSuchMethodException(method);
  /external/libweave/src/
weave_unittest.cc 190 void ExpectRequest(HttpClient::Method method,
193 EXPECT_CALL(http_client_, SendRequest(method, url_matcher, _, _, _))
402 ExpectRequest(HttpClient::Method::kPatch,
409 ExpectRequest(HttpClient::Method::kPost,
414 ExpectRequest(HttpClient::Method::kPost,
418 ExpectRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"),
  /external/protobuf/java/src/main/java/com/google/protobuf/
GeneratedMessageLite.java 37 import java.lang.reflect.Method;
733 static Method getMethodOrDie(Class clazz, String name, Class... params) {
739 "\" missing method \"" + name + "\".", e);
744 static Object invokeOrDie(Method method, Object object, Object... params) {
746 return method.invoke(object, params);
759 "Unexpected exception thrown by generated accessor method.", cause);
803 // Use Java reflection to invoke the static method {@code valueOf} of
819 final Method enumValueOf;
913 * When read from an ObjectInputStream, this method converts this objec
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowView.java 29 import java.lang.reflect.Method;
410 // We really want to invoke the onMeasure method of the real view,
415 Method onMeasureMethod = realView.getClass().getDeclaredMethod("onMeasure", Integer.TYPE, Integer.TYPE );
500 Method method = View.class.getDeclaredMethod("onFocusChanged", Boolean.TYPE, Integer.TYPE, local
502 method.setAccessible(true);
503 method.invoke(realView, this.isFocused, 0, null);
761 * Utility method for clicking on views exposing testing scenarios that are not possible when using the actual app.
848 Method mHandler;
857 throw new IllegalStateException("Could not find a method "
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
MethodDescriptor.java 31 import java.lang.reflect.Method;
45 * An adapter that wraps {@code Method}.
52 private final Method mMethod;
55 public MethodDescriptor(Class<? extends RpcReceiver> clazz, Method method) {
57 mMethod = method;
68 for (Method method : clazz.getMethods()) {
69 if (method.isAnnotationPresent(Rpc.class)) {
70 descriptors.add(new MethodDescriptor(clazz, method));
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ClassTest.java 26 import java.lang.reflect.Method;
294 Method m = TestClass.class.getDeclaredMethod("pubMethod", new Class[0]);
295 assertEquals("Returned incorrect method", 2, ((Integer) (m.invoke(new TestClass())))
304 Method[] m = TestClass.class.getDeclaredMethods();
361 Method m = TestClass.class.getMethod("pubMethod", new Class[0]);
362 assertEquals("Returned incorrect method", 2, ((Integer) (m.invoke(new TestClass())))
366 fail("Failed to throw exception accessing private method");
377 Method[] m = TestClass.class.getMethods();
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
AnnotationsTest.java 30 import java.lang.reflect.Method;
63 Method method = Type.class.getMethod("method", String.class, String.class); local
64 assertAnnotatedElement(method, AnnotationB.class, AnnotationC.class);
68 Method method = Type.class.getMethod("method", String.class, String.class); local
69 Annotation[][] noParameterAnnotations = method.getParameterAnnotations();
74 Method parameters = Type.class.getMethod("parameters", String.class, String.class)
362 @AnnotationB @AnnotationC public void method(String parameter1, String parameter2) {} method in class:AnnotationsTest.Type
    [all...]
  /external/proguard/src/proguard/optimize/evaluation/
EvaluationShrinker.java 144 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute)
148 // method.getName(clazz).equals("abc");
151 // Catch any unexpected exceptions from the actual visiting method.
155 visitCodeAttribute0(clazz, method, codeAttribute);
161 System.err.println(" Method = ["+method.getName(clazz)+method.getDescriptor(clazz)+"]");
163 System.err.println("Not optimizing this method");
167 method.accept(clazz, new ClassPrinter())
    [all...]
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 3230 const CXXMethodDecl *method = local
    [all...]
  /cts/tests/signature/src/android/signature/cts/
JDiffClassDescription.java 22 import java.lang.reflect.Method;
45 /** Indicates that the method is a bridge method. */
47 /** Indicates that the method is takes a variable number of arguments. */
49 /** Indicates that the method is a synthetic method. */
128 * Adds a method.
130 * @param method the method to be added.
132 public void addMethod(JDiffMethod method) {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
FreshValueGenerator.java 85 import java.lang.reflect.Method;
132 private static final ImmutableMap<Class<?>, Method> GENERATORS;
134 ImmutableMap.Builder<Class<?>, Method> builder =
136 for (Method method : FreshValueGenerator.class.getDeclaredMethods()) {
137 if (method.isAnnotationPresent(Generates.class)) {
138 builder.put(method.getReturnType(), method); typedefs
182 Method generator = GENERATORS.get(rawType);
193 // When a parameter of a @Generates method cannot be created
    [all...]
  /external/guice/core/src/com/google/inject/internal/
Errors.java 53 import java.lang.reflect.Method;
64 * A collection of error messages. If this type is passed as a method parameter, the method is
72 * good rule of thumb is to assume a method's caller has already specified enough context to
73 * identify that method. When calling a method that's defined in a different context, call that
74 * method with an errors object that includes its context.
304 public Errors cannotInjectAbstractMethod(Method method) {
305 return addMessage("Injected method %s cannot be abstract.", method)
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
Dex.java 123 * to access the buffer after calling this method.
274 public Code readCode(ClassData.Method method) {
275 int offset = method.getCodeOffset();
385 * Look up a method id declaring class index from a method index. Cheaper than:
395 * Look up a method id name index from a method index. Cheaper than:
407 * Look up a parameter type ids from a method index. Cheaper than:
438 * Look up a method id return type index from a method index. Cheaper than
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
ViewInflater.java 28 import android.text.method.DigitsKeyListener;
53 import java.lang.reflect.Method;
613 Method method = view.getClass().getMethod("setImageBitmap", Bitmap.class); local
614 method.invoke(view, bm);
686 Method m;
701 Method m;
718 Method m = tryMethod(view, name, CharSequence.class);
750 private Method tryMethod(Object o, String name, Class<?>... parameters) {
751 Method result
    [all...]

Completed in 1668 milliseconds

<<41424344454647484950>>