Home
last modified time | relevance | path

Searched refs:positionMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp582 void GenericPlayer::updateOneShot(int positionMs) in updateOneShot() argument
600 if (positionMs < 0) { in updateOneShot()
601 positionMs = ANDROID_UNKNOWN_TIME; in updateOneShot()
603 if (positionMs == ANDROID_UNKNOWN_TIME) { in updateOneShot()
604 getPositionMsec(&positionMs); in updateOneShot()
606 if (positionMs < 0) { in updateOneShot()
607 positionMs = ANDROID_UNKNOWN_TIME; in updateOneShot()
609 if (ANDROID_UNKNOWN_TIME == positionMs) { in updateOneShot()
617 if (mObservedPositionMs != ANDROID_UNKNOWN_TIME && positionMs < mObservedPositionMs) { in updateOneShot()
619 mObservedPositionMs = positionMs; in updateOneShot()
[all …]
Dandroid_GenericPlayer.h196 void updateOneShot(int positionMs = ANDROID_UNKNOWN_TIME);
/frameworks/av/media/libstagefright/timedtext/
DTimedTextPlayer.cpp106 int32_t positionMs = 0; in onMessageReceived() local
107 listener->getCurrentPosition(&positionMs); in onMessageReceived()
108 int64_t seekTimeUs = positionMs * 1000ll; in onMessageReceived()
144 int32_t positionMs = 0; in onMessageReceived() local
145 listener->getCurrentPosition(&positionMs); in onMessageReceived()
146 seekTimeUs = positionMs * 1000ll; in onMessageReceived()
279 int32_t positionMs = 0; in delayUsFromCurrentTime() local
280 listener->getCurrentPosition(&positionMs); in delayUsFromCurrentTime()
281 int64_t positionUs = positionMs * 1000ll; in delayUsFromCurrentTime()
/frameworks/base/services/core/java/com/android/server/audio/
DPlayerRecord.java94 public RccPlaybackState(int state, long positionMs, float speed) { in RccPlaybackState() argument
96 mPositionMs = positionMs; in RccPlaybackState()