Home
last modified time | relevance | path

Searched refs:doc (Results 1 – 17 of 17) sorted by relevance

/art/tools/ahat/src/main/com/android/ahat/
DObjectHandler.java56 public void handle(Doc doc, Query query) throws IOException { in handle() argument
60 doc.println(DocString.format("No object with id %08xl", id)); in handle()
65 doc.title("Object %08x", inst.getId()); in handle()
66 doc.big(Summarizer.summarize(inst)); in handle()
68 printAllocationSite(doc, query, inst); in handle()
71 printGcRootPath(doc, query, inst); in handle()
74 doc.section("Object Info"); in handle()
76 doc.descriptions(); in handle()
77 doc.description(DocString.text("Class"), Summarizer.summarize(cls)); in handle()
79 doc.description(DocString.text("Heap"), DocString.text(inst.getHeap().getName())); in handle()
[all …]
DOverviewHandler.java41 public void handle(Doc doc, Query query) throws IOException { in handle() argument
42 doc.title("Overview"); in handle()
44 doc.section("General Information"); in handle()
45 doc.descriptions(); in handle()
46 doc.description( in handle()
49 doc.description( in handle()
52 doc.description(DocString.text("hprof file"), DocString.text(mHprof.toString())); in handle()
54 doc.description(DocString.text("baseline hprof file"), DocString.text(mBaseHprof.toString())); in handle()
56 doc.end(); in handle()
58 doc.section("Bytes Retained by Heap"); in handle()
[all …]
DObjectsHandler.java63 public void handle(Doc doc, Query query) throws IOException { in handle() argument
73 doc.title("Instances"); in handle()
82 doc.descriptions(); in handle()
83 doc.description(DocString.text("Site"), Summarizer.summarize(site)); in handle()
84 doc.description(DocString.text("Class"), DocString.text(className)); in handle()
91 doc.description(DocString.text("Subclasses"), subclassChoice); in handle()
112 doc.description(DocString.text("Heap"), heapChoice); in handle()
114 doc.description(DocString.text("Count"), DocString.format("%,14d", insts.size())); in handle()
115 doc.end(); in handle()
116 doc.println(DocString.text("")); in handle()
[all …]
DSiteHandler.java41 public void handle(Doc doc, Query query) throws IOException { in handle() argument
45 doc.title("Site"); in handle()
46 doc.big(Summarizer.summarize(site)); in handle()
48 doc.section("Allocation Site"); in handle()
49 SitePrinter.printSite(mSnapshot, doc, query, ALLOCATION_SITE_ID, site); in handle()
51 doc.section("Sites Called from Here"); in handle()
55 doc.println(DocString.text("(none)")); in handle()
80 HeapTable.render(doc, query, SITES_CALLED_ID, table, mSnapshot, children); in handle()
83 doc.section("Objects Allocated"); in handle()
84 SizeTable.table(doc, mSnapshot.isDiffed(), in handle()
[all …]
DSizeTable.java44 static void table(Doc doc, Column left, boolean showDiff, Column... columns) { in table() argument
54 doc.table(cols.toArray(new Column[cols.size()])); in table()
62 static void row(Doc doc, DocString left, Size size, Size base, DocString... values) { in row() argument
73 doc.row(vals.toArray(new DocString[vals.size()])); in row()
85 static void table(Doc doc, boolean showDiff, Column... columns) { in table() argument
88 table(doc, new Column("", Column.Align.LEFT, false), showDiff, columns); in table()
96 static void row(Doc doc, Size size, Size base, DocString... values) { in row() argument
97 row(doc, new DocString(), size, base, values); in row()
103 static void end(Doc doc) { in end() argument
104 doc.end(); in end()
DAhatHttpHandler.java43 HtmlDoc doc = new HtmlDoc(ps, DocString.text("ahat"), DocString.uri("style.css")); in handle() local
44 doc.menu(Menu.getMenu()); in handle()
45 mAhatHandler.handle(doc, new Query(exchange.getRequestURI())); in handle()
46 doc.close(); in handle()
DRootedHandler.java33 public void handle(Doc doc, Query query) throws IOException { in handle() argument
34 doc.title("Rooted"); in handle()
35 DominatedList.render(mSnapshot, doc, query, ROOTED_ID, mSnapshot.getRooted()); in handle()
DDocString.java37 DocString doc = new DocString(); in text() local
38 return doc.append(str); in text()
45 DocString doc = new DocString(); in format() local
46 return doc.appendFormat(format, args); in format()
53 DocString doc = new DocString(); in link() local
54 return doc.appendLink(uri, content); in link()
154 DocString doc = new DocString(); in delta() local
155 return doc.appendDelta(noCurrent, noBaseline, current, baseline); in delta()
DStaticHandler.java44 HtmlDoc doc = new HtmlDoc(ps, DocString.text("ahat"), DocString.uri("style.css")); in handle() local
45 doc.big(DocString.text("Resource not found.")); in handle()
46 doc.close(); in handle()
DBitmapHandler.java57 HtmlDoc doc = new HtmlDoc(ps, DocString.text("ahat"), DocString.uri("style.css")); in handle() local
58 doc.big(DocString.text("No bitmap found for the given request.")); in handle()
59 doc.close(); in handle()
DHeapTable.java53 public static <T extends Diffable<T>> void render(Doc doc, Query query, String id, in render() argument
78 doc.table(DocString.text(config.getHeapsDescription()), subcols, cols); in render()
102 doc.row(vals.toArray(new DocString[0])); in render()
142 doc.row(vals.toArray(new DocString[0])); in render()
144 doc.end(); in render()
145 selector.render(doc); in render()
DDominatedList.java44 Doc doc, Query query, String id, Collection<AhatInstance> instances) { in render() argument
47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts); in render()
DSitePrinter.java27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { in printSite() argument
61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
DAhatHandler.java31 void handle(Doc doc, Query query) throws IOException; in handle() argument
DSubsetSelector.java83 public void render(Doc doc) { in render() argument
106 doc.println(menu); in render()
/art/tools/ahat/src/test/com/android/ahat/
DTestHandler.java37 HtmlDoc doc = new HtmlDoc(ps, DocString.text("noCrash test"), DocString.uri("style.css")); in testNoCrash() local
39 handler.handle(doc, query); in testNoCrash()
DPerformanceTest.java48 HtmlDoc doc = new HtmlDoc(ps, DocString.text("bigArray test"), DocString.uri("style.css")); in bigArray() local
53 handler.handle(doc, query); in bigArray()