Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45fde077 authored by Yu Shan Emily Lau's avatar Yu Shan Emily Lau Committed by Android (Google) Code Review
Browse files

Merge "Update the summary output format which match the PM data posting."

parents 9189550e ce6ff2c2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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());
+7 −7
Original line number Diff line number Diff line
@@ -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");
    }