Lines Matching refs:offloadInfo
3120 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported() argument
3124 offloadInfo.sample_rate, offloadInfo.channel_mask, in isOffloadSupported()
3125 offloadInfo.format, in isOffloadSupported()
3126 offloadInfo.stream_type, offloadInfo.bit_rate, offloadInfo.duration_us, in isOffloadSupported()
3127 offloadInfo.has_video); in isOffloadSupported()
3140 if (offloadInfo.stream_type != AUDIO_STREAM_MUSIC) in isOffloadSupported()
3149 if (offloadInfo.has_video && !allowOffloadWithVideo) { in isOffloadSupported()
3158 if (offloadInfo.duration_us < min_duration_secs * 1000000LL) { in isOffloadSupported()
3163 } else if (offloadInfo.duration_us < OFFLOAD_DEFAULT_MIN_DURATION_SECS * 1000000) { in isOffloadSupported()
3181 offloadInfo.sample_rate, in isOffloadSupported()
3182 offloadInfo.format, in isOffloadSupported()
3183 offloadInfo.channel_mask, in isOffloadSupported()