/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/ |
D | ClassNameResolver.java | 13 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/ |
D | DNSRecordClass.java | 112 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/ |
D | ClassLoadersTest.java | 76 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/ |
D | SmaliCompositeElement.java | 70 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()
|
D | SmaliStubBasedPsiElement.java | 55 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/ |
D | ObjectDescriptorFactory.java | 165 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/ |
D | GCMParameters.java | 112 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()
|
D | DESEDESecretKeyFactory.java | 62 @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/ |
D | ProtectionSpecificHeader.java | 39 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/ |
D | TestBoilerplate.java | 133 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/ |
D | TestBoilerplate.java | 132 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/ |
D | Shaking.java | 12 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/ |
D | GenericProperty.java | 27 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/ |
D | Request.java | 39 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/ |
D | FilterableTest.java | 17 Request request = Request.aClass(SampleTestCase.class); in shouldRunAllTests() 77 return Request.aClass(clazz).filterWith(new SingleMethodFilter(methodName)); in requestSingleMethodRun()
|
/external/clang/test/CodeGenObjC/ |
D | id-isa-codegen.m | 13 + (unsigned char) isSubclassOfClass:(Class)aClass ; 18 + (unsigned char) isSubclassOfClass:(Class)aClass {return 0;}
|
/external/junit/src/main/java/org/junit/experimental/max/ |
D | MaxCore.java | 64 return run(Request.aClass(testClass)); in run() 140 return Request.aClass(type).getRunner();
|
/external/clang/test/SemaObjC/ |
D | interface-layout.m | 19 extern id NSAllocateObject (Class aClass, NSUInteger extraBytes, NSZone * zone);
|
D | property-6.m | 47 + (NSBundle *)bundleForClass:(Class)aClass;
|
/external/junit/src/main/java/org/junit/experimental/results/ |
D | PrintableResult.java | 29 return testResult(Request.aClass(type)); in testResult()
|
/external/junit-params/src/test/java/junitparams/naming/ |
D | NamingStrategyIsUsedByRunnerTest.java | 40 return Request.aClass(NamingStrategyIsUsedByRunnerTest.class).getRunner().getDescription(); in getTestClassDescription()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | FieldInitializer.java | 242 for (Class<?> aClass : constructor.getParameterTypes()) { 243 if(MockUtil.typeMockabilityOf(aClass).mockable()){
|
/external/clang/test/Analysis/ |
D | uninit-ps-rdar6145427.m | 17 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
|
D | rdar-6540084.m | 11 extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
|
D | rdar-6562655.m | 17 @end extern id NSAllocateObject(Class aClass, NSUInteger extraBytes, NSZone *zone);
|