Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/external/volley/src/test/java/com/android/volley/toolbox/
DRequestTest.java42 assertNotNull(Request.class.getMethod("getMethod")); in publicMethods()
43 assertNotNull(Request.class.getMethod("setTag", Object.class)); in publicMethods()
44 assertNotNull(Request.class.getMethod("getTag")); in publicMethods()
45 assertNotNull(Request.class.getMethod("getErrorListener")); in publicMethods()
46 assertNotNull(Request.class.getMethod("getTrafficStatsTag")); in publicMethods()
47 assertNotNull(Request.class.getMethod("setRetryPolicy", RetryPolicy.class)); in publicMethods()
48 assertNotNull(Request.class.getMethod("addMarker", String.class)); in publicMethods()
50 assertNotNull(Request.class.getMethod("setRequestQueue", RequestQueue.class)); in publicMethods()
51 assertNotNull(Request.class.getMethod("setSequence", int.class)); in publicMethods()
52 assertNotNull(Request.class.getMethod("getSequence")); in publicMethods()
[all …]
DHttpClientStackTest.java43 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); in createDeprecatedGetRequest()
52 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); in createDeprecatedPostRequest()
61 assertEquals(request.getMethod(), Method.GET); in createGetRequest()
70 assertEquals(request.getMethod(), Method.POST); in createPostRequest()
79 assertEquals(request.getMethod(), Method.POST); in createPostRequestWithBody()
88 assertEquals(request.getMethod(), Method.PUT); in createPutRequest()
97 assertEquals(request.getMethod(), Method.PUT); in createPutRequestWithBody()
106 assertEquals(request.getMethod(), Method.DELETE); in createDeleteRequest()
115 assertEquals(request.getMethod(), Method.HEAD); in createHeadRequest()
124 assertEquals(request.getMethod(), Method.OPTIONS); in createOptionsRequest()
[all …]
DRequestQueueTest.java42 assertNotNull(RequestQueue.class.getMethod("start")); in publicMethods()
43 assertNotNull(RequestQueue.class.getMethod("stop")); in publicMethods()
44 assertNotNull(RequestQueue.class.getMethod("getSequenceNumber")); in publicMethods()
45 assertNotNull(RequestQueue.class.getMethod("getCache")); in publicMethods()
46 assertNotNull(RequestQueue.class.getMethod("cancelAll", RequestQueue.RequestFilter.class)); in publicMethods()
47 assertNotNull(RequestQueue.class.getMethod("cancelAll", Object.class)); in publicMethods()
48 assertNotNull(RequestQueue.class.getMethod("add", Request.class)); in publicMethods()
DCacheTest.java32 assertNotNull(Cache.class.getMethod("get", String.class)); in publicMethods()
33 assertNotNull(Cache.class.getMethod("put", String.class, Cache.Entry.class)); in publicMethods()
34 assertNotNull(Cache.class.getMethod("initialize")); in publicMethods()
35 assertNotNull(Cache.class.getMethod("invalidate", String.class, boolean.class)); in publicMethods()
36 assertNotNull(Cache.class.getMethod("remove", String.class)); in publicMethods()
37 assertNotNull(Cache.class.getMethod("clear")); in publicMethods()
DHurlStackTest.java71 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); in connectionForDeprecatedGetRequest()
81 assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST); in connectionForDeprecatedPostRequest()
91 assertEquals(request.getMethod(), Method.GET); in connectionForGetRequest()
101 assertEquals(request.getMethod(), Method.POST); in connectionForPostRequest()
111 assertEquals(request.getMethod(), Method.POST); in connectionForPostWithBodyRequest()
121 assertEquals(request.getMethod(), Method.PUT); in connectionForPutRequest()
131 assertEquals(request.getMethod(), Method.PUT); in connectionForPutWithBodyRequest()
141 assertEquals(request.getMethod(), Method.DELETE); in connectionForDeleteRequest()
151 assertEquals(request.getMethod(), Method.HEAD); in connectionForHeadRequest()
161 assertEquals(request.getMethod(), Method.OPTIONS); in connectionForOptionsRequest()
[all …]
DImageLoaderTest.java92 ImageLoader.class.getMethod( in publicMethods()
94 assertNotNull(ImageLoader.class.getMethod("isCached", String.class, int.class, int.class)); in publicMethods()
96 ImageLoader.class.getMethod( in publicMethods()
99 ImageLoader.class.getMethod("get", String.class, ImageLoader.ImageListener.class)); in publicMethods()
101 ImageLoader.class.getMethod( in publicMethods()
108 ImageLoader.class.getMethod( in publicMethods()
115 assertNotNull(ImageLoader.class.getMethod("setBatchedResponseDelay", int.class)); in publicMethods()
118 ImageLoader.ImageListener.class.getMethod( in publicMethods()
DNetworkImageViewTest.java92 NetworkImageView.class.getMethod("setImageUrl", String.class, ImageLoader.class)); in publicMethods()
93 assertNotNull(NetworkImageView.class.getMethod("setDefaultImageBitmap", Bitmap.class)); in publicMethods()
94 assertNotNull(NetworkImageView.class.getMethod("setDefaultImageResId", int.class)); in publicMethods()
95 assertNotNull(NetworkImageView.class.getMethod("setErrorImageBitmap", Bitmap.class)); in publicMethods()
96 assertNotNull(NetworkImageView.class.getMethod("setErrorImageResId", int.class)); in publicMethods()
/external/testng/src/main/java/org/testng/internal/
DConstructorOrMethod.java26 …return getMethod() != null ? getMethod().getDeclaringClass() : getConstructor().getDeclaringClass(… in getDeclaringClass()
30 return getMethod() != null ? getMethod().getName() : getConstructor().getName(); in getName()
34 …return getMethod() != null ? getMethod().getParameterTypes() : getConstructor().getParameterTypes(… in getParameterTypes()
37 public Method getMethod() { in getMethod() method in ConstructorOrMethod
50 result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode()); in hashCode()
68 if (getMethod() == null) { in equals()
69 if (other.getMethod() != null) in equals()
71 } else if (!getMethod().equals(other.getMethod())) in equals()
DFactoryMethod.java38 Utils.checkInstanceOrStatic(instance, com.getMethod()); in FactoryMethod()
39 Utils.checkReturnType(com.getMethod(), Object[].class, IInstanceInfo[].class); in FactoryMethod()
45 …if (instance == null && com.getMethod() != null && !Modifier.isStatic(com.getMethod().getModifiers… in FactoryMethod()
46 …throw new TestNGException("An inner factory method MUST be static. But '" + com.getMethod().getNam… in FactoryMethod()
48 if (com.getMethod() != null && !Modifier.isPublic(com.getMethod().getModifiers())) { in FactoryMethod()
50 com.getMethod().setAccessible(true); in FactoryMethod()
89 if (com.getMethod() != null) { in invoke()
90 testInstances = (Object[]) getMethod().invoke(m_instance, parameters); in invoke()
DMethodInstance.java21 public ITestNGMethod getMethod() { in getMethod() method in MethodInstance
49 XmlTest test1 = o1.getMethod().getTestClass().getXmlTest();
50 XmlTest test2 = o2.getMethod().getTestClass().getXmlTest();
61 XmlClass class1 = o1.getMethod().getTestClass().getXmlClass();
62 XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
79 findXmlInclude(class1.getIncludedMethods(), o1.getMethod().getMethodName());
81 findXmlInclude(class2.getIncludedMethods(), o2.getMethod().getMethodName());
/external/mockito/src/test/java/org/mockito/internal/util/
DObjectMethodsGuruTest.java32 … assertFalse(ObjectMethodsGuru.isToStringMethod(Object.class.getMethod("equals", Object.class))); in shouldKnowToStringMethod()
33 …assertFalse(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString", String.class))… in shouldKnowToStringMethod()
34 assertTrue(ObjectMethodsGuru.isToStringMethod(IMethods.class.getMethod("toString"))); in shouldKnowToStringMethod()
40 assertFalse(ObjectMethodsGuru.isCompareToMethod(Date.class.getMethod("toString"))); in shouldKnowCompareToMethod()
41 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("foo", HasCompare.class… in shouldKnowCompareToMethod()
42 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare… in shouldKnowCompareToMethod()
43 …assertFalse(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", String.cla… in shouldKnowCompareToMethod()
46 …assertTrue(ObjectMethodsGuru.isCompareToMethod(HasCompare.class.getMethod("compareTo", HasCompare.… in shouldKnowCompareToMethod()
/external/testng/src/main/java/org/testng/reporters/
DTextReporter.java40 result[i++] = tr.getMethod(); in resultsToMethods()
61 Utils.detailedMethodName(tr.getMethod(), false), in logResults()
62 tr.getMethod().getDescription(), in logResults()
65 tr.getMethod().getMethod().getParameterTypes() in logResults()
72 Utils.detailedMethodName(tr.getMethod(), false), in logResults()
73 tr.getMethod().getDescription(), in logResults()
76 tr.getMethod().getMethod().getParameterTypes() in logResults()
125 logResult(status, tr.getName(), tr.getMethod().getDescription(), stackTrace, in logResult()
126 tr.getParameters(), tr.getMethod().getMethod().getParameterTypes()); in logResult()
/external/testng/src/test/java/test/mannotation/
DMAnnotation2SampleTest.java27 Method method = MTest3.class.getMethod("groups1", new Class[0]); in verifyTestGroupsInheritance()
34 Method method = MTest3.class.getMethod("groups2", new Class[0]); in verifyTestGroupsInheritance()
46 Method method = MTest3.class.getMethod("dependsOnGroups1", new Class[0]); in verifyTestDependsOnGroupsInheritance()
53 Method method = MTest3.class.getMethod("dependsOnGroups2", new Class[0]); in verifyTestDependsOnGroupsInheritance()
66 Method method = MTest3.class.getMethod("dependsOnMethods1", new Class[0]); in verifyTestDependsOnMethodsInheritance()
73 Method method = MTest3.class.getMethod("dependsOnMethods2", new Class[0]); in verifyTestDependsOnMethodsInheritance()
86 Method method = MTest3.class.getMethod("beforeSuite", new Class[0]); in verifyConfigurationGroupsInheritance()
97 Method method = MTest3.class.getMethod("enabled1", new Class[0]); in verifyTestEnabledInheritance()
103 Method method = MTest3.class.getMethod("enabled2", new Class[0]); in verifyTestEnabledInheritance()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPServerTransaction.java561 String method = messageToTest.getCSeq().getMethod(); in isMessagePartOfTransaction()
596 transactionMatches = this.getMethod().equals(Request.CANCEL) in isMessagePartOfTransaction()
636 if (messageToTest.getCSeq().getMethod().equalsIgnoreCase(Request.CANCEL) in isMessagePartOfTransaction()
637 && !getOriginalRequest().getCSeq().getMethod().equalsIgnoreCase( in isMessagePartOfTransaction()
648 … && ((!messageToTest.getCSeq().getMethod().equals(Request.CANCEL)) || getOriginalRequest() in isMessagePartOfTransaction()
649 .getMethod().equals(messageToTest.getCSeq().getMethod())) in isMessagePartOfTransaction()
745 && transactionRequest.getMethod().equals(Request.ACK)) { in processRequest()
780 } else if (transactionRequest.getMethod().equals(getOriginalRequest().getMethod())) { in processRequest()
793 } else if (transactionRequest.getMethod().equals(Request.ACK)) { in processRequest()
812 if (getOriginalRequest().getMethod().equals(transactionRequest.getMethod())) { in processRequest()
[all …]
DSIPClientTransaction.java364 && getMethod().equals(messageToTest.getCSeq().getMethod()); in isMessagePartOfTransaction()
374 transactionMatches = getOriginalRequest().getCSeq().getMethod().equals( in isMessagePartOfTransaction()
375 messageToTest.getCSeq().getMethod()); in isMessagePartOfTransaction()
426 if (transactionRequest.getMethod().equals(Request.ACK)) { in sendMessage()
456 if (transactionRequest.getMethod().equals(Request.INVITE)) { in sendMessage()
458 } else if (transactionRequest.getMethod().equals(Request.ACK)) { in sendMessage()
740 && transactionResponse.getCSeq().getMethod().equals(dialog.getMethod())) { in inviteClientTransaction()
905 if (getMethod().equals(Request.SUBSCRIBE) in sendRequest()
923 if (this.getOriginalRequest().getMethod().equals(Request.CANCEL) in sendRequest()
937 } else if (!ct.getMethod().equals(Request.INVITE)) { in sendRequest()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java77 private static MethodId<Callable, Object> CALL = CALLABLE.getMethod(TypeId.OBJECT, "call");
111 MethodId<?, Constructable> methodId = GENERATED.getMethod( in testNewInstance()
122 Constructable constructed = (Constructable) getMethod().invoke(null, 5L, false); in testNewInstance()
142 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call"); in testVoidNoArgMemberMethod()
150 Method method = generatedClass.getMethod("call"); in testVoidNoArgMemberMethod()
162 MethodId<?, Integer> methodId = GENERATED.getMethod(TypeId.INT, "call", TypeId.INT); in testInvokeStatic()
167 = TEST_TYPE.getMethod(TypeId.INT, "staticMethod", TypeId.INT); in testInvokeStatic()
171 assertEquals(10, getMethod().invoke(null, 4)); in testInvokeStatic()
181 MethodId<?, Void> methodId = GENERATED.getMethod(TypeId.VOID, "call", TypeId.INT); in testCreateLocalMethodAsNull()
192 Method method = generatedClass.getMethod("call", int.class); in testCreateLocalMethodAsNull()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManager.java60 sourceClass.getMethod(targetMethod.getName(), targetMethod.getParameterTypes()); in getInstance()
77 .getMethod("chooseServerKeyIdentityHint", Socket.class) in chooseServerKeyIdentityHint()
88 .getMethod("chooseServerKeyIdentityHint", SSLEngine.class) in chooseServerKeyIdentityHint()
99 .getMethod("chooseClientKeyIdentity", String.class, Socket.class) in chooseClientKeyIdentity()
110 .getMethod("chooseClientKeyIdentity", String.class, SSLEngine.class) in chooseClientKeyIdentity()
121 .getMethod("getKey", String.class, String.class, Socket.class) in getKey()
132 .getMethod("getKey", String.class, String.class, SSLEngine.class) in getKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DDuckTypedPSKKeyManager.java59 sourceClass.getMethod(targetMethod.getName(), targetMethod.getParameterTypes()); in getInstance()
76 .getMethod("chooseServerKeyIdentityHint", Socket.class) in chooseServerKeyIdentityHint()
87 .getMethod("chooseServerKeyIdentityHint", SSLEngine.class) in chooseServerKeyIdentityHint()
98 .getMethod("chooseClientKeyIdentity", String.class, Socket.class) in chooseClientKeyIdentity()
109 .getMethod("chooseClientKeyIdentity", String.class, SSLEngine.class) in chooseClientKeyIdentity()
120 .getMethod("getKey", String.class, String.class, Socket.class) in getKey()
131 .getMethod("getKey", String.class, String.class, SSLEngine.class) in getKey()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java248 if (getMethod().equals(Request.NOTIFY)) { in checkHeaders()
255 } else if (getMethod().equals(Request.PUBLISH)) { in checkHeaders()
276 if (requestLine.getMethod().equals(Request.INVITE) in checkHeaders()
277 || requestLine.getMethod().equals(Request.SUBSCRIBE) in checkHeaders()
278 || requestLine.getMethod().equals(Request.REFER)) { in checkHeaders()
302 && (this.getMethod().equals(Request.INVITE) in checkHeaders()
303 || this.getMethod().equals(Request.REFER) || this.getMethod().equals( in checkHeaders()
308 if (requestLine != null && requestLine.getMethod() != null in checkHeaders()
309 && getCSeq().getMethod() != null in checkHeaders()
310 && requestLine.getMethod().compareTo(getCSeq().getMethod()) != 0) { in checkHeaders()
[all …]
/external/easymock/src/org/easymock/internal/
DObjectMethodsFilter.java48 equalsMethod = toMock.getMethod("equals", in ObjectMethodsFilter()
50 hashCodeMethod = toMock.getMethod("hashCode", (Class[]) null); in ObjectMethodsFilter()
51 toStringMethod = toMock.getMethod("toString", (Class[]) null); in ObjectMethodsFilter()
93 toStringMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod(); in readObject()
94 equalsMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod(); in readObject()
95 hashCodeMethod = ((MethodSerializationWrapper) stream.readObject()).getMethod(); in readObject()
/external/nist-sip/java/gov/nist/javax/sip/
DDialogFilter.java119 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendRequestPendingResponse()
149 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendBadRequestResponse()
180 if (sipRequest.getMethod().equals(Request.INVITE)) { in sendCallOrTransactionDoesNotExistResponse()
392 if (sipRequest.getMethod().equals(Request.REFER) && dialog != null in processRequest()
415 && lastRequest.getMethod().equals(Request.INVITE)) { in processRequest()
421 String method = lastRequest.getMethod(); in processRequest()
429 } else if (sipRequest.getMethod().equals(Request.UPDATE)) { in processRequest()
439 } else if (sipRequest.getMethod().equals(Request.ACK)) { in processRequest()
536 if (sipRequest.getMethod().equals(Request.INVITE) in processRequest()
559 } else if (sipRequest.getMethod().equals(Request.PRACK)) { in processRequest()
[all …]
/external/testng/src/test/java/test/skipex/
DSkippedExceptionTest.java27 Assert.assertEquals(testSkips.get(0).getMethod().getMethodName(), "dummyTest"); in skippedExceptionInConfigurationMethods()
30 …Assert.assertEquals(confSkips.get(0).getMethod().getMethodName(), "configurationLevelSkipException… in skippedExceptionInConfigurationMethods()
47 Assert.assertEquals(skips.get(0).getMethod().getMethodName(), "genericSkipException"); in skippedExceptionInTestMethods()
48 Assert.assertEquals(failures.get(0).getMethod().getMethodName(), "timedSkipException"); in skippedExceptionInTestMethods()
49 Assert.assertEquals(passed.get(0).getMethod().getMethodName(), "genericExpectedSkipException"); in skippedExceptionInTestMethods()
/external/testng/src/main/java/org/testng/junit/
DJUnit3TestMethod.java14 super(owner, getMethod(test), test); in JUnit3TestMethod()
17 private static Method getMethod(Test t) { in getMethod() method in JUnit3TestMethod
20 Method nameMethod = t.getClass().getMethod("getName"); in getMethod()
22 return t.getClass().getMethod(name); in getMethod()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java178 trafficStatsTagSocket = trafficStats.getMethod("tagSocket", Socket.class); in findPlatform()
179 trafficStatsUntagSocket = trafficStats.getMethod("untagSocket", Socket.class); in findPlatform()
226 return SSLEngine.class.getMethod("getApplicationProtocol"); in findPlatform()
236 return SSLParameters.class.getMethod("setApplicationProtocols", String[].class); in findPlatform()
244 return SSLSocket.class.getMethod("getApplicationProtocol"); in findPlatform()
262 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass); in findPlatform()
263 Method getMethod = negoClass.getMethod("get", SSLSocket.class); in findPlatform() local
264 Method removeMethod = negoClass.getMethod("remove", SSLSocket.class); in findPlatform()
266 putMethod, getMethod, removeMethod, clientProviderClass, serverProviderClass, in findPlatform()
486 private final Method getMethod; field in Platform.JdkWithJettyBootPlatform
[all …]
/external/testng/src/test/java/test/verify/
DVerifyMethodInterceptor.java21 if (m.getMethod().getMethod().getAnnotation(Verifier.class) != null) { in intercept()
34 if (m.getMethod().getMethod().getAnnotation(Verify.class) != null) { in intercept()

12345678910>>...22