/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | XmlSerializePerfTest.java | 33 import java.lang.reflect.Constructor; 51 private Constructor<? extends XmlSerializer> mKxmlConstructor; 52 private Constructor<? extends XmlSerializer> mFastConstructor; 54 private void serializeRandomXml(Constructor<? extends XmlSerializer> ctor, long mSeed) in serializeRandomXml() 96 (Constructor) in setUp() 99 (Constructor) in setUp() 109 private void internalTimeSerializer(Constructor<? extends XmlSerializer> ctor, int seed) in internalTimeSerializer()
|
D | DeepArrayOpsPerfTest.java | 32 import java.lang.reflect.Constructor; 135 Constructor<V> constructor = type.getDeclaredConstructor(String.class); in new16ElementArray()
|
/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 | 25 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/ |
D | ReflectionInflater.java | 24 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/displayservicetests/src/com/android/server/display/ |
D | TestUtils.java | 26 import java.lang.reflect.Constructor; 41 final Constructor<SensorEvent> constructor = in createSensorEvent() 70 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() 79 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | DrawableInflater_Delegate.java | 25 import java.lang.reflect.Constructor; 28 private static final LruCache<String, Constructor<? extends Drawable>> CONSTRUCTOR_MAP = 39 Constructor<? extends Drawable> constructor; in inflateFromClass()
|
/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 | 30 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/ |
D | DrawableInflater.java | 34 import java.lang.reflect.Constructor; 50 private static final HashMap<String, Constructor<? extends Drawable>> CONSTRUCTOR_MAP = 195 Constructor<? extends Drawable> constructor; in inflateFromClass()
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | EffectFactory.java | 20 import java.lang.reflect.Constructor; 495 Constructor effectConstructor = null; in instantiateEffect()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppZygoteInit.java | 28 import java.lang.reflect.Constructor; 92 Constructor<?> ctor = cl.getConstructor(); in handlePreloadApp()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterFactory.java | 25 import java.lang.reflect.Constructor; 121 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/test-junit/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/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/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 33 import java.lang.reflect.Constructor; 209 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor() 280 Constructor<SensorEvent> constr = in createSensorEvent()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/ |
D | FeatureResolverTest.java | 42 import java.lang.reflect.Constructor; 55 Constructor<FeatureResolver> constructor = FeatureResolver.class in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppBindServiceEventsTracker.java | 37 import java.lang.reflect.Constructor; 52 Constructor<? extends Injector<AppBindServiceEventsPolicy>> injector, in AppBindServiceEventsTracker()
|
D | AppBroadcastEventsTracker.java | 37 import java.lang.reflect.Constructor; 51 Constructor<? extends Injector<AppBroadcastEventsPolicy>> injector, in AppBroadcastEventsTracker()
|
/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/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | FaceDownDetectorTest.java | 46 import java.lang.reflect.Constructor; 254 final Constructor<SensorEvent> constructor = in createTestEvent() 275 Constructor<Sensor> constr = Sensor.class.getDeclaredConstructor(); in createSensor()
|
/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()
|