Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java264 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertDowngrade()
283 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertDowngrade()
316 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertRecompute()
369 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertRecompute()
427 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertUpgrade()
432 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertUpgrade()
438 try (DatabaseHelper helper2 = after.getConstructor(Context.class, String.class) in assertUpgrade()
472 try (DatabaseHelper helper = beforeModifier.getConstructor(Context.class, String.class) in testUpgradeAndAddModifier()
483 try (DatabaseHelper helper = afterModifier.getConstructor(Context.class, String.class) in testUpgradeAndAddModifier()
541 try (DatabaseHelper helper = dbVersionLower.getConstructor(Context.class, String.class) in testDowngradeChangesUUID()
[all …]
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java139 clazz.getConstructor(Context.class, String.class); in createInstance()
157 final Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class); in createInstance()
182 clazz.getConstructor(Context.class, String.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.java187 constructor = clazz.getConstructor(Context.class); in getConstructorFromClass()
196 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/apps/Settings/src/com/android/settings/slices/
DCustomSliceable.java113 sliceable.getConstructor(Context.class); in createInstance()
DSliceBackgroundWorker.java108 return clazz.getConstructor(Context.class, Uri.class).newInstance(context, uri); in createInstance()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/overlays/
DOverlayManager.java80 .getConstructor(Context.class) in getInstance()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowManager.java67 Constructor constructor = Class.forName(clsName).getConstructor(Context.class); in startServices()
/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java68 NetworkRequestErrorDialogFragment.class.getConstructor(); in getConstructor_shouldNotThrowNoSuchMethodException()
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java125 showFragment(fragment.getConstructor().newInstance(), R.id.suggestion_content); in showSuggestionFragment()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java129 return (HeadsUpNotificationAnimationHelper) clazz.getConstructor().newInstance(); in getAnimationHelper()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java263 final WifiInfo info = WifiInfo.class.getConstructor().newInstance(); in makeWifiInfo()
/packages/services/Car/car-lib/src/android/car/
DCar.java1929 Constructor constructor = managerClass.getConstructor(Car.class, IBinder.class); in constructCarManager()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java1018 final Constructor<CellIdentityGsm> constructor = CellIdentityGsm.class.getConstructor( in makeCellIdentityGsm()
1034 final Constructor<CellIdentityLte> constructor = CellIdentityLte.class.getConstructor( in makeCellIdentityLte()