/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | ShowTableServlet.java | 192 request.setAttribute("headerRow", new Gson().toJson(testResults.headerRow)); in doGetHandler() 193 request.setAttribute("timeGrid", new Gson().toJson(testResults.timeGrid)); in doGetHandler() 194 request.setAttribute("durationGrid", new Gson().toJson(testResults.durationGrid)); in doGetHandler() 195 request.setAttribute("summaryGrid", new Gson().toJson(testResults.summaryGrid)); in doGetHandler() 196 request.setAttribute("resultsGrid", new Gson().toJson(testResults.resultsGrid)); in doGetHandler() 199 request.setAttribute("resultNamesJson", new Gson().toJson(resultNames)); in doGetHandler() 200 request.setAttribute("logInfoMap", new Gson().toJson(testResults.logInfoMap)); in doGetHandler() 204 "topBuildResultCounts", new Gson().toJson(testResults.totResultCounts)); in doGetHandler() 206 request.setAttribute("startTime", new Gson().toJson(testResults.startTime)); in doGetHandler() 207 request.setAttribute("endTime", new Gson().toJson(testResults.endTime)); in doGetHandler() [all …]
|
D | ShowPlanRunServlet.java | 132 failingTestObjects.add(metadata.toJson()); in doGetHandler() 134 passingTestObjects.add(metadata.toJson()); in doGetHandler() 151 request.setAttribute("resultNamesJson", new Gson().toJson(resultNames)); in doGetHandler() 152 request.setAttribute("testRuns", new Gson().toJson(testRunObjects)); in doGetHandler() 153 request.setAttribute("testBuildId", new Gson().toJson(testBuildId)); in doGetHandler() 154 request.setAttribute("startTime", new Gson().toJson(startTime)); in doGetHandler() 155 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler() 156 request.setAttribute("moduleCount", new Gson().toJson(moduleCount)); in doGetHandler() 157 request.setAttribute("passingTestCaseCount", new Gson().toJson(passCount)); in doGetHandler() 158 request.setAttribute("failingTestCaseCount", new Gson().toJson(failCount)); in doGetHandler() [all …]
|
D | ShowTestAcknowledgmentServlet.java | 62 testAcks.add(ack.toJson()); in doGetHandler() 67 request.setAttribute("testAcknowledgments", new Gson().toJson(testAcks)); in doGetHandler() 68 request.setAttribute("allTests", new Gson().toJson(allTestNames)); in doGetHandler() 69 request.setAttribute("branches", new Gson().toJson(DatastoreHelper.getAllBranches())); in doGetHandler() 70 request.setAttribute("devices", new Gson().toJson(DatastoreHelper.getAllBuildFlavors())); in doGetHandler() 71 …request.setAttribute("readOnly", new Gson().toJson(!UserServiceFactory.getUserService().isUserAdmi… in doGetHandler()
|
D | ShowTreeServlet.java | 273 testRunObjects.add(metadata.toJson()); in doGetHandler() 300 request.setAttribute("resultNamesJson", new Gson().toJson(resultNames)); in doGetHandler() 301 request.setAttribute("testRuns", new Gson().toJson(testRunObjects)); in doGetHandler() 304 request.setAttribute("topBuildResultCounts", new Gson().toJson(topBuildResultCounts)); in doGetHandler() 306 request.setAttribute("startTime", new Gson().toJson(startTime)); in doGetHandler() 307 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler() 310 new Gson().toJson(DatastoreHelper.hasNewer(testKey, TestRunEntity.KIND, endTime))); in doGetHandler() 314 .toJson(DatastoreHelper.hasOlder(testKey, TestRunEntity.KIND, startTime))); in doGetHandler() 319 request.setAttribute("branches", new Gson().toJson(DatastoreHelper.getAllBranches())); in doGetHandler() 320 request.setAttribute("devices", new Gson().toJson(DatastoreHelper.getAllBuildFlavors())); in doGetHandler()
|
D | ShowPlanReleaseServlet.java | 116 public JsonObject toJson() { in toJson() method in ShowPlanReleaseServlet.TestPlanRunMetadata 118 obj.add("testPlanRun", testPlanRun.toJson()); in toJson() 280 testPlanRunObjects.add(metadata.toJson()); in getTestPlanDispatcher() 289 .toJson( in getTestPlanDispatcher() 295 .toJson( in getTestPlanDispatcher() 298 request.setAttribute("planRuns", new Gson().toJson(testPlanRunObjects)); in getTestPlanDispatcher() 303 request.setAttribute("startTime", new Gson().toJson(startTime)); in getTestPlanDispatcher() 304 request.setAttribute("endTime", new Gson().toJson(endTime)); in getTestPlanDispatcher() 305 request.setAttribute("branches", new Gson().toJson(DatastoreHelper.getAllBranches())); in getTestPlanDispatcher() 306 request.setAttribute("devices", new Gson().toJson(DatastoreHelper.getAllBuildFlavors())); in getTestPlanDispatcher()
|
D | ShowCoverageServlet.java | 110 request.setAttribute("gerritURI", new Gson().toJson(GERRIT_URI)); in doGetHandler() 111 request.setAttribute("gerritScope", new Gson().toJson(GERRIT_SCOPE)); in doGetHandler() 112 request.setAttribute("clientId", new Gson().toJson(CLIENT_ID)); in doGetHandler()
|
D | ShowProfilingOverviewServlet.java | 186 request.setAttribute("plots", gson.toJson(plots)); in doGetHandler() 188 request.setAttribute("branches", new Gson().toJson(DatastoreHelper.getAllBranches())); in doGetHandler() 189 request.setAttribute("devices", new Gson().toJson(DatastoreHelper.getAllBuildFlavors())); in doGetHandler()
|
D | ShowCoverageOverviewServlet.java | 312 request.setAttribute("resultNamesJson", new Gson().toJson(resultNames)); in getCoverageDispatcher() 315 request.setAttribute("coveredLines", new Gson().toJson(coveredLines)); in getCoverageDispatcher() 316 request.setAttribute("uncoveredLines", new Gson().toJson(uncoveredLines)); in getCoverageDispatcher() 317 request.setAttribute("testStats", new Gson().toJson(testStats)); in getCoverageDispatcher()
|
D | DashboardMainServlet.java | 246 request.setAttribute("allTestsJson", new Gson().toJson(allTestNames)); in doGetHandler() 247 request.setAttribute("subscriptionMapJson", new Gson().toJson(subscriptionMap)); in doGetHandler()
|
D | ShowGraphServlet.java | 242 request.setAttribute("endTime", new Gson().toJson(endTime)); in doGetHandler() 252 request.setAttribute("graphs", gson.toJson(graphList)); in doGetHandler()
|
D | BaseServlet.java | 202 request.setAttribute("analyticsID", new Gson().toJson(ANALYTICS_ID)); in doGet()
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | DataRestServlet.java | 48 json = new Gson().toJson(BranchEntity.getByBranch(schKey)); in doGet() 50 json = new Gson().toJson(BuildTargetEntity.getByBuildTarget(schKey)); in doGet() 57 .toJson( in doGet() 63 .toJson( in doGet()
|
D | TestAcknowledgmentRestServlet.java | 64 testAcks.add(ack.toJson()); in doGet() 68 writer.print(new Gson().toJson(testAcks)); in doGet() 105 writer.print(new Gson().toJson(KeyFactory.keyToString(key))); in doPost()
|
D | CoverageRestServlet.java | 71 String apiCoverageEntityJson = new Gson().toJson(apiCoverageEntity); in apiCoverageData() 137 String json = new Gson().toJson(halApiNumMap); in postCoverageDataSum() 179 String json = new Gson().toJson("Success!"); in postCoverageData()
|
D | TestRunRestServlet.java | 130 writer.print(new Gson().toJson(details.toJson())); in doGet()
|
D | TestSuiteResultRestServlet.java | 124 String json = new Gson().toJson(resultMap); in doPost()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | TestRunDetails.java | 52 public JsonObject toJson() { in toJson() method in TestRunDetails.ResultColumn 91 public JsonElement toJson() { in toJson() method in TestRunDetails 95 jsonColumns.add(column.toJson()); in toJson()
|
D | TestRunMetadata.java | 130 public JsonObject toJson() { in toJson() method in TestRunMetadata 135 json.add(TEST_RUN, this.testRun.toJson()); in toJson() 137 json.add(TEST_DETAILS, this.details.toJson()); in toJson()
|
D | LineGraph.java | 117 public JsonObject toJson() { in toJson() method in LineGraph 118 JsonObject json = super.toJson(); in toJson()
|
D | Histogram.java | 147 public JsonObject toJson() { in toJson() method in Histogram 156 JsonObject json = super.toJson(); in toJson()
|
D | BoxPlot.java | 148 public JsonObject toJson() { in toJson() method in BoxPlot 149 JsonObject json = super.toJson(); in toJson()
|
D | GraphSerializer.java | 28 return src.toJson(); in serialize()
|
D | Graph.java | 82 public JsonObject toJson() { in toJson() method in Graph
|
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
D | TestAcknowledgmentEntityTest.java | 136 JsonObject json = TestAcknowledgmentEntity.fromEntity(e).toJson(); in testJsonSerialization() 157 JsonObject json = TestAcknowledgmentEntity.fromEntity(e).toJson(); in testJsonSerializationWithNulls()
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | VtsDashboardApiTransport.java | 104 "application/json", new Gson().toJson(request).getBytes(Charsets.UTF_8)); in post()
|