/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | TestThread.java | 90 public void callAndAssertReturns(String methodName, Object... arguments) throws Exception { in callAndAssertReturns() argument 91 checkNotNull(methodName); in callAndAssertReturns() 93 sendRequest(methodName, arguments); in callAndAssertReturns() 94 assertSame(null, getResponse(methodName).getResult()); in callAndAssertReturns() 101 public void callAndAssertReturns(boolean expected, String methodName, Object... arguments) in callAndAssertReturns() argument 103 checkNotNull(methodName); in callAndAssertReturns() 105 sendRequest(methodName, arguments); in callAndAssertReturns() 106 assertEquals(expected, getResponse(methodName).getResult()); in callAndAssertReturns() 113 public void callAndAssertReturns(int expected, String methodName, Object... arguments) in callAndAssertReturns() argument 115 checkNotNull(methodName); in callAndAssertReturns() [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | BenchmarkSpec.java | 45 private String methodName; field in BenchmarkSpec 51 this.methodName = ""; in BenchmarkSpec() 57 this.methodName = builder.methodName; in BenchmarkSpec() 65 public String methodName() { in methodName() method in BenchmarkSpec 66 return methodName; in methodName() 79 && this.methodName.equals(that.methodName) in equals() 101 .add("methodName", methodName) in toString() 111 .putUnencodedChars(from.methodName); in funnel() 118 private String methodName; field in BenchmarkSpec.Builder 126 public Builder methodName(String methodName) { in methodName() argument [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | ShadowWranglerUnitTest.java | 72 String methodName = internalName(DummyClass.class) + "/methodWithoutRange()V"; in shadowClassWithSdkRange() local 73 …assertThat(new ShadowWrangler(shadowMap, 18, interceptors).methodInvoked(methodName, false, DummyC… in shadowClassWithSdkRange() 74 …assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyC… in shadowClassWithSdkRange() 76 …assertThat(new ShadowWrangler(shadowMap, 23, interceptors).methodInvoked(methodName, false, DummyC… in shadowClassWithSdkRange() 82 String methodName = internalName(DummyClass.class) + "/methodFor20()V"; in shadowMethodWithSdkRange() local 83 …assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyC… in shadowMethodWithSdkRange() 84 …assertThat(new ShadowWrangler(shadowMap, 20, interceptors).methodInvoked(methodName, false, DummyC… in shadowMethodWithSdkRange() 86 …assertThat(new ShadowWrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyC… in shadowMethodWithSdkRange() 92 String methodName = internalName(DummyClass.class) + "/methodMin20()V"; in shadowMethodWithMinSdk() local 93 …assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyC… in shadowMethodWithMinSdk() [all …]
|
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | MethodRef.java | 8 public final String methodName; field in MethodRef 10 public MethodRef(Class<?> clazz, String methodName) { in MethodRef() argument 11 this(clazz.getName(), methodName); in MethodRef() 14 public MethodRef(String className, String methodName) { in MethodRef() argument 16 this.methodName = methodName; in MethodRef() 26 return className.equals(methodRef.className) && methodName.equals(methodRef.methodName); in equals() 31 result = 31 * result + methodName.hashCode(); in hashCode() 39 ", methodName='" + methodName + '\'' + in toString()
|
D | MethodSignature.java | 8 public final String methodName; field in MethodSignature 12 …private MethodSignature(String className, String methodName, String[] paramTypes, String returnTyp… in MethodSignature() argument 14 this.methodName = methodName; in MethodSignature() 23 String methodName = internalString.substring(methodStart + 1, parenStart); in parse() local 31 return new MethodSignature(className, methodName, paramTypes, returnType); in parse() 36 return className + "." + methodName + "(" + Join.join(", ", (Object[]) paramTypes) + ")"; in toString() 39 boolean matches(String className, String methodName) { in matches() argument 40 return this.className.equals(className) && this.methodName.equals(methodName); in matches()
|
D | InvocationProfile.java | 7 public final String methodName; field in InvocationProfile 15 this.methodName = methodSignature.methodName; in InvocationProfile() 65 …if (methodName != null ? !methodName.equals(that.methodName) : that.methodName != null) return fal… in equals() 74 result = 31 * result + (methodName != null ? methodName.hashCode() : 0); in hashCode()
|
D | ShadowImpl.java | 12 public String getName(String className, String methodName) { 13 return directMethodName(className, methodName); 44 …public <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelp… in directlyOn() argument 47 return directlyOn(shadowedObject, aClass, methodName, paramValues); in directlyOn() 54 …public <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.… in directlyOn() argument 55 String directMethodName = directMethodName(clazz.getName(), methodName); in directlyOn() 60 …public <R, T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... … in directlyOn() argument 61 String directMethodName = directMethodName(clazz.getName(), methodName); in directlyOn() 73 public String directMethodName(String className, String methodName) { in directMethodName() argument 76 + "$" + methodName; in directMethodName()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | FramesTest.java | 86 String methodName, classSignature; in testFrames005() local 90 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames005() 94 + methodName in testFrames005() 140 String methodName, classSignature; in testFrames004() local 144 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames004() 148 + methodName in testFrames004() 195 String methodName, classSignature; in testFrames003() local 199 methodName = getMethodName(frame.loc.classID, frame.loc.methodID); in testFrames003() 203 + methodName in testFrames003() 255 String methodName, classSignature; in testFrames002() local [all …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | NumberFormatTest.java | 82 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) { in getJDKInstance() argument 108 if (methodName != null) { in getJDKInstance() 109 methodName[0] = method; in getJDKInstance() 114 … private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) { in getICUInstance() argument 140 if (methodName != null) { in getICUInstance() 141 methodName[0] = method; in getICUInstance() 180 String[] methodName = new String[1]; in TestICUEquivalent() local 184 NumberFormat nf = getJDKInstance(type, iculoc, methodName); in TestICUEquivalent() 196 … + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2); in TestICUEquivalent() 214 + " NumberFormat(" + methodName[0] + ") for parsing long" + l in TestICUEquivalent() [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | MethodLocator.java | 37 private final String methodName; field in MethodLocator 41 public MethodLocator(TypeLocator typeLocator, String methodName, List<String> parameterTypes) { in MethodLocator() argument 43 this.methodName = methodName; in MethodLocator() 61 && methodDeclaration.getName().getFullyQualifiedName().equals(methodName) in matches() 78 if (methodDeclaration.getName().getFullyQualifiedName().equals(methodName)) { in find() 93 return typeLocator.getStringFormTarget() + "#" + methodName in getStringFormTarget() 107 Objects.equals(methodName, that.methodName) && in equals() 113 return Objects.hash(typeLocator, methodName, parameterMatcher); in hashCode() 120 ", methodName='" + methodName + '\'' + in toString()
|
/external/mockito/src/main/java/org/mockito/internal/invocation/ |
D | SerializableMethod.java | 20 private final String methodName; field in SerializableMethod 32 methodName = method.getName(); in SerializableMethod() 41 return methodName; in getName() 69 method = declaringClass.getDeclaredMethod(methodName, parameterTypes); in getJavaMethod() 74 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod() 79 …ease report this as a defect with an example of how to reproduce it.", declaringClass, methodName); in getJavaMethod() 103 if (methodName == null) { in equals() 104 if (other.methodName != null) in equals() 106 } else if (!methodName.equals(other.methodName)) in equals()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEventsTestCase.java | 53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) { in printMethodLineTable() argument 54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in printMethodLineTable() 58 + classID + "; Method name = " + methodName); in printMethodLineTable() 72 logWriter.println("=== Line Table for method: " + methodName + " ==="); in printMethodLineTable() 74 logWriter.println("=== Line Table for method: " + methodName + " of class: " in printMethodLineTable() 89 logWriter.println("=== End of Line Table " + methodName + " ==="); in printMethodLineTable() 92 long getMethodStartCodeIndex(long classID, String methodName) { in getMethodStartCodeIndex() argument 93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName); in getMethodStartCodeIndex() 97 + classID + "; Method name = " + methodName); in getMethodStartCodeIndex() 116 long getMethodEndCodeIndex(long classID, String methodName) { in getMethodEndCodeIndex() argument [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | OptionalMethod.java | 37 private final String methodName; field in OptionalMethod 50 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { in OptionalMethod() argument 52 this.methodName = methodName; in OptionalMethod() 114 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 155 if (methodName != null) { in getMethod() 156 method = getPublicMethod(clazz, methodName, methodParams); in getMethod() 169 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { in getPublicMethod() argument 176 return getPublicMethod(clazz.getSuperclass(), methodName, parameterTypes); in getPublicMethod() 178 method = clazz.getMethod(methodName, parameterTypes); in getPublicMethod()
|
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/ |
D | MethodNameFilterInterceptor.java | 13 private final String methodName; field in MethodNameFilterInterceptor 15 protected MethodNameFilterInterceptor(String methodName) { in MethodNameFilterInterceptor() argument 16 this.methodName = methodName; in MethodNameFilterInterceptor() 25 if (!name.equals(methodName)) { in intercept() 29 method.setDescription(methodName); in intercept() 31 method.setDescription(currentDescription + methodName); in intercept()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
D | OptionalMethod.java | 35 private final String methodName; field in OptionalMethod 46 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { in OptionalMethod() argument 48 this.methodName = methodName; in OptionalMethod() 110 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 151 if (methodName != null) { in getMethod() 152 method = getPublicMethod(clazz, methodName, methodParams); in getMethod() 164 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { in getPublicMethod() argument 167 method = clazz.getMethod(methodName, parameterTypes); in getPublicMethod()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | OptionalMethod.java | 34 private final String methodName; field in OptionalMethod 45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) { in OptionalMethod() argument 47 this.methodName = methodName; in OptionalMethod() 109 throw new AssertionError("Method " + methodName + " not supported for object " + target); in invoke() 150 if (methodName != null) { in getMethod() 151 method = getPublicMethod(clazz, methodName, methodParams); in getMethod() 163 private static Method getPublicMethod(Class<?> clazz, String methodName, Class[] parameterTypes) { in getPublicMethod() argument 166 method = clazz.getMethod(methodName, parameterTypes); in getPublicMethod()
|
/external/guice/core/src/com/google/inject/internal/util/ |
D | StackTraceElements.java | 133 String methodName = inMemoryStackTraceElements[i].getMethodName(); in convertToStackTraceElement() local 136 new StackTraceElement(declaringClass, methodName, UNKNOWN_SOURCE, lineNumber); in convertToStackTraceElement() 168 private String methodName; field in StackTraceElements.InMemoryStackTraceElement 175 InMemoryStackTraceElement(String declaringClass, String methodName, int lineNumber) { in InMemoryStackTraceElement() argument 177 this.methodName = methodName; in InMemoryStackTraceElement() 186 return methodName; in getMethodName() 204 && methodName.equals(e.methodName); in equals() 209 int result = 31 * declaringClass.hashCode() + methodName.hashCode(); in hashCode() 216 return declaringClass + "." + methodName + "(" + lineNumber + ")"; in toString()
|
/external/testng/src/main/java/org/testng/internal/ |
D | XmlMethodSelector.java | 164 String methodName = pkg != null ? pkg.getName() + "." + m.getName() : m.getName(); in includeMethodFromIncludeExclude() local 166 logInclusion(result ? "Including" : "Excluding", "method", methodName + "()"); in includeMethodFromIncludeExclude() 219 String methodName = im; in createQualifiedMethodNames() local 221 Pattern pattern = Pattern.compile(methodName); in createQualifiedMethodNames() 234 private String makeMethodName(String className, String methodName) { in makeMethodName() argument 235 return className + "." + methodName; in makeMethodName() 238 private void checkMethod(Class<?> c, String methodName) { in checkMethod() argument 239 Pattern p = Pattern.compile(methodName); in checkMethod() 245 Utils.log("Warning", 2, "The regular expression \"" + methodName + "\" didn't match any" + in checkMethod() 254 String methodName = makeMethodName(c.getName(), m.getName()); in setXmlClasses() local [all …]
|
/external/junit-params/src/test/java/junitparams/ |
D | FilterableTest.java | 76 private Request requestSingleMethodRun(Class<SampleTestCase> clazz, String methodName) { in requestSingleMethodRun() argument 77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName)); in requestSingleMethodRun() 81 private final String methodName; field in FilterableTest.SingleMethodFilter 83 public SingleMethodFilter(String methodName) { in SingleMethodFilter() argument 84 this.methodName = methodName; in SingleMethodFilter() 89 return description.getDisplayName().contains(methodName); in shouldRun() 94 return methodName; in describe()
|
/external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/shadow/api/ |
D | Shadow.java | 50 …public static <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ClassPa… in directlyOn() argument 51 return SHADOW_IMPL.directlyOn(shadowedObject, clazzName, methodName, paramValues); in directlyOn() 55 …public static <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ClassParame… in directlyOn() argument 56 return SHADOW_IMPL.directlyOn(shadowedObject, clazz, methodName, paramValues); in directlyOn() 60 …public static <R, T> R directlyOn(Class<T> clazz, String methodName, ClassParameter... paramValues… in directlyOn() argument 61 return SHADOW_IMPL.directlyOn(clazz, methodName, paramValues); in directlyOn() 68 public static String directMethodName(String className, String methodName) { in directMethodName() argument 69 return SHADOW_IMPL.directMethodName(className, methodName); in directMethodName()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/ |
D | ReflectiveTypeFinder.java | 31 private final String methodName; field in ReflectiveTypeFinder 35 …public ReflectiveTypeFinder(String methodName, int expectedNumberOfParameters, int typedParameter)… in ReflectiveTypeFinder() argument 36 this.methodName = methodName; in ReflectiveTypeFinder() 49 throw new Error("Cannot determine correct type for " + methodName + "() method."); in findExpectedType() 57 return method.getName().equals(methodName) in canObtainExpectedTypeFrom()
|
/external/proguard/src/proguard/ |
D | GetAnnotationChecker.java | 63 String methodName = methodrefConstant.getName(clazz); in visitMethodrefConstant() local 65 if (methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATION) || in visitMethodrefConstant() 66 methodName.equals(ClassConstants.METHOD_NAME_GET_ANNOTATIONS) || in visitMethodrefConstant() 67 methodName.equals(ClassConstants.METHOD_NAME_GET_DECLARED_ANNOTATIONS) || in visitMethodrefConstant() 68 methodName.equals(ClassConstants.METHOD_NAME_GET_PARAMETER_ANNOTATIONS)) in visitMethodrefConstant() 76 methodName + "'"); in visitMethodrefConstant()
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | AsyncAuthInterceptor.cs | 42 readonly string methodName; field in Grpc.Core.AuthInterceptorContext 47 public AuthInterceptorContext(string serviceUrl, string methodName) in AuthInterceptorContext() argument 50 this.methodName = GrpcPreconditions.CheckNotNull(methodName); in AuthInterceptorContext() 66 get { return methodName; }
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | ThisObjectTest.java | 111 …String methodName = debuggeeWrapper.vmMirror.getMethodName(frameIDs[i].location.classID, frameIDs[… in testThisObjectTest001() local 112 logWriter.println("==> method name=" + methodName); in testThisObjectTest001() 142 if (KNOWN_METHOD_NAMES[j].equals(methodName)) { in testThisObjectTest001() 146 … ("## FAILURE: StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001() 148 … fail("StackFrame.ThisObject returned NULL ObjectID for known method: " + methodName); in testThisObjectTest001() 153 … ("## FAILURE: Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001() 157 … fail("Returned unexpected ObjectID for known method: " + methodName); in testThisObjectTest001() 165 … ("## FAILURE: StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001() 167 … fail("StackFrame.ThisObject returned not OBJECT_TAG for known method: " + methodName); in testThisObjectTest001() 173 if (mainMethod.equals(methodName)) { in testThisObjectTest001()
|
/external/vogar/src/vogar/target/junit/ |
D | JUnitUtils.java | 36 String methodName = description.getMethodName(); in getTestName() local 37 return getTestName(className, methodName); in getTestName() 43 public static String getTestName(String className, String methodName) { in getTestName() argument 44 if (methodName == null) { in getTestName() 47 return className + "#" + methodName; in getTestName()
|