| /external/gson/gson/src/test/java/com/google/gson/functional/ |
| D | ParameterizedTypesTest.java | 61 Type typeOfSrc = new TypeToken<MyParameterizedType<Integer>>() {}.getType(); in testParameterizedTypesSerialization() local 85 Type typeOfSrc = new TypeToken<MultiParameters<Integer, Float, Double, String, in testTypesWithMultipleParametersSerialization() local 149 Type typeOfSrc = new TypeToken<MyParameterizedType<Integer>>() {}.getType(); in testParameterizedTypesWithWriterSerialization() local 184 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testVariableTypeFieldsAndGenericArraysSerialization() local 201 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testVariableTypeFieldsAndGenericArraysDeserialization() local 212 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testVariableTypeDeserialization() local 225 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testVariableTypeArrayDeserialization() local 240 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testParameterizedTypeWithVariableTypeDeserialization() local 256 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testParameterizedTypeGenericArraysSerialization() local 270 Type typeOfSrc = new TypeToken<ObjectWithTypeVariables<Integer>>() {}.getType(); in testParameterizedTypeGenericArraysDeserialization() local
|
| D | JsonAdapterSerializerDeserializerTest.java | 71 public JsonElement serialize(User src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 86 public JsonElement serialize(User src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 122 public JsonElement serialize(User2 src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 159 …@Override public JsonElement serialize(Base<String> src, Type typeOfSrc, JsonSerializationContext … in serialize() 165 …@Override public JsonElement serialize(Base<Integer> src, Type typeOfSrc, JsonSerializationContext… in serialize()
|
| D | TypeHierarchyAdapterTest.java | 153 …@Override public JsonElement serialize(Manager src, Type typeOfSrc, JsonSerializationContext conte… in serialize() 159 @Override public JsonElement serialize(Employee employee, Type typeOfSrc, in serialize()
|
| D | CustomTypeAdaptersTest.java | 220 public JsonElement serialize(Foo src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 320 @Override public JsonElement serialize(StringHolder src, Type typeOfSrc, in serialize() 459 public JsonElement serialize(DataHolder src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 487 public JsonElement serialize(Date src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
|
| D | PrettyPrintingTest.java | 59 Type typeOfSrc = new TypeToken<List<BagOfPrimitives>>() {}.getType(); in testPrettyPrintList() local
|
| D | TreeTypeAdaptersTest.java | 114 public JsonElement serialize(Id<?> src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
|
| D | EnumTest.java | 217 …@Override public JsonElement serialize(Roshambo src, Type typeOfSrc, JsonSerializationContext cont… in serialize()
|
| D | NullObjectAndFieldTest.java | 211 @Override public JsonElement serialize(ClassWithObjects src, Type typeOfSrc, in serialize()
|
| D | Java17RecordTest.java | 360 …@Override public JsonElement serialize(String src, Type typeOfSrc, JsonSerializationContext contex… in testJsonAdapterAnnotation()
|
| /external/gson/gson/src/main/java/com/google/gson/ |
| D | JsonSerializer.java | 91 public JsonElement serialize(T src, Type typeOfSrc, JsonSerializationContext context); in serialize()
|
| D | JsonSerializationContext.java | 48 public JsonElement serialize(Object src, Type typeOfSrc); in serialize()
|
| /external/gson/gson/src/test/java/com/google/gson/ |
| D | GsonTypeAdapterTest.java | 98 AtomicLong src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 110 …@Override public JsonElement serialize(AtomicInteger src, Type typeOfSrc, JsonSerializationContext… in serialize()
|
| /external/gson/gson/src/test/java/com/google/gson/common/ |
| D | TestTypes.java | 80 public JsonElement serialize(Base src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 89 public JsonElement serialize(Sub src, Type typeOfSrc, JsonSerializationContext context) { in serialize() 412 public JsonElement serialize(Long src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
|
| /external/gson/gson/src/main/java/com/google/gson/internal/bind/ |
| D | TreeTypeAdapter.java | 174 @Override public JsonElement serialize(Object src, Type typeOfSrc) { in serialize()
|
| /external/gson/proto/src/main/java/com/google/gson/protobuf/ |
| D | ProtoTypeAdapter.java | 215 public JsonElement serialize(Message src, Type typeOfSrc, in serialize()
|