Home
last modified time | relevance | path

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

/dalvik/hit/src/com/android/hit/
DQueries.java66 public static Map<String, Set<ClassObj>> allClasses(State state) { in allClasses()
70 public static Map<String, Set<ClassObj>> classes(State state, in classes()
72 TreeMap<String, Set<ClassObj>> result = in classes()
73 new TreeMap<String, Set<ClassObj>>(); in classes()
75 Set<ClassObj> classes = new TreeSet<ClassObj>(); in classes()
85 Iterator<ClassObj> iter = classes.iterator(); in classes()
88 ClassObj theClass = iter.next(); in classes()
101 for (ClassObj theClass: classes) { in classes()
109 Set<ClassObj> classSet = result.get(packageName); in classes()
112 classSet = new TreeSet<ClassObj>(); in classes()
[all …]
DHeap.java38 HashMap<Long, ClassObj> mClassesById = new HashMap<Long, ClassObj>();
39 HashMap<String, ClassObj> mClassesByName = new HashMap<String, ClassObj>();
99 public final void addClass(long id, ClassObj theClass) { in addClass()
104 public final ClassObj getClass(long id) { in getClass()
108 public final ClassObj getClass(String name) { in getClass()
113 for (ClassObj theClass: mClassesById.values()) { in dumpInstanceCounts()
123 for (ClassObj theClass: mClassesById.values()) { in dumpSubclasses()
134 for (ClassObj theClass: mClassesById.values()) { in dumpSizes()
155 ClassObj theClass = mClassesById.get(instance.mClassId); in resolveInstanceRefs()
163 ClassObj superClass = mClassesById.get(theClass.mSuperclassId); in resolveInstanceRefs()
[all …]
DClassObj.java25 public class ClassObj extends Instance implements Comparable<ClassObj> { class
37 Set<ClassObj> mSubclasses = new HashSet<ClassObj>();
41 public ClassObj(long id, StackTrace stack, String className) { in ClassObj() method in ClassObj
107 ClassObj superclass = state.findClass(mSuperclassId); in resolveReferences()
113 public final void addSubclass(ClassObj subclass) { in addSubclass()
118 for (ClassObj subclass: mSubclasses) { in dumpSubclasses()
230 public final int compareTo(ClassObj o) { in compareTo()
235 if (! (o instanceof ClassObj)) { in equals()
239 return 0 == compareTo((ClassObj) o); in equals()
DMain.java57 Map<String, Set<ClassObj>> someClasses = Queries.classes(state, x); in testClassesQuery()
62 Set<ClassObj> classes = someClasses.get(thePackage); in testClassesQuery()
64 for (ClassObj theClass: classes) { in testClassesQuery()
71 Map<String, Set<ClassObj>> allClasses = Queries.allClasses(state); in testAllClassesQuery()
76 Set<ClassObj> classes = allClasses.get(thePackage); in testAllClassesQuery()
78 for (ClassObj theClass: classes) { in testAllClassesQuery()
DClassInstance.java41 ClassObj isa = mHeap.mState.findClass(mClassId); in resolveReferences()
47 private void resolve(State state, ClassObj isa, int[] types, in resolve()
87 ClassObj isa = mHeap.mState.findClass(mClassId); in getSize()
107 ClassObj isa = state.findClass(mClassId); in visit()
147 ClassObj theClass = mHeap.mState.findClass(mClassId); in getTypeName()
158 ClassObj isa = mHeap.mState.findClass(mClassId); in describeReferenceTo()
DState.java107 public final void addClass(long id, ClassObj theClass) { in addClass()
124 public final ClassObj findClass(long id) { in findClass()
126 ClassObj theClass = heap.getClass(id); in findClass()
136 public final ClassObj findClass(String name) { in findClass()
138 ClassObj theClass = heap.getClass(name); in findClass()
DRootObj.java49 ClassObj theClass; in getClassName()
DHprofParser.java497 ClassObj theClass = new ClassObj(id, stack, mClassNames.get(id)); in loadClassDump()