Lines Matching refs:srcId
426 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
430 msg->setInt64("srcId", srcId); in playNextDataSource()
689 int64_t srcId; in onMessageReceived() local
690 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
691 if (srcId != mNextSrcId) { in onMessageReceived()
692 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, 0); in onMessageReceived()
2059 int64_t srcId, in updateVideoSize() argument
2064 notifyListener(srcId, MEDIA2_SET_VIDEO_SIZE, 0, 0); in updateVideoSize()
2143 srcId, in updateVideoSize()
2149 void NuPlayer2::notifyListener(int64_t srcId, int msg, int ext1, int ext2, const Parcel *in) { in notifyListener() argument
2160 driver->notifyListener(srcId, msg, ext1, ext2, in); in notifyListener()
2564 void NuPlayer2::notifyDriverSeekComplete(int64_t srcId) { in notifyDriverSeekComplete() argument
2568 driver->notifySeekComplete(srcId); in notifyDriverSeekComplete()
2577 int64_t srcId; in onSourceNotify() local
2578 CHECK(msg->findInt64("srcId", &srcId)); in onSourceNotify()
2609 driver->notifyDuration(srcId, durationUs); in onSourceNotify()
2611 driver->notifyPrepareCompleted(srcId, err); in onSourceNotify()
2628 notifyListener(srcId, MEDIA2_DRM_INFO, 0 /* ext1 */, 0 /* ext2 */, &parcel); in onSourceNotify()
2655 srcId, MEDIA2_INFO, MEDIA2_INFO_NOT_SEEKABLE, 0); in onSourceNotify()
2657 driver->notifyFlagsChanged(srcId, flags); in onSourceNotify()
2678 updateVideoSize(srcId, format); in onSourceNotify()
2687 notifyListener(srcId, MEDIA2_BUFFERING_UPDATE, percentage, 0); in onSourceNotify()
2701 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_BUFFERING_START, 0); in onSourceNotify()
2719 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_BUFFERING_END, 0); in onSourceNotify()
2728 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_NETWORK_BANDWIDTH, kbps); in onSourceNotify()
2745 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_METADATA_UPDATE, 0); in onSourceNotify()
2800 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, ERROR_DRM_NO_LICENSE); in onSourceNotify()