Lines Matching refs:driver
223 void NuPlayer::init(const wp<NuPlayerDriver> &driver) { in init() argument
224 mDriver = driver; in init()
567 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local
568 if (driver != NULL) { in onMessageReceived()
569 driver->notifySetDataSourceCompleted(err); in onMessageReceived()
758 sp<NuPlayerDriver> driver = mDriver.promote(); in onMessageReceived() local
759 if (driver != NULL) { in onMessageReceived()
760 driver->notifyDuration(durationUs); in onMessageReceived()
1631 sp<NuPlayerDriver> driver = mDriver.promote(); in updatePlaybackTimer() local
1633 if (driver != NULL) { in updatePlaybackTimer()
1638 driver->notifyMorePlayingTimeUs((played+500)/1000); in updatePlaybackTimer()
1664 sp<NuPlayerDriver> driver = mDriver.promote(); in updateRebufferingTimer() local
1666 if (driver != NULL) { in updateRebufferingTimer()
1671 driver->notifyMoreRebufferingTimeUs((rebuffered+500)/1000); in updateRebufferingTimer()
1673 driver->notifyRebufferingWhenExit(true); in updateRebufferingTimer()
2112 sp<NuPlayerDriver> driver = mDriver.promote(); in notifyListener() local
2114 if (driver == NULL) { in notifyListener()
2118 driver->notifyListener(msg, ext1, ext2, in); in notifyListener()
2382 sp<NuPlayerDriver> driver = mDriver.promote(); in performReset() local
2383 if (driver != NULL) { in performReset()
2384 driver->notifyResetComplete(); in performReset()
2425 sp<NuPlayerDriver> driver = mDriver.promote(); in performSetSurface() local
2426 if (driver != NULL) { in performSetSurface()
2427 driver->notifySetSurfaceComplete(); in performSetSurface()
2465 sp<NuPlayerDriver> driver = mDriver.promote(); in notifyDriverSeekComplete() local
2466 if (driver != NULL) { in notifyDriverSeekComplete()
2467 driver->notifySeekComplete(); in notifyDriverSeekComplete()
2517 sp<NuPlayerDriver> driver = mDriver.promote(); in onSourceNotify() local
2518 if (driver != NULL) { in onSourceNotify()
2523 driver->notifyDuration(durationUs); in onSourceNotify()
2525 driver->notifyPrepareCompleted(err); in onSourceNotify()
2552 sp<NuPlayerDriver> driver = mDriver.promote(); in onSourceNotify() local
2553 if (driver != NULL) { in onSourceNotify()
2568 driver->notifyListener( in onSourceNotify()
2571 driver->notifyFlagsChanged(flags); in onSourceNotify()
2677 sp<NuPlayerDriver> driver = mDriver.promote(); in onSourceNotify() local
2678 if (driver == NULL) { in onSourceNotify()
2684 driver->getCurrentPosition(&posMs); in onSourceNotify()