Home
last modified time | relevance | path

Searched defs:typeOfSrc (Results 1 – 15 of 15) sorted by relevance

/external/gson/gson/src/test/java/com/google/gson/functional/
DParameterizedTypesTest.java61 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
DJsonAdapterSerializerDeserializerTest.java71 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()
DTypeHierarchyAdapterTest.java153 …@Override public JsonElement serialize(Manager src, Type typeOfSrc, JsonSerializationContext conte… in serialize()
159 @Override public JsonElement serialize(Employee employee, Type typeOfSrc, in serialize()
DCustomTypeAdaptersTest.java220 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()
DPrettyPrintingTest.java59 Type typeOfSrc = new TypeToken<List<BagOfPrimitives>>() {}.getType(); in testPrettyPrintList() local
DTreeTypeAdaptersTest.java114 public JsonElement serialize(Id<?> src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
DEnumTest.java217 …@Override public JsonElement serialize(Roshambo src, Type typeOfSrc, JsonSerializationContext cont… in serialize()
DNullObjectAndFieldTest.java211 @Override public JsonElement serialize(ClassWithObjects src, Type typeOfSrc, in serialize()
DJava17RecordTest.java360 …@Override public JsonElement serialize(String src, Type typeOfSrc, JsonSerializationContext contex… in testJsonAdapterAnnotation()
/external/gson/gson/src/main/java/com/google/gson/
DJsonSerializer.java91 public JsonElement serialize(T src, Type typeOfSrc, JsonSerializationContext context); in serialize()
DJsonSerializationContext.java48 public JsonElement serialize(Object src, Type typeOfSrc); in serialize()
/external/gson/gson/src/test/java/com/google/gson/
DGsonTypeAdapterTest.java98 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/
DTestTypes.java80 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/
DTreeTypeAdapter.java174 @Override public JsonElement serialize(Object src, Type typeOfSrc) { in serialize()
/external/gson/proto/src/main/java/com/google/gson/protobuf/
DProtoTypeAdapter.java215 public JsonElement serialize(Message src, Type typeOfSrc, in serialize()