Home
last modified time | relevance | path

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

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
DClassNameResolver.java13 Class<? extends T> aClass; in resolve() local
15 aClass = safeClassForName(className); in resolve()
17 aClass = safeClassForName(packageName + "." + className); in resolve()
18 if (aClass == null) { in resolve()
19 aClass = safeClassForName(packageName + className); in resolve()
23 if (aClass == null) { in resolve()
27 return aClass; in resolve()
/external/jmdns/src/javax/jmdns/impl/constants/
DDNSRecordClass.java112 for (DNSRecordClass aClass : DNSRecordClass.values()) { in classForName()
113 if (aClass._externalName.equals(aName)) return aClass; in classForName()
126 for (DNSRecordClass aClass : DNSRecordClass.values()) { in classForIndex()
127 if (aClass._index == maskedIndex) return aClass; in classForIndex()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoadersTest.java76 Class<?> aClass = cl.loadClass(CLASS_NAME_DEPENDING_ON_INTERFACE); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes() local
79 assertThat(aClass).isNotNull(); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes()
80 assertThat(aClass.getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes()
81 assertThat(aClass.getInterfaces()[0].getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_when_dependent_classes_are_matching_the_prefixes()
93 Class<?> aClass = cl.loadClass(AClass.class.getName()); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation() local
96 assertThat(aClass).isNotNull(); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
97 assertThat(aClass).isNotSameAs(AClass.class); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
98 assertThat(aClass.getClassLoader()).isEqualTo(cl); in isolated_class_loader_can_load_classes_isolated_classes_in_isolation()
206 Class<?> aClass = cl.loadClass("yop.Dude"); in can_load_a_class_in_memory_from_bytes() local
209 assertThat(aClass).isNotNull(); in can_load_a_class_in_memory_from_bytes()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliCompositeElement.java70 protected <T> T[] findChildrenByClass(Class<T> aClass) { in findChildrenByClass() argument
73 if (aClass.isInstance(cur)) result.add((T)cur); in findChildrenByClass()
75 return result.toArray((T[]) Array.newInstance(aClass, result.size())); in findChildrenByClass()
80 protected <T> T findChildByClass(Class<T> aClass) { in findChildByClass() argument
82 if (aClass.isInstance(cur)) return (T)cur; in findChildByClass()
89 protected <T> T findAncestorByClass(Class<T> aClass) { in findAncestorByClass() argument
92 if (aClass.isInstance(parent)) { in findAncestorByClass()
DSmaliStubBasedPsiElement.java55 protected <E extends PsiElement> E findStubOrPsiAncestorOfType(@NotNull Class<E> aClass) { in findStubOrPsiAncestorOfType() argument
61 if (aClass.isInstance(parentPsi)) { in findStubOrPsiAncestorOfType()
71 if (aClass.isInstance(parent)) { in findStubOrPsiAncestorOfType()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DObjectDescriptorFactory.java165 Class<? extends BaseDescriptor> aClass = tagMap.get(tag); in createFrom() local
174 if (aClass == null || aClass.isInterface() || Modifier.isAbstract(aClass.getModifiers())) { in createFrom()
176 " and tag " + Integer.toHexString(tag) + " found: " + aClass); in createFrom()
180 baseDescriptor = aClass.newInstance(); in createFrom()
182 …log.log(Level.SEVERE, "Couldn't instantiate BaseDescriptor class " + aClass + " for objectTypeIndi… in createFrom()
/external/conscrypt/common/src/main/java/org/conscrypt/
DGCMParameters.java112 protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) in engineGetParameterSpec() argument
114 if ((aClass != null) && aClass.getName().equals("javax.crypto.spec.GCMParameterSpec")) { in engineGetParameterSpec()
115 return aClass.cast(Platform.toGCMParameterSpec(tLen, iv)); in engineGetParameterSpec()
117 throw new InvalidParameterSpecException("Unsupported class: " + aClass); in engineGetParameterSpec()
DDESEDESecretKeyFactory.java62 @SuppressWarnings("rawtypes") Class aClass) throws InvalidKeySpecException { in engineGetKeySpec() argument
66 if (aClass == SecretKeySpec.class) { in engineGetKeySpec()
79 } else if (aClass == DESedeKeySpec.class) { in engineGetKeySpec()
86 throw new InvalidKeySpecException("Unsupported KeySpec class: " + aClass); in engineGetKeySpec()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
DProtectionSpecificHeader.java39 final Class<? extends ProtectionSpecificHeader> aClass = uuidRegistry.get(systemId); in createFor() local
42 if (aClass != null) { in createFor()
44 protectionSpecificHeader = aClass.newInstance(); in createFor()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestBoilerplate.java133 Class aClass = a.getClass(); in _clone() local
135 Method cloner = aClass.getMethod("clone", (Class[])null); in _clone()
138 Constructor constructor = aClass.getConstructor(new Class[] {aClass}); in _clone()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestBoilerplate.java132 Class aClass = a.getClass(); in _clone() local
134 Method cloner = aClass.getMethod("clone", (Class[])null); in _clone()
137 Constructor constructor = aClass.getConstructor(new Class[] {aClass}); in _clone()
/external/r8/src/test/examples/shaking12/
DShaking.java12 static private Named createInstance(Class<? extends Named> aClass) { in createInstance() argument
14 return aClass.newInstance(); in createInstance()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
DGenericProperty.java27 public GenericProperty(String name, Class<?> aClass, Type aType) { in GenericProperty() argument
28 super(name, aClass); in GenericProperty()
/external/junit/src/main/java/org/junit/runner/
DRequest.java39 return Request.aClass(clazz).filterWith(method); in method()
49 public static Request aClass(Class<?> clazz) { in aClass() method in Request
/external/junit-params/src/test/java/junitparams/
DFilterableTest.java17 Request request = Request.aClass(SampleTestCase.class); in shouldRunAllTests()
77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName)); in requestSingleMethodRun()
/external/clang/test/CodeGenObjC/
Did-isa-codegen.m13 + (unsigned char) isSubclassOfClass:(Class)aClass ;
18 + (unsigned char) isSubclassOfClass:(Class)aClass {return 0;}
/external/junit/src/main/java/org/junit/experimental/max/
DMaxCore.java64 return run(Request.aClass(testClass)); in run()
140 return Request.aClass(type).getRunner();
/external/clang/test/SemaObjC/
Dinterface-layout.m19 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
Dproperty-6.m47 + (NSBundle *)bundleForClass:(Class)aClass;
/external/junit/src/main/java/org/junit/experimental/results/
DPrintableResult.java29 return testResult(Request.aClass(type)); in testResult()
/external/junit-params/src/test/java/junitparams/naming/
DNamingStrategyIsUsedByRunnerTest.java40 return Request.aClass(NamingStrategyIsUsedByRunnerTest.class).getRunner().getDescription(); in getTestClassDescription()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DFieldInitializer.java242 for (Class<?> aClass : constructor.getParameterTypes()) {
243 if(MockUtil.typeMockabilityOf(aClass).mockable()){
/external/clang/test/Analysis/
Duninit-ps-rdar6145427.m17 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
Drdar-6540084.m11 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
Drdar-6562655.m17 @end extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);

12