HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 51 - 75 of 1414) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CursorWrapperTest.java 13 import java.lang.reflect.Method;
27 final HashMap<String, Method> cursorMethod;
32 cursorMethod = new HashMap<String, Method>();
35 for (Method m : Cursor.class.getMethods()) {
43 Method method = cursorMethod.get(methodName); local
44 method.invoke(cursorWrapper, params);
45 method.invoke(verify(mockCursor, times(1)), params);
  /external/smali/smali/src/test/java/
ImplicitReferenceTest.java 40 import org.jf.dexlib2.iface.Method;
58 * Tests for method/field references that use an implicit type
66 ".method public static main([Ljava/lang/String;)V\n" +
72 ".end method");
74 Method mainMethod = null;
75 for (Method method: classDef.getMethods()) {
76 if (method.getName().equals("main")) {
77 mainMethod = method;
90 MethodReference method = (MethodReference)instruction.getReference() local
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
HttpClientFactory.java 31 import java.lang.reflect.Method;
38 // TODO: migrate GDataClient to use this util method instead of apache's
59 Method newInstance = clazz.getMethod("newInstance", String.class);
95 Method method = clazz.getMethod("close", (Class<?>[]) null); local
96 method.invoke(client, (Object[]) null);
  /art/runtime/arch/arm/
context_arm.cc 39 ArtMethod* method = fr.GetMethod(); local
40 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
  /art/runtime/arch/arm64/
context_arm64.cc 41 ArtMethod* method = fr.GetMethod(); local
42 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
  /art/runtime/arch/mips/
context_mips.cc 39 ArtMethod* method = fr.GetMethod(); local
40 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
  /art/runtime/arch/mips64/
context_mips64.cc 39 ArtMethod* method = fr.GetMethod(); local
40 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
  /art/runtime/jit/
jit_code_cache_test.cc 53 auto* method = cl->AllocArtMethodArray(soa.Self(), 1); local
54 ASSERT_FALSE(code_cache->ContainsMethod(method));
55 method->SetEntryPointFromQuickCompiledCode(reserved_code);
56 ASSERT_TRUE(code_cache->ContainsMethod(method));
57 ASSERT_EQ(code_cache->GetCodeFor(method), reserved_code);
59 code_cache->SaveCompiledCode(method, reserved_code);
60 method->SetEntryPointFromQuickCompiledCode(nullptr);
61 ASSERT_EQ(code_cache->GetCodeFor(method), reserved_code);
  /art/runtime/mirror/
dex_cache-inl.h 58 auto* method = GetResolvedMethods()->GetElementPtrSize<ArtMethod*>(method_idx, ptr_size); local
60 if (method != nullptr && method->IsRuntimeMethod()) {
61 DCHECK_EQ(method, Runtime::Current()->GetResolutionMethod());
64 return method;
67 inline void DexCache::SetResolvedMethod(uint32_t idx, ArtMethod* method, size_t ptr_size) {
69 GetResolvedMethods()->SetElementPtrSize(idx, method, ptr_size);
  /build/tools/droiddoc/test/stubs/src/com/android/stubs/a/
A.java 30 public void method() { method in class:A
35 int method() { method in class:A.Inner
  /cts/tests/tests/text/src/android/text/method/cts/
KeyListenerCtsActivity.java 17 package android.text.method.cts;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
29 import android.text.method.NumberKeyListener;
30 import android.text.method.QwertyKeyListener;
31 import android.text.method.TextKeyListener;
32 import android.text.method.TimeKeyListener
    [all...]
KeyListenerTestCase.java 17 package android.text.method.cts;
24 import android.text.method.cts.KeyListenerCtsActivity;
25 import android.text.method.KeyListener;
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttEnclosingMethod.java 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
34 private final CstNat method; field in class:AttEnclosingMethod
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
41 * method, if any
43 public AttEnclosingMethod(CstType type, CstNat method) {
51 this.method = method;
69 * Gets the name-and-type of the innermost enclosing method, if
73 * method, if any
76 return 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/apache-http/src/org/apache/http/message/
BasicHttpRequest.java 56 private final String method; field in class:BasicHttpRequest
59 public BasicHttpRequest(final String method, final String uri) {
61 if (method == null) {
62 throw new IllegalArgumentException("Method name may not be null");
67 this.method = method;
72 public BasicHttpRequest(final String method, final String uri, final ProtocolVersion ver) {
73 this(new BasicRequestLine(method, uri, ver));
82 this.method = requestline.getMethod();
99 return new BasicRequestLine(this.method, this.uri, ver)
    [all...]
BasicRequestLine.java 39 * It contains the method, URI, and HTTP version of the request.
58 private final String method; field in class:BasicRequestLine
61 public BasicRequestLine(final String method,
65 if (method == null) {
67 ("Method must not be null.");
77 this.method = method;
83 return this.method;
  /external/boringssl/src/ssl/
d1_meth.c 81 static const SSL_METHOD method = { local
85 return &method;
91 static const SSL_METHOD method = { local
95 return &method;
99 static const SSL_METHOD method = { local
103 return &method;
  /external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/
p3-0x.cpp 33 struct method { struct in namespace:rdar12176336
36 method(vararg_func implementation) : implementation(implementation) {} function in struct:rdar12176336::method
46 method m(nullptr);
  /external/clang/test/SemaCXX/
pragma-optimize.cpp 35 // The declaration of the method is not decorated with `optnone`.
36 int method(int blah);
39 // The definition of the method instead is decorated with `optnone`.
40 int MyClass::method(int blah) { function in class:MyClass
  /external/compiler-rt/test/ubsan/TestCases/Misc/
nonnull-arg.cpp 7 // RUN: not %run %t 0m 2>&1 | FileCheck %s --check-prefix=METHOD
19 int method(int *nonnull, int *null) __attribute__((nonnull(2))) { function in class:C
45 return C(0x0, &local).method(arg, 0x0);
46 // METHOD: {{.*}}nonnull-arg.cpp:[[@LINE-1]]:36: runtime error: null pointer passed as argument 1, which is declared to never be null
47 // METHOD-NEXT: {{.*}}nonnull-arg.cpp:19:54: note: nonnull attribute specified here
  /external/guava/guava-tests/test/com/google/common/reflect/
TypeParameterTest.java 24 import java.lang.reflect.Method;
50 Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); local
  /external/javassist/src/main/javassist/compiler/ast/
CallExpr.java 23 * Method call expression.
26 private MemberResolver.Method method; // cached result of lookupMethod() field in class:CallExpr
30 method = null;
33 public void setMethod(MemberResolver.Method m) {
34 method = m;
37 public MemberResolver.Method getMethod() {
38 return method;
  /external/junit/src/org/junit/runner/
Request.java 28 * This is done by filtering out all other tests. This method is used to support rerunning
34 public static Request method(Class<?> clazz, String methodName) { method in class:Request
35 Description method= Description.createTestDescription(clazz, methodName); local
36 return Request.aClass(clazz).filterWith(method);
51 * in a class. If the class has a suite() method, it will be ignored.
  /external/libvpx/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)
111 << " 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...]

Completed in 206 milliseconds

1 23 4 5 6 7 8 91011>>