Searched refs:SerializationUtil (Results 1 – 10 of 10) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 55 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()
|
D | SubprocessTestResultsParserTest.java | 451 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/ |
D | ConfigurationDescriptorTest.java | 22 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/ |
D | DeviceFolderBuildInfoTest.java | 26 import com.android.tradefed.util.SerializationUtil; 109 File tmpSerialized = SerializationUtil.serialize(mDeviceFolderBuildInfo); in testSerialization() 110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization()
|
D | BuildInfoTest.java | 28 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/ |
D | TradefedSandboxRunner.java | 31 import com.android.tradefed.util.SerializationUtil; 75 serializedException = SerializationUtil.serialize(e); in printStackTrace() 108 context = (IInvocationContext) SerializationUtil.deserialize(contextFile, false); in run()
|
D | SandboxInvocationRunner.java | 26 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/ |
D | InvocationContextTest.java | 32 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/ |
D | SubprocessEventHelper.java | 425 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()
|
D | SerializationUtil.java | 27 public class SerializationUtil { class
|