Lines Matching refs:hasVideo
1551 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); in onStart() local
1552 if (!hasAudio && !hasVideo) { in onStart()
1569 canOffloadStream(audioMeta, hasVideo, mSource->isStreaming(), streamType) in onStart()
1785 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload() argument
1790 format, true /* offloadOnly */, hasVideo, in tryOpenAudioSinkForOffload()
1870 const bool hasVideo = (videoFormat != NULL); in determineAudioModeChange() local
1872 audioMeta, hasVideo, mSource->isStreaming(), streamType) in determineAudioModeChange()
1886 tryOpenAudioSinkForOffload(audioFormat, audioMeta, hasVideo); in determineAudioModeChange()
1952 const bool hasVideo = (mSource->getFormat(false /*audio */) != NULL); in instantiateDecoder() local
1953 format->setInt32("has-video", hasVideo); in instantiateDecoder()
1955 ALOGV("instantiateDecoder audio DecoderPassThrough hasVideo: %d", hasVideo); in instantiateDecoder()