HomeSort by relevance Sort by last modified time
    Searched refs:MediaPlayer (Results 101 - 125 of 174) sorted by null

1 2 3 45 6 7

  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java 28 import android.media.MediaPlayer;
199 MediaPlayer mp = null;
219 mp = new MediaPlayer();
271 MediaPlayer mp = null;
290 mp = new MediaPlayer();
MediaEnvReverbTest.java 28 import android.media.MediaPlayer;
354 MediaPlayer mp = null;
374 mp = new MediaPlayer();
428 MediaPlayer mp = null;
447 mp = new MediaPlayer();
MediaVisualizerTest.java 26 import android.media.MediaPlayer;
232 MediaPlayer mp = null;
251 mp = new MediaPlayer();
311 MediaPlayer mp = null;
330 mp = new MediaPlayer();
445 MediaPlayer mp = null;
463 mp = new MediaPlayer();
MediaAudioEffectTest.java 29 import android.media.MediaPlayer;
54 private MediaPlayer mMediaPlayer = null;
276 //Test case 1.4: test contructor on mediaPlayer audio session
283 MediaPlayer mp = new MediaPlayer();
313 //Test case 1.5: test auxiliary effect attachement on MediaPlayer
320 MediaPlayer mp = new MediaPlayer();
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
TrimVideo.java 24 import android.media.MediaPlayer;
44 MediaPlayer.OnErrorListener,
45 MediaPlayer.OnCompletionListener,
329 public void onCompletion(MediaPlayer mp) {
334 public boolean onError(MediaPlayer mp, int what, int extra) {
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 30 import android.media.MediaPlayer;
332 private MediaPlayer mMediaPlayer;
366 mMediaPlayer = new MediaPlayer();
386 mMediaPlayer.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {
388 public void onCompletion(MediaPlayer mp) {
549 MediaPlayer mediaPlayer = new MediaPlayer();
551 mediaPlayer.setDataSource(mSampleFile.getPath());
552 mediaPlayer.setAudioStreamType(AudioManager.STREAM_BLUETOOTH_SCO)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/voicemail/
VoicemailPlaybackPresenter.java 27 import android.media.MediaPlayer;
72 public class VoicemailPlaybackPresenter implements MediaPlayer.OnPreparedListener,
73 MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener {
152 protected MediaPlayer mMediaPlayer;
155 // MediaPlayer crashes on some method calls if not prepared but does not have a method which
262 // the MediaPlayer was retained after an orientation change.
364 // If an orientation change triggers the pause, retain the MediaPlayer.
576 mMediaPlayer = new MediaPlayer();
594 public void onPrepared(MediaPlayer mp)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AsyncRingtonePlayer.java 6 import android.media.MediaPlayer;
32 * {@link MediaPlayer}. android.permission.READ_EXTERNAL_STORAGE is required to play custom
33 * ringtones located on the SD card using this mechanism. {@link MediaPlayer} allows clients to
243 // Fall back to the older MediaPlayer-based playback delegate because it is the only
254 * vs {@link MediaPlayer}.
270 * Loops playback of a ringtone using {@link MediaPlayer}.
278 private MediaPlayer mMediaPlayer;
293 LogUtils.i(TAG, "Play ringtone via android.media.MediaPlayer.");
306 mMediaPlayer = new MediaPlayer();
307 mMediaPlayer.setOnErrorListener(new MediaPlayer.OnErrorListener()
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
LoudnessEnhancerTest.java 25 import android.media.MediaPlayer;
140 MediaPlayer mp = null;
144 mp = MediaPlayer.create(getContext(), R.raw.sine1khzm40db);
147 assertNotNull("null MediaPlayer", mp);
187 assertTrue("MediaPlayer not ready", tryCount < maxTry);
VisualizerTest.java 25 import android.media.MediaPlayer;
292 MediaPlayer mp = MediaPlayer.create(getContext(), R.raw.sine1khzm40db);
296 assertNotNull("null MediaPlayer", mp);
331 assertTrue("MediaPlayer not ready", tryCount < maxTry);
365 MediaPlayer mp = MediaPlayer.create(getContext(), R.raw.sine1khzs40dblong);
369 assertNotNull("null MediaPlayer", mp);
403 assertTrue("MediaPlayer not ready", tryCount < maxTry);
AudioEffectTest.java 30 import android.media.MediaPlayer;
53 private MediaPlayer mMediaPlayer = null;
152 //Test case 1.4: test contructor on mediaPlayer audio session
154 MediaPlayer mp = new MediaPlayer();
155 assertNotNull("could not create mediaplayer", mp);
171 //Test case 1.5: test auxiliary effect attachement on MediaPlayer
    [all...]
  /cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechWrapper.java 19 import android.media.MediaPlayer;
316 MediaPlayer mp = null;
318 mp = new MediaPlayer();
  /packages/apps/Settings/src/com/android/settings/accessibility/
ToggleScreenMagnificationPreferenceFragment.java 26 import android.media.MediaPlayer;
27 import android.media.MediaPlayer.OnPreparedListener;
75 public void onPrepared(MediaPlayer mediaPlayer) {
76 mediaPlayer.setLooping(true);
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaRecorderStressTest.java 22 import android.media.MediaPlayer;
380 MediaPlayer mp = new MediaPlayer();
451 MediaPlayer mp = new MediaPlayer();
  /cts/tests/tests/netsecpolicy/src/android/security/
NetworkSecurityPolicyTestBase.java 10 import android.media.MediaPlayer;
161 MediaPlayer mediaPlayer = new MediaPlayer();
163 mediaPlayer.setDataSource(getContext(), uri);
166 mediaPlayer.prepare();
170 mediaPlayer.stop();
179 MediaPlayer mediaPlayer = new MediaPlayer();
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
DebugUtils.java 25 import android.media.MediaPlayer;
56 private static MediaPlayer [] sMediaPlayer;
67 sMediaPlayer = new MediaPlayer[2];
69 MediaPlayer.create(context, R.raw.server_request_debug);
71 MediaPlayer.create(context, R.raw.db_op_debug);
79 LogUtil.e(TAG, "MediaPlayer exception", e);
81 LogUtil.e(TAG, "MediaPlayer exception", e);
83 LogUtil.e(TAG, "MediaPlayer exception", e);
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestConnectionService.java 24 import android.media.MediaPlayer;
270 private MediaPlayer mMediaPlayer;
485 private MediaPlayer createMediaPlayer() {
487 MediaPlayer mediaPlayer = MediaPlayer.create(getApplicationContext(), R.raw.beep_boop);
488 mediaPlayer.setLooping(true);
489 return mediaPlayer;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
BaseGnssTestActivity.java 30 import android.media.MediaPlayer;
294 MediaPlayer player = MediaPlayer.create(this, Settings.System.DEFAULT_NOTIFICATION_URI);
296 Log.e(LOG_TAG, "MediaPlayer unavailable.");
  /frameworks/av/include/media/
IMediaPlayer.h 44 DECLARE_META_INTERFACE(MediaPlayer);
  /frameworks/base/media/java/android/media/audiofx/
LoudnessEnhancer.java 20 import android.media.MediaPlayer;
34 * To attach the LoudnessEnhancer to a particular AudioTrack or MediaPlayer,
35 * specify the audio session ID of this AudioTrack or MediaPlayer when constructing the effect
36 * (see {@link AudioTrack#getAudioSessionId()} and {@link MediaPlayer#getAudioSessionId()}).
70 * will be attached to the MediaPlayer or AudioTrack in the same audio session.
96 * will be attached to the MediaPlayer or AudioTrack in the same audio session.
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
Renderer.java 19 import android.media.MediaPlayer;
214 * {@link MediaPlayer.OnBufferingUpdateListener}.
  /packages/apps/Music/src/com/android/music/
MediaPlaybackService.java 40 import android.media.MediaPlayer;
41 import android.media.MediaPlayer.OnCompletionListener;
375 // release all MediaPlayer resources, including the native player and wakelocks
    [all...]
MusicPicker.java 27 import android.media.MediaPlayer;
66 implements View.OnClickListener, MediaPlayer.OnCompletionListener,
153 MediaPlayer mMediaPlayer;
641 mMediaPlayer = new MediaPlayer();
659 public void onCompletion(MediaPlayer mp) {
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ComposeMessageViewTest.java 20 import android.media.MediaPlayer;
61 @Mock protected MediaPlayer mockMediaPlayer;
  /frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
VideoDumpView.java 44 import android.media.MediaPlayer;
71 private MediaPlayer mMediaPlayer = null;
104 // TODO: MediaPlayer doesn't give back the video frame rate and we'll need to
130 mMediaPlayer = new MediaPlayer();
335 private MediaPlayer mMediaPlayer;
360 public void setMediaPlayer(MediaPlayer player) {
559 // Can't do mipmapping with mediaplayer source
573 * and pass it to the MediaPlayer

Completed in 610 milliseconds

1 2 3 45 6 7