/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 258 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/ |
D | BasePreferenceController.java | 141 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/ |
D | CompatUtils.java | 67 public static Constructor<?> getConstructor(final Class<?> targetClass, in getConstructor() method in CompatUtils 73 return targetClass.getConstructor(types); in getConstructor()
|
D | TextInfoCompatUtils.java | 32 CompatUtils.getConstructor(TextInfo.class, CharSequence.class, int.class, int.class,
|
D | InputMethodSubtypeCompatUtils.java | 40 CompatUtils.getConstructor(InputMethodSubtype.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | XmlControllerAttributeTest.java | 182 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/ |
D | CompatUtil.kt | 51 .getConstructor(String::class.java).newInstance(specifier) as NetworkSpecifier in makeNetworkSpecifierInternal()
|
/packages/services/Car/service-builtin/src/com/android/car/pm/ |
D | CarSafetyAccessibilityService.java | 48 Constructor constructor = implClass.getConstructor(); in onCreate()
|
/packages/apps/Dialer/java/com/android/dialer/constants/ |
D | Constants.java | 41 instance = (Constants) clazz.getConstructor().newInstance(); in get()
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackTestCase.java | 186 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/ |
D | BuildType.java | 54 BuildTypeAccessor accessorImpl = (BuildTypeAccessor) clazz.getConstructor().newInstance(); in get()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/ |
D | ParcelRecordConverter.java | 61 RecordInternal<?> recordInternal = recordClass.getConstructor().newInstance(); in getRecord()
|
D | InternalExternalRecordConverter.java | 70 recordInternal = recordClass.getConstructor().newInstance(); in newInternalRecord()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | CustomSliceable.java | 116 sliceable.getConstructor(Context.class); in createInstance()
|
/packages/services/Car/service/src/com/android/car/ |
D | BuiltinPackageDependency.java | 81 Constructor constructor = helperClass.getConstructor(new Class[]{Context.class}); in createNotificationHelper()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | ParametricEditor.java | 89 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/ |
D | ParcelableException.java | 43 return (Exception) clazz.getConstructor(String.class).newInstance(msg); in readFromParcel()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/ |
D | DeviceLockControllerWorkerFactory.java | 58 worker = (ListenableWorker) clazz.getConstructor( in createWorker()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | LauncherMultivalentJUnit.kt | 41 .getConstructor(Class::class.java, String::class.java) in <lambda>()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | ParcelableException.java | 66 return (Throwable) clazz.getConstructor(String.class).newInstance(msg); in readFromParcel()
|
/packages/services/Car/service-builtin/src/com/android/car/ |
D | ServiceProxy.java | 89 Constructor constructor = mRealServiceClass.getConstructor(); in init()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/ |
D | SystemUIOverlayWindowManager.java | 68 Constructor constructor = Class.forName(clsName).getConstructor(Context.class); in startServices()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreferenceInflater.java | 62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | SettingsQCItem.java | 155 qcItem.getConstructor(Context.class); in createInstance()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceControllerListHelper.java | 110 Constructor<?> preferenceConstructor = clazz.getConstructor(Context.class, String.class, in createInstance()
|