HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 126 - 150 of 2092) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
HasAnnotationTest.java 26 import java.lang.reflect.Method;
46 Method method = aClass.getMethod(methodName); local
47 TestMethod testMethod = new TestMethod(method, aClass);
52 @Target({ElementType.TYPE, ElementType.METHOD})
HasClassAnnotationTest.java 22 import java.lang.reflect.Method;
39 Method method = aClass.getMethod("testSomeTest"); local
41 TestMethod testMethod = new TestMethod(method, aClass);
HasMethodAnnotationTest.java 23 import java.lang.reflect.Method;
42 Method method = aClass.getMethod(methodName); local
43 TestMethod testMethod = new TestMethod(method, aClass);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockAnswerUtil.java 23 import java.lang.reflect.Method;
32 * Answer that calls the method in the Answer called "answer" that matches the type signature of
33 * the method being answered. An error will be thrown at runtime if the signature does not match
39 Method method = invocation.getMethod(); local
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes());
42 if (!implementation.getReturnType().equals(method.getReturnType())) {
43 throw new RuntimeException("Found answer method does not have expected return "
44 + "type. Expected: " + method.getReturnType() + ", got
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
vp8_boolcoder_test.cc 59 for (int method = 0; method <= 7; ++method) { // we generate various proba
66 (method == 0) ? 0 : (method == 1) ? 255 :
67 (method == 2) ? 128 :
68 (method == 3) ? rnd.Rand8() :
69 (method == 4) ? (parity ? 0 : 255) :
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
72 (method == 6)
115 << " method: " << method; local
    [all...]
vp9_boolcoder_test.cc 32 for (int method = 0; method <= 7; ++method) { // we generate various proba
39 (method == 0) ? 0 : (method == 1) ? 255 :
40 (method == 2) ? 128 :
41 (method == 3) ? rnd.Rand8() :
42 (method == 4) ? (parity ? 0 : 255) :
44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
45 (method == 6)
84 << " method: " << method; local
    [all...]
  /libcore/luni/src/main/native/
java_util_regex_Pattern.cpp 62 static jmethodID method = env->GetMethodID(JniConstants::patternSyntaxExceptionClass, local
66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
MethodOverridesTest.java 19 import java.lang.reflect.Method;
30 Method method = StringBuilder.class.getMethod("append", char.class); local
31 assertEquals("append", method.getName());
35 Method method = StringBuilder.class.getMethod("append", char.class); local
37 Arrays.asList(method.getParameterTypes()));
41 Method method = StringBuilder.class.getMethod("append", char.class); local
42 assertEquals(StringBuilder.class, method.getDeclaringClass())
46 Method method = StringBuilder.class.getMethod("append", char.class); local
51 Method method = StringBuilder.class.getMethod("append", char.class); local
82 Method method = Sub.class.getMethod("returner"); local
92 Method method = Sub.class.getMethod("returner"); local
109 Method method = Sub.class.getMethod("visibility"); local
126 Method method = PublicSub.class.getMethod("unchanged"); local
    [all...]
GenericExceptionsTest.java 21 import java.lang.reflect.Method;
31 Method method = Thrower.class.getMethod("parameterizedMethod"); local
33 Arrays.asList(method.getGenericExceptionTypes()));
37 Method method = Thrower.class.getMethod("genericParameters", List.class); local
39 Arrays.asList(method.getGenericExceptionTypes()));
63 Method method = ThrowerT.class.getMethod("throwsTypeVariable"); local
64 TypeVariable typeVariable = getOnlyValue(method.getGenericExceptionTypes()
71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter"); local
79 Method method = ThrowerT.class.getMethod("throwsEverything"); local
    [all...]
  /libcore/ojluni/src/main/java/sun/net/
ProgressEvent.java 41 // method associated with URL
42 private String method; field in class:ProgressEvent
53 public ProgressEvent(ProgressSource source, URL url, String method, String contentType, ProgressSource.State state, long progress, long expected) {
56 this.method = method;
72 * Return method associated with URL.
76 return method;
110 return getClass().getName() + "[url=" + url + ", method=" + method + ", state=" + state
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
sign.hpp 112 typedef typename traits::method method; typedef
114 return detail::signbit_impl(x, method());
126 typedef typename traits::method method; typedef
129 return detail::changesign_impl(x, method());
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/
FmEscapeXmlTextMethodTest.java 30 FmEscapeXmlTextMethod method = new FmEscapeXmlTextMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
FmExtractLettersMethodTest.java 30 FmExtractLettersMethod method = new FmExtractLettersMethod(); local
32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
  /art/test/088-monitor-verification/src/
Main.java 18 import java.lang.reflect.Method;
69 * Recursive synchronized method.
108 * Confirms that we can have 32 nested monitors on one method.
149 * method.
232 Method[] methods = c.getDeclaredMethods();
235 // will give us the method we need to run.
236 Method method = null; local
237 for (Method m : methods) {
239 method = m
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
ParameterAnnotationStruct.java 29 * Association of a method and its parameter annotations.
33 /** {@code non-null;} the method in question */
34 private final CstMethodRef method; field in class:ParameterAnnotationStruct
45 * @param method {@code non-null;} the method in question
48 public ParameterAnnotationStruct(CstMethodRef method,
50 if (method == null) {
51 throw new NullPointerException("method == null");
58 this.method = method;
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
ParameterAnnotationStruct.java 29 * Association of a method and its parameter annotations.
33 /** {@code non-null;} the method in question */
34 private final CstMethodRef method; field in class:ParameterAnnotationStruct
45 * @param method {@code non-null;} the method in question
49 public ParameterAnnotationStruct(CstMethodRef method,
51 if (method == null) {
52 throw new NullPointerException("method == null");
59 this.method = method;
    [all...]
  /external/autotest/client/cros/
service_login.js 13 'method': 'attemptLogin',
23 'method': 'clearOldAttempts'
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
ParameterAnnotationStruct.java 29 * Association of a method and its parameter annotations.
33 /** {@code non-null;} the method in question */
34 private final CstMethodRef method; field in class:ParameterAnnotationStruct
45 * @param method {@code non-null;} the method in question
48 public ParameterAnnotationStruct(CstMethodRef method,
50 if (method == null) {
51 throw new NullPointerException("method == null");
58 this.method = method;
    [all...]
  /external/javassist/src/main/javassist/
SerialVersionUID.java 171 CtMethod method = methods[i]; local
172 int mods = method.getModifiers()
178 out.writeUTF(method.getName());
180 out.writeUTF(method.getMethodInfo2()
  /external/smali/smalidea/src/test/java/org/jf/smalidea/dexlib/
SmalideaMethodTest.java 59 ".method public someMethodName(I)I\n" +
88 ".end method";
94 SmalideaMethod method = new SmalideaMethod(smaliMethod); local
95 Assert.assertEquals("Lmy/pkg/blah;", method.getDefiningClass());
96 Assert.assertEquals("someMethodName", method.getName());
97 Assert.assertEquals("I", method.getReturnType());
99 List<? extends CharSequence> parameterTypes = method.getParameterTypes();
103 List<? extends MethodParameter> parameters = method.getParameters();
108 Assert.assertEquals(AccessFlags.PUBLIC.getValue(), method.getAccessFlags());
110 MethodImplementation impl = method.getImplementation()
348 SmalideaMethod method = new SmalideaMethod(smaliMethod); local
420 SmalideaMethod method = new SmalideaMethod(smaliMethod); local
486 SmalideaMethod method = new SmalideaMethod(smaliMethod); local
561 SmalideaMethod method = new SmalideaMethod(smaliMethod); local
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/animation/
PropertyValuesHolder_Delegate.java 24 import java.lang.reflect.Method;
60 private static final Map<Long, Method> ID_TO_METHOD = new HashMap<Long, Method>();
66 // Encode the number of arguments in the method name
73 // The method was already registered
78 Method method = null; local
84 method = targetClass.getDeclaredMethod(methodName, args);
89 if (method != null) {
91 ID_TO_METHOD.put(methodId, method);
103 Method method = ID_TO_METHOD.get(methodID); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
BoundedGenericMethodsTests.java 19 import java.lang.reflect.Method;
47 * @param method
48 * the declaring method
50 private void checkBoundedTypeParameter(Method method) {
51 TypeVariable<Method> typeParameter = getTypeParameter(method);
53 assertEquals(method, typeParameter.getGenericDeclaration());
62 * Tests whether the specified method declares a parameter with the type of
65 * @param method
108 Method method = clazz.getMethod("noParamNoReturn"); local
112 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); local
117 Method method = clazz.getMethod("noParamReturn"); local
123 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class); local
    [all...]
  /art/runtime/native/
java_lang_reflect_Method.cc 34 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local
35 if (method->GetDeclaringClass()->IsProxyClass()) {
41 method->GetDexFile()->GetAnnotationForMethod(method, klass));
46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local
47 if (!method->GetDeclaringClass()->IsAnnotation()) {
50 return soa.AddLocalReference<jobject>(method->GetDexFile()->GetAnnotationDefaultValue(method));
55 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local
56 if (method->GetDeclaringClass()->IsProxyClass())
92 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); local
    [all...]
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
TestUtils.java 26 import java.lang.reflect.Method;
35 * Utility method to call hidden ScanRecord.parseFromBytes method.
40 Method method = scanRecordClass.getDeclaredMethod("parseFromBytes", byte[].class); local
41 return (ScanRecord) method.invoke(null, bytes);
  /cts/tests/tests/text/src/android/text/method/cts/
BackspaceTest.java 17 package android.text.method.cts;
21 import android.text.method.BaseKeyListener;
26 * Test backspace key handling of {@link android.text.method.BaseKeyListener}.

Completed in 482 milliseconds

1 2 3 4 56 7 8 91011>>