Home
last modified time | relevance | path

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

12

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java258 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertDowngrade()
278 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertDowngrade()
313 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class, in assertDowngradeWithStableUrisEnabledRecoversData()
337 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class, in assertDowngradeWithStableUrisEnabledRecoversData()
380 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertUpgrade()
385 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertUpgrade()
391 try (DatabaseHelper helper2 = after.getConstructor(Context.class, String.class) in assertUpgrade()
425 try (DatabaseHelper helper = beforeModifier.getConstructor(Context.class, String.class) in testUpgradeAndAddModifier()
436 try (DatabaseHelper helper = afterModifier.getConstructor(Context.class, String.class) in testUpgradeAndAddModifier()
524 try (DatabaseHelper helper = dbVersionLower.getConstructor(Context.class, String.class) in testDowngradeChangesUUID()
[all …]
/packages/apps/Settings/src/com/android/settings/core/
DBasePreferenceController.java141 clazz.getConstructor(Context.class, String.class); in createInstance()
159 final Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class); in createInstance()
184 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,
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DXmlControllerAttributeTest.java182 constructor = clazz.getConstructor(Context.class); in getConstructorFromClass()
191 constructor = clazz.getConstructor(Context.class, String.class); in getConstructorFromClass()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DCompatUtil.kt51 .getConstructor(String::class.java).newInstance(specifier) as NetworkSpecifier in makeNetworkSpecifierInternal()
/packages/services/Car/service-builtin/src/com/android/car/pm/
DCarSafetyAccessibilityService.java48 Constructor constructor = implClass.getConstructor(); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/constants/
DConstants.java41 instance = (Constants) clazz.getConstructor().newInstance(); in get()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTestCase.java186 Constructor<CB> defaultConstructor = getConstructor(callbackClass); in testHasExpectedConstructors()
192 getConstructor(callbackClass, SyncCallbackSettings.class); in testHasExpectedConstructors()
208 private Constructor<CB> getConstructor(Class<CB> callbackClass, Class<?>... parameterTypes) { in getConstructor() method in SyncCallbackTestCase
/packages/apps/Dialer/java/com/android/dialer/buildtype/
DBuildType.java54 BuildTypeAccessor accessorImpl = (BuildTypeAccessor) clazz.getConstructor().newInstance(); in get()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DParcelRecordConverter.java61 RecordInternal<?> recordInternal = recordClass.getConstructor().newInstance(); in getRecord()
DInternalExternalRecordConverter.java70 recordInternal = recordClass.getConstructor().newInstance(); in newInternalRecord()
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceable.java116 sliceable.getConstructor(Context.class); in createInstance()
/packages/services/Car/service/src/com/android/car/
DBuiltinPackageDependency.java81 Constructor constructor = helperClass.getConstructor(new Class[]{Context.class}); in createNotificationHelper()
/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/modules/DeviceLock/framework/java/android/devicelock/
DParcelableException.java43 return (Exception) clazz.getConstructor(String.class).newInstance(msg); in readFromParcel()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DDeviceLockControllerWorkerFactory.java58 worker = (ListenableWorker) clazz.getConstructor( in createWorker()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLauncherMultivalentJUnit.kt41 .getConstructor(Class::class.java, String::class.java) in <lambda>()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DParcelableException.java66 return (Throwable) clazz.getConstructor(String.class).newInstance(msg); in readFromParcel()
/packages/services/Car/service-builtin/src/com/android/car/
DServiceProxy.java89 Constructor constructor = mRealServiceClass.getConstructor(); in init()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DSystemUIOverlayWindowManager.java68 Constructor constructor = Class.forName(clsName).getConstructor(Context.class); in startServices()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCItem.java155 qcItem.getConstructor(Context.class); in createInstance()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceControllerListHelper.java110 Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class, String.class, in createInstance()

12