/frameworks/base/test-runner/src/junit/runner/ |
StandardTestSuiteLoader.java | 20 public Class reload(Class aClass) throws ClassNotFoundException { 21 return aClass;
|
TestSuiteLoader.java | 10 abstract public Class reload(Class aClass) throws ClassNotFoundException;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
ClassNameResolver.java | 13 Class<? extends T> aClass; 15 aClass = safeClassForName(className); 17 aClass = safeClassForName(packageName + "." + className); 18 if (aClass == null) { 19 aClass = safeClassForName(packageName + className); 23 if (aClass == null) { 27 return aClass;
|
/external/jmdns/src/javax/jmdns/impl/constants/ |
DNSRecordClass.java | 112 for (DNSRecordClass aClass : DNSRecordClass.values()) { 113 if (aClass._externalName.equals(aName)) return aClass; 126 for (DNSRecordClass aClass : DNSRecordClass.values()) { 127 if (aClass._index == maskedIndex) return aClass;
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/ |
HasClassAnnotationTest.java | 37 Class<? extends TestCase> aClass, 39 Method method = aClass.getMethod("testSomeTest"); 41 TestMethod testMethod = new TestMethod(method, aClass);
|
HasMethodAnnotationTest.java | 38 private boolean methodHasAnnotation(Class<? extends TestCase> aClass, 42 Method method = aClass.getMethod(methodName); 43 TestMethod testMethod = new TestMethod(method, aClass);
|
HasAnnotationTest.java | 44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) 46 Method method = aClass.getMethod(methodName); 47 TestMethod testMethod = new TestMethod(method, aClass);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ObjectDescriptorFactory.java | 165 Class<? extends BaseDescriptor> aClass = tagMap.get(tag);
169 // " and tag " + Integer.toHexString(tag) + " using: " + aClass);
170 // aClass = BaseDescriptor.class;
174 if (aClass == null || aClass.isInterface() || Modifier.isAbstract(aClass.getModifiers())) {
176 " and tag " + Integer.toHexString(tag) + " found: " + aClass);
180 baseDescriptor = aClass.newInstance();
182 log.log(Level.SEVERE, "Couldn't instantiate BaseDescriptor class " + aClass + " for objectTypeIndication " + objectTypeIndication + " and tag " + tag, e);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliCompositeElement.java | 70 protected <T> T[] findChildrenByClass(Class<T> aClass) { 73 if (aClass.isInstance(cur)) result.add((T)cur); 75 return result.toArray((T[]) Array.newInstance(aClass, result.size())); 80 protected <T> T findChildByClass(Class<T> aClass) { 82 if (aClass.isInstance(cur)) return (T)cur; 89 protected <T> T findAncestorByClass(Class<T> aClass) { 92 if (aClass.isInstance(parent)) {
|
SmaliStubBasedPsiElement.java | 55 protected <E extends PsiElement> E findStubOrPsiAncestorOfType(@NotNull Class<E> aClass) { 61 if (aClass.isInstance(parentPsi)) { 71 if (aClass.isInstance(parent)) {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 43 private Class<?> aClass; 55 aClass = loader.loadClass(prefix + "$A"); 66 assertEquals(aClass.getName(), A.class.getName()); 67 assertNotSame(aClass, A.class); 71 assertEquals(aClass, aListClass.getDeclaredField("field").getType()); 78 assertParameterizedType(aListClass.getGenericSuperclass(), ArrayList.class, aClass); 89 assertTypeVariable(typeVariables[1], "V", aClass); 96 assertParameterizedType(types[0], Callable.class, aClass); 97 assertParameterizedType(types[1], dClass, aClass); 104 assertParameterizedType(listA.getGenericType(), List.class, aClass); [all...] |
/external/mockito/src/test/java/org/mockitoutil/ |
ClassLoadersTest.java | 76 Class<?> aClass = cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); 79 assertThat(aClass).isNotNull(); 80 assertThat(aClass.getClassLoader()).isEqualTo(cl); 81 assertThat(aClass.getInterfaces()[0].getClassLoader()).isEqualTo(cl); 93 Class<?> aClass = cl.loadClass(AClass.class.getName()); 96 assertThat(aClass).isNotNull(); 97 assertThat(aClass).isNotSameAs(AClass.class); 98 assertThat(aClass.getClassLoader()).isEqualTo(cl) [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
AssignableFromTest.java | 52 private TestMethod testMethodFor(Class<? extends TestCase> aClass) 54 Method method = aClass.getMethod("testX"); 55 return new TestMethod(method, aClass);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
VersionInfo.java | 77 plugin.mVersions.forEach((aClass, version) -> { 78 Version v = versions.remove(aClass); 80 v = createVersion(aClass); 83 throw new InvalidVersionException(aClass.getSimpleName() 87 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, v.mVersion, 91 versions.forEach((aClass, version) -> { 94 + aClass.getSimpleName(), false);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
ProtectionSpecificHeader.java | 39 final Class<? extends ProtectionSpecificHeader> aClass = uuidRegistry.get(systemId); 42 if (aClass != null) { 44 protectionSpecificHeader = aClass.newInstance();
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 215 public boolean apply(Class aClass) { 216 int modifiers = ((Class<?>) aClass).getModifiers(); 217 return TestCase.class.isAssignableFrom((Class<?>) aClass) 220 && hasValidConstructor((Class<?>) aClass); 224 private boolean hasValidConstructor(java.lang.Class<?> aClass) { 229 = (Constructor<? extends TestCase>[]) aClass.getConstructors(); 242 aClass.getName()));
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
JavaClass.java | 37 private static String toJavaCode(Class aClass) { 38 if (aClass.isArray()) { 39 Class component = aClass.getComponentType(); 42 return aClass.getCanonicalName().replace('$', '.');
|
/external/junit/src/main/java/org/junit/runner/ |
Request.java | 39 return Request.aClass(clazz).filterWith(method); 49 public static Request aClass(Class<?> clazz) { 160 * new JUnitCore().run(Request.aClass(AllTests.class).sortWith(forward()));
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/ |
GenericProperty.java | 27 public GenericProperty(String name, Class<?> aClass, Type aType) { 28 super(name, aClass);
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
StubMethodAdapterTest.java | 65 Class<?> aClass = myClassLoader.loadClass(newClassName); 68 Method method = aClass.getMethod(methodName); 69 Object o = aClass.newInstance();
|
/external/junit-params/src/test/java/junitparams/ |
FilterableTest.java | 17 Request request = Request.aClass(SampleTestCase.class); 77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestBoilerplate.java | 133 Class aClass = a.getClass(); 135 Method cloner = aClass.getMethod("clone", (Class[])null); 138 Constructor constructor = aClass.getConstructor(new Class[] {aClass});
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestBoilerplate.java | 132 Class aClass = a.getClass(); 134 Method cloner = aClass.getMethod("clone", (Class[])null); 137 Constructor constructor = aClass.getConstructor(new Class[] {aClass});
|
/external/junit/src/main/java/org/junit/experimental/results/ |
PrintableResult.java | 29 return testResult(Request.aClass(type));
|
/external/junit-params/src/test/java/junitparams/naming/ |
NamingStrategyIsUsedByRunnerTest.java | 40 return Request.aClass(NamingStrategyIsUsedByRunnerTest.class).getRunner().getDescription();
|