History log of /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
898bfbd865496855c3a6c792f9e0da011ae34854 28-Sep-2010 Steve Block <steveblock@google.com> Prevent DumpRenderTree2 from crashing when the host server is not running

Bug: 3010758
Change-Id: I04a01634544d223d225b264827d3cf18be74e1e0
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
5af84db492a0c198377ba4dacc83c5a211e96ff6 09-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Updated the AdbUtils class to better manage opening and closing the resources.

Change-Id: I83ebc6409d57a28f9015ec9726f797417ec03212
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
bd8c83db8f424a8cfbf94cd4915d7b99b034358c 03-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting.

There was a deadlock when ConnectionHandler exited the loop in SocketPipeThread, and would call the onFinishedCallback, which called the synchronized method in Forwarder that would
deadlock. Changing the Forwarder class solved the issue and made it more efficient.

Change-Id: I947450a19573f2e88274b1ebc7b77d4df6afffa7
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
5926723f82fbdd9b523193e05f901784904b6d38 01-Sep-2010 Maksymilian Osowski <maxosowski@google.com> Fixed a bug when there are too many open sockets.

Also, some minor corrections to shutdown() in ConnectionHandler.

Change-Id: I937f200c14c185b0867f997645d8b288a19b9889
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
ef9a2175ee29b9a9c84ddd0a02d1ec80ab095222 31-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Fixed a bug in forwarder where calling the stop method on ForwarderManager would deadlock. Also some style fixes.

The call would deadlock because lines 62-67 in ConnectionHandler were in the synchronized block. The is.read() would block and therefore call to shutdown() would block too.
is.read()
would never unblock because the stream was ready to be closed, and it needs to be done so from shutdown(). Removing the synchronized block fixes it and is save, as it was not
needed here.

Change-Id: I3326098c47ee18c4eabaa8510b27ca82debce360
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java
56d7e400ece64591685c8a21dbb82a94a7bd8010 23-Aug-2010 Maksymilian Osowski <maxosowski@google.com> Added forwarding service.

It creates the sockets on the device that allow DumpRenderTree2 to get tests from the server running on the remote machine. Communication happens through the adb.

Change-Id: I7f26ffc78195b6c5f4d423a57d5ee5f0f4a9c615
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/Forwarder.java