Home | History | Annotate | Download | only in nuplayer

Lines Matching defs:source

2  * Copyright (C) 2012 The Android Open Source Project
55 : Source(notify),
121 // delay data source creation to prepareAsync() to avoid blocking
136 // delay data source creation to prepareAsync() to avoid blocking
141 status_t NuPlayer::GenericSource::setDataSource(const sp<DataSource>& source) {
142 ALOGV("setDataSource (source: %p)", source.get());
145 mDataSource = source;
176 ALOGE("initFromDataSource, source has no track!");
254 // Modular DRM: The return value doesn't affect source initialization.
346 // delayed data source creation
359 ALOGE("Failed to create http source!");
377 sp<IDataSource> source =
380 source.get(), mFd, (long long)mOffset, (long long)mLength);
381 if (source.get() != nullptr) {
382 mDataSource = DataSource::CreateFromIDataSource(source);
389 ALOGW("extractor service cannot make data source");
406 ALOGE("Failed to create data source!");
420 // init extractor from data source
424 ALOGE("Failed to init from data source!");
458 ALOGE("Failed to init start data source!");
541 // disconnect data source
598 const sp<IMediaSource> source = mSources.itemAt(trackIndex);
603 sp<MetaData> meta = source->getFormat();
620 track->mSource = source;
706 Source::onMessageReceived(msg);
839 sp<IMediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource;
841 if (source == NULL) {
845 return source->getFormat();
1122 const sp<IMediaSource> source = mSources.itemAt(trackIndex);
1123 sp<MetaData> meta = source->getFormat();
1222 // If the Widevine source is stopped, do not attempt to read any
1380 // Do not read data if Widevine source is stopped
1513 // formatChange && seeking: track whose source is changed during selection
1514 // formatChange && !seeking: track whose source is not changed during selection
1925 // synchronous call to update the source states before the player proceedes with crypto cleanup
2009 // same source without being reset (called by prepareAsync/initFromDataSource)
2023 return OK; // source without DRM info