Home
last modified time | relevance | path

Searched refs:SerializationUtil (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSerializationUtilTest.java55 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize()
56 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize()
71 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_noDelete()
73 Object o = SerializationUtil.deserialize(tmpSerialized, false); in testSerialize_Deserialize_noDelete()
88 SerializationUtil.deserialize(new File("doesnotexists"), true); in testDeserialize_noFile()
102 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_corrupted()
106 SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize_corrupted()
123 SerializationUtil.serialize(test); in testSerialized_notSerializable()
DSubprocessTestResultsParserTest.java451 serializedModule = SerializationUtil.serialize(fakeModuleContext); in testParse_moduleStarted_end()
483 serializedLogFile = SerializationUtil.serialize(logFile); in testParse_logAssociation()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDescriptorTest.java22 import com.android.tradefed.util.SerializationUtil;
78 File serialized = SerializationUtil.serialize(descriptor); in testSerialization()
81 (ConfigurationDescriptor) SerializationUtil.deserialize(serialized, true); in testSerialization()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceFolderBuildInfoTest.java26 import com.android.tradefed.util.SerializationUtil;
109 File tmpSerialized = SerializationUtil.serialize(mDeviceFolderBuildInfo); in testSerialization()
110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization()
DBuildInfoTest.java28 import com.android.tradefed.util.SerializationUtil;
120 File tmpSerialized = SerializationUtil.serialize(mBuildInfo); in testSerialization()
121 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandboxRunner.java31 import com.android.tradefed.util.SerializationUtil;
75 serializedException = SerializationUtil.serialize(e); in printStackTrace()
108 context = (IInvocationContext) SerializationUtil.deserialize(contextFile, false); in run()
DSandboxInvocationRunner.java26 import com.android.tradefed.util.SerializationUtil;
78 Throwable obj = (Throwable) SerializationUtil.deserialize(exception, true); in handleStderrException()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java32 import com.android.tradefed.util.SerializationUtil;
132 File ser = SerializationUtil.serialize(mContext); in testSerialize()
135 (InvocationContext) SerializationUtil.deserialize(ser, true); in testSerialize()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java425 mLoggedFile = (LogFile) SerializationUtil.deserialize(new File(file), true); in LogAssociationEventInfo()
442 File serializedLoggedFile = SerializationUtil.serialize(mLoggedFile); in toString()
524 (IInvocationContext) SerializationUtil.deserialize(new File(file), true); in TestModuleStartedEventInfo()
535 File serializedContext = SerializationUtil.serialize(mModuleContext); in toString()
DSerializationUtil.java27 public class SerializationUtil { class