Lines Matching refs:player
263 sp<IMediaPlayer> player; in preDestroy() local
264 getPreparedPlayer(player); in preDestroy()
265 if (player != NULL) { in preDestroy()
266 player->stop(); in preDestroy()
270 player->setVideoSurfaceTexture(NULL); in preDestroy()
271 player->disconnect(); in preDestroy()
293 sp<IMediaPlayer> player; in getPositionMsec() local
294 getPreparedPlayer(player); in getPositionMsec()
296 if (player == 0 || player->getCurrentPosition(msec) != NO_ERROR) { in getPositionMsec()
318 sp<IMediaPlayer> player; in setPlaybackRate() local
319 getPreparedPlayer(player); in setPlaybackRate()
320 if (player != 0) { in setPlaybackRate()
323 player->setParameter(KEY_PARAMETER_PLAYBACK_RATE_PERMILLE, rateParcel); in setPlaybackRate()