HomeSort by relevance Sort by last modified time
    Searched refs:methodName (Results 51 - 75 of 1925) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
EnumFilter.java 32 final String superClassName, final String methodName,
35 if ("values".equals(methodName)
39 if ("valueOf".equals(methodName)
  /external/testng/src/test/java/test/testng317/
ClassA.java 46 String methodName = sTrace[1].getMethodName();
48 System.out.printf("*********** executing --- %s %s\n", className, methodName);
50 VerifyTest.m_methods.add(className + "." + methodName);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
ShadowWranglerUnitTest.java 72 String methodName = internalName(DummyClass.class) + "/methodWithoutRange()V";
73 assertThat(new ShadowWrangler(shadowMap, 18, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull();
74 assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class).describe())
76 assertThat(new ShadowWrangler(shadowMap, 23, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull();
82 String methodName = internalName(DummyClass.class) + "/methodFor20()V";
83 assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull();
84 assertThat(new ShadowWrangler(shadowMap, 20, interceptors).methodInvoked(methodName, false, DummyClass.class).describe())
86 assertThat(new ShadowWrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull();
92 String methodName = internalName(DummyClass.class) + "/methodMin20()V";
93 assertThat(new ShadowWrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull()
    [all...]
  /external/annotation-tools/annotation-file-utilities/src/annotator/scanner/
NewScanner.java 97 public static void addNewToMethod(String methodName, Integer offset) {
98 debug("adding new to method: " + methodName + " offset: " + offset);
99 List<Integer> offsetList = methodNameToNewOffsets.get(methodName);
102 methodNameToNewOffsets.put(methodName, offsetList);
107 public static Integer getMethodNewIndex(String methodName, Integer offset) {
108 List<Integer> offsetList = methodNameToNewOffsets.get(methodName);
111 + "did not find offsets for method: " + methodName);
117 + "in method: " + methodName + " did not find offset: "
  /external/junit-params/src/test/java/junitparams/
FilterableTest.java 76 private Request requestSingleMethodRun(Class<SampleTestCase> clazz, String methodName) {
77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName));
81 private final String methodName;
83 public SingleMethodFilter(String methodName) {
84 this.methodName = methodName;
89 return description.getDisplayName().contains(methodName);
94 return methodName;
  /external/testng/src/main/java/org/testng/junit/
JUnitTestMethod.java 18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) {
19 super(methodName, method, null, instance);
  /frameworks/layoutlib/bridge/src/android/animation/
PropertyValuesHolder_Delegate.java 64 private static long registerMethod(Class<?> targetClass, String methodName, Class[] types,
68 methodName, nArgs);
84 method = targetClass.getDeclaredMethod(methodName, args);
115 /*package*/ static long nGetIntMethod(Class<?> targetClass, String methodName) {
116 return nGetMultipleIntMethod(targetClass, methodName, 1);
120 /*package*/ static long nGetFloatMethod(Class<?> targetClass, String methodName) {
121 return nGetMultipleFloatMethod(targetClass, methodName, 1);
125 /*package*/ static long nGetMultipleIntMethod(Class<?> targetClass, String methodName,
127 return registerMethod(targetClass, methodName, INTEGER_VARIANTS, numParams);
131 /*package*/ static long nGetMultipleFloatMethod(Class<?> targetClass, String methodName,
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
FramesTest.java 86 String methodName, classSignature;
90 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
94 + methodName
140 String methodName, classSignature;
144 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
148 + methodName
195 String methodName, classSignature;
199 methodName = getMethodName(frame.loc.classID, frame.loc.methodID);
203 + methodName
255 String methodName, classSignature
    [all...]
  /art/test/671-npe-field-opts/src/
Main.java 59 static void check(NullPointerException npe, int mainLine, int methodLine, String methodName) {
61 checkElement(trace[0], "Main", methodName, "Main.java", methodLine);
66 String declaringClass, String methodName,
69 assertEquals(methodName, element.getMethodName());
  /external/proguard/src/proguard/obfuscate/
MappingProcessor.java 68 * @param methodName the original external method name.
76 String methodName,
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
ClassHandler.java 16 Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable;
ShadowWrangler.java 87 public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable {
88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes);
90 reportNoShadowMethodFound(clazz, methodName, paramTypes);
95 throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-safe.");
124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) {
126 System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" +
289 private String methodName;
296 public InvocationPlan(Class clazz, String methodName, Object instance, String... paramTypes) {
299 this.methodName = methodName;
    [all...]
  /external/robolectric-shadows/shadowapi/src/main/java/org/robolectric/internal/
IShadow.java 16 <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelpers.ClassParameter... paramValues);
18 <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues);
20 <R, T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues);
24 String directMethodName(String methodName);
  /libcore/dalvik/src/main/java/dalvik/annotation/
TestTarget.java 39 String methodName() default "";
43 * {@code methodName} is not accurate enough. E.g. for
44 * {@link java.util.regex.Pattern#compile(String)} {@code methodName} is not
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
BusinessLogicTestCase.java 58 String methodName = mTestCase.getMethodName();
60 + "remote configuration.", methodName), mCanReadBusinessLogic);
61 if (methodName.contains(PARAM_START)) {
63 methodName = methodName.substring(0, methodName.lastIndexOf(PARAM_START));
65 String testName = String.format("%s#%s", this.getClass().getName(), methodName);
  /external/annotation-tools/annotation-file-utilities/src/annotator/find/
InstanceOfCriterion.java 12 private final String methodName;
15 public InstanceOfCriterion(String methodName, RelativeLocation loc) {
16 this.methodName = methodName.substring(0, methodName.lastIndexOf(")") + 1);
66 int indexInClass = InstanceOfScanner.getMethodInstanceOfIndex(methodName, loc.offset);
89 return "InstanceOfCriterion: in method: " + methodName + " location: " + loc;
LambdaCriterion.java 11 private final String methodName;
14 public LambdaCriterion(String methodName, RelativeLocation loc) {
15 this.methodName = methodName;
61 int indexInClass = LambdaScanner.getMethodLambdaExpressionIndex(methodName, loc.offset);
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
ShadowImpl.java 9 @Override public String getName(String className, String methodName) {
10 return directMethodName(methodName);
47 public <R> R directlyOn(Object shadowedObject, String clazzName, String methodName, ReflectionHelpers.ClassParameter... paramValues) {
50 return directlyOn(shadowedObject, aClass, methodName, paramValues);
57 public <R, T> R directlyOn(T shadowedObject, Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues) {
58 String directMethodName = directMethodName(methodName);
63 public <R, T> R directlyOn(Class<T> clazz, String methodName, ReflectionHelpers.ClassParameter... paramValues) {
64 String directMethodName = directMethodName(methodName);
74 @Override public String directMethodName(String methodName) {
75 return ShadowConstants.ROBO_PREFIX + methodName;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/compat/
CompatUtils.java 215 * @param methodName the name of the method to look for
218 * or methodName are empty.
220 public static boolean isMethodAvailable(@Nullable String className, @Nullable String methodName,
222 if (TextUtils.isEmpty(className) || TextUtils.isEmpty(methodName)) {
227 Class.forName(className).getMethod(methodName, parameterTypes);
231 Log.v(TAG, "Could not find method: " + className + "#" + methodName);
236 + methodName + " exists at runtime", t);
246 * @param methodName The name of the method to invoke.
249 * @return The result of the invocation or {@code null} if instance or methodName are empty, or
253 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName,
    [all...]
  /external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
NumberFormatTest.java 82 private NumberFormat getJDKInstance(int type, Locale loc, String[] methodName) {
108 if (methodName != null) {
109 methodName[0] = method;
114 private com.ibm.icu.text.NumberFormat getICUInstance(int type, Locale loc, String[] methodName) {
140 if (methodName != null) {
141 methodName[0] = method;
180 String[] methodName = new String[1];
184 NumberFormat nf = getJDKInstance(type, iculoc, methodName);
196 + methodName[0] + ") in locale " + loc + " - JDK:" + s1 + " ICU:" + s2);
214 + " NumberFormat(" + methodName[0] + ") for parsing long" +
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
CombinedEventsTestCase.java 53 void printMethodLineTable(long classID, String className /* may be null */, String methodName) {
54 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName);
58 + classID + "; Method name = " + methodName);
72 logWriter.println("=== Line Table for method: " + methodName + " ===");
74 logWriter.println("=== Line Table for method: " + methodName + " of class: "
89 logWriter.println("=== End of Line Table " + methodName + " ===");
92 long getMethodStartCodeIndex(long classID, String methodName) {
93 long methodID = debuggeeWrapper.vmMirror.getMethodID(classID, methodName);
97 + classID + "; Method name = " + methodName);
116 long getMethodEndCodeIndex(long classID, String methodName) {
    [all...]
  /frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
TestCaseCollector.java 67 String methodName = null;
69 methodName = className.substring(hashPos + 1);
72 addTestClass(className, methodName);
79 * @param methodName may be null, in which case all "public void testNNN(void)" functions
83 public void addTestClass(String className, String methodName) throws ClassNotFoundException {
85 if (methodName != null) {
86 addSingleTestMethod(clazz, methodName);
  /frameworks/base/core/java/android/os/
Trace.java 228 * @param methodName The method name to appear in the trace.
232 public static void traceBegin(long traceTag, String methodName) {
234 nativeTraceBegin(traceTag, methodName);
260 * @param methodName The method name to appear in the trace.
265 public static void asyncTraceBegin(long traceTag, String methodName, int cookie) {
267 nativeAsyncTraceBegin(traceTag, methodName, cookie);
277 * @param methodName The method name to appear in the trace.
282 public static void asyncTraceEnd(long traceTag, String methodName, int cookie) {
284 nativeAsyncTraceEnd(traceTag, methodName, cookie);
  /frameworks/base/core/jni/
android_animation_PropertyValuesHolder.cpp 33 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName)
35 const char *nativeString = env->GetStringUTFChars(methodName, 0);
37 env->ReleaseStringUTFChars(methodName, nativeString);
42 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName)
44 const char *nativeString = env->GetStringUTFChars(methodName, 0);
46 env->ReleaseStringUTFChars(methodName, nativeString);
50 static jlong getMultiparameterMethod(JNIEnv* env, jclass targetClass, jstring methodName,
53 const char *nativeString = env->GetStringUTFChars(methodName, 0);
60 env->ReleaseStringUTFChars(methodName, nativeString);
65 JNIEnv* env, jclass pvhClass, jclass targetClass, jstring methodName, jint parameterCount
    [all...]
  /dalvik/tools/dexdeps/src/com/android/dexdeps/
MethodRef.java 27 String methodName) {
31 mMethodName = methodName;

Completed in 964 milliseconds

1 23 4 5 6 7 8 91011>>