/build/tools/droiddoc/src/ |
D | PackageInfo.java | 98 public static ClassInfo[] filterHidden(ClassInfo[] classes) in filterHidden() 100 ArrayList<ClassInfo> out = new ArrayList<ClassInfo>(); in filterHidden() 102 for (ClassInfo cl: classes) { in filterHidden() 108 return out.toArray(new ClassInfo[0]); in filterHidden() 123 ClassInfo.makeLinkListHDF(data, base + ".interfaces", interfaces()); in makeClassLinkListHDF() 124 ClassInfo.makeLinkListHDF(data, base + ".classes", ordinaryClasses()); in makeClassLinkListHDF() 125 ClassInfo.makeLinkListHDF(data, base + ".enums", enums()); in makeClassLinkListHDF() 126 ClassInfo.makeLinkListHDF(data, base + ".exceptions", exceptions()); in makeClassLinkListHDF() 127 ClassInfo.makeLinkListHDF(data, base + ".errors", errors()); in makeClassLinkListHDF() 131 public ClassInfo[] interfaces() in interfaces() [all …]
|
D | ClassInfo.java | 24 public class ClassInfo extends DocInfo implements ContainerInfo, Comparable, Scoped class 26 public static final Comparator<ClassInfo> comparator = new Comparator<ClassInfo>() { 27 public int compare(ClassInfo a, ClassInfo b) { 32 public static final Comparator<ClassInfo> qualifiedComparator = new Comparator<ClassInfo>() { 33 public int compare(ClassInfo a, ClassInfo b) { 38 public ClassInfo( in ClassInfo() method in ClassInfo 72 public void init(TypeInfo typeInfo, ClassInfo[] interfaces, TypeInfo[] interfaceTypes, in init() 73 ClassInfo[] innerClasses, in init() 76 PackageInfo containingPackage, ClassInfo containingClass, in init() 77 ClassInfo superclass, TypeInfo superclassType, AnnotationInstanceInfo[] annotations) in init() [all …]
|
D | SinceTagger.java | 39 public void tagAll(ClassInfo[] classDocs) { in tagAll() 76 ApiInfo specApi, ClassInfo[] classDocs) { in applyVersionsFromSpec() 77 for (ClassInfo classDoc : classDocs) { in applyVersionsFromSpec() 85 com.android.apicheck.ClassInfo classSpec in applyVersionsFromSpec() 112 private void versionClass(String versionName, ClassInfo doc) { in versionClass() 123 com.android.apicheck.ClassInfo spec, ClassInfo doc) { in versionConstructors() 137 com.android.apicheck.ClassInfo spec, ClassInfo doc) { in versionFields() 151 com.android.apicheck.ClassInfo spec, ClassInfo doc) { in versionMethods() 157 for (com.android.apicheck.ClassInfo superclass : spec.hierarchy()) { in versionMethods() 171 private void warnForMissingVersions(ClassInfo[] classDocs) { in warnForMissingVersions() [all …]
|
D | DroidDoc.java | 552 ClassInfo[] classes = Converter.rootClasses(); in makePackageHDF() 555 for (ClassInfo cl: classes) { in makePackageHDF() 575 ClassInfo[] classesToCheck = null; in makePackageHDF() 597 for (ClassInfo cl : classesToCheck) { in makePackageHDF() 669 ClassInfo[] classes = Converter.rootClasses(); in writeLists() 672 for (ClassInfo cl: classes) { in writeLists() 698 else if (o instanceof ClassInfo) { in writeLists() 699 ClassInfo cl = (ClassInfo)o; in writeLists() 709 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable) { in cantStripThis() 715 ClassInfo supr = cl.superclass(); in cantStripThis() [all …]
|
D | MethodInfo.java | 46 private static void addInterfaces(ClassInfo[] ifaces, ArrayList<ClassInfo> queue) in addInterfaces() 48 for (ClassInfo i: ifaces) { in addInterfaces() 51 for (ClassInfo i: ifaces) { in addInterfaces() 68 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findOverriddenMethod() 70 for (ClassInfo iface: queue) { in findOverriddenMethod() 83 private static void addRealInterfaces(ClassInfo[] ifaces, ArrayList<ClassInfo> queue) in addRealInterfaces() 85 for (ClassInfo i: ifaces) { in addRealInterfaces() 91 for (ClassInfo i: ifaces) { in addRealInterfaces() 105 ArrayList<ClassInfo> queue = new ArrayList<ClassInfo>(); in findRealOverriddenMethod() 111 for (ClassInfo iface: queue) { in findRealOverriddenMethod() [all …]
|
D | MemberInfo.java | 20 ClassInfo containingClass, ClassInfo realContainingClass, in MemberInfo() 73 public ClassInfo realContainingClass() in realContainingClass() 78 public ClassInfo containingClass() in containingClass() 140 ClassInfo mContainingClass; 141 ClassInfo mRealContainingClass;
|
D | Stubs.java | 29 private static HashSet<ClassInfo> notStrippable; 34 ClassInfo[] all = Converter.allClasses(); in writeStubs() 48 for (ClassInfo cl: all) { in writeStubs() 56 for (ClassInfo cl: notStrippable) { in writeStubs() 73 ClassInfo returnClass = m.returnType().asClassInfo(); in writeStubs() 103 ClassInfo returnClass = m.returnType().asClassInfo(); in writeStubs() 131 … HashMap<PackageInfo, List<ClassInfo>> packages = new HashMap<PackageInfo, List<ClassInfo>>(); in writeStubs() 132 for (ClassInfo cl: notStrippable) { in writeStubs() 139 ArrayList<ClassInfo> classes = new ArrayList<ClassInfo>(); in writeStubs() 158 public static void cantStripThis(ClassInfo cl, HashSet<ClassInfo> notStrippable, String why) { in cantStripThis() [all …]
|
D | ThrowsTagInfo.java | 27 private ClassInfo mException; 38 if (base instanceof ClassInfo) { in ThrowsTagInfo() 39 mException = ((ClassInfo)base).findClass(className); in ThrowsTagInfo() 48 ClassInfo exception, String exceptionComment, in ThrowsTagInfo() 56 public ClassInfo exception() in exception()
|
D | AnnotationInstanceInfo.java | 19 private ClassInfo mType; 22 public AnnotationInstanceInfo(ClassInfo type, AnnotationValueInfo[] elementValues) in AnnotationInstanceInfo() 28 ClassInfo type() in type()
|
D | Hierarchy.java | 24 public static void makeHierarchy(HDF hdf, ClassInfo[] classes) in makeHierarchy() 29 for (ClassInfo cl: classes) { in makeHierarchy() 38 ClassInfo superclass = cl.superclass(); in makeHierarchy() 98 private static boolean exists(ClassInfo cl) in exists() 112 ClassInfo cl = Converter.obtainClass(name); in recurse() 125 for (ClassInfo iface: cl.interfaces()) { in recurse()
|
D | Converter.java | 41 ArrayList<ClassInfo> classesNeedingInit2 = new ArrayList<ClassInfo>(); in makeInfo() 52 for (ClassInfo cl: classesNeedingInit2) { in makeInfo() 62 private static ClassInfo[] mRootClasses; 63 public static ClassInfo[] rootClasses() in rootClasses() 68 public static ClassInfo[] allClasses() { in allClasses() 69 return (ClassInfo[])mClasses.all(); in allClasses() 72 private static void initClass(ClassDoc c, ClassInfo cl) in initClass() 100 public static ClassInfo obtainClass(String className) in obtainClass() 176 public static ClassInfo[] convertClasses(ClassDoc[] classes) in convertClasses() 180 ClassInfo[] result = new ClassInfo[N]; in convertClasses() [all …]
|
D | TypeInfo.java | 26 ClassInfo cl) in TypeInfo() 35 public ClassInfo asClassInfo() in asClassInfo() 155 ClassInfo cl = asClassInfo(); in makeHDFRecursive() 286 private ClassInfo mClass;
|
D | AttributeInfo.java | 33 private ClassInfo mClass; 37 public AttributeInfo(ClassInfo cl, FieldInfo f) { in AttributeInfo()
|
D | LinkReference.java | 43 public ClassInfo classInfo; 232 ClassInfo cl = null; in parse() 233 if (base instanceof ClassInfo) { in parse() 234 cl = (ClassInfo)base; in parse() 370 ClassInfo containing = result.memberInfo.containingClass(); in parse()
|
D | NavTree.java | 60 private static void addClassNodes(ArrayList<Node> parent, String label, ClassInfo[] classes) { in addClassNodes() 63 for (ClassInfo cl: classes) { in addClassNodes()
|
D | Android.mk | 23 ClassInfo.java \
|
D | FieldInfo.java | 30 public FieldInfo(String name, ClassInfo containingClass, ClassInfo realContainingClass, in FieldInfo() 49 public FieldInfo cloneForClass(ClassInfo newContainingClass) { in cloneForClass()
|
D | TodoFile.java | 70 ClassInfo[] classes = Converter.rootClasses(); in writeTodoFile() 75 for (ClassInfo cl: classes) { in writeTodoFile()
|
/build/tools/apicheck/src/com/android/apicheck/ |
D | PackageInfo.java | 22 private HashMap<String, ClassInfo> mClasses; 28 mClasses = new HashMap<String, ClassInfo>(); in PackageInfo() 33 public void addClass(ClassInfo cl) { in addClass() 37 public HashMap<String, ClassInfo> allClasses() { in allClasses() 53 for (ClassInfo cInfo : mClasses.values()) { in isConsistent() 64 for (ClassInfo cInfo : pInfo.mClasses.values()) { in isConsistent()
|
D | ApiInfo.java | 23 private HashMap<String, ClassInfo> mAllClasses; 27 mAllClasses = new HashMap<String, ClassInfo>(); in ApiInfo() 30 public ClassInfo findClass(String name) { in findClass() 35 for (ClassInfo c : mAllClasses.values()) { in resolveInterfaces() 73 for (ClassInfo cl: pInfo.allClasses().values()) { in addPackage() 79 for (ClassInfo cl: mAllClasses.values()) { in resolveSuperclasses() 87 ClassInfo superclass = mAllClasses.get(scName); in resolveSuperclasses()
|
D | ClassInfo.java | 20 public class ClassInfo { class 30 private List<ClassInfo> mInterfaces; 37 private ClassInfo mSuperClass; 38 private ClassInfo mParentClass; 40 public ClassInfo(String name, PackageInfo pack, String superClass, boolean isInterface, in ClassInfo() method in ClassInfo 42 String visibility, SourcePositionInfo source, ClassInfo parent) { in ClassInfo() 53 mInterfaces = new ArrayList<ClassInfo>(); in ClassInfo() 97 ClassInfo sup = mSuperClass; in overriddenMethod() 116 for (ClassInfo interfaceInfo : mInterfaces) { in interfaceMethod() 126 public boolean isConsistent(ClassInfo cl) { in isConsistent() [all …]
|
D | ApiCheck.java | 133 private ClassInfo mCurrentClass; 135 private Stack<ClassInfo> mClassScope = new Stack<ClassInfo>(); 154 mCurrentClass = new ClassInfo(attributes.getValue("name"), in startElement()
|
D | MethodInfo.java | 35 private ClassInfo mClass; 39 , String scope, SourcePositionInfo source, ClassInfo parent) { in MethodInfo() 84 public ClassInfo containingClass() { in containingClass()
|
D | ConstructorInfo.java | 32 private ClassInfo mClass; 35 … String deprecated, String scope, SourcePositionInfo pos, ClassInfo clazz) { in ConstructorInfo()
|
D | FieldInfo.java | 32 private ClassInfo mClass; 36 String scope, SourcePositionInfo source, ClassInfo parent) { in FieldInfo()
|