/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;
|
HideReturnsTransformationMethodTest.java | 17 package android.text.method.cts; 20 import android.text.method.HideReturnsTransformationMethod; 33 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); local 34 TextMethodUtils.assertEquals(new char[] { '\r' }, method.getOriginal()); 46 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); local 47 TextMethodUtils.assertEquals(new char[] { '\uFEFF' }, method.getReplacement());
|
/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...] |
/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/junit/src/org/junit/rules/ |
TestWatchman.java | 19 * public void failed(Throwable e, FrameworkMethod method) { 20 * watchedLog+= method.getName() + " " + e.getClass().getSimpleName() 25 * public void succeeded(FrameworkMethod method) { 26 * watchedLog+= method.getName() + " " + "success!\n"; 46 public Statement apply(final Statement base, final FrameworkMethod method, 51 starting(method); 54 succeeded(method); 58 failed(t, method); 61 finished(method); 68 * Invoked when a test method succeed [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 | 41 #define STDMETHOD(method) virtual HRESULT WINAPI method 42 #define STDMETHOD_(type,method) virtual type WINAPI method 43 #define STDMETHODV(method) virtual HRESULT STDMETHODVCALLTYPE method 44 #define STDMETHODV_(type,method) virtual type STDMETHODVCALLTYPE method 59 #define STDMETHOD(method) HRESULT (WINAPI *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/v8/test/mjsunit/es6/ |
object-literals-method.js | 10 method() { 14 assertEquals(42, object.method()); 20 method() { 24 object.method(); 30 method() { 35 var desc = Object.getOwnPropertyDescriptor(object, 'method'); 47 method() {} 50 assertEquals(Function.prototype, Object.getPrototypeOf(object.method)); 56 method() {} 60 new object.method; [all...] |
/art/test/425-invoke-super/smali/ |
superclass.smali | 19 .method public constructor <init>()V 23 .end method 25 .method public returnInt()I 29 .end method
|
/art/test/434-invoke-direct/smali/ |
invoke.smali | 19 .method public constructor <init>()V 23 .end method 25 .method public run()I 30 .end method
|
/art/test/551-invoke-super/smali/ |
superclass.smali | 19 .method public constructor <init>()V 23 .end method 25 .method abstract public returnInt()I 26 .end method
|
/art/test/594-invoke-super/smali/ |
invoke-super.smali | 19 .method public constructor <init>()V 23 .end method 25 .method public foo()V 31 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_float/d/ |
T_neg_float_5.d | 6 .method public <init>()V 11 .end method 13 .method public run(F)F 18 .end method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_int/d/ |
T_neg_int_6.d | 6 .method public <init>()V 11 .end method 13 .method public run(I)I 18 .end method
|
/external/testng/src/main/java/org/testng/ |
IInvokedMethodListener2.java | 11 * To be implemented if the method needs a handle to contextual information. 13 void beforeInvocation(IInvokedMethod method, ITestResult testResult, 17 * To be implemented if the method needs a handle to contextual information. 19 void afterInvocation(IInvokedMethod method, ITestResult testResult,
|
TestNGUtils.java | 5 import java.lang.reflect.Method; 10 * Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs 13 public static ITestNGMethod createITestNGMethod(ITestNGMethod existingMethod, Method method) { 14 return new ClonedMethod(existingMethod, method);
|
/ndk/tests/build/issue-gcc59052-partial-specialization-of-template/jni/ |
issue-gcc59052-partial-specialization-of-template.cc | 12 static void method() {} function in struct:N::C::Implementation 18 N::C<int>::Implementation<void, 0>::method();
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/reflect/ |
Method.java | 22 /** Provides information about, and access to, a single method on a class or interface.
24 public final class Method {
26 private final java.lang.reflect.Method method;
field in class:Method 28 Method (java.lang.reflect.Method method) {
29 this.method = method;
32 /** Returns the name of the method. */ [all...] |