/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/ |
FmExtractLettersMethodTest.java | 30 FmExtractLettersMethod method = new FmExtractLettersMethod(); local 32 assertEquals(expected, ((SimpleScalar) method.exec(list)).getAsString());
|
/system/core/include/ziparchive/ |
zip_archive.h | 53 // Compression method: One of kCompressStored or 55 uint16_t method; member in struct:ZipEntry 150 * This method also accepts an optional prefix to restrict iteration to
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ScrollingMovementMethodTest.java | 17 package android.text.method.cts; 27 import android.text.method.MovementMethod; 28 import android.text.method.ScrollingMovementMethod; 85 * get layout in setContent method but in otherhandler's function. Assertion which is 91 final ScrollingMovementMethod method = new ScrollingMovementMethod(); local 112 mResult = method.onTouchEvent(mTextView, mSpannable, 122 mResult = method.onTouchEvent(mTextView, mSpannable, 131 mResult = method.onTouchEvent(mTextView, mSpannable, 139 mResult = method.onTouchEvent(mTextView, mSpannable, 149 mResult = method.onTouchEvent(mTextView, mSpannable 736 final MyScrollingMovementMethod method = new MyScrollingMovementMethod(); local [all...] |
WordIteratorTest.java | 17 package android.text.method.cts; 19 import android.text.method.WordIterator;
|
/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...] |
MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 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...] |
MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 this.method = method; [all...] |
/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...] |
MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 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()
|
/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...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
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...] |
/art/runtime/arch/x86/ |
context_x86.cc | 38 ArtMethod* method = fr.GetMethod(); local 39 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
|
/art/runtime/arch/x86_64/ |
context_x86_64.cc | 38 ArtMethod* method = fr.GetMethod(); local 39 const QuickMethodFrameInfo frame_info = method->GetQuickFrameInfo();
|
/cts/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/ |
JavaScannerDoclet.java | 53 for (MethodDoc method : clazz.methods()) { 54 if (method.name().startsWith("test")) { 55 writer.append("test:").println(method.name());
|
/dalvik/dx/src/com/android/dx/command/dump/ |
Args.java | 53 /** if non-null, an explicit method to dump */ 54 String method; field in class:Args
|
/external/boringssl/src/crypto/x509v3/ |
v3_prn.c | 100 const X509V3_EXT_METHOD *method; local 104 if(!(method = X509V3_EXT_get(ext))) 107 if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); 108 else ext_str = method->d2i(NULL, &p, ext->value->length); 112 if(method->i2s) { 113 if(!(value = method->i2s(method, ext_str))) { 118 } else if(method->i2v) { 119 if(!(nval = method->i2v(method, ext_str, NULL))) [all...] |
/external/boringssl/src/ssl/ |
s3_meth.c | 80 static const SSL_METHOD method = { local 84 return &method; 94 static const SSL_METHOD method = { local 98 return &method; 102 static const SSL_METHOD method = { local 106 return &method; 110 static const SSL_METHOD method = { local 114 return &method; 118 static const SSL_METHOD method = { local 122 return &method; [all...] |
/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/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
InvocationHandlerAdapter.java | 21 import java.lang.reflect.Method; 30 * Handles proxy method invocations to dexmaker's InvocationHandler by calling 41 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 42 if (objectMethodsGuru.isEqualsMethod(method)) { 44 } else if (objectMethodsGuru.isHashCodeMethod(method)) { 48 ProxiedMethod proxiedMethod = new ProxiedMethod(method); 62 private final Method method; field in class:InvocationHandlerAdapter.ProxiedMethod 64 public ProxiedMethod(Method method) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
SourceSinkTester.java | 30 import java.lang.reflect.Method; 81 SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) { 82 super(method.getName()); 113 static ImmutableList<Method> getTestMethods(Class<?> testClass) { 114 List<Method> result = Lists.newArrayList(); 115 for (Method method : testClass.getDeclaredMethods()) { 116 if (Modifier.isPublic(method.getModifiers()) 117 && method.getReturnType() == void.clas [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
NoOpGenerator.java | 30 MethodInfo method = (MethodInfo)it.next(); local 31 if (TypeUtils.isProtected(context.getOriginalModifiers(method)) && 32 TypeUtils.isPublic(method.getModifiers())) { 33 CodeEmitter e = EmitUtils.begin_method(ce, method);
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
MethodInfo.java | 10 import java.lang.reflect.Method; 17 private Method method; field in class:MethodInfo 20 this.method = theInvocation.getMethod(); 24 Class<?>[] exceptions = method.getExceptionTypes(); 36 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) { 37 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType()); 39 return method.getReturnType().isAssignableFrom(clazz); 44 return this.method.getReturnType() == Void.TYPE; 48 return method.getReturnType().getSimpleName() [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
OptionalMethod.java | 21 import java.lang.reflect.Method; 25 * Duck-typing for methods: Represents a method that may or may not be present on an object. 27 * @param <T> the type of the object the method might be on, typically an interface or base class 31 /** The return type of the method. null means "don't care". */ 39 * Creates an optional method. 42 * @param methodName the name of the method 43 * @param methodParams the method parameter types 52 * Returns true if the method exists on the supplied {@code target}. 59 * Invokes the method on {@code target} with {@code args}. If the method does not exist or is no 149 Method method = null; local 164 Method method = null; local [all...] |