Test MediaPlayer.release() with blocked network

Expand CtsTestServer to allow a request to be blocked for an arbitrary
amount of time, and add a test that checks that MediaPlayer.release()
returns quickly even when the MediaPlayer is blocked on the network.

b/13187722

Change-Id: I9c91826414600e8924789d55d484bbf6a347e6d3
2 files changed