Home
last modified time | relevance | path

Searched refs:getCurrentPosition (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java104 public static boolean getCurrentPosition(String filePath){ in getCurrentPosition() method in CodecTest
123 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
149 currentPosition = mp.getCurrentPosition(); in seekTo()
186 currentPosition = mp.getCurrentPosition(); in setLooping()
218 int curPosition = mp.getCurrentPosition(); in pause()
346 currentPosition = mp.getCurrentPosition(); in videoSeekTo()
366 currentPosition = mp.getCurrentPosition(); in videoSeekTo()
392 currentPosition = mp.getCurrentPosition(); in seekToEnd()
419 currentPosition = mp.getCurrentPosition(); in shortMediaStop()
448 currentPosition = mp.getCurrentPosition(); in playToEnd()
[all …]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DSingleThreadedMediaPlayerProxy.java93 public synchronized int getCurrentPosition() { in getCurrentPosition() method in SingleThreadedMediaPlayerProxy
94 return mDelegate.getCurrentPosition(); in getCurrentPosition()
DMediaPlayerProxy.java46 int getCurrentPosition(); in getCurrentPosition() method
DVariableSpeedNative.java76 /*package*/ static native int getCurrentPosition(); in getCurrentPosition() method in VariableSpeedNative
DVariableSpeed.java347 public int getCurrentPosition() { in getCurrentPosition() method in VariableSpeed
357 return VariableSpeedNative.getCurrentPosition(); in getCurrentPosition()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h89 virtual status_t getCurrentPosition(int *p) { in getCurrentPosition() function
90 return mPlayer->getCurrentPosition(p); in getCurrentPosition()
DStagefrightPlayer.h52 virtual status_t getCurrentPosition(int *msec);
DMidiFile.h48 virtual status_t getCurrentPosition(int* msec);
DStagefrightPlayer.cpp118 status_t StagefrightPlayer::getCurrentPosition(int *msec) { in getCurrentPosition() function in android::StagefrightPlayer
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java109 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR); in testMP3CBRGetCurrentPosition()
115 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR); in testMP3VBRGetCurrentPosition()
121 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI); in testMIDIGetCurrentPosition()
127 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR); in testAMRGetCurrentPosition()
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DMediaPlayerProxyTestCase.java204 mPlayer.getCurrentPosition(); in testGetPositionAfterRelease_ShouldFail()
209 assertEquals(0, mPlayer.getCurrentPosition()); in testGetCurrentPosition_ZeroBeforePlaybackBegins()
211 assertEquals(0, mPlayer.getCurrentPosition()); in testGetCurrentPosition_ZeroBeforePlaybackBegins()
219 assertEquals(2000, mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS); in testGetCurrentPosition_DuringPlayback()
228 assertEquals(mPlayer.getDuration(), mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS); in testGetCurrentPosition_FinishedPlaying()
237 assertEquals(3000, mPlayer.getCurrentPosition(), ERROR_TOLERANCE_MILLIS); in testGetCurrentPosition_DuringPlaybackWithSeek()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp106 listener->getCurrentPosition(&positionMs); in onMessageReceived()
144 listener->getCurrentPosition(&positionMs); in onMessageReceived()
279 listener->getCurrentPosition(&positionMs); in delayUsFromCurrentTime()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerGetCurrentPositionStateUnitTest.java56 player.getCurrentPosition(); in invokeMethodUnderTest()
/frameworks/base/core/java/android/webkit/
DHTML5VideoView.java119 public int getCurrentPosition() { in getCurrentPosition() method in HTML5VideoView
121 return mPlayer.getCurrentPosition(); in getCurrentPosition()
DHTML5Audio.java126 int position = mMediaPlayer.getCurrentPosition(); in handleMessage()
181 nativeOnTimeupdate(mp.getCurrentPosition(), mNativePointer); in onSeekComplete()
DHTML5VideoViewProxy.java157 savePosition = mHTML5VideoView.getCurrentPosition(); in enterFullScreenVideo()
265 public static int getCurrentPosition() { in getCurrentPosition() method in HTML5VideoViewProxy.VideoPlayer
268 currentPosMs = mHTML5VideoView.getCurrentPosition(); in getCurrentPosition()
665 msg.arg1 = VideoPlayer.getCurrentPosition(); in sendTimeupdate()
/frameworks/base/core/java/android/widget/
DMediaController.java415 int position = mPlayer.getCurrentPosition(); in setProgress()
612 int pos = mPlayer.getCurrentPosition();
623 int pos = mPlayer.getCurrentPosition();
665 int getCurrentPosition(); in getCurrentPosition() method
DVideoView.java335 (seekToPosition != 0 || getCurrentPosition() > 0)) {
617 public int getCurrentPosition() { in getCurrentPosition() method in VideoView
619 return mMediaPlayer.getCurrentPosition(); in getCurrentPosition()
/frameworks/ex/variablespeed/jni/
Djni_entry.cc70 JNI_METHOD(getCurrentPosition, int) (JNIEnv*, jclass) { in JNI_METHOD() argument
/frameworks/av/include/media/
DIMediaPlayer.h56 virtual status_t getCurrentPosition(int* msec) = 0;
Dmediaplayer.h213 status_t getCurrentPosition(int *msec);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h49 virtual status_t getCurrentPosition(int *msec);
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp80 virtual status_t getCurrentPosition(int *msec) {return OK;} in getCurrentPosition() function in __anon89fc15700111::Player
/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp293 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec()
499 && (OK == mPlayer->getCurrentPosition(&positionMsec))) { in onBufferingUpdate()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPlayer.h110 virtual status_t getCurrentPosition(int *msec);

12