Home
last modified time | relevance | path

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

12

/external/caliper/lib/
Dgson-2.2.2.jar ... google.gson.JsonDeserializer x1 com.google.gson.Gson x2 com.google.gson.reflect ...
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMapTypeAdapterFactory.java21 import com.google.gson.Gson;
22 import com.google.gson.TypeAdapter;
23 import com.google.gson.TypeAdapterFactory;
24 import com.google.gson.reflect.TypeToken;
25 import com.google.gson.stream.JsonReader;
26 import com.google.gson.stream.JsonWriter;
40 @Override public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken) { in create() argument
51 (TypeAdapter<HashMap<?, ?>>) gson.getAdapter( in create()
DImmutableListTypeAdatperFactory.java21 import com.google.gson.Gson;
22 import com.google.gson.TypeAdapter;
23 import com.google.gson.TypeAdapterFactory;
24 import com.google.gson.reflect.TypeToken;
25 import com.google.gson.stream.JsonReader;
26 import com.google.gson.stream.JsonWriter;
40 @Override public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken) { in create() argument
51 (TypeAdapter<ArrayList<?>>) gson.getAdapter( in create()
DNaturallySortedMapTypeAdapterFactory.java21 import com.google.gson.Gson;
22 import com.google.gson.TypeAdapter;
23 import com.google.gson.TypeAdapterFactory;
24 import com.google.gson.reflect.TypeToken;
25 import com.google.gson.stream.JsonReader;
26 import com.google.gson.stream.JsonWriter;
45 @Override public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken) { in create() argument
56 (TypeAdapter<Map<?, ?>>) gson.getAdapter( in create()
DImmutableMultimapTypeAdapterFactory.java26 import com.google.gson.Gson;
27 import com.google.gson.TypeAdapter;
28 import com.google.gson.TypeAdapterFactory;
29 import com.google.gson.stream.JsonReader;
30 import com.google.gson.stream.JsonWriter;
70 public <T> TypeAdapter<T> create(Gson gson, com.google.gson.reflect.TypeToken<T> typeToken) { in create() argument
75 (TypeAdapter<Map<?, List<?>>>) gson.getAdapter( in create()
76 com.google.gson.reflect.TypeToken.get(mapToken.getType())); in create()
96 (TypeAdapter<Map<?, Set<?>>>) gson.getAdapter( in create()
97 com.google.gson.reflect.TypeToken.get(mapToken.getType())); in create()
DGsonModule.java19 import com.google.gson.ExclusionStrategy;
20 import com.google.gson.Gson;
21 import com.google.gson.GsonBuilder;
22 import com.google.gson.TypeAdapterFactory;
23 import com.google.gson.internal.bind.TypeAdapters;
DInstantTypeAdapter.java19 import com.google.gson.TypeAdapter;
20 import com.google.gson.stream.JsonReader;
21 import com.google.gson.stream.JsonWriter;
DAnnotationExclusionStrategy.java20 import com.google.gson.ExclusionStrategy;
21 import com.google.gson.FieldAttributes;
/external/vogar/src/vogar/monitor/
DTargetMonitor.java19 import com.google.gson.Gson;
20 import com.google.gson.JsonObject;
36 private final Gson gson = new Gson(); field in TargetMonitor
73 writer.print(marker + gson.toJson(jsonObject) + "\n");
83 writer.print(marker + gson.toJson(jsonObject) + "\n");
93 writer.print(marker + gson.toJson(jsonObject) + "\n");
DHostMonitor.java19 import com.google.gson.JsonElement;
20 import com.google.gson.JsonObject;
DInterleavedReader.java24 import com.google.gson.JsonParser;
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DOutputFileDumper.java31 import com.google.gson.Gson;
32 import com.google.gson.stream.JsonWriter;
55 private final Gson gson; field in OutputFileDumper
63 Gson gson, in OutputFileDumper() argument
84 this.gson = gson; in OutputFileDumper()
112 gson.toJson(trial, Trial.class, writer.get()); in processTrial()
DResultsUploader.java29 import com.google.gson.Gson;
55 private final Gson gson; field in ResultsUploader
61 ResultsUploader(PrintWriter stdout, Gson gson, Client client, in ResultsUploader() argument
65 this.gson = gson; in ResultsUploader()
103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial))); in processTrial()
DHttpUploader.java23 import com.google.gson.Gson;
36 @Inject HttpUploader(@Stdout PrintWriter stdout, Gson gson, CaliperConfig config) in HttpUploader() argument
38 super(stdout, gson, Client.create(), config.getResultProcessorConfig(HttpUploader.class)); in HttpUploader()
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DParseResponseWithGson.java18 import com.google.gson.Gson;
27 private final Gson gson = new Gson(); field in ParseResponseWithGson
36 Gist gist = gson.fromJson(response.body().charStream(), Gist.class); in run()
DRequestBodyCompression.java18 import com.google.gson.Gson;
/external/caliper/
DAndroid.mk34 caliper-gson-host \
128 caliper-gson-host:lib/gson-2.2.2$(COMMON_JAVA_PACKAGE_SUFFIX) \
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/
DOkHttpContributors.java3 import com.google.gson.Gson;
4 import com.google.gson.reflect.TypeToken;
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
DHpackJsonUtil.java18 import com.google.gson.Gson;
19 import com.google.gson.GsonBuilder;
/external/smali/
Dbuild.gradle112 gson: 'com.google.code.gson:gson:2.3.1'
/external/vogar/src/vogar/
DOutcomeStore.java19 import com.google.gson.stream.JsonReader;
20 import com.google.gson.stream.JsonWriter;
/external/vogar/
DAndroid.mk30 caliper-gson-host \
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk6-compilation.txt203 179 com.google.gson.stream.JsonWriter::string (365 bytes)
206 179 made not entrant (2) com.google.gson.stream.JsonWriter::string (365 bytes)
207 182 com.google.gson.stream.JsonWriter::string (365 bytes)
259 179 made zombie (2) com.google.gson.stream.JsonWriter::string (365 bytes)
Djdk7-compilation.txt247 17565 224 b com.google.gson.stream.JsonWriter::string (365 bytes)
249 17588 224 com.google.gson.stream.JsonWriter::string (365 bytes) made not entrant
250 17589 226 b com.google.gson.stream.JsonWriter::string (365 bytes)
303 18158 224 com.google.gson.stream.JsonWriter::string (365 bytes) made zombie
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java20 import com.google.gson.Gson;

12