/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ReflectionInflater.java | 91 Constructor<? extends T> constructor = in createItem() local 95 if (constructor == null) { in createItem() 100 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE); in createItem() 101 constructor.setAccessible(true); in createItem() 102 sConstructorMap.put(tagName, constructor); in createItem() 107 final T item = constructor.newInstance(mTempConstructorArgs); in createItem()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableInflater.java | 196 Constructor<? extends Drawable> constructor; in inflateFromClass() local 198 constructor = CONSTRUCTOR_MAP.get(className); in inflateFromClass() 199 if (constructor == null) { in inflateFromClass() 202 constructor = clazz.getConstructor(); in inflateFromClass() 203 CONSTRUCTOR_MAP.put(className, constructor); in inflateFromClass() 206 return constructor.newInstance(); in inflateFromClass()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 88 for (Constructor constructor : constructors) { in instantiateTest() 89 Class[] params = constructor.getParameterTypes(); in instantiateTest() 91 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest() 97 return ((Constructor<? extends TestCase>) constructor) in instantiateTest()
|
D | TestGrouping.java | 204 for (Constructor<? extends TestCase> constructor : constructors) { in hasValidConstructor() 205 if (Modifier.isPublic(constructor.getModifiers())) { in hasValidConstructor() 206 java.lang.Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructor()
|
/frameworks/base/core/java/android/preference/ |
D | GenericInflater.java | 370 Constructor constructor = (Constructor) sConstructorMap.get(name); in createItem() local 373 if (null == constructor) { in createItem() 378 constructor = clazz.getConstructor(mConstructorSignature); in createItem() 379 constructor.setAccessible(true); in createItem() 380 sConstructorMap.put(name, constructor); in createItem() 385 return (T) constructor.newInstance(args); in createItem() 402 + constructor.getClass().getName()); in createItem()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceInflater.java | 214 Constructor constructor = CONSTRUCTOR_MAP.get(name); in createItem() local 217 if (constructor == null) { in createItem() 244 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE); in createItem() 245 constructor.setAccessible(true); in createItem() 246 CONSTRUCTOR_MAP.put(name, constructor); in createItem() 251 return (Preference) constructor.newInstance(args); in createItem()
|
/frameworks/base/legacy-test/src/junit/framework/ |
D | TestSuite.java | 52 Constructor<?> constructor; in createTest() local 54 constructor= getTestConstructor(theClass); in createTest() 60 if (constructor.getParameterTypes().length == 0) { in createTest() 61 test= constructor.newInstance(new Object[0]); in createTest() 65 test= constructor.newInstance(new Object[]{name}); in createTest()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AppCompatViewInflater.java | 214 Constructor<? extends View> constructor = sConstructorMap.get(name); in createView() local 217 if (constructor == null) { in createView() 222 constructor = clazz.getConstructor(sConstructorSignature); in createView() 223 sConstructorMap.put(name, constructor); in createView() 225 constructor.setAccessible(true); in createView() 226 return constructor.newInstance(mConstructorArgs); in createView()
|
/frameworks/support/transition/src/android/support/transition/ |
D | TransitionInflater.java | 200 Constructor constructor = CONSTRUCTORS.get(className); in createCustom() local 201 if (constructor == null) { in createCustom() 206 constructor = c.getConstructor(CONSTRUCTOR_SIGNATURE); in createCustom() 207 constructor.setAccessible(true); in createCustom() 208 CONSTRUCTORS.put(className, constructor); in createCustom() 212 return constructor.newInstance(mContext, attrs); in createCustom()
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 557 private final boolean verifyClassLoader(Constructor<? extends View> constructor) { in verifyClassLoader() argument 558 final ClassLoader constructorLoader = constructor.getDeclaringClass().getClassLoader(); in verifyClassLoader() 594 Constructor<? extends View> constructor = sConstructorMap.get(name); in createView() local 595 if (constructor != null && !verifyClassLoader(constructor)) { in createView() 596 constructor = null; in createView() 604 if (constructor == null) { in createView() 615 constructor = clazz.getConstructor(mConstructorSignature); in createView() 616 constructor.setAccessible(true); in createView() 617 sConstructorMap.put(name, constructor); in createView() 647 final View view = constructor.newInstance(args); in createView()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 208 Constructor constructor = sConstructors.get(className); in createCustom() local 209 if (constructor == null) { in createCustom() 213 constructor = c.getConstructor(sConstructorSignature); in createCustom() 214 constructor.setAccessible(true); in createCustom() 215 sConstructors.put(className, constructor); in createCustom() 218 return constructor.newInstance(mContext, attrs); in createCustom()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTestUtils.java | 50 Constructor constructor = clazz.getDeclaredConstructor(paramType); in createNewInstance() local 51 constructor.setAccessible(true); in createNewInstance() 53 return constructor.newInstance(params); in createNewInstance()
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 56 Constructor constructor = clazz.getConstructor(ByteArrayOutputStream.class); in createEncoder() local 57 return constructor.newInstance(baos); in createEncoder()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/constructor/ |
D | PublicConstructorTest.java | 17 package android.test.suitebuilder.examples.constructor;
|
D | ProtectedConstructorTest.java | 17 package android.test.suitebuilder.examples.constructor;
|
D | NoPublicConstructorTest.java | 17 package android.test.suitebuilder.examples.constructor;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 245 final VCardEntryConstructor constructor = new VCardEntryConstructor(mVCardType); in verifyWithInputStream() local 246 constructor.addEntryHandler(mContentValuesVerifier); in verifyWithInputStream() 247 parser.addInterpreter(constructor); in verifyWithInputStream()
|
/frameworks/ml/nn/runtime/test/specs/ |
D | generate_test.sh | 36 echo // Generated model constructor
|
D | generate_vts_test.sh | 33 echo // Generated model constructor
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 68 jmethodID constructor; member 80 jmethodID constructor; member 463 gTvInputHardwareInfoBuilderClassInfo.constructor); in onDeviceAvailable() 620 gTvStreamConfigBuilderClassInfo.constructor); in nativeGetStreamConfigs() 699 gTvStreamConfigBuilderClassInfo.constructor, in register_android_server_tv_TvInputHal() 733 gTvInputHardwareInfoBuilderClassInfo.constructor, in register_android_server_tv_TvInputHal()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 116 Constructor constructor, Object... args) { in newSingleTestMethod() argument 118 TestCase testCase = (TestCase) constructor.newInstance(args); in newSingleTestMethod()
|
/frameworks/base/core/java/android/text/format/ |
D | Formatter.java | 211 Constructor<MeasureUnit> constructor = MeasureUnit.class in createPetaByte() local 213 constructor.setAccessible(true); in createPetaByte() 214 return constructor.newInstance("digital", "petabyte"); in createPetaByte()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_util.h | 168 jmethodID constructor = env->GetMethodID( in CreateJavaObject() local 172 jobject result = env->NewObject(cls, constructor, JNI_NULL); in CreateJavaObject()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 95 Constructor<T> constructor = serviceClass.getConstructor(Context.class); in startService() local 96 service = constructor.newInstance(mContext); in startService()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
D | SupportMenuInflater.java | 548 Constructor<?> constructor = clazz.getConstructor(constructorSignature); in newInstance() local 549 constructor.setAccessible(true); in newInstance() 550 return (T) constructor.newInstance(arguments); in newInstance()
|