/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SerializationUtilTest.java | 56 String serializedException = SerializationUtil.serializeToString(e); in testSerialize_DeserializeString() 57 Object o = SerializationUtil.deserialize(serializedException); in testSerialize_DeserializeString() 66 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize() 67 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize() 82 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_noDelete() 84 Object o = SerializationUtil.deserialize(tmpSerialized, false); in testSerialize_Deserialize_noDelete() 99 SerializationUtil.deserialize(new File("doesnotexists"), true); in testDeserialize_noFile() 113 File tmpSerialized = SerializationUtil.serialize(b); in testSerialize_Deserialize_corrupted() 117 SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize_corrupted() 134 SerializationUtil.serialize(test); in testSerialized_notSerializable()
|
D | SubprocessTestResultsParserTest.java | 485 serializedModule = SerializationUtil.serialize(fakeModuleContext); in testParse_moduleStarted_end() 518 serializedLogFile = SerializationUtil.serialize(logFile); in testParse_logAssociation() 554 serializedLogFile = SerializationUtil.serialize(logFile); in testParse_logAssociation_notUploaded() 588 serializedLogFile = SerializationUtil.serialize(logFile); in testParse_logAssociation_zipped() 623 serializedLogFile = SerializationUtil.serialize(logFile); in testParse_avoidDoubleLog()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | TargetSetupErrorTest.java | 26 import com.android.tradefed.util.SerializationUtil; 48 File s = SerializationUtil.serialize(exception); in testSerialization() 52 Object o = SerializationUtil.deserialize(s, true); in testSerialization() 78 File s = SerializationUtil.serialize(exception); in testSerialization_withIDevice() 82 Object o = SerializationUtil.deserialize(s, true); in testSerialization_withIDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 578 mLoggedFile = (LogFile) SerializationUtil.deserialize(new File(file), true); in LogAssociationEventInfo() 595 File serializedLoggedFile = SerializationUtil.serialize(mLoggedFile); in toString() 677 (IInvocationContext) SerializationUtil.deserialize(new File(file), true); in TestModuleStartedEventInfo() 688 File serializedContext = SerializationUtil.serialize(mModuleContext); in toString()
|
D | SubprocessExceptionParser.java | 53 Throwable obj = (Throwable) SerializationUtil.deserialize(exception, true); in handleStderrException()
|
D | SerializationUtil.java | 30 public class SerializationUtil { class
|
/tools/tradefederation/core/tests/src/com/android/tradefed/error/ |
D | HarnessExceptionTest.java | 22 import com.android.tradefed.util.SerializationUtil; 42 File serial = SerializationUtil.serialize(e); in testSerializable() 44 (HarnessException) SerializationUtil.deserialize(serial, true); in testSerializable()
|
/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/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/sandbox/ |
D | TradefedSandboxRunner.java | 32 import com.android.tradefed.util.SerializationUtil; 78 serializedException = SerializationUtil.serialize(e); in printStackTrace() 115 context = (IInvocationContext) SerializationUtil.deserialize(contextFile, false); in run()
|
D | SandboxInvocationRunner.java | 28 import com.android.tradefed.util.SerializationUtil; 94 Throwable obj = (Throwable) SerializationUtil.deserialize(exception, true); in handleStderrException()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandRunner.java | 25 import com.android.tradefed.util.SerializationUtil; 77 serializedException = SerializationUtil.serialize(e); in printStackTrace()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporterTest.java | 36 import com.android.tradefed.util.SerializationUtil; 178 (NullPointerException) SerializationUtil.deserialize(serializedException); in testInvocationFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 37 import com.android.tradefed.util.SerializationUtil; 568 debugContext.setErrorType(SerializationUtil.serializeToString(baseException)); in handleInvocationFailure()
|
D | ProtoResultParser.java | 45 import com.android.tradefed.util.SerializationUtil; 323 (Throwable) SerializationUtil.deserialize(errorType); in handleInvocationEnded()
|