/external/volley/src/test/java/com/android/volley/toolbox/ |
D | RequestTest.java | 42 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 …]
|
D | HttpClientStackTest.java | 43 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 …]
|
D | RequestQueueTest.java | 42 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()
|
D | CacheTest.java | 32 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()
|
D | NetworkImageViewTest.java | 93 NetworkImageView.class.getMethod("setImageUrl", String.class, ImageLoader.class)); in publicMethods() 94 assertNotNull(NetworkImageView.class.getMethod("setDefaultImageDrawable", Drawable.class)); in publicMethods() 95 assertNotNull(NetworkImageView.class.getMethod("setDefaultImageBitmap", Bitmap.class)); in publicMethods() 96 assertNotNull(NetworkImageView.class.getMethod("setDefaultImageResId", int.class)); in publicMethods() 97 assertNotNull(NetworkImageView.class.getMethod("setErrorImageDrawable", Drawable.class)); in publicMethods() 98 assertNotNull(NetworkImageView.class.getMethod("setErrorImageBitmap", Bitmap.class)); in publicMethods() 99 assertNotNull(NetworkImageView.class.getMethod("setErrorImageResId", int.class)); in publicMethods()
|
D | ImageLoaderTest.java | 92 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()
|
/external/testng/src/main/java/org/testng/internal/ |
D | ConstructorOrMethod.java | 26 …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()
|
D | FactoryMethod.java | 38 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()
|
D | MethodInstance.java | 21 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/auto/common/src/test/java/com/google/auto/common/ |
D | MoreElementsTest.java | 274 getMethod(ParentInterface.class, "bar", longMirror), in getLocalAndInheritedMethods_Old() 275 getMethod(ParentClass.class, "foo"), in getLocalAndInheritedMethods_Old() 276 getMethod(Child.class, "bar"), in getLocalAndInheritedMethods_Old() 277 getMethod(Child.class, "baz"), in getLocalAndInheritedMethods_Old() 278 getMethod(Child.class, "buh", intMirror), in getLocalAndInheritedMethods_Old() 279 getMethod(Child.class, "buh", intMirror, intMirror)) in getLocalAndInheritedMethods_Old() 297 getMethod(ParentInterface.class, "bar", longMirror), in getLocalAndInheritedMethods() 298 getMethod(ParentClass.class, "foo"), in getLocalAndInheritedMethods() 299 getMethod(Child.class, "bar"), in getLocalAndInheritedMethods() 300 getMethod(Child.class, "baz"), in getLocalAndInheritedMethods() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | ObjectMethodsGuruTest.java | 32 … 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/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | UnsafeUtil.java | 327 clazz.getMethod("objectFieldOffset", Field.class); in supportsUnsafeArrayOperations() 328 clazz.getMethod("arrayBaseOffset", Class.class); in supportsUnsafeArrayOperations() 329 clazz.getMethod("arrayIndexScale", Class.class); in supportsUnsafeArrayOperations() 330 clazz.getMethod("getInt", Object.class, long.class); in supportsUnsafeArrayOperations() 331 clazz.getMethod("putInt", Object.class, long.class, int.class); in supportsUnsafeArrayOperations() 332 clazz.getMethod("getLong", Object.class, long.class); in supportsUnsafeArrayOperations() 333 clazz.getMethod("putLong", Object.class, long.class, long.class); in supportsUnsafeArrayOperations() 334 clazz.getMethod("getObject", Object.class, long.class); in supportsUnsafeArrayOperations() 335 clazz.getMethod("putObject", Object.class, long.class, Object.class); in supportsUnsafeArrayOperations() 336 clazz.getMethod("getByte", Object.class, long.class); in supportsUnsafeArrayOperations() [all …]
|
/external/testng/src/main/java/org/testng/reporters/ |
D | TextReporter.java | 40 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/ |
D | MAnnotation2SampleTest.java | 27 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/ |
D | SIPServerTransaction.java | 561 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 …]
|
D | SIPClientTransaction.java | 364 && 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/conscrypt/platform/src/test/java/org/conscrypt/metrics/ |
D | MetricsTest.java | 52 .getMethod("getAtomId") in test_reflexiveEvent() 55 .getMethod("getAtomId") in test_reflexiveEvent() 60 .getMethod("getNumBytes") in test_reflexiveEvent() 63 .getMethod("getNumBytes") in test_reflexiveEvent() 68 .getMethod("getBytes") in test_reflexiveEvent() 71 (byte[]) constructedEvent.getClass().getMethod("getBytes").invoke(constructedEvent); in test_reflexiveEvent()
|
/external/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/metrics/ |
D | MetricsTest.java | 56 .getMethod("getAtomId") in test_reflexiveEvent() 59 .getMethod("getAtomId") in test_reflexiveEvent() 64 .getMethod("getNumBytes") in test_reflexiveEvent() 67 .getMethod("getNumBytes") in test_reflexiveEvent() 72 .getMethod("getBytes") in test_reflexiveEvent() 75 (byte[]) constructedEvent.getClass().getMethod("getBytes").invoke(constructedEvent); in test_reflexiveEvent()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | DuckTypedPSKKeyManager.java | 60 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/ |
D | DuckTypedPSKKeyManager.java | 59 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/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 77 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/easymock/src/org/easymock/internal/ |
D | ObjectMethodsFilter.java | 48 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/testng/src/main/java/org/testng/junit/ |
D | JUnit3TestMethod.java | 14 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/testng/src/test/java/test/skipex/ |
D | SkippedExceptionTest.java | 27 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/nist-sip/java/gov/nist/javax/sip/message/ |
D | SIPRequest.java | 248 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 …]
|