Searched refs:mPlayer (Results 1 – 2 of 2) sorted by relevance
40 private MediaPlayer mPlayer; field in MediaPlaybackTests60 mPlayer = MediaPlayer.create(getInstrumentation().getContext(), R.raw.bbb); in testVideoPlayback()61 mPlayer.setDisplay(getActivity().getSurfaceHolder()); in testVideoPlayback()76 mPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() { in testVideoPlayback()84 mPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() { in testVideoPlayback()94 mPlayer.start(); in testVideoPlayback()95 int duration = mPlayer.getDuration(); in testVideoPlayback()96 int currentPosition = mPlayer.getCurrentPosition(); in testVideoPlayback()105 mPlayer.release(); in testVideoPlayback()
40 private MediaPlayer mPlayer; field in MediaPlaybackTest60 mPlayer = MediaPlayer.create(getInstrumentation().getContext(), R.raw.bbb); in testVideoPlayback()61 mPlayer.setDisplay(getActivity().getSurfaceHolder()); in testVideoPlayback()76 mPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener() { in testVideoPlayback()84 mPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() { in testVideoPlayback()94 mPlayer.start(); in testVideoPlayback()95 int duration = mPlayer.getDuration(); in testVideoPlayback()96 int currentPosition = mPlayer.getCurrentPosition(); in testVideoPlayback()105 mPlayer.release(); in testVideoPlayback()