Home
last modified time | relevance | path

Searched refs:serializable (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/userguide/
Dindex.md5 un-serializable properties to be serializable.
18 The following `AutoValue` class is un-serializable:
28 // java.util.Optional is not serializable.
33 This is because `java.util.Optional` is un-serializable. We can make `Foo`
34 serializable by using the [`SerializableAutoValueExtension`].
88 * Enables `ImmutableList<T>`, where `T` is an un-serializable but
89 supported type, to be serializable.
91 * Enables `ImmutableMap<K, V>`, where `K` and/or `V` are un-serializable
92 but supported types, to be serializable.
97 un-serializable types with [SerializerExtensions].
[all …]
Dserializer-extension.md5 un-serializable types. Extensions are created by implementing
30 1. From the original property's type, determine what a suitable serializable
54 // An un-serializable class.
65 Unfortunately, `Bar` is un-serializable, which makes the entire class
66 un-serializable. We can extend `SerializableAutoValue` to support `Bar` by
162 // A potentially un-serializable class, depending on the actual type of T.
173 `Baz`'s type argument `T` may not be serializable, but we could create a
199 // means the contained type is either serializable or unsupported.
205 // Make Baz serializable by using the contained type T serializer.
238 a `Serializer` is available, we use it to map `Baz` to a serializable type. If
[all …]
/external/mockito/src/test/java/org/mockitousage/basicapi/
DMocksSerializationTest.java49 Bar barMock = mock(Bar.class, withSettings().serializable()); in should_allow_method_delegation()
60 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_to_be_serializable()
69 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_and_boolean_value_to_serializable()
83 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_allow_mock_and_string_value_to_be_serializable()
98 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_all_mock_and_serializable_value_to_be_serialized()
112 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_serialize_method_call_with_parameters_that_are_serializable()
126 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_serialize_method_calls_using_any_string_matcher()
140 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_verify_called_n_times_for_serialized_mock()
156 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_verify_even_if_some_methods_called_after_serialization()
200 IMethods mock = mock(IMethods.class, withSettings().serializable()); in should_stub_even_if_some_methods_called_after_serialization()
[all …]
DMocksSerializationForAnnotationTest.java36 @Mock(serializable=true) Bar barMock;
37 @Mock(serializable=true) IMethods imethodsMock;
38 @Mock(serializable=true) IMethods imethodsMock2;
39 @Mock(serializable=true) Any anyMock;
40 @Mock(serializable=true) AlreadySerializable alreadySerializableMock;
41 @Mock(extraInterfaces={List.class},serializable=true) IMethods imethodsWithExtraInterfacesMock;
260 .serializable()); in should_serialize_with_real_object_spy()
324 @Mock(serializable=true)
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dserializable-candidates.properties20 …s.tck.candidates.SerializableNoConstructor = No constructor (serializable)
21 …ates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
22 …s.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
23 …tes.SerializableDefaultPackageConstructor = Default package constructor (serializable)
24 …tes.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
29 ….SerializableConstructorThrowingException = Constructor throwing exception (serializable)
30 …ates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
31 …lizableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
Dcandidates.properties21 …s.tck.candidates.SerializableNoConstructor = No constructor (serializable)
23 …ates.SerializableDefaultPublicConstructor = Default public constructor (serializable)
25 …s.SerializableDefaultProtectedConstructor = Default protected constructor (serializable)
27 …tes.SerializableDefaultPackageConstructor = Default package constructor (serializable)
29 …tes.SerializableDefaultPrivateConstructor = Default private constructor (serializable)
36 ….SerializableConstructorThrowingException = Constructor throwing exception (serializable)
38 …ates.SerializableConstructorWithArguments = Constructor with arguments (serializable)
40 …lizableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
/external/guava/guava/src/com/google/common/collect/
DOrdering.java159 @GwtCompatible(serializable = true)
180 @GwtCompatible(serializable = true)
192 @GwtCompatible(serializable = true)
218 @GwtCompatible(serializable = true)
244 @GwtCompatible(serializable = true)
279 @GwtCompatible(serializable = true)
293 @GwtCompatible(serializable = true)
403 @GwtCompatible(serializable = true)
416 @GwtCompatible(serializable = true)
429 @GwtCompatible(serializable = true)
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DOrdering.java159 @GwtCompatible(serializable = true)
180 @GwtCompatible(serializable = true)
192 @GwtCompatible(serializable = true)
218 @GwtCompatible(serializable = true)
244 @GwtCompatible(serializable = true)
279 @GwtCompatible(serializable = true)
293 @GwtCompatible(serializable = true)
403 @GwtCompatible(serializable = true)
416 @GwtCompatible(serializable = true)
429 @GwtCompatible(serializable = true)
[all …]
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/
DSerializerFactoryLoaderTest.java16 package com.google.auto.value.extension.serializable.serializer;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
22 import com.google.auto.value.extension.serializable.serializer.utils.CompilationAbstractTest;
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/serializer/
DSerializerFactoryLoader.java16 package com.google.auto.value.extension.serializable.serializer;
18 import com.google.auto.value.extension.serializable.serializer.impl.SerializerFactoryImpl;
19 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/serializer/impl/
DSerializerFactoryImpl.java16 package com.google.auto.value.extension.serializable.serializer.impl;
18 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
19 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
DImmutableListSerializerExtension.java16 package com.google.auto.value.extension.serializable.serializer.impl;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
22 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
23 import com.google.auto.value.extension.serializable.serializer.runtime.FunctionWithExceptions;
DOptionalSerializerExtension.java16 package com.google.auto.value.extension.serializable.serializer.impl;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
22 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
DImmutableMapSerializerExtension.java16 package com.google.auto.value.extension.serializable.serializer.impl;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
22 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
23 import com.google.auto.value.extension.serializable.serializer.runtime.FunctionWithExceptions;
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/impl/
DSerializerFactoryImplTest.java16 package com.google.auto.value.extension.serializable.serializer.impl;
20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
21 import com.google.auto.value.extension.serializable.serializer.utils.CompilationAbstractTest;
22 import com.google.auto.value.extension.serializable.serializer.utils.TestStringSerializerFactory;
DOptionalSerializerExtensionTest.java16 package com.google.auto.value.extension.serializable.serializer.impl;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
22 import com.google.auto.value.extension.serializable.serializer.utils.CompilationAbstractTest;
23 import com.google.auto.value.extension.serializable.serializer.utils.FakeSerializerFactory;
DImmutableListSerializerExtensionTest.java16 package com.google.auto.value.extension.serializable.serializer.impl;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
22 import com.google.auto.value.extension.serializable.serializer.utils.CompilationAbstractTest;
23 import com.google.auto.value.extension.serializable.serializer.utils.FakeSerializerFactory;
DImmutableMapSerializerExtensionTest.java16 package com.google.auto.value.extension.serializable.serializer.impl;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
22 import com.google.auto.value.extension.serializable.serializer.utils.CompilationAbstractTest;
23 import com.google.auto.value.extension.serializable.serializer.utils.FakeSerializerFactory;
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/utils/
DTestStringSerializerFactory.java16 package com.google.auto.value.extension.serializable.serializer.utils;
21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
22 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerExtension;
23 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
DFakeSerializerFactory.java16 package com.google.auto.value.extension.serializable.serializer.utils;
18 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
19 import com.google.auto.value.extension.serializable.serializer.interfaces.SerializerFactory;
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/
DCustomFieldSerializerTest.java52 @GwtCompatible(serializable = true)
94 @GwtCompatible(serializable = true)
118 @GwtCompatible(serializable = true)
141 @GwtCompatible(serializable = true)
174 @GwtCompatible(serializable = true)
207 @GwtCompatible(serializable = true)
/external/auto/value/src/it/gwtserializer/src/test/java/com/google/auto/value/client/
DGwtSerializerTest.java121 @GwtCompatible(serializable = true)
131 @GwtCompatible(serializable = true)
148 @GwtCompatible(serializable = true)
160 @GwtCompatible(serializable = true)
181 @GwtCompatible(serializable = true)
191 @GwtCompatible(serializable = true)
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_options.h48 serializable(false) { in Options()
73 bool serializable; member
/external/mockito/src/test/java/org/mockitousage/serialization/
DDeepStubsSerializableTest.java22 …leClass = mock(SampleClass.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_serialize_and_deserialize_mock_created_with_deep_stubs()
37 …ubbed = mock(ListContainer.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_serialize_and_deserialize_parameterized_class_mocked_with_deep_stubs()
51 …ubbed = mock(ListContainer.class, withSettings().defaultAnswer(RETURNS_DEEP_STUBS).serializable()); in should_discard_generics_metadata_when_serialized_then_disabling_deep_stubs_with_generics()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableChecker.java12 package android.icu.dev.test.serializable;
40 private static Class serializable; field in SerializableChecker
62 serializable = Class.forName("java.io.Serializable");
99 if (serializable.isAssignableFrom(c) /*&& in visit()

12345678910