/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 22 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()
|
D | TestGrouping.java | 27 import java.lang.reflect.Constructor; 228 Constructor<? extends TestCase>[] constructors in hasValidConstructor() 229 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); in hasValidConstructor() 230 for (Constructor<? extends TestCase> constructor : constructors) { in hasValidConstructor()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ReflectionInflater.java | 25 import java.lang.reflect.Constructor; 45 private static final HashMap<String, Constructor<?>> sConstructorMap = new HashMap<>(); 91 Constructor<? extends T> constructor = in createItem() 92 (Constructor<? extends T>) sConstructorMap.get(qualifiedName); in createItem()
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | ParceledListSliceAdapterApi21.java | 22 import java.lang.reflect.Constructor; 31 private static Constructor sConstructor;
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableRange.java | 24 import java.lang.reflect.Constructor; 39 private final Constructor<Range<T>> mConstructor; 68 mConstructor = (Constructor<Range<T>>)mClass.getConstructor( in MarshalerRange()
|
D | MarshalQueryablePair.java | 24 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/ |
D | AndroidTestRunner.java | 32 import java.lang.reflect.Constructor; 103 Constructor c = testClass.getConstructor(); in buildSingleTestMethod() 109 Constructor c = testClass.getConstructor(String.class); in buildSingleTestMethod() 118 Constructor constructor, Object... args) { in newSingleTestMethod()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableInflater.java | 32 import java.lang.reflect.Constructor; 48 private static final HashMap<String, Constructor<? extends Drawable>> CONSTRUCTOR_MAP = 196 Constructor<? extends Drawable> constructor; in inflateFromClass()
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
D | TypefaceCompatApi24Impl.java | 34 import java.lang.reflect.Constructor; 56 private static final Constructor sFontFamilyCtor; 62 Constructor fontFamilyCtor;
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | EffectFactory.java | 20 import java.lang.reflect.Constructor; 497 Constructor effectConstructor = null; in instantiateEffect()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterFactory.java | 25 import java.lang.reflect.Constructor; 123 Constructor filterConstructor = null; in createFilterByClass()
|
D | SyncRunner.java | 23 import java.lang.reflect.Constructor; 55 Constructor schedulerConstructor = schedulerClass.getConstructor(FilterGraph.class); in SyncRunner()
|
/frameworks/base/legacy-test/src/junit/framework/ |
D | TestSuite.java | 5 import java.lang.reflect.Constructor; 52 Constructor<?> constructor; in createTest() 81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { in getTestConstructor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 35 import java.lang.reflect.Constructor; 167 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() 218 Constructor<SensorEvent> constr = in createSensorEvent()
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 7 import java.lang.reflect.Constructor; 56 Constructor constructor = clazz.getConstructor(ByteArrayOutputStream.class); in createEncoder()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FilterFactory.java | 24 import java.lang.reflect.Constructor; 99 Constructor<? extends Filter> filterConstructor = null; in createFilterByClass()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceInflater.java | 32 import java.lang.reflect.Constructor; 45 private static final HashMap<String, Constructor> CONSTRUCTOR_MAP = new HashMap<>(); 214 Constructor constructor = CONSTRUCTOR_MAP.get(name); in createItem()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 36 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTestUtils.java | 24 import java.lang.reflect.Constructor; 50 Constructor constructor = clazz.getDeclaredConstructor(paramType); in createNewInstance()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatViewInflater.java | 48 import java.lang.reflect.Constructor; 75 private static final Map<String, Constructor<? extends View>> sConstructorMap 214 Constructor<? extends View> constructor = sConstructorMap.get(name); in createView()
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 20 import java.lang.reflect.Constructor; 370 Constructor constructor = (Constructor) sConstructorMap.get(name); in createItem()
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooper.java | 27 import java.lang.reflect.Constructor; 40 private static final Constructor<Looper> LOOPER_CONSTRUCTOR;
|
/frameworks/support/transition/src/android/support/transition/ |
D | TransitionInflater.java | 35 import java.lang.reflect.Constructor; 44 private static final ArrayMap<String, Constructor> CONSTRUCTORS = new ArrayMap<>(); 200 Constructor constructor = CONSTRUCTORS.get(className); in createCustom()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | DelegateClassAdapterTest.java | 42 import java.lang.reflect.Constructor; 280 Constructor<?> innerCons = innerClazz2.getConstructor(outerClazz2); in testDelegateInner() 335 Constructor<?> innerCons = innerClazz2.getConstructor(); in testDelegateStaticInner() 518 Constructor<?> cons = tcvClass.getConstructor(pw.getClass()); in dumpGeneratedClass()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutLibTestCallback.java | 42 import java.lang.reflect.Constructor; 112 Constructor<?> viewConstructor = viewClass.getConstructor(constructorSignature); in loadView()
|