Home
last modified time | relevance | path

Searched refs:ANDROID_UNKNOWN_TIME (Results 1 – 8 of 8) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp34 mDurationMsec(ANDROID_UNKNOWN_TIME), in GenericPlayer()
41 mMarkerPositionMs(ANDROID_UNKNOWN_TIME), in GenericPlayer()
44 mDeliveredNewPosMs(ANDROID_UNKNOWN_TIME), in GenericPlayer()
45 mObservedPositionMs(ANDROID_UNKNOWN_TIME) in GenericPlayer()
170 if (timeMsec < 0 && timeMsec != ANDROID_UNKNOWN_TIME) { in seek()
251 markerPositionMs = ANDROID_UNKNOWN_TIME; in setPlayEvents()
254 positionUpdatePeriodMs = ANDROID_UNKNOWN_TIME; in setPlayEvents()
493 mDeliveredNewPosMs = ANDROID_UNKNOWN_TIME; in onSeekComplete()
494 mObservedPositionMs = ANDROID_UNKNOWN_TIME; in onSeekComplete()
601 positionMs = ANDROID_UNKNOWN_TIME; in updateOneShot()
[all …]
Dandroid_AudioSfDecoder.cpp49 mDurationUsec(ANDROID_UNKNOWN_TIME), in AudioSfDecoder()
94 if (timeUsec == ANDROID_UNKNOWN_TIME) { in getPositionMsec()
95 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec()
298 mDurationUsec = ANDROID_UNKNOWN_TIME; in onPrepare()
299 durationMsec = ANDROID_UNKNOWN_TIME; in onPrepare()
485 assert(mSeekTimeMsec != ANDROID_UNKNOWN_TIME); in onDecode()
489 int64_t timeUsec = ANDROID_UNKNOWN_TIME; in onDecode()
505 timeUsec = ANDROID_UNKNOWN_TIME; in onDecode()
518 mSeekTimeMsec = ANDROID_UNKNOWN_TIME; in onDecode()
520 if (timeUsec != ANDROID_UNKNOWN_TIME) { in onDecode()
[all …]
Dandroid_GenericMediaPlayer.cpp297 *msec = ANDROID_UNKNOWN_TIME; in getPositionMsec()
397 int64_t timeMsec = ANDROID_UNKNOWN_TIME; in onSeek()
403 (timeMsec != ANDROID_UNKNOWN_TIME)) { in onSeek()
416 if (timeMsec == ANDROID_UNKNOWN_TIME) { in onSeek()
422 mSeekTimeMsec = ANDROID_UNKNOWN_TIME; in onSeek()
Dandroid_defs.h126 #define ANDROID_UNKNOWN_TIME (-1) macro
DMediaPlayer_to_android.cpp530 int dur = ANDROID_UNKNOWN_TIME; in android_Player_getDuration()
534 if (dur == ANDROID_UNKNOWN_TIME) { in android_Player_getDuration()
562 int pos = ANDROID_UNKNOWN_TIME; in android_Player_getPosition()
566 if (pos == ANDROID_UNKNOWN_TIME) { in android_Player_getPosition()
Dandroid_GenericPlayer.h196 void updateOneShot(int positionMs = ANDROID_UNKNOWN_TIME);
Dandroid_StreamPlayer.cpp190 player->seek(ANDROID_UNKNOWN_TIME); in pullFromBuffQueue()
DAudioPlayer_to_android.cpp2366 int32_t durationMsec = ANDROID_UNKNOWN_TIME; in android_audioPlayer_getDuration()
2370 *pDurMsec = durationMsec == ANDROID_UNKNOWN_TIME ? SL_TIME_UNKNOWN : durationMsec; in android_audioPlayer_getDuration()
2405 int32_t posMsec = ANDROID_UNKNOWN_TIME; in android_audioPlayer_getPosition()
2409 *pPosMsec = posMsec == ANDROID_UNKNOWN_TIME ? 0 : posMsec; in android_audioPlayer_getPosition()