/art/tools/ahat/src/test/com/android/ahat/ |
D | QueryTest.java | 29 Query query = new Query(new URI(uri)); in simple() local 30 assertEquals("bar", query.get("foo", "not found")); in simple() 31 assertEquals("42", query.get("answer", "not found")); in simple() 32 assertEquals(42, query.getLong("answer", 0)); in simple() 33 assertEquals(42, query.getInt("answer", 0)); in simple() 34 assertEquals("not found", query.get("bar", "not found")); in simple() 35 assertEquals("really not found", query.get("bar", "really not found")); in simple() 36 assertEquals(0, query.getLong("bar", 0)); in simple() 37 assertEquals(0, query.getInt("bar", 0)); in simple() 38 assertEquals(42, query.getLong("bar", 42)); in simple() [all …]
|
D | TestHandler.java | 38 Query query = new Query(DocString.uri(uri)); in testNoCrash() local 39 handler.handle(doc, query); in testNoCrash()
|
D | PerformanceTest.java | 50 Query query = new Query(DocString.uri(uri)); in bigArray() local 53 handler.handle(doc, query); in bigArray()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | ObjectHandler.java | 56 public void handle(Doc doc, Query query) throws IOException { in handle() argument 57 long id = query.getLong("id", 0); in handle() 68 printAllocationSite(doc, query, inst); in handle() 71 printGcRootPath(doc, query, inst); in handle() 104 printClassInstanceFields(doc, query, inst.asClassInstance()); in handle() 106 printArrayElements(doc, query, inst.asArrayInstance()); in handle() 108 printClassInfo(doc, query, inst.asClassObj()); in handle() 110 printReferences(doc, query, inst); in handle() 111 printDominatedObjects(doc, query, inst); in handle() 114 private static void printClassInstanceFields(Doc doc, Query query, AhatClassInstance inst) { in printClassInstanceFields() argument [all …]
|
D | ObjectsHandler.java | 63 public void handle(Doc doc, Query query) throws IOException { in handle() argument 64 int id = query.getInt("id", 0); in handle() 65 String className = query.get("class", "java.lang.Object"); in handle() 66 String heapName = query.get("heap", null); in handle() 67 boolean subclass = (query.getInt("subclass", 0) != 0); in handle() 88 subclassChoice.appendLink(query.with("subclass", subclass ? 0 : 1), in handle() 100 query.with("heap", heap.getName()), in handle() 108 query.with("heap", null), in handle() 125 SubsetSelector<AhatInstance> selector = new SubsetSelector(query, OBJECTS_ID, insts); in handle()
|
D | SubsetSelector.java | 46 public SubsetSelector(Query query, String id, List<T> elements) { in SubsetSelector() argument 47 mQuery = query; in SubsetSelector() 49 mLimit = getSelectedLimit(query, id, elements.size()); in SubsetSelector() 69 private static int getSelectedLimit(Query query, String id, int size) { in getSelectedLimit() argument 70 String value = query.get(id, null); in getSelectedLimit()
|
D | RootedHandler.java | 33 public void handle(Doc doc, Query query) throws IOException { in handle() argument 35 DominatedList.render(mSnapshot, doc, query, ROOTED_ID, mSnapshot.getRooted()); in handle()
|
D | SiteHandler.java | 41 public void handle(Doc doc, Query query) throws IOException { in handle() argument 42 int id = query.getInt("id", 0); in handle() 49 SitePrinter.printSite(mSnapshot, doc, query, ALLOCATION_SITE_ID, site); in handle() 80 HeapTable.render(doc, query, SITES_CALLED_ID, table, mSnapshot, children); in handle() 97 = new SubsetSelector(query, OBJECTS_ALLOCATED_ID, infos); in handle()
|
D | Query.java | 38 String query = uri.getQuery(); in Query() local 39 if (query != null) { in Query() 40 for (String param : query.split("&")) { in Query()
|
D | DominatedList.java | 44 Doc doc, Query query, String id, Collection<AhatInstance> instances) { in render() argument 47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts); in render()
|
D | SitePrinter.java | 27 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()
|
D | AhatHandler.java | 31 void handle(Doc doc, Query query) throws IOException; in handle() argument
|
D | BitmapHandler.java | 39 Query query = new Query(exchange.getRequestURI()); in handle() local 40 long id = query.getLong("id", 0); in handle()
|
D | HeapTable.java | 53 public static <T extends Diffable<T>> void render(Doc doc, Query query, String id, in render() argument 81 SubsetSelector<T> selector = new SubsetSelector(query, id, elements); in render()
|
D | OverviewHandler.java | 41 public void handle(Doc doc, Query query) throws IOException { in handle() argument
|
/art/libartbase/base/ |
D | membarrier_test.cc | 33 TEST(membarrier, query) { in TEST() argument
|
/art/tools/ahat/ |
D | README.txt | 73 Allow hex ids to be used for objects in query parameters.
|