/external/cldr/tools/java/libs/ |
gson.jar | |
/external/caliper/lib/ |
gson-2.2.2.jar | |
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
AnnotationExclusionStrategy.java | 20 import com.google.gson.ExclusionStrategy; 21 import com.google.gson.FieldAttributes;
|
ImmutableListTypeAdatperFactory.java | 21 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) { 51 (TypeAdapter<ArrayList<?>>) gson.getAdapter [all...] |
ImmutableMapTypeAdapterFactory.java | 21 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) { 51 (TypeAdapter<HashMap<?, ?>>) gson.getAdapter [all...] |
NaturallySortedMapTypeAdapterFactory.java | 21 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) { 56 (TypeAdapter<Map<?, ?>>) gson.getAdapter [all...] |
GsonModule.java | 19 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; 31 * Binds a {@link Gson} instance suitable for serializing and deserializing Caliper 72 @Provides static Gson provideGson(Set<TypeAdapterFactory> typeAdapterFactories,
|
InstantTypeAdapter.java | 19 import com.google.gson.TypeAdapter; 20 import com.google.gson.stream.JsonReader; 21 import com.google.gson.stream.JsonWriter;
|
ImmutableMultimapTypeAdapterFactory.java | 26 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) { 75 (TypeAdapter<Map<?, List<?>>>) gson.getAdapter [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
HttpUploader.java | 23 import com.google.gson.Gson; 36 @Inject HttpUploader(@Stdout PrintWriter stdout, Gson gson, CaliperConfig config) 38 super(stdout, gson, Client.create(), config.getResultProcessorConfig(HttpUploader.class));
|
OutputFileDumper.java | 31 import com.google.gson.Gson; 32 import com.google.gson.stream.JsonWriter; 55 private final Gson gson; field in class:OutputFileDumper 63 Gson gson, 84 this.gson = gson; 112 gson.toJson(trial, Trial.class, writer.get()) [all...] |
ResultsUploader.java | 29 import com.google.gson.Gson; 55 private final Gson gson; field in class:ResultsUploader 61 ResultsUploader(PrintWriter stdout, Gson gson, Client client, 65 this.gson = gson; 103 resource.type(APPLICATION_JSON_TYPE).post(gson.toJson(ImmutableList.of(trial)));
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
DefaultFieldTypesLocalJsonSource.java | 24 import com.google.gson.Gson; 25 import com.google.gson.reflect.TypeToken; 41 private final Gson mGson; 43 private DefaultFieldTypesLocalJsonSource(Resources resources, Gson gson) { 45 mGson = gson; 48 public static DefaultFieldTypesLocalJsonSource getInstance(Resources resources, Gson gson) { 50 sInstance = new DefaultFieldTypesLocalJsonSource(resources, gson); [all...] |
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/ |
DefaultFieldTypesLocalJsonSource.java | 24 import com.google.gson.Gson; 25 import com.google.gson.reflect.TypeToken; 41 private final Gson mGson; 43 private DefaultFieldTypesLocalJsonSource(Resources resources, Gson gson) { 45 mGson = gson; 48 public static DefaultFieldTypesLocalJsonSource getInstance(Resources resources, Gson gson) { 50 sInstance = new DefaultFieldTypesLocalJsonSource(resources, gson); [all...] |
/external/vogar/src/vogar/monitor/ |
TargetMonitor.java | 19 import com.google.gson.Gson; 20 import com.google.gson.JsonObject; 35 private final Gson gson = new Gson(); field in class:TargetMonitor 69 writer.print(marker + gson.toJson(jsonObject) + "\n"); 79 writer.print(marker + gson.toJson(jsonObject) + "\n"); 89 writer.print(marker + gson.toJson(jsonObject) + "\n");
|
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/ |
JavadocJsonGeneratorTest.java | 12 import com.google.gson.JsonElement; 13 import com.google.gson.JsonObject; 14 import com.google.gson.JsonParser; 15 import com.google.gson.JsonPrimitive;
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/datasource/ |
SharedPrefsAutofillRepository.kt | 23 import com.google.gson.GsonBuilder 24 import com.google.gson.reflect.TypeToken 46 val gson = GsonBuilder().excludeFieldsWithoutExposeAnnotation().setPrettyPrinting().create() 49 gson.fromJson<FilledAutofillFieldCollection>(clientFormDataString, type)?.let { 75 val gson = CommonUtil.createGson() 76 allAutofillData.add(gson.toJson(filledAutofillFieldCollection).toString())
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/datasource/ |
SharedPrefsAutofillRepository.kt | 23 import com.google.gson.GsonBuilder 24 import com.google.gson.reflect.TypeToken 46 val gson = GsonBuilder().excludeFieldsWithoutExposeAnnotation().setPrettyPrinting().create() 49 gson.fromJson<FilledAutofillFieldCollection>(clientFormDataString, type)?.let { 75 val gson = CommonUtil.createGson() 76 allAutofillData.add(gson.toJson(filledAutofillFieldCollection).toString())
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
ParseResponseWithGson.java | 18 import com.google.gson.Gson; 27 private final Gson gson = new Gson(); field in class:ParseResponseWithGson 36 Gist gist = gson.fromJson(response.body().charStream(), Gist.class);
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/ |
JavadocJsonGenerator.java | 3 import com.google.gson.Gson; 4 import com.google.gson.GsonBuilder; 22 private final Gson gson; field in class:JavadocJsonGenerator 31 gson = new GsonBuilder() 63 gson.toJson(object, writer);
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
SharedPreferencesHelper.java | 24 import com.google.gson.Gson; 25 import com.google.gson.JsonSyntaxException; 44 private static Gson gson = new Gson(); field in class:SharedPreferencesHelper 59 return gson.fromJson(profileString, Profile.class); 75 editor.putString(Constants.PREFS_USER_KEY, gson.toJson(user)); 184 list.add(gson.fromJson(contactString, clazz)); 205 strings.add(gson.toJson(t)) [all...] |
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
SharedPreferencesHelper.java | 24 import com.google.gson.Gson; 25 import com.google.gson.JsonSyntaxException; 44 private static Gson gson = new Gson(); field in class:SharedPreferencesHelper 59 return gson.fromJson(profileString, Profile.class); 75 editor.putString(Constants.PREFS_USER_KEY, gson.toJson(user)); 184 list.add(gson.fromJson(contactString, clazz)); 205 strings.add(gson.toJson(t)) [all...] |
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/ |
CommonUtil.kt | 19 import com.google.gson.Gson 20 import com.google.gson.GsonBuilder 55 fun createGson(): Gson {
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/ |
CommonUtil.kt | 19 import com.google.gson.Gson 20 import com.google.gson.GsonBuilder 55 fun createGson(): Gson {
|
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/ |
OkHttpContributors.java | 3 import com.google.gson.Gson; 4 import com.google.gson.reflect.TypeToken; 16 private static final Gson GSON = new Gson(); 40 List<Contributor> contributors = GSON.fromJson(charStream, CONTRIBUTORS.getType());
|