Home
last modified time | relevance | path

Searched refs:mediaClock (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaSync.cpp280 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_native_getTimestamp() local
281 if (mediaClock == NULL) { in android_media_MediaSync_native_getTimestamp()
287 if (mediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in android_media_MediaSync_native_getTimestamp()
296 (jfloat)mediaClock->getPlaybackRate()); in android_media_MediaSync_native_getTimestamp()
358 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_setPlaybackParams() local
359 if (mediaClock == NULL) { in android_media_MediaSync_setPlaybackParams()
363 return (jfloat)mediaClock->getPlaybackRate(); in android_media_MediaSync_setPlaybackParams()
432 sp<const MediaClock> mediaClock = sync->getMediaClock(); in android_media_MediaSync_setSyncParams() local
433 if (mediaClock == NULL) { in android_media_MediaSync_setSyncParams()
437 return (jfloat)mediaClock->getPlaybackRate(); in android_media_MediaSync_setSyncParams()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.h47 const sp<MediaClock> &mediaClock);
DNuPlayerRenderer.h39 const sp<MediaClock> &mediaClock,
DNuPlayer.h38 explicit NuPlayer(pid_t pid, const sp<MediaClock> &mediaClock);
DGenericSource.cpp58 const sp<MediaClock> &mediaClock) in GenericSource() argument
77 mMediaClock(mediaClock), in GenericSource()
82 CHECK(mediaClock != NULL); in GenericSource()
DNuPlayerRenderer.cpp112 const sp<MediaClock> &mediaClock, in Renderer() argument
127 mMediaClock(mediaClock), in Renderer()
156 CHECK(mediaClock != NULL); in Renderer()
DNuPlayer.cpp176 NuPlayer::NuPlayer(pid_t pid, const sp<MediaClock> &mediaClock) in NuPlayer() argument
179 mMediaClock(mediaClock), in NuPlayer()
211 CHECK(mediaClock != NULL); in NuPlayer()