HomeSort by relevance Sort by last modified time
    Searched refs:method (Results 26 - 50 of 8284) sorted by null

12 3 4 5 6 7 8 91011>>

  /dalvik/dx/tests/098-dex-jsr-ret-throw/
run 17 dx --debug --dump --method=run --rop-blocks 'ViewDebug$ViewServer.class'
  /external/clang/test/Modules/
import-decl.cpp 14 -method;
18 [import method];
  /external/mockito/src/main/java/org/mockito/internal/util/
ObjectMethodsGuru.java 7 import java.lang.reflect.Method;
16 public static boolean isToStringMethod(Method method) {
17 MockitoMethod m = new DelegatingMethod(method);
23 public static boolean isCompareToMethod(Method method) {
24 return Comparable.class.isAssignableFrom(method.getDeclaringClass())
25 && method.getName().equals("compareTo")
26 && method.getParameterTypes().length == 1
27 && method.getParameterTypes()[0] == method.getDeclaringClass()
    [all...]
  /external/testng/src/main/java/org/testng/
IInvokedMethodListener.java 4 * A listener that gets invoked before and after a method is invoked by TestNG.
9 void beforeInvocation(IInvokedMethod method, ITestResult testResult);
11 void afterInvocation(IInvokedMethod method, ITestResult testResult);
  /external/wpa_supplicant_8/src/eap_server/
eap_server_methods.c 2 * EAP server method registration
20 * eap_server_get_eap_method - Get EAP method based on type number
22 * @method: EAP type number
23 * Returns: Pointer to EAP method or %NULL if not found
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method)
29 if (m->vendor == vendor && m->method == method)
37 * eap_server_get_type - Get EAP type for the given EAP method name
38 * @name: EAP method name, e.g., TLS
40 * Returns: EAP method type or %EAP_TYPE_NONE if not foun
    [all...]
  /art/test/471-uninitialized-locals/smali/
Test.smali 20 .method public static ThrowException()V
23 .end method
  /cts/tests/tests/text/src/android/text/method/cts/
CtsActivity.java 17 package android.text.method.cts;
20 import android.text.method.ArrowKeyMovementMethod;
21 import android.text.method.LinkMovementMethod;
22 import android.text.method.ScrollingMovementMethod;
  /dalvik/dx/tests/115-merge/testdata/
Basic.java 7 String method() { method in class:Basic
8 return "this is a method result";
  /external/testng/src/main/java/org/testng/internal/
DataProviderHolder.java 5 import java.lang.reflect.Method;
8 * A holder for a pair of Method and IDataProviderAnnotation
12 Method method; field in class:DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) {
17 this.method = method;
  /frameworks/base/core/java/android/text/method/
TransformationMethod2.java 16 package android.text.method;
  /art/test/435-new-instance/smali/
instance.smali 19 .method public constructor <init>()V
23 .end method
25 .method public newInstanceInterface()Ljava/lang/Object;
31 .end method
33 .method public newInstanceClass()Ljava/lang/Object;
39 .end method
41 .method public newInstancePrivateClass()Ljava/lang/Object;
47 .end method
49 .method public newInstanceUnknownClass()Ljava/lang/Object;
55 .end method
    [all...]
  /external/apache-http/src/org/apache/http/impl/
DefaultHttpRequestFactory.java 78 private static boolean isOneOf(final String[] methods, final String method) {
80 if (methods[i].equalsIgnoreCase(method)) {
92 String method = requestline.getMethod(); local
93 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
95 } else if (isOneOf(RFC2616_ENTITY_ENC_METHODS, method)) {
97 } else if (isOneOf(RFC2616_SPECIAL_METHODS, method)) {
100 throw new MethodNotSupportedException(method + " method not supported");
104 public HttpRequest newHttpRequest(final String method, final String uri)
106 if (isOneOf(RFC2616_COMMON_METHODS, method)) {
    [all...]
  /external/junit/src/main/java/org/junit/runners/model/
FrameworkMethod.java 5 import java.lang.reflect.Method;
12 * Represents a method on a test class to be invoked at the appropriate point in
20 private final Method method; field in class:FrameworkMethod
23 * Returns a new {@code FrameworkMethod} for {@code method}
25 public FrameworkMethod(Method method) {
26 if (method == null) {
28 "FrameworkMethod cannot be created without an underlying method.");
30 this.method = method
    [all...]
  /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...]
  /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...]
GenericMethodsTests.java 20 import java.lang.reflect.Method;
52 * Tests whether the specified method declares a type parameter T.
53 * @param method the method
55 private void checkTypeParameter(Method method) {
56 TypeVariable<Method> typeParameter = getTypeParameter(method);
58 assertEquals(method, typeParameter.getGenericDeclaration());
62 * Tests whether the specified method declares a parameter with th
87 Method method = clazz.getMethod("noParamNoReturn"); local
92 Method method = clazz.getMethod("paramNoReturn", Object.class); local
98 Method method = clazz.getMethod("noParamReturn"); local
104 Method method = clazz.getMethod("paramReturn", Object.class); local
    [all...]
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
ReflectiveTypeFinder.java 4 * to get it back, by picking out the type of a known parameter to a known method.
6 * the expected method, so the ReflectiveTypeFinder needs to be applied to that class or a subtype.
8 * For example, the abstract <code>TypeSafeDiagnosingMatcher&lt;T&gt;</code> defines an abstract method
19 * a method which is declared in <code>FeatureMatcher</code>.
21 * In short, use this to extract a type from a method in the leaf class of a templated class hierarchy.
28 import java.lang.reflect.Method;
43 for (Method method : c.getDeclaredMethods()) {
44 if (canObtainExpectedTypeFrom(method)) {
45 return expectedTypeFrom(method);
    [all...]
  /external/junit/src/main/java/org/junit/rules/
TestWatchman.java 19 * public void failed(Throwable e, FrameworkMethod method) {
20 * watchedLog+= method.getName() + &quot; &quot; + e.getClass().getSimpleName()
25 * public void succeeded(FrameworkMethod method) {
26 * watchedLog+= method.getName() + &quot; &quot; + &quot;success!\n&quot;;
46 public Statement apply(final Statement base, final FrameworkMethod method,
51 starting(method);
54 succeeded(method);
58 failed(e, method);
61 finished(method);
68 * Invoked when a test method succeed
    [all...]
  /art/runtime/mirror/
executable.cc 24 bool Executable::CreateFromArtMethod(ArtMethod* method) {
25 auto* interface_method = method->GetInterfaceMethodIfProxy(kPointerSize);
26 SetArtMethod<kTransactionActive>(method);
27 SetFieldObject<kTransactionActive>(DeclaringClassOffset(), method->GetDeclaringClass());
30 SetField32<kTransactionActive>(AccessFlagsOffset(), method->GetAccessFlags());
31 SetField32<kTransactionActive>(DexMethodIndexOffset(), method->GetDexMethodIndex());
35 template bool Executable::CreateFromArtMethod<PointerSize::k32, false>(ArtMethod* method);
36 template bool Executable::CreateFromArtMethod<PointerSize::k32, true>(ArtMethod* method);
37 template bool Executable::CreateFromArtMethod<PointerSize::k64, false>(ArtMethod* method);
38 template bool Executable::CreateFromArtMethod<PointerSize::k64, true>(ArtMethod* method);
    [all...]
  /external/testng/src/test/java/test/invokedmethodlistener/
InvokedMethodNameListener.java 18 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) {
22 public void afterInvocation(IInvokedMethod method, ITestResult testResult) {
23 String methodName = method.getTestMethod().getMethodName();
25 if (method.isTestMethod()) {
28 if (method.isConfigurationMethod()) {
31 if (method.getTestMethod().isTest()) {
34 if (method.getTestMethod().isBeforeMethodConfiguration() ||
35 method.getTestMethod().isAfterMethodConfiguration() ||
36 method.getTestMethod().isBeforeTestConfiguration() ||
37 method.getTestMethod().isAfterTestConfiguration() |
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
basetyps.h 48 #define STDMETHOD(method) virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODCALLTYPE method
49 #define STDMETHOD_(type, method) virtual COM_DECLSPEC_NOTHROW type STDMETHODCALLTYPE method
50 #define STDMETHODV(method) virtual COM_DECLSPEC_NOTHROW HRESULT STDMETHODVCALLTYPE method
51 #define STDMETHODV_(type, method) virtual COM_DECLSPEC_NOTHROW type STDMETHODVCALLTYPE method
64 #define STDMETHOD(method) HRESULT (STDMETHODCALLTYPE *method)
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
MethodAnalyzerTest.java 39 private MethodNode method; field in class:MethodAnalyzerTest
46 method = new MethodNode();
47 method.tryCatchBlocks = new ArrayList<TryCatchBlockNode>();
58 method.visitLineNumber(1001, new Label());
59 method.visitInsn(Opcodes.NOP);
60 method.visitLineNumber(1002, new Label());
61 method.visitInsn(Opcodes.RETURN);
98 method.visitLineNumber(1001, new Label());
99 method.visitVarInsn(Opcodes.ILOAD, 1);
101 method.visitJumpInsn(Opcodes.IFEQ, l1)
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
InvocationInfo.java 7 import java.lang.reflect.Method;
15 private final Method method; field in class:InvocationInfo
18 this.method = theInvocation.getMethod();
22 Class<?>[] exceptions = method.getExceptionTypes();
34 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
35 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
37 return method.getReturnType().isAssignableFrom(clazz);
46 Class<?> returnType = this.method.getReturnType();
51 return method.getReturnType().getSimpleName()
    [all...]
  /external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
InvocationHandlerAdapter.java 28 import java.lang.reflect.Method;
32 * Handles proxy method invocations to dexmaker's InvocationHandler by calling
43 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
44 // args can be null if the method invoked has no arguments, but Mockito expects a non-null array
46 if (isEqualsMethod(method)) {
48 } else if (isHashCodeMethod(method)) {
52 ProxiedMethod proxiedMethod = new ProxiedMethod(method);
65 private static boolean isEqualsMethod(Method method) {
77 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod
    [all...]
  /art/test/071-dexfile-map-clean/
build 21 ./default-build "$@" --zip-compression-method store --zip-align 4

Completed in 1344 milliseconds

12 3 4 5 6 7 8 91011>>