Home
last modified time | relevance | path

Searched refs:gson (Results 1 – 25 of 38) sorted by relevance

12

/test/vti/dashboard/src/test/java/com/android/vts/api/
DCoverageRestServletTest.java27 import com.google.gson.Gson;
28 import com.google.gson.internal.LinkedTreeMap;
46 private Gson gson; field in CoverageRestServletTest
57 gson = new Gson(); in setUpExtra()
103 LinkedTreeMap resultMap = gson.fromJson(result, LinkedTreeMap.class); in testApiData()
DDataRestServletTest.java25 import com.google.gson.Gson;
46 private Gson gson; field in DataRestServletTest
57 gson = new Gson(); in setUpExtra()
116 LinkedList resultList = gson.fromJson(result, LinkedList.class); in testBranchData()
137 LinkedList resultList = gson.fromJson(result, LinkedList.class); in testDeviceData()
DVtsSpreadSheetSyncServletTest.java24 import com.google.gson.Gson;
52 private Gson gson; field in VtsSpreadSheetSyncServletTest
77 gson = new Gson(); in setUpExtra()
/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunDetails.java22 import com.google.gson.Gson;
23 import com.google.gson.JsonElement;
24 import com.google.gson.JsonObject;
25 import com.google.gson.JsonPrimitive;
DGraphSerializer.java19 import com.google.gson.JsonElement;
20 import com.google.gson.JsonSerializationContext;
21 import com.google.gson.JsonSerializer;
DHistogram.java21 import com.google.gson.Gson;
22 import com.google.gson.JsonObject;
23 import com.google.gson.JsonPrimitive;
DGraph.java20 import com.google.gson.JsonObject;
21 import com.google.gson.JsonPrimitive;
DTestRunMetadata.java21 import com.google.gson.JsonObject;
22 import com.google.gson.JsonPrimitive;
DLineGraph.java20 import com.google.gson.Gson;
21 import com.google.gson.JsonObject;
DBoxPlot.java21 import com.google.gson.Gson;
22 import com.google.gson.JsonObject;
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoader.java44 import com.google.gson.Gson;
134 Gson gson = new Gson(); in init() local
135 RunHistory[] runHistories = gson.fromJson(runHistoryJSON, RunHistory[].class); in init()
225 Gson gson = new Gson(); in customizeConfiguration() local
228 .put(RUN_HISTORY_KEY, gson.toJson(mRunHistories)); in customizeConfiguration()
/test/vti/dashboard/src/main/java/com/android/vts/entity/
DTestAcknowledgmentEntity.java24 import com.google.gson.Gson;
25 import com.google.gson.JsonElement;
26 import com.google.gson.JsonObject;
27 import com.google.gson.JsonPrimitive;
28 import com.google.gson.reflect.TypeToken;
DTestRunEntity.java27 import com.google.gson.Gson;
28 import com.google.gson.JsonArray;
29 import com.google.gson.JsonElement;
30 import com.google.gson.JsonObject;
31 import com.google.gson.JsonPrimitive;
DTestPlanRunEntity.java27 import com.google.gson.JsonObject;
28 import com.google.gson.JsonPrimitive;
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowProfilingOverviewServlet.java30 import com.google.gson.Gson;
31 import com.google.gson.GsonBuilder;
180 Gson gson = in doGetHandler() local
186 request.setAttribute("plots", gson.toJson(plots)); in doGetHandler()
DShowGraphServlet.java37 import com.google.gson.Gson;
38 import com.google.gson.GsonBuilder;
248 Gson gson = in doGetHandler() local
252 request.setAttribute("graphs", gson.toJson(graphList)); in doGetHandler()
DShowTestAcknowledgmentServlet.java27 import com.google.gson.Gson;
28 import com.google.gson.JsonObject;
DShowPlanRunServlet.java32 import com.google.gson.Gson;
33 import com.google.gson.JsonObject;
DShowPlanReleaseServlet.java35 import com.google.gson.Gson;
36 import com.google.gson.JsonObject;
37 import com.google.gson.JsonPrimitive;
/test/vti/dashboard/src/main/java/com/android/vts/api/
DTestAcknowledgmentRestServlet.java33 import com.google.gson.Gson;
34 import com.google.gson.JsonObject;
35 import com.google.gson.JsonParser;
DTestDataForDevServlet.java48 import com.google.gson.Gson;
49 import com.google.gson.GsonBuilder;
93 private Gson gson = new GsonBuilder().create(); field in TestDataForDevServlet
388 Gson gson = new GsonBuilder().create(); in doPost() local
393 gson.fromJson(postJsonReader, TestReportDataObject.class); in doPost()
567 gson.fromJson(postJsonReader, TestPlanReportDataObject.class); in doPost()
DUserFavoriteRestServlet.java36 import com.google.gson.Gson;
37 import com.google.gson.JsonObject;
38 import com.google.gson.JsonPrimitive;
DDataRestServlet.java21 import com.google.gson.Gson;
/test/vts/tools/vts-tradefed/
DAndroid.mk32 gson-prebuilt-jar \
/test/vti/dashboard/
Dbuild.gradle70 compile group: 'com.google.code.gson', name: 'gson', version:'2.7'

12