Home
last modified time | relevance | path

Searched defs:mp (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java88 MediaPlayer mp = new MediaPlayer(); in getDuration() local
107 MediaPlayer mp = new MediaPlayer(); in getCurrentPosition() local
135 MediaPlayer mp = new MediaPlayer(); in seekTo() local
162 MediaPlayer mp = new MediaPlayer(); in setLooping() local
200 MediaPlayer mp = new MediaPlayer(); in pause() local
225 MediaPlayer mp = new MediaPlayer(); in prepareStopRelease() local
234 MediaPlayer mp = new MediaPlayer(); in preparePauseRelease() local
328 MediaPlayer mp = new MediaPlayer(); in videoSeekTo() local
362 MediaPlayer mp = new MediaPlayer(); in seekToEnd() local
390 MediaPlayer mp = new MediaPlayer(); in shortMediaStop() local
[all …]
DMediaRecorderStressTest.java393 MediaPlayer mp = new MediaPlayer(); in validateRecordedVideo() local
464 MediaPlayer mp = new MediaPlayer(); in testStressRecordVideoAndPlayback() local
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java217 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in testIfMediaServerDied() argument
248 MediaPlayer mp = mMediaPlayer; in testVorbisCrash() local
336 MediaPlayer mp = MediaPlayer.create(mContext, uri); in testPlayAudioFromDataURI() local
511 MediaPlayer mp = MediaPlayer.create(mContext, Uri.fromFile(new File(mInpPrefix + res))); in testPlayAudioLooping() local
556 MediaPlayer mp = MediaPlayer.create(mContext, Uri.fromFile(new File(mInpPrefix + res))); in runMidiTest() local
728 MediaPlayer mp = MediaPlayer.create(mContext, Uri.fromFile(new File(mInpPrefix + res))); in testPlayAudioTwice() local
857 mMediaPlayer2.setOnInfoListener((mp, what, extra) -> { in testSetNextMediaPlayer() argument
898 mMediaPlayer2.setOnInfoListener((mp, what, extra) -> { in testSetNextMediaPlayer() argument
1533 (mp, timestamp) -> { in testMediaTimeDiscontinuity() argument
1879 mMediaPlayer.setOnSubtitleDataListener((mp, data) -> { in testDeselectTrackForSubtitleTracks() argument
[all …]
DVideoSurfaceView.java44 public VideoSurfaceView(Context context, MediaPlayer mp) { in VideoSurfaceView()
DStreamingMediaPlayerTest.java341 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in localHttpsAudioStreamTest() argument
524 final MediaPlayer mp = worker.getPlayer(); in testBlockingReadRelease() local
DMediaPlayerFlakyNetworkTest.java287 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in localHttpStreamTest() argument
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java300 MediaPlayer mp = null; in eqSetParamProperties() local
343 MediaPlayer mp = null; in eqGetParamFreqRangeCommand() local
394 MediaPlayer mp = null; in eqGetParam() local
421 MediaPlayer mp = null; in eqGetParam() local
459 MediaPlayer mp = null; in eqSetParam() local
510 MediaPlayer mp = null; in verifyZeroPVSizeRejectedForSetParameter() local
570 MediaPlayer mp = MediaPlayer.create(getInstrumentation().getContext(), R.raw.good); in hasEqualizer() local
DVisualizerEffectTest.java57 MediaPlayer mp = null; in testVisualizer_MalformedConstructor() local
DStagefrightTest.java1295 MediaPlayer mp = new MediaPlayer(); in testStagefright_cve_2018_9474() local
2062 public boolean onError(MediaPlayer mp, int newWhat, int extra) { in onError()
2078 public void onPrepared(MediaPlayer mp) { in onPrepared()
2083 public void onCompletion(MediaPlayer mp) { in onCompletion()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java180 mMediaPlayer.setOnVideoSizeChangedListener((mp, w, h) -> { in playLoadedVideo() argument
194 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in playLoadedVideo() argument
198 mMediaPlayer.setOnInfoListener((mp, what, extra) -> { in playLoadedVideo() argument
272 mMediaPlayer.setOnErrorListener((mp, what, extra) -> { in setOnErrorListener() argument
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DReadDefaultUris.java59 MediaPlayer mp = new MediaPlayer(); in playUri() local
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyVideoSourceActivity.java44 mVideoView.setOnErrorListener((mp, what, extra) -> { in onCreate() argument
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DLoudnessEnhancerTest.java159 MediaPlayer mp = null; in test3_0MeasureGainChange() local
DAudioFocusTest.java591 MediaPlayer mp = null; in testAudioFocusRequestMediaGainLossWithPlayer() local
887 MediaPlayer mp = null; in runDuckedUidsTest() local
1097 MediaPlayer mp = null; in doTwoFocusOwnerOnePlayerFocusLoss() local
1254 MediaPlayer mp = new MediaPlayer(); in createPreparedMediaPlayer() local
1308 MediaPlayerRoutingListener(MediaPlayer mp) { in MediaPlayerRoutingListener()
DVisualizerTest.java358 MediaPlayer mp = MediaPlayer.create(getContext(), R.raw.sine1khzm40db); in test4_1MeasurePeakRms() local
432 MediaPlayer mp = MediaPlayer.create(getContext(), R.raw.sine1khzs40dblong); in test4_2MeasurePeakRmsLongMP3() local
DAudioPlaybackConfigurationTest.java844 final MediaPlayer mp = createPlayer(resID, aa, session); in createPreparedMediaPlayer() local
856 MediaPlayer mp = new MediaPlayer(); in createPlayer() local
916 MediaPlayer mp, MyAudioPlaybackCallback callback, in assertPlayerStartAndCallbackWithPlayerAttributes()
1017 MyPlayer(MediaPlayer mp) { in MyPlayer()
DAudioEffectTest.java171 MediaPlayer mp = new MediaPlayer(); in test1_4InsertOnMediaPlayer() local
DAudioManagerTest.java533 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); in testMusicActive() local
1161 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); in testVolume() local
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java371 MediaPlayer mp = null; in isSoundFile() local
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java289 mPlayer.setOnInfoListener((mp, what, extra) -> { in VideoRenderer() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DRingerModeActivity.java986 MediaPlayer mp = MediaPlayer.create(mContext, MP3_TO_PLAY); in test() local
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java606 final MediaPlayer mp = new MediaPlayer(); in extractDecodeEditEncodeMux() local
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java1950 AtomicInteger mp = new AtomicInteger(-1); in testSetMasterPreference() local