Lines Matching refs:srcId

212 status_t NuPlayer2Driver::playNextDataSource(int64_t srcId) {  in playNextDataSource()  argument
216 mSrcId = srcId; in playNextDataSource()
217 mPlayer->playNextDataSource(srcId); in playNextDataSource()
612 int64_t srcId = (it++)->int64_value(); in invoke() local
613 return mPlayer->getTrackInfo(srcId, response); in invoke()
618 int64_t srcId = (it++)->int64_value(); in invoke() local
623 return mPlayer->selectTrack(srcId, trackIndex, true /* select */, msec * 1000LL); in invoke()
628 int64_t srcId = (it++)->int64_value(); in invoke() local
631 srcId, trackIndex, false /* select */, 0xdeadbeef /* not used */); in invoke()
636 int64_t srcId = (it++)->int64_value(); in invoke() local
638 return mPlayer->getSelectedTrack(srcId, type, response); in invoke()
710 void NuPlayer2Driver::notifySeekComplete(int64_t srcId) { in notifySeekComplete() argument
714 notifyListener_l(srcId, MEDIA2_SEEK_COMPLETE); in notifySeekComplete()
797 int64_t srcId; in onMessageReceived() local
801 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
810 sendEvent(srcId, msgId, ext1, ext2, (in == NULL ? NULL : in->getPlayerMessage())); in onMessageReceived()
819 int64_t srcId, int msg, int ext1, int ext2, const PlayerMessage *in) { in notifyListener() argument
821 notifyListener_l(srcId, msg, ext1, ext2, in); in notifyListener()
825 int64_t srcId, int msg, int ext1, int ext2, const PlayerMessage *in) { in notifyListener_l() argument
827 this, (long long)srcId, msg, ext1, ext2, in notifyListener_l()
829 if (srcId == mSrcId) { in notifyListener_l()
853 notify->setInt64("srcId", srcId); in notifyListener_l()
891 notify->setInt64("srcId", srcId); in notifyListener_l()
909 void NuPlayer2Driver::notifyPrepareCompleted(int64_t srcId, status_t err) { in notifyPrepareCompleted() argument
914 if (srcId != mSrcId) { in notifyPrepareCompleted()
916 notifyListener_l(srcId, MEDIA2_PREPARED); in notifyPrepareCompleted()
918 notifyListener_l(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, err); in notifyPrepareCompleted()
939 notifyListener_l(srcId, MEDIA2_PREPARED); in notifyPrepareCompleted()
942 notifyListener_l(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, err); in notifyPrepareCompleted()
963 int64_t srcId, const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
968 status_t ret = mPlayer->prepareDrm(srcId, uuid, drmSessionId); in prepareDrm()
975 status_t NuPlayer2Driver::releaseDrm(int64_t srcId) in releaseDrm() argument
980 status_t ret = mPlayer->releaseDrm(srcId); in releaseDrm()