Home
last modified time | relevance | path

Searched refs:MEDIA_PLAYER_STARTED (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmedia/
Dmediaplayer.cpp304 if (mCurrentState & MEDIA_PLAYER_STARTED) { in start()
311 mCurrentState = MEDIA_PLAYER_STARTED; in start()
335 if ( (mPlayer != 0) && ( mCurrentState & ( MEDIA_PLAYER_STARTED | MEDIA_PLAYER_PREPARED | in stop()
355 if ((mPlayer != 0) && (mCurrentState & MEDIA_PLAYER_STARTED)) { in pause()
375 if ((mCurrentState & MEDIA_PLAYER_STARTED) && ! temp) { in isPlaying()
380 mCurrentState = MEDIA_PLAYER_STARTED; in isPlaying()
400 if (rate.mSpeed != 0.f && !(mCurrentState & MEDIA_PLAYER_STARTED) in setPlaybackSettings()
410 if (rate.mSpeed == 0.f && mCurrentState == MEDIA_PLAYER_STARTED) { in setPlaybackSettings()
415 mCurrentState = MEDIA_PLAYER_STARTED; in setPlaybackSettings()
481 bool isValidState = (mCurrentState & (MEDIA_PLAYER_PREPARED | MEDIA_PLAYER_STARTED | in getDuration_l()
[all …]
/frameworks/av/include/media/
Dmediaplayer.h147 MEDIA_PLAYER_STARTED = 1 << 4, enumerator