Home
last modified time | relevance | path

Searched refs:parameterTypes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java206 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor() local
207 if (parameterTypes.length == 0 || in hasValidConstructor()
208 (parameterTypes.length == 1 && parameterTypes[0] == String.class)) { in hasValidConstructor()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java591 Class<?>[] parameterTypes = m.getParameterTypes(); in registerSubscriber() local
592 if (isValidEventBusHandlerMethod(m, parameterTypes)) { in registerSubscriber()
593 Class<? extends Event> eventType = (Class<? extends Event>) parameterTypes[0]; in registerSubscriber()
607 " event: " + parameterTypes[0].getSimpleName()); in registerSubscriber()
720 private boolean isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes) { in isValidEventBusHandlerMethod() argument
725 parameterTypes.length == 1) { in isValidEventBusHandlerMethod()
726 if (EventBus.Event.class.isAssignableFrom(parameterTypes[0]) && in isValidEventBusHandlerMethod()
731 if (!EventBus.Event.class.isAssignableFrom(parameterTypes[0])) { in isValidEventBusHandlerMethod()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java223 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() argument
225 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java410 private static Method findMethod(Object instance, String name, Class<?>... parameterTypes) in findMethod() argument
414 Method method = clazz.getDeclaredMethod(name, parameterTypes); in findMethod()
428 Arrays.asList(parameterTypes) + " not found in " + instance.getClass()); in findMethod()