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.java68 public JsonElement serialize(User src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
83 public JsonElement serialize(User src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
118 public JsonElement serialize(User2 src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
154 …@Override public JsonElement serialize(Base<String> src, Type typeOfSrc, JsonSerializationContext … in serialize()
160 …@Override public JsonElement serialize(Base<Integer> src, Type typeOfSrc, JsonSerializationContext… in serialize()
DTypeHierarchyAdapterTest.java148 …@Override public JsonElement serialize(Manager src, Type typeOfSrc, JsonSerializationContext conte… in serialize()
154 @Override public JsonElement serialize(Employee employee, Type typeOfSrc, in serialize()
DCustomTypeAdaptersTest.java204 public JsonElement serialize(Foo src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
300 @Override public JsonElement serialize(StringHolder src, Type typeOfSrc, in serialize()
430 public JsonElement serialize(DataHolder src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
458 public JsonElement serialize(Date src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
DPrettyPrintingTest.java57 Type typeOfSrc = new TypeToken<List<BagOfPrimitives>>() {}.getType(); in testPrettyPrintList() local
DTreeTypeAdaptersTest.java108 public JsonElement serialize(Id<?> src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
DNullObjectAndFieldTest.java195 @Override public JsonElement serialize(ClassWithObjects src, Type typeOfSrc, in serialize()
DEnumTest.java200 …@Override public JsonElement serialize(Roshambo src, Type typeOfSrc, JsonSerializationContext cont… in serialize()
DJava17RecordTest.java360 …@Override public JsonElement serialize(String src, Type typeOfSrc, JsonSerializationContext contex… in testJsonAdapterAnnotation()
/external/gson/gson/src/test/java/com/google/gson/
DGsonTypeAdapterTest.java90 AtomicLong src, Type typeOfSrc, JsonSerializationContext context) { in serialize()
102 …@Override public JsonElement serialize(AtomicInteger src, Type typeOfSrc, JsonSerializationContext… in serialize()
/external/gson/gson/src/main/java/com/google/gson/
DJsonSerializer.java88 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/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()