Lines Matching refs:player
260 sp<IMediaPlayer> player; in preDestroy() local
261 getPreparedPlayer(player); in preDestroy()
262 if (player != NULL) { in preDestroy()
263 player->stop(); in preDestroy()
267 player->setVideoSurfaceTexture(NULL); in preDestroy()
268 player->disconnect(); in preDestroy()
290 sp<IMediaPlayer> player; in getPositionMsec() local
291 getPreparedPlayer(player); in getPositionMsec()
293 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec()
315 sp<IMediaPlayer> player; in setPlaybackRate() local
316 getPreparedPlayer(player); in setPlaybackRate()
317 if (player != 0) { in setPlaybackRate()
320 player->setParameter(KEY_PARAMETER_PLAYBACK_RATE_PERMILLE, rateParcel); in setPlaybackRate()