/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
D | AppCompatViewInflater.java | 143 Constructor<? extends View> constructor = sConstructorMap.get(name); in createView() local 146 if (constructor == null) { in createView() 151 constructor = clazz.getConstructor(sConstructorSignature); in createView() 152 sConstructorMap.put(name, constructor); in createView() 154 constructor.setAccessible(true); in createView() 155 return constructor.newInstance(mConstructorArgs); in createView()
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
D | TestMethod.java | 84 for (Constructor constructor : constructors) { in instantiateTest() 85 Class[] params = constructor.getParameterTypes(); in instantiateTest() 87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest() 93 return ((Constructor<? extends TestCase>) constructor) in instantiateTest()
|
D | TestGrouping.java | 230 for (Constructor<? extends TestCase> constructor : constructors) { in hasValidConstructor() 231 if (Modifier.isPublic(constructor.getModifiers())) { in hasValidConstructor() 232 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/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapVcardList.java | 64 VCardEntryConstructor constructor = new VCardEntryConstructor(); in parse() local 68 constructor.addEntryHandler(handler); in parse() 70 parser.addInterpreter(constructor); in parse()
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
D | ScrollerCompatTestBase.java | 50 Constructor<ScrollerCompat> constructor = ScrollerCompat.class in createScroller() local 52 constructor.setAccessible(true); in createScroller() 53 mScroller = constructor.newInstance(mApiLevel, getContext(), interpolator); in createScroller()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | PreferenceInflater.java | 219 Constructor constructor = CONSTRUCTOR_MAP.get(name); in createItem() local 222 if (constructor == null) { in createItem() 248 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE); in createItem() 249 constructor.setAccessible(true); in createItem() 250 CONSTRUCTOR_MAP.put(name, constructor); in createItem() 255 return (Preference) constructor.newInstance(args); in createItem()
|
/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/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/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 88 Constructor<T> constructor = serviceClass.getConstructor(Context.class); in startService() local 89 service = constructor.newInstance(mContext); in startService()
|
/frameworks/base/core/java/android/view/ |
D | LayoutInflater.java | 575 Constructor<? extends View> constructor = sConstructorMap.get(name); in createView() local 581 if (constructor == null) { in createView() 592 constructor = clazz.getConstructor(mConstructorSignature); in createView() 593 constructor.setAccessible(true); in createView() 594 sConstructorMap.put(name, constructor); in createView() 619 final View view = constructor.newInstance(args); in createView()
|
D | MenuInflater.java | 514 Constructor<?> constructor = clazz.getConstructor(constructorSignature); in newInstance() local 515 constructor.setAccessible(true); in newInstance() 516 return (T) constructor.newInstance(arguments); in newInstance()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 51 jmethodID constructor; member 63 jmethodID constructor; member 477 gTvInputHardwareInfoBuilderClassInfo.constructor); in onDeviceAvailable() 638 gTvStreamConfigBuilderClassInfo.constructor); in nativeGetStreamConfigs() 716 gTvStreamConfigBuilderClassInfo.constructor, in register_android_server_tv_TvInputHal() 750 gTvInputHardwareInfoBuilderClassInfo.constructor, in register_android_server_tv_TvInputHal()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_util.h | 167 jmethodID constructor = env->GetMethodID( in CreateJavaObject() local 171 jobject result = env->NewObject(cls, constructor, JNI_NULL); in CreateJavaObject()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 111 Constructor constructor, Object... args) { in newSingleTestMethod() argument 113 TestCase testCase = (TestCase) constructor.newInstance(args); in newSingleTestMethod()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
D | SupportMenuInflater.java | 498 Constructor<?> constructor = clazz.getConstructor(constructorSignature); in newInstance() local 499 constructor.setAccessible(true); in newInstance() 500 return (T) constructor.newInstance(arguments); in newInstance()
|
/frameworks/base/docs/html/training/multiple-threads/ |
D | create-threadpool.jd | 80 Use a private constructor 83 Making the constructor private ensures that it is a singleton, which means that you don't 90 * and decode images. Because the constructor is marked private, 121 Instantiate a {@link android.os.Handler} in the constructor and attach it to your app's
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | custom-components.jd | 130 You can supply a constructor which can 220 <td>There is a form of the constructor that are called when the view 327 <li>Parameterized constructor that takes the view inflation parameters 379 In the constructor for the new class, take whatever parameters the 380 superclass expects, and pass them through to the superclass constructor 385 constructor. 492 this is not a default constructor, but a parameterized one. The 494 XML layout file, thus, our constructor needs to both take them and pass them 495 to the superclass constructor as well.</p> 546 passed into the custom component constructor, and then passed [all …]
|
/frameworks/base/docs/html/tools/testing/ |
D | contentprovider_testing.jd | 123 The initialization is done in the constructor for {@link android.test.ProviderTestCase2}, which 125 constructor creates an {@link android.test.IsolatedContext} object that allows file and 131 The constructor then creates a {@link android.test.mock.MockContentResolver} to use as the 138 Lastly, the constructor creates an instance of the provider under test. This is a normal
|
/frameworks/wilhelm/src/objects/ |
D | CEngine.c | 32 __attribute__((constructor)) static void onDlOpen(void) in onDlOpen()
|
/frameworks/opt/net/wifi/service/jni/ |
D | jni_helper.cpp | 535 jmethodID constructor = mEnv->GetMethodID(cls, "<init>", "()V"); in createObject() local 536 if (constructor == 0) { in createObject() 541 JNIObject<jobject> obj(*this, mEnv->NewObject(cls, constructor)); in createObject()
|