Home
last modified time | relevance | path

Searched refs:has_audio (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/media/ffmpeg/
Dffmpeg_unittest.cc173 if (has_audio()) { in Flush()
217 EXPECT_TRUE(has_audio()); in StepDecodeAudio()
218 if (!has_audio() || audio_packets_.empty()) { in StepDecodeAudio()
343 bool has_audio() { return audio_stream_index_ >= 0; } in has_audio() function in media::FFmpegTest
438 if (has_audio()) { in TEST_P()
454 if (!has_audio()) { in TEST_P()
500 if (!has_audio() && duration() >= 0.5) { in TEST_P()
526 if (!has_audio()) { in TEST_P()
553 if (has_audio()) { in TEST_P()
/external/chromium_org/chrome/browser/extensions/api/tab_capture/
Dtab_capture_api.cc112 bool has_audio = params->options.audio.get() && *params->options.audio.get(); in RunSync() local
115 if (!has_audio && !has_video) { in RunSync()
120 if (has_audio) { in RunSync()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dmediasession_unittest.cc275 if (options.has_audio) { in TestTransportInfo()
339 options.has_audio = true; in TestCryptoWithBundle()
506 opts.has_audio = true; in TEST_F()
536 opts.has_audio = true; in TEST_F()
545 updated_opts.has_audio = true; in TEST_F()
607 opts.has_audio = false; in TEST_F()
759 opts.has_audio = false; in TEST_F()
1361 opts.has_audio = true; in TEST_F()
1412 opts.has_audio = false; in TEST_F()
1483 opts.has_audio = true; in TEST_F()
[all …]
Dmediasession.h96 has_audio(true), // Audio enabled by default. in MediaSessionOptions()
127 bool has_audio; member
Dmediasession.cc1096 has_audio = true; in AddStreamInternal()
1162 if (options.has_audio) { in CreateOffer()
1346 bool rejected = !options.has_audio || audio_content->rejected || in CreateAnswer()
Dmediasessionclient_unittest.cc1183 options.has_audio = true; in AudioCallOptions()
1193 options.has_audio = true; in VideoCallOptions()
1906 if (options.has_audio) { in TestRejectOffer()
2917 options.has_audio = false; in TEST()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling_unittest.cc201 EXPECT_TRUE(options.has_audio); in VerifyMediaOptions()
585 EXPECT_TRUE(options.has_audio); in TEST_F()
597 EXPECT_TRUE(options.has_audio); in TEST_F()
607 EXPECT_TRUE(options.has_audio); in TEST_F()
620 EXPECT_FALSE(options.has_audio); in TEST_F()
635 EXPECT_TRUE(options.has_audio); in TEST_F()
699 EXPECT_TRUE(answer_options.has_audio); in TEST_F()
708 EXPECT_FALSE(offer_options.has_audio); in TEST_F()
718 EXPECT_TRUE(updated_offer_options.has_audio); in TEST_F()
733 EXPECT_TRUE(updated_answer_options.has_audio); in TEST_F()
[all …]
Dmediastreamsignaling.cc67 options->has_audio |= value; in ParseConstraints()
70 options->has_audio = true; in ParseConstraints()
123 (options.has_audio || options.has_video || options.has_data()); in EvaluateNeedForBundle()
186 options_.has_audio = false; in MediaStreamSignaling()
526 options_.has_audio = true; in UpdateSessionOptions()
Dwebrtcsession_unittest.cc1994 options.has_audio = true; in TEST_F()
2184 options.has_audio = false; in TEST_F()
2837 options.has_audio = true; in TEST_F()
2869 options.has_audio = true; in TEST_F()
2935 options.has_audio = true; in TEST_F()
/external/chromium_org/media/filters/
Dstream_parser_factory.h37 const LogCB& log_cb, bool* has_audio, bool* has_video);
Dstream_parser_factory.cc378 bool* has_audio, in Create() argument
384 *has_audio = false; in Create()
393 *has_audio = !audio_codecs.empty(); in Create()
Dframe_processor_unittest.cc74 const bool has_audio = (stream_flags & HAS_AUDIO) != 0; in AddTestTracks() local
76 ASSERT_TRUE(has_audio || has_video); in AddTestTracks()
78 if (has_audio) { in AddTestTracks()
Dchunk_demuxer_unittest.cc208 bool has_audio = (stream_flags & HAS_AUDIO) != 0; in CreateInitSegmentInternal() local
225 if (has_audio) { in CreateInitSegmentInternal()
287 if (has_audio) { in CreateInitSegmentInternal()
331 bool has_audio = (stream_flags & HAS_AUDIO) != 0; in AddId() local
336 if (has_audio) { in AddId()
346 if (!has_audio && !has_video) { in AddId()
1046 bool has_audio = (i & 0x1) != 0; in TEST_F() local
1052 if ((!has_audio && is_audio_encrypted) || in TEST_F()
1068 if (has_audio) in TEST_F()
1078 if (has_audio) { in TEST_F()
[all …]
Dchunk_demuxer.cc1161 bool has_audio = false; in AddId() local
1165 &has_audio, &has_video)); in AddId()
1170 if ((has_audio && !source_id_audio_.empty()) || in AddId()
1174 if (has_audio) in AddId()
1199 has_audio, in AddId()
/external/chromium_org/media/base/
Dpipeline.h40 PipelineMetadata() : has_audio(false), has_video(false) {} in PipelineMetadata()
42 bool has_audio; member
Dpipeline_unittest.cc423 EXPECT_TRUE(metadata_.has_audio); in TEST_F()
436 EXPECT_FALSE(metadata_.has_audio); in TEST_F()
452 EXPECT_TRUE(metadata_.has_audio); in TEST_F()
466 EXPECT_FALSE(metadata_.has_audio); in TEST_F()
486 EXPECT_TRUE(metadata_.has_audio); in TEST_F()
752 EXPECT_FALSE(metadata_.has_audio); in TEST_F()
773 EXPECT_FALSE(metadata_.has_audio); in TEST_F()
Dpipeline.cc398 metadata.has_audio = audio_renderer_; in StateTransitionTask()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dsessionmessages.cc356 bool has_audio = FindContentInfoByName(contents, CN_AUDIO) != NULL; in ParseGingleTransportInfos() local
360 if (!has_audio && !has_video) { in ParseGingleTransportInfos()
385 if (has_audio && in ParseGingleTransportInfos()
409 if (has_audio) { in ParseGingleTransportInfos()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl.h765 bool has_audio); in NON_EXPORTED_BASE()
Dweb_contents_impl.cc2912 bool has_audio) { in OnMediaPlayingNotification() argument
2923 } else if (has_audio) { in OnMediaPlayingNotification()
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_impl.cc426 return pipeline_metadata_.has_audio; in hasAudio()