Home
last modified time | relevance | path

Searched refs:getCurrentPosition (Results 1 – 25 of 45) 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.java98 public synchronized int getCurrentPosition() { in getCurrentPosition() method in SingleThreadedMediaPlayerProxy
99 return mDelegate.getCurrentPosition(); in getCurrentPosition()
DMediaPlayerProxy.java47 int getCurrentPosition(); in getCurrentPosition() method
DVariableSpeedNative.java76 /*package*/ static native int getCurrentPosition(); in getCurrentPosition() method in VariableSpeedNative
DVariableSpeed.java354 public int getCurrentPosition() { in getCurrentPosition() method in VariableSpeed
364 return VariableSpeedNative.getCurrentPosition(); in getCurrentPosition()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h91 virtual status_t getCurrentPosition(int *p) { in getCurrentPosition() function
92 return mPlayer->getCurrentPosition(p); in getCurrentPosition()
DStagefrightPlayer.h54 virtual status_t getCurrentPosition(int *msec);
DMidiFile.h50 virtual status_t getCurrentPosition(int* msec);
DStagefrightPlayer.cpp120 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/support/v4/java/android/support/v4/media/
DTransportController.java60 public abstract long getCurrentPosition(); in getCurrentPosition() method in TransportController
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp107 listener->getCurrentPosition(&positionMs); in onMessageReceived()
145 listener->getCurrentPosition(&positionMs); in onMessageReceived()
280 listener->getCurrentPosition(&positionMs); in delayUsFromCurrentTime()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp318 getCurrentPosition(&msec); in pause()
381 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() function in android::NuPlayerDriver
392 status_t ret = mPlayer->getCurrentPosition(&tempUs); in getCurrentPosition()
501 getCurrentPosition(&msec); in invoke()
DNuPlayerDriver.h51 virtual status_t getCurrentPosition(int *msec);
DNuPlayer.h69 status_t getCurrentPosition(int64_t *mediaUs);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerGetCurrentPositionStateUnitTest.java56 player.getCurrentPosition(); in invokeMethodUnderTest()
/frameworks/base/core/java/android/widget/
DMediaController.java431 int position = mPlayer.getCurrentPosition(); in setProgress()
642 int pos = mPlayer.getCurrentPosition();
653 int pos = mPlayer.getCurrentPosition();
695 int getCurrentPosition(); in getCurrentPosition() method
DVideoView.java463 (seekToPosition != 0 || getCurrentPosition() > 0)) {
760 public int getCurrentPosition() { in getCurrentPosition() method in VideoView
762 return mMediaPlayer.getCurrentPosition(); in getCurrentPosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlGlue.java433 int position = getCurrentPosition();
532 mControlsRow.setCurrentTime(getCurrentPosition());
731 public abstract int getCurrentPosition();
/frameworks/ex/variablespeed/jni/
Djni_entry.cc70 JNI_METHOD(getCurrentPosition, jint) (JNIEnv*, jclass) { in JNI_METHOD() argument
/frameworks/av/include/media/
DIMediaPlayer.h60 virtual status_t getCurrentPosition(int* msec) = 0;
Dmediaplayer.h226 status_t getCurrentPosition(int *msec);
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp82 virtual status_t getCurrentPosition(int *msec) {return OK;} in getCurrentPosition() function in __anon7d49da810111::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()

12