Home
last modified time | relevance | path

Searched refs:aClass (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java81 public void accept(Class<?> aClass, Version version) { in checkVersion()
82 Version v = versions.remove(aClass); in checkVersion()
84 v = VersionInfo.this.createVersion(aClass); in checkVersion()
87 throw new InvalidVersionException(aClass.getSimpleName() in checkVersion()
91 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, in checkVersion()
99 public void accept(Class<?> aClass, Version version) { in checkVersion()
102 + aClass.getSimpleName(), false); in checkVersion()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java189 public boolean apply(Class aClass) { in apply() argument
190 int modifiers = ((Class<?>) aClass).getModifiers(); in apply()
191 return TestCase.class.isAssignableFrom((Class<?>) aClass) in apply()
194 && hasValidConstructor((Class<?>) aClass); in apply()
198 private boolean hasValidConstructor(java.lang.Class<?> aClass) { in hasValidConstructor() argument
203 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); in hasValidConstructor()
216 aClass.getName())); in hasValidConstructor()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DAssignableFromTest.java52 private TestMethod testMethodFor(Class<? extends TestCase> aClass) in testMethodFor() argument
54 Method method = aClass.getMethod("testX"); in testMethodFor()
55 return new TestMethod(method, aClass); in testMethodFor()
DTestPredicatesTest.java44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() argument
46 Method method = aClass.getMethod(methodName); in hasExampleAnnotation()
47 TestMethod testMethod = new TestMethod(method, aClass); in hasExampleAnnotation()
/frameworks/base/test-runner/src/junit/runner/
DStandardTestSuiteLoader.java20 public Class reload(Class aClass) throws ClassNotFoundException { in reload() argument
21 return aClass; in reload()
DTestSuiteLoader.java10 abstract public Class reload(Class aClass) throws ClassNotFoundException; in reload() argument
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DStubClassAdapterTest.java47 Class<?> aClass = myClassLoader.loadClass(newClassName); in testStubbedClass() local
51 aClass.newInstance(); in testStubbedClass()
DStubMethodAdapterTest.java65 Class<?> aClass = myClassLoader.loadClass(newClassName); in testBoolean() local
68 Method method = aClass.getMethod(methodName); in testBoolean()
69 Object o = aClass.newInstance(); in testBoolean()