/external/apache-http/src/org/apache/http/ |
RequestLine.java | 47 String getMethod();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 27 String.class.getMethod("charAt", int.class).invoke("hello", 0); 32 String.class.getMethod("compareTo", String.class).invoke("hello", "world"); 37 String.class.getMethod("equals", Object.class).invoke("hello", "world"); 42 String.class.getMethod("indexOf", int.class).invoke("hello", 'l'); 47 String.class.getMethod("isEmpty").invoke("hello"); 52 String.class.getMethod("length").invoke("hello"); 57 Math.class.getMethod("abs", int.class).invoke(null, 1); 59 Math.class.getMethod("abs", long.class).invoke(null, 1L); 61 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); 63 Math.class.getMethod("abs", double.class).invoke(null, 1.0) [all...] |
/external/nist-sip/java/javax/sip/header/ |
AllowHeader.java | 8 String getMethod();
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
Platform.java | 32 @GwtIncompatible("Class.getMethod, java.lang.reflect.Method") 33 static Method getMethod(Class<?> clazz, String name) { 35 return clazz.getMethod(name);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
Platform.java | 29 * Delegate to {@link Class#getMethod(String, Class[])}. Not 32 static Method getMethod(Class<?> clazz, String methodName) { 34 return clazz.getMethod(methodName);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
MethodTest.java | 25 Method m = String.class.getMethod("charAt", int.class); 60 Method method = MethodTestHelper.class.getMethod("m1", new Class[0]); 73 Method method = MethodTestHelper.class.getMethod("m2", expectedParameters); 85 assertEquals(InterfaceA.class, Sub.class.getMethod("a").getDeclaringClass()); 89 assertEquals(InterfaceA.class, ImplementsC.class.getMethod("a").getDeclaringClass()); 90 assertEquals(InterfaceA.class, ExtendsImplementsC.class.getMethod("a").getDeclaringClass()); 108 MethodTestHelper.class.getMethod("<init>"); 116 MethodTestHelper.class.getMethod(null); 123 Method m1 = MethodTestHelper.class.getMethod("m1", (Class[]) null); 129 MethodTestHelper.class.getMethod("m2", new Class[] { null }) [all...] |
MethodOverridesTest.java | 30 Method method = StringBuilder.class.getMethod("append", char.class); 35 Method method = StringBuilder.class.getMethod("append", char.class); 41 Method method = StringBuilder.class.getMethod("append", char.class); 46 Method method = StringBuilder.class.getMethod("append", char.class); 51 Method method = StringBuilder.class.getMethod("append", char.class); 66 assertEquals(Sub.class, Sub.class.getMethod("unchanged").getDeclaringClass()); 74 assertEquals(Sub.class, Sub.class.getMethod("thrower").getDeclaringClass()); 82 Method method = Sub.class.getMethod("returner"); 92 Method method = Sub.class.getMethod("returner"); 109 Method method = Sub.class.getMethod("visibility") [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/support/ |
MethodLogger.java | 59 public String getMethod(int index) { 67 public String getMethod() { 68 return (size() == 0 ? null : getMethod(size() - 1));
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
HurlStackTest.java | 40 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); 49 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); 58 assertEquals(request.getMethod(), Method.GET); 67 assertEquals(request.getMethod(), Method.POST); 76 assertEquals(request.getMethod(), Method.POST); 85 assertEquals(request.getMethod(), Method.PUT); 94 assertEquals(request.getMethod(), Method.PUT); 103 assertEquals(request.getMethod(), Method.DELETE);
|
/external/apache-http/src/org/apache/http/client/methods/ |
HttpDelete.java | 72 public String getMethod() {
|
HttpGet.java | 79 public String getMethod() {
|
HttpHead.java | 79 public String getMethod() {
|
HttpPost.java | 83 public String getMethod() {
|
HttpPut.java | 75 public String getMethod() {
|
HttpTrace.java | 78 public String getMethod() {
|
HttpUriRequest.java | 56 String getMethod();
|
/external/mockito/src/org/mockito/internal/stubbing/answers/ |
ReturnsArgumentAt.java | 88 if (!invocation.getMethod().isVarArgs()) { 98 if(!invocation.getMethod().isVarArgs()) { 99 return invocation.getMethod().getParameterTypes()[actualArgumentPosition]; 102 Class<?>[] parameterTypes = invocation.getMethod().getParameterTypes();
|
/external/mockito/src/org/mockito/invocation/ |
InvocationOnMock.java | 30 Method getMethod();
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SipRequestLine.java | 24 public abstract String getMethod();
|
/external/replicaisland/src/com/replica/replicaisland/ |
UIConstants.java | 33 mOverridePendingTransition = Activity.class.getMethod(
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
ConnectivityManagerCompatUtils.java | 26 private static final Method METHOD_isActiveNetworkMetered = CompatUtils.getMethod(
|
InputMethodServiceCompatUtils.java | 27 CompatUtils.getMethod(InputMethodService.class, "enableHardwareAcceleration");
|
/external/easymock/src/org/easymock/internal/ |
ObjectMethodsFilter.java | 48 equalsMethod = toMock.getMethod("equals",
50 hashCodeMethod = toMock.getMethod("hashCode", (Class[]) null);
51 toStringMethod = toMock.getMethod("toString", (Class[]) null);
93 toStringMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod();
94 equalsMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod();
95 hashCodeMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod();
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
GenericMethodsTests.java | 87 Method method = clazz.getMethod("noParamNoReturn"); 92 Method method = clazz.getMethod("paramNoReturn", Object.class); 98 Method method = clazz.getMethod("noParamReturn"); 104 Method method = clazz.getMethod("paramReturn", Object.class); 110 Method method0 = clazz.getMethod("paramNoReturn", Object.class); 113 Method method1 = clazz.getMethod("noParamNoReturn");
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 73 sRCCEditMetadataMethod = sRemoteControlClientClass.getMethod("editMetadata", 75 sRCCSetPlayStateMethod = sRemoteControlClientClass.getMethod("setPlaybackState", 77 sRCCSetTransportControlFlags = sRemoteControlClientClass.getMethod( 158 mPutStringMethod = metadataEditorClass.getMethod("putString", 160 mPutBitmapMethod = metadataEditorClass.getMethod("putBitmap", 162 mPutLongMethod = metadataEditorClass.getMethod("putLong", 164 mClearMethod = metadataEditorClass.getMethod("clear", new Class[]{}); 165 mApplyMethod = metadataEditorClass.getMethod("apply", new Class[]{});
|