Lines Matching refs:srcId
431 void NuPlayer2::playNextDataSource(int64_t srcId) { in playNextDataSource() argument
435 msg->setInt64("srcId", srcId); in playNextDataSource()
702 int64_t srcId; in onMessageReceived() local
703 CHECK(msg->findInt64("srcId", &srcId)); in onMessageReceived()
704 if (srcId != mNextSourceInfo.mSrcId) { in onMessageReceived()
705 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, 0); in onMessageReceived()
796 int64_t srcId; in onMessageReceived() local
797 CHECK(msg->findInt64("srcId", (int64_t*)&srcId)); in onMessageReceived()
833 int64_t srcId; in onMessageReceived() local
834 CHECK(msg->findInt64("srcId", (int64_t*)&srcId)); in onMessageReceived()
876 int64_t srcId; in onMessageReceived() local
880 CHECK(msg->findInt64("srcId", (int64_t*)&srcId)); in onMessageReceived()
2180 int64_t srcId, in updateVideoSize() argument
2185 notifyListener(srcId, MEDIA2_SET_VIDEO_SIZE, 0, 0); in updateVideoSize()
2264 srcId, in updateVideoSize()
2271 int64_t srcId, int msg, int ext1, int ext2, const PlayerMessage *in) { in notifyListener() argument
2282 driver->notifyListener(srcId, msg, ext1, ext2, in); in notifyListener()
2355 status_t NuPlayer2::getTrackInfo(int64_t srcId, PlayerMessage* reply) const { in getTrackInfo() argument
2357 msg->setInt64("srcId", srcId); in getTrackInfo()
2365 status_t NuPlayer2::getSelectedTrack(int64_t srcId, int32_t type, PlayerMessage* reply) const { in getSelectedTrack() argument
2368 msg->setInt64("srcId", srcId); in getSelectedTrack()
2379 status_t NuPlayer2::selectTrack(int64_t srcId, size_t trackIndex, bool select, int64_t timeUs) { in selectTrack() argument
2381 msg->setInt64("srcId", srcId); in selectTrack()
2678 void NuPlayer2::notifyDriverSeekComplete(int64_t srcId) { in notifyDriverSeekComplete() argument
2682 driver->notifySeekComplete(srcId); in notifyDriverSeekComplete()
2691 int64_t srcId; in onSourceNotify() local
2692 CHECK(msg->findInt64("srcId", &srcId)); in onSourceNotify()
2697 mCurrentSourceInfo.mSource.get(), (long long)srcId); in onSourceNotify()
2698 if (srcId == mCurrentSourceInfo.mSrcId) { in onSourceNotify()
2725 driver->notifyDuration(srcId, durationUs); in onSourceNotify()
2727 driver->notifyPrepareCompleted(srcId, err); in onSourceNotify()
2729 } else if (srcId == mNextSourceInfo.mSrcId) { in onSourceNotify()
2738 driver->notifyPrepareCompleted(srcId, err); in onSourceNotify()
2756 notifyListener(srcId, MEDIA2_DRM_INFO, 0 /* ext1 */, 0 /* ext2 */, &playerMsg); in onSourceNotify()
2783 srcId, MEDIA2_INFO, MEDIA2_INFO_NOT_SEEKABLE, 0); in onSourceNotify()
2785 if (srcId == mCurrentSourceInfo.mSrcId) { in onSourceNotify()
2786 driver->notifyFlagsChanged(srcId, flags); in onSourceNotify()
2790 if (srcId == mCurrentSourceInfo.mSrcId) { in onSourceNotify()
2801 } else if (srcId == mNextSourceInfo.mSrcId) { in onSourceNotify()
2813 updateVideoSize(srcId, format); in onSourceNotify()
2822 notifyListener(srcId, MEDIA2_BUFFERING_UPDATE, percentage, 0); in onSourceNotify()
2836 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_BUFFERING_START, 0); in onSourceNotify()
2854 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_BUFFERING_END, 0); in onSourceNotify()
2863 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_NETWORK_BANDWIDTH, kbps); in onSourceNotify()
2880 notifyListener(srcId, MEDIA2_INFO, MEDIA2_INFO_METADATA_UPDATE, 0); in onSourceNotify()
2935 notifyListener(srcId, MEDIA2_ERROR, MEDIA2_ERROR_UNKNOWN, ERROR_DRM_NO_LICENSE); in onSourceNotify()
3061 int64_t srcId; in getSourceInfoByIdInMsg() local
3062 CHECK(msg->findInt64("srcId", &srcId)); in getSourceInfoByIdInMsg()
3063 if (mCurrentSourceInfo.mSrcId == srcId) { in getSourceInfoByIdInMsg()
3065 } else if (mNextSourceInfo.mSrcId == srcId) { in getSourceInfoByIdInMsg()
3087 int64_t srcId, const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId) in prepareDrm() argument
3097 msg->setInt64("srcId", srcId); in prepareDrm()
3114 status_t NuPlayer2::releaseDrm(int64_t srcId) in releaseDrm() argument
3119 msg->setInt64("srcId", srcId); in releaseDrm()
3145 int64_t srcId = srcInfo->mSrcId; in onPrepareDrm() local
3148 (long long)srcId, status); in onPrepareDrm()
3163 (long long)srcId, status); in onPrepareDrm()
3166 ALOGV("onPrepareDrm: srcInfo(%lld).mSource->prepareDrm succeeded", (long long)srcId); in onPrepareDrm()
3170 (long long)srcId, srcInfo->mCrypto.get()); in onPrepareDrm()
3191 int64_t srcId = srcInfo->mSrcId; in onReleaseDrm() local
3194 (long long)srcId); in onReleaseDrm()