Lines Matching refs:driver
142 void NuPlayer::setDriver(const wp<NuPlayerDriver> &driver) {
143 mDriver = driver;
298 sp<NuPlayerDriver> driver = mDriver.promote();
299 if (driver != NULL) {
300 driver->notifySetDataSourceCompleted(OK);
323 sp<NuPlayerDriver> driver = mDriver.promote();
324 if (driver != NULL) {
325 driver->notifyDuration(durationUs);
686 sp<NuPlayerDriver> driver = mDriver.promote();
687 if (driver != NULL) {
688 driver->notifyPosition(positionUs);
690 driver->notifyFrameStats(
1016 sp<NuPlayerDriver> driver = mDriver.promote();
1018 if (driver == NULL) {
1022 driver->notifyListener(msg, ext1, ext2);
1148 sp<NuPlayerDriver> driver = mDriver.promote();
1149 if (driver != NULL) {
1150 driver->notifyPosition(seekTimeUs);
1151 driver->notifySeekComplete();
1216 sp<NuPlayerDriver> driver = mDriver.promote();
1217 if (driver != NULL) {
1218 driver->notifyResetComplete();
1246 sp<NuPlayerDriver> driver = mDriver.promote();
1247 if (driver != NULL) {
1248 driver->notifySetSurfaceComplete();
1270 sp<NuPlayerDriver> driver = mDriver.promote();
1271 if (driver != NULL) {
1272 driver->notifyPrepareCompleted(err);
1277 sp<NuPlayerDriver> driver = mDriver.promote();
1278 if (driver != NULL) {
1279 driver->notifyDuration(durationUs);