Searched refs:invokeMethod (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Contacts/tests/src/com/android/contacts/compat/ |
D | CompatUtilsTest.java | 86 assertNull(CompatUtils.invokeMethod(new BaseClass(), null, null, null)); in testInvokeMethod_NullMethodName() 90 assertNull(CompatUtils.invokeMethod(new BaseClass(), "", null, null)); in testInvokeMethod_EmptyMethodName() 94 assertNull(CompatUtils.invokeMethod(null, "", null, null)); in testInvokeMethod_NullClassInstance() 98 assertNull(CompatUtils.invokeMethod(new BaseClass(), "derivedMethod", null, null)); in testInvokeMethod_NonexistentMethod() 102 … assertEquals(1, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", null, null)); in testInvokeMethod_MethodWithNoParameters() 106 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "derivedMethod", in testInvokeMethod_MethodWithNoParameters_WithParameters() 111 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_MethodWithParameters_WithEmptyParameterList() 116 assertEquals(2, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_InvokeSimpleMethod()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 99 invokeMethod(args, className, methodName); in onStart() 109 private void invokeMethod(Bundle args, String className, String methodName) throws in invokeMethod() method in RunMethodInstrumentation
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 253 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, in invokeMethod() method in CompatUtils
|