Lines Matching refs:Source

248     sp<Source> source;  in setDataSourceAsync()
403 sp<Source> source; in resetAsync()
494 mSource = static_cast<Source *>(obj.get()); in onMessageReceived()
910 if (mSourceFlags & Source::FLAG_DYNAMIC_DURATION) { in onMessageReceived()
1067 if (!audio && mSource != NULL && mSourceFlags & Source::FLAG_SECURE) { in onMessageReceived()
1292 if (!(mSourceFlags & Source::FLAG_SECURE)) { in onInstantiateSecureDecoders()
1437 if (mSource != NULL && mSourceFlags & Source::FLAG_SECURE) { in handleFlushComplete()
1605 if (mSourceFlags & Source::FLAG_SECURE) { in instantiateDecoder()
1609 if (mSourceFlags & Source::FLAG_PROTECTED) { in instantiateDecoder()
1661 if (!audio && (mSourceFlags & Source::FLAG_SECURE)) { in instantiateDecoder()
2103 case Source::kWhatInstantiateSecureDecoders: in onSourceNotify()
2120 case Source::kWhatPrepared: in onSourceNotify()
2156 case Source::kWhatFlagsChanged: in onSourceNotify()
2163 if ((flags & NuPlayer::Source::FLAG_CAN_SEEK) == 0) { in onSourceNotify()
2170 if ((mSourceFlags & Source::FLAG_DYNAMIC_DURATION) in onSourceNotify()
2171 && (!(flags & Source::FLAG_DYNAMIC_DURATION))) { in onSourceNotify()
2173 } else if (!(mSourceFlags & Source::FLAG_DYNAMIC_DURATION) in onSourceNotify()
2174 && (flags & Source::FLAG_DYNAMIC_DURATION) in onSourceNotify()
2183 case Source::kWhatVideoSizeChanged: in onSourceNotify()
2192 case Source::kWhatBufferingUpdate: in onSourceNotify()
2201 case Source::kWhatPauseOnBufferingStart: in onSourceNotify()
2214 case Source::kWhatResumeOnBufferingEnd: in onSourceNotify()
2231 case Source::kWhatCacheStats: in onSourceNotify()
2240 case Source::kWhatSubtitleData: in onSourceNotify()
2249 case Source::kWhatTimedMetaData: in onSourceNotify()
2260 case Source::kWhatTimedTextData: in onSourceNotify()
2293 case Source::kWhatQueueDecoderShutdown: in onSourceNotify()
2306 case Source::kWhatDrmNoLicense: in onSourceNotify()
2415 sp<AMessage> NuPlayer::Source::getFormat(bool audio) { in getFormat()
2430 void NuPlayer::Source::notifyFlagsChanged(uint32_t flags) { in notifyFlagsChanged()
2437 void NuPlayer::Source::notifyVideoSizeChanged(const sp<AMessage> &format) { in notifyVideoSizeChanged()
2444 void NuPlayer::Source::notifyPrepared(status_t err) { in notifyPrepared()
2451 void NuPlayer::Source::notifyInstantiateSecureDecoders(const sp<AMessage> &reply) { in notifyInstantiateSecureDecoders()
2458 void NuPlayer::Source::onMessageReceived(const sp<AMessage> & /* msg */) { in onMessageReceived()