Home
last modified time | relevance | path

Searched refs:theClass (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/test-base/src/junit/framework/
DTestSuite.java51 static public Test createTest(Class<?> theClass, String name) { in createTest() argument
54 constructor= getTestConstructor(theClass); in createTest()
56 …return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or Te… in createTest()
81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { in getTestConstructor() argument
83 return theClass.getConstructor(String.class); in getTestConstructor()
87 return theClass.getConstructor(new Class[0]); in getTestConstructor()
128 public TestSuite(final Class<?> theClass) {
129 addTestsFromTestCase(theClass);
132 private void addTestsFromTestCase(final Class<?> theClass) {
133 fName= theClass.getName();
[all …]
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java200 Class<?> theClass = parameters[j]; in getMethodName() local
202 while (theClass.isArray()) { in getMethodName()
204 theClass = theClass.getComponentType(); in getMethodName()
206 sb.append(theClass.getName()); in getMethodName()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestSuite.java58 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) { in InstrumentationTestSuite() argument
59 super(theClass); in InstrumentationTestSuite()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java117 public DelegateManager(Class<T> theClass) { in DelegateManager() argument
118 mClass = theClass; in DelegateManager()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1508 bool android_media_getIntConstantFromClass(JNIEnv* pEnv, jclass theClass, const char* className, in android_media_getIntConstantFromClass() argument
1511 javaConst = pEnv->GetStaticFieldID(theClass, constName, "I"); in android_media_getIntConstantFromClass()
1513 *constVal = pEnv->GetStaticIntField(theClass, javaConst); in android_media_getIntConstantFromClass()