Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java22 import java.lang.reflect.Constructor;
83 Constructor[] constructors = testCaseClass.getConstructors(); in instantiateTest()
88 for (Constructor constructor : constructors) { in instantiateTest()
91 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest()
97 return ((Constructor<? extends TestCase>) constructor) in instantiateTest()
DTestGrouping.java25 import java.lang.reflect.Constructor;
202 Constructor<? extends TestCase>[] constructors in hasValidConstructor()
203 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); in hasValidConstructor()
204 for (Constructor<? extends TestCase> constructor : constructors) { in hasValidConstructor()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DReflectionInflater.java24 import java.lang.reflect.Constructor;
44 private static final HashMap<String, Constructor<?>> constructorMap = new HashMap<>();
87 Constructor<? extends T> constructor = in createItem()
88 (Constructor<? extends T>) constructorMap.get(qualifiedName); in createItem()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DTestUtils.java23 import java.lang.reflect.Constructor;
30 final Constructor<SensorEvent> constructor = in createSensorEvent()
53 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRange.java24 import java.lang.reflect.Constructor;
39 private final Constructor<Range<T>> mConstructor;
68 mConstructor = (Constructor<Range<T>>)mClass.getConstructor( in MarshalerRange()
DMarshalQueryablePair.java24 import java.lang.reflect.Constructor;
38 private final Constructor<Pair<T1, T2>> mConstructor;
83 mConstructor = (Constructor<Pair<T1, T2>>)mClass.getConstructor( in MarshalerPair()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java30 import java.lang.reflect.Constructor;
101 Constructor c = testClass.getConstructor(); in buildSingleTestMethod()
107 Constructor c = testClass.getConstructor(String.class); in buildSingleTestMethod()
116 Constructor constructor, Object... args) { in newSingleTestMethod()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java33 import java.lang.reflect.Constructor;
49 private static final HashMap<String, Constructor<? extends Drawable>> CONSTRUCTOR_MAP =
200 Constructor<? extends Drawable> constructor; in inflateFromClass()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectFactory.java20 import java.lang.reflect.Constructor;
497 Constructor effectConstructor = null; in instantiateEffect()
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java5 import java.lang.reflect.Constructor;
52 Constructor<?> constructor; in createTest()
81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { in getTestConstructor()
/frameworks/base/core/java/com/android/internal/os/
DAppZygoteInit.java28 import java.lang.reflect.Constructor;
92 Constructor<?> ctor = cl.getConstructor(); in handlePreloadApp()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterFactory.java25 import java.lang.reflect.Constructor;
123 Constructor filterConstructor = null; in createFilterByClass()
DSyncRunner.java23 import java.lang.reflect.Constructor;
55 Constructor schedulerConstructor = schedulerClass.getConstructor(FilterGraph.class); in SyncRunner()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DMainActivityTest.java7 import java.lang.reflect.Constructor;
56 Constructor constructor = clazz.getConstructor(ByteArrayOutputStream.class); in createEncoder()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilterFactory.java24 import java.lang.reflect.Constructor;
99 Constructor<? extends Filter> filterConstructor = null; in createFilterByClass()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java35 import java.lang.reflect.Constructor;
199 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor()
270 Constructor<SensorEvent> constr = in createSensorEvent()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowRecoveryController.java30 import java.lang.reflect.Constructor;
64 Constructor<RecoveryController> constructor = RecoveryController.class.getConstructor(); in getInstance()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java36 import java.lang.reflect.Constructor;
51 private final static ArrayMap<String, Constructor> sConstructors =
52 new ArrayMap<String, Constructor>();
208 Constructor constructor = sConstructors.get(className); in createCustom()
/frameworks/base/location/tests/locationtests/src/android/location/
DGnssStatusTest.java21 import java.lang.reflect.Constructor;
121 Constructor<GnssStatus> ctor = GnssStatus.class.getDeclaredConstructor(cArg); in createGnssStatus()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java24 import java.lang.reflect.Constructor;
50 Constructor constructor = clazz.getDeclaredConstructor(paramType); in createNewInstance()
/frameworks/base/core/java/android/preference/
DGenericInflater.java32 import java.lang.reflect.Constructor;
377 Constructor constructor = (Constructor) sConstructorMap.get(name); in createItem()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java29 import java.lang.reflect.Constructor;
43 private static final Constructor<Looper> LOOPER_CONSTRUCTOR;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DKeyguardDisableHandlerTest.java45 import java.lang.reflect.Constructor;
219 final Constructor<LockTaskToken> constructor = in createLockTaskToken()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java42 import java.lang.reflect.Constructor;
357 Constructor<?> innerCons = innerClazz2.getConstructor(outerClazz2); in testDelegateInner()
412 Constructor<?> innerCons = innerClazz2.getConstructor(); in testDelegateStaticInner()
595 Constructor<?> cons = tcvClass.getConstructor(pw.getClass()); in dumpGeneratedClass()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java44 import java.lang.reflect.Constructor;
106 Constructor<?> viewConstructor = viewClass.getConstructor(constructorSignature); in loadView()

123