Home
last modified time | relevance | path

Searched refs:getConstructor (Results 1 – 17 of 17) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java80 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertDowngrade()
99 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertDowngrade()
120 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertUpgrade()
187 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertUpgrade()
259 try (DatabaseHelper helper2 = after.getConstructor(Context.class, String.class) in assertUpgrade()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DBasePreferenceController.java122 clazz.getConstructor(Context.class, String.class); in createInstance()
140 final Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class); in createInstance()
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java122 clazz.getConstructor(Context.class, String.class); in createInstance()
140 final Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class); in createInstance()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java67 public static Constructor<?> getConstructor(final Class<?> targetClass, in getConstructor() method in CompatUtils
73 return targetClass.getConstructor(types); in getConstructor()
DTextInfoCompatUtils.java32 CompatUtils.getConstructor(TextInfo.class, CharSequence.class, int.class, int.class,
DInputMethodSubtypeCompatUtils.java40 CompatUtils.getConstructor(InputMethodSubtype.class,
DLocaleSpanCompatUtils.java49 LOCALE_SPAN_CONSTRUCTOR = CompatUtils.getConstructor(LOCALE_SPAN_TYPE, Locale.class);
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DXmlControllerAttributeTest.java193 constructor = clazz.getConstructor(Context.class); in getConstructorFromClass()
202 constructor = clazz.getConstructor(Context.class, String.class); in getConstructorFromClass()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DParametricEditor.java89 static Constructor getConstructor(Class cl) { in getConstructor() method in ParametricEditor
91 return cl.getConstructor(Context.class, ViewGroup.class); in getConstructor()
/packages/apps/Dialer/java/com/android/dialer/constants/
DConstants.java41 instance = (Constants) clazz.getConstructor().newInstance(); in get()
/packages/apps/Dialer/java/com/android/dialer/buildtype/
DBuildType.java54 BuildTypeAccessor accessorImpl = (BuildTypeAccessor) clazz.getConstructor().newInstance(); in get()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceable.java113 sliceable.getConstructor(Context.class); in createInstance()
DSliceBackgroundWorker.java99 return clazz.getConstructor(Context.class, Uri.class).newInstance(context, uri); in createInstance()
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceable.java113 sliceable.getConstructor(Context.class); in createInstance()
DSliceBackgroundWorker.java99 return clazz.getConstructor(Context.class, Uri.class).newInstance(context, uri); in createInstance()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceControllerListHelper.java94 Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class, String.class, in createInstance()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()