Searched refs:invokeMethod (Results 1 – 3 of 3) sorted by relevance
| /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/compat/ |
| D | CompatUtilsTest.java | 84 assertNull(CompatUtils.invokeMethod(new BaseClass(), null, null, null)); in testInvokeMethod_NullMethodName() 88 assertNull(CompatUtils.invokeMethod(new BaseClass(), "", null, null)); in testInvokeMethod_EmptyMethodName() 92 assertNull(CompatUtils.invokeMethod(null, "", null, null)); in testInvokeMethod_NullClassInstance() 96 assertNull(CompatUtils.invokeMethod(new BaseClass(), "derivedMethod", null, null)); in testInvokeMethod_NonexistentMethod() 100 … assertEquals(1, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", null, null)); in testInvokeMethod_MethodWithNoParameters() 104 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "derivedMethod", in testInvokeMethod_MethodWithNoParameters_WithParameters() 109 assertNull(CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_MethodWithParameters_WithEmptyParameterList() 114 assertEquals(2, CompatUtils.invokeMethod(new DerivedClass(), "overloadedMethod", in testInvokeMethod_InvokeSimpleMethod()
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
| D | CompatUtils.java | 243 public static Object invokeMethod(@Nullable Object instance, @Nullable String methodName, in invokeMethod() method in CompatUtils
|
| /packages/apps/ContactsCommon/src/com/android/contacts/common/compat/telecom/ |
| D | TelecomManagerCompat.java | 242 Object handleMmiResult = CompatUtils.invokeMethod( in handleMmi()
|