Merge "Update the summary output format which match the PM data posting."
This commit is contained in:
committed by
Android (Google) Code Review
commit
45fde07742
@@ -811,6 +811,7 @@ public class CodecTest {
|
||||
try {
|
||||
mMediaPlayer.setOnCompletionListener(mCompletionListener);
|
||||
mMediaPlayer.setOnErrorListener(mOnErrorListener);
|
||||
mMediaPlayer.setOnInfoListener(mInfoListener);
|
||||
Log.v(TAG, "playMediaSamples: sample file name " + filePath);
|
||||
mMediaPlayer.setDataSource(filePath);
|
||||
mMediaPlayer.setDisplay(MediaFrameworkTest.mSurfaceView.getHolder());
|
||||
|
||||
@@ -75,13 +75,13 @@ public class MediaPlayerStressTest extends InstrumentationTestCase {
|
||||
|
||||
private void writeTestSummary(Writer output) throws Exception{
|
||||
output.write("Total Result:\n");
|
||||
output.write(" Complete: " + mTotalComplete);
|
||||
output.write(" Error: " + mTotalPlaybackError);
|
||||
output.write(" Unknown Info: " + mTotalInfoUnknown);
|
||||
output.write(" Track Lagging: " + mTotalVideoTrackLagging );
|
||||
output.write(" BadInterleaving: " + mTotalBadInterleaving);
|
||||
output.write(" Not Seekable: " + mTotalNotSeekable);
|
||||
output.write(" Info Meta data update: " + mTotalMetaDataUpdate);
|
||||
output.write("Total Complete: " + mTotalComplete + "\n");
|
||||
output.write("Total Error: " + mTotalPlaybackError + "\n");
|
||||
output.write("Total Unknown Info: " + mTotalInfoUnknown);
|
||||
output.write("Total Track Lagging: " + mTotalVideoTrackLagging + "\n" );
|
||||
output.write("Total BadInterleaving: " + mTotalBadInterleaving + "\n");
|
||||
output.write("Total Not Seekable: " + mTotalNotSeekable + "\n");
|
||||
output.write("Total Info Meta data update: " + mTotalMetaDataUpdate + "\n");
|
||||
output.write("\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user