Home
last modified time | relevance | path

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

/art/tools/ahat/src/test/com/android/ahat/
DQueryTest.java29 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 …]
DTestHandler.java38 Query query = new Query(DocString.uri(uri)); in testNoCrash() local
39 handler.handle(doc, query); in testNoCrash()
DPerformanceTest.java50 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/
DObjectHandler.java56 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 …]
DObjectsHandler.java63 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()
DSubsetSelector.java46 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()
DRootedHandler.java33 public void handle(Doc doc, Query query) throws IOException { in handle() argument
35 DominatedList.render(mSnapshot, doc, query, ROOTED_ID, mSnapshot.getRooted()); in handle()
DSiteHandler.java41 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()
DQuery.java38 String query = uri.getQuery(); in Query() local
39 if (query != null) { in Query()
40 for (String param : query.split("&")) { in Query()
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
DBitmapHandler.java39 Query query = new Query(exchange.getRequestURI()); in handle() local
40 long id = query.getLong("id", 0); in handle()
DHeapTable.java53 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()
DOverviewHandler.java41 public void handle(Doc doc, Query query) throws IOException { in handle() argument
/art/libartbase/base/
Dmembarrier_test.cc33 TEST(membarrier, query) { in TEST() argument
/art/tools/ahat/
DREADME.txt73 Allow hex ids to be used for objects in query parameters.