/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/ |
before_streaming_fixture.cc | 14 : channel_(voe_base_->CreateChannel()), 16 EXPECT_GE(channel_, 0); 26 voe_file_->StopPlayingFileAsMicrophone(channel_); 29 EXPECT_EQ(0, voe_network_->DeRegisterExternalTransport(channel_)); 30 voe_base_->DeleteChannel(channel_); 35 EXPECT_EQ(0, voe_file_->StopPlayingFileAsMicrophone(channel_)); 44 channel_, fake_microphone_input_file_.c_str(), true, true)); 48 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 49 EXPECT_EQ(0, voe_base_->StopPlayout(channel_)); 50 EXPECT_EQ(0, voe_base_->StopReceive(channel_)); [all...] |
before_streaming_fixture.h | 28 int channel_; member in class:BeforeStreamingFixture
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
rtp_rtcp_before_streaming_test.cc | 21 int channel_; member in class:RtpRtcpBeforeStreamingTest 25 EXPECT_THAT(channel_ = voe_base_->CreateChannel(), Not(Lt(0))); 29 EXPECT_EQ(0, voe_base_->DeleteChannel(channel_)); 35 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 37 EXPECT_EQ(0, voe_rtp_rtcp_->SetRTCPStatus(channel_, false)); 38 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 40 EXPECT_EQ(0, voe_rtp_rtcp_->SetRTCPStatus(channel_, true)); 41 EXPECT_EQ(0, voe_rtp_rtcp_->GetRTCPStatus(channel_, on)); 46 EXPECT_EQ(0, voe_rtp_rtcp_->SetLocalSSRC(channel_, 1234)); 48 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, result)) [all...] |
codec_before_streaming_test.cc | 21 channel_ = voe_base_->CreateChannel(); 25 voe_base_->DeleteChannel(channel_); 29 int channel_; member in class:CodecBeforeStreamingTest 38 EXPECT_NE(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); 43 EXPECT_EQ(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); 45 EXPECT_EQ(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); 53 EXPECT_EQ(0, voe_codec_->SetRecPayloadType(channel_, codec_instance_)); 54 EXPECT_EQ(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)); 58 EXPECT_EQ(0, voe_codec_->SetRecPayloadType(channel_, codec_instance_)); 59 EXPECT_EQ(0, voe_codec_->GetRecPayloadType(channel_, codec_instance_)) [all...] |
dtmf_test.cc | 24 channel_, i, out_of_band, 160, 10)); 51 EXPECT_EQ(0, voe_dtmf_->SendTelephoneEvent(channel_, 32, true)); 52 EXPECT_EQ(0, voe_dtmf_->SendTelephoneEvent(channel_, 110, true)); 67 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 68 EXPECT_EQ(0, voe_base_->StopPlayout(channel_)); 69 EXPECT_EQ(0, voe_base_->StopReceive(channel_)); 70 EXPECT_EQ(0, voe_codec_->SetRecPayloadType(channel_, codec_instance)); 71 EXPECT_EQ(0, voe_base_->StartReceive(channel_)); 72 EXPECT_EQ(0, voe_base_->StartPlayout(channel_)); 73 EXPECT_EQ(0, voe_base_->StartSend(channel_)); [all...] |
video_sync_test.cc | 37 EXPECT_EQ(0, voe_vsync_->GetDelayEstimate(channel_, 77 EXPECT_EQ(-1, voe_vsync_->GetPlayoutTimestamp(channel_, ignored)); 81 EXPECT_EQ(-1, voe_vsync_->SetInitTimestamp(channel_, 12345)); 85 EXPECT_EQ(-1, voe_vsync_->SetInitSequenceNumber(channel_, 123)); 89 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 90 EXPECT_EQ(0, voe_vsync_->SetInitTimestamp(channel_, 12345)); 94 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 95 EXPECT_EQ(0, voe_vsync_->SetInitSequenceNumber(channel_, 123)); 102 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 103 EXPECT_EQ(0, voe_vsync_->SetInitTimestamp(channel_, 12345)) [all...] |
external_media_test.cc | 41 TestRegisterExternalMedia(channel_, webrtc::kRecordingPerChannel); 53 EXPECT_EQ(-1, voe_xmedia_->SetExternalMixing(channel_, true)); 54 EXPECT_EQ(-1, voe_xmedia_->SetExternalMixing(channel_, false)); 60 EXPECT_EQ(-1, voe_xmedia_->GetAudioFrame(channel_, 0, &frame)); 66 ASSERT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, true)); 71 ASSERT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, false)); 82 EXPECT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, true)); 84 EXPECT_EQ(0, voe_xmedia_->GetAudioFrame(channel_, 0, &frame)); 88 EXPECT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, false)); 97 EXPECT_EQ(0, voe_xmedia_->SetExternalMixing(channel_, true)) [all...] |
file_test.cc | 53 channel_, recording_filename.c_str())); 58 EXPECT_EQ(1, voe_file_->IsPlayingFileLocally(channel_)); 65 voe_codec_->GetSendCodec(channel_, send_codec); 72 channel_, recording_filename.c_str(), &send_codec)); 74 EXPECT_EQ(0, voe_file_->StopRecordingPlayout(channel_)); 78 channel_, recording_filename.c_str(), true, false, 82 EXPECT_EQ(1, voe_file_->IsPlayingFileAsMicrophone(channel_)); 85 EXPECT_EQ(1, voe_file_->IsPlayingFileAsMicrophone(channel_));
|
codec_test.cc | 29 EXPECT_EQ(0, voe_codec_->SetSendCodec(channel_, codec_instance_)); 52 EXPECT_EQ(0, voe_codec_->GetSendCodec(channel_, codec_instance_)); 66 voe_codec_->GetVADStatus(channel_, vad_enabled, vad_mode, dtx_disabled); 74 EXPECT_EQ(0, voe_codec_->SetVADStatus(channel_, true)); 80 voe_codec_->GetVADStatus(channel_, vad_enabled, vad_mode, dtx_disabled); 93 channel_, true, webrtc::kVadAggressiveLow, false)); 95 channel_, vad_enabled, vad_mode, dtx_disabled)); 100 channel_, true, webrtc::kVadAggressiveMid, false)); 102 channel_, vad_enabled, vad_mode, dtx_disabled)); 108 EXPECT_EQ(0, voe_codec_->SetVADStatus(channel_, true [all...] |
file_before_streaming_test.cc | 32 channel_ = voe_base_->CreateChannel(); 36 voe_base_->DeleteChannel(channel_); 91 int channel_; member in class:FileBeforeStreamingTest 107 channel_, input_filename_.c_str(), true)); 108 EXPECT_EQ(1, voe_file_->IsPlayingFileLocally(channel_)); 113 EXPECT_EQ(0, voe_base_->StartPlayout(channel_)); 118 EXPECT_EQ(0, voe_file_->StopPlayingFileLocally(channel_)); 119 EXPECT_EQ(0, voe_file_->IsPlayingFileLocally(channel_)); 125 channel_, input_filename_.c_str(), true)); 126 EXPECT_EQ(1, voe_file_->IsPlayingFileLocally(channel_)); [all...] |
rtp_rtcp_test.cc | 76 voe_rtp_rtcp_->SetRTCP_CNAME(channel_, RTCP_CNAME); 100 voe_rtp_rtcp_->GetRemoteRTCP_CNAME(channel_, char_buffer); 106 EXPECT_EQ(0, voe_base_->StopSend(channel_)); 107 EXPECT_EQ(0, voe_rtp_rtcp_->SetLocalSSRC(channel_, local_ssrc)); 108 EXPECT_EQ(0, voe_base_->StartSend(channel_)); 113 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, ssrc)); 116 EXPECT_EQ(0, voe_rtp_rtcp_->GetRemoteSSRC(channel_, ssrc));
|
rtp_rtcp_extensions.cc | 96 EXPECT_EQ(0, voe_network_->DeRegisterExternalTransport(channel_)); 97 EXPECT_EQ(0, voe_network_->RegisterExternalTransport(channel_, 112 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAudioLevelIndicationStatus(channel_, true, 127 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAbsoluteSenderTimeStatus(channel_, true, 135 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAudioLevelIndicationStatus(channel_, true, 137 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAbsoluteSenderTimeStatus(channel_, true, 146 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAbsoluteSenderTimeStatus(channel_, true, 148 EXPECT_EQ(0, voe_rtp_rtcp_->SetSendAudioLevelIndicationStatus(channel_, true,
|
volume_test.cc | 53 bool success = voe_volume_control_->SetInputMute(channel_, enable) == 0; 63 success = voe_volume_control_->GetInputMute(channel_, is_muted) == 0; 92 EXPECT_EQ(-1, voe_volume_control_->SetOutputVolumePan(channel_, -0.1f, 0.5f)); 93 EXPECT_EQ(-1, voe_volume_control_->SetOutputVolumePan(channel_, 1.1f, 0.5f)); 94 EXPECT_EQ(-1, voe_volume_control_->SetOutputVolumePan(channel_, 0.5f, -0.1f)); 95 EXPECT_EQ(-1, voe_volume_control_->SetOutputVolumePan(channel_, 0.5f, 1.1f)); 208 channel_, scaling)); 214 channel_, 0.1f)); 218 channel_, scaling)); 228 EXPECT_EQ(0, voe_volume_control_->GetInputMute(channel_, is_muted)) [all...] |
/external/webrtc/talk/media/base/ |
videoengine_unittest.h | 145 channel_.reset( 147 EXPECT_TRUE(channel_.get() != NULL); 148 network_interface_.SetDestination(channel_.get()); 149 channel_->SetInterface(&network_interface_); 153 channel_->SetRecvParameters(parameters); 154 EXPECT_TRUE(channel_->AddSendStream(DefaultSendStreamParams())); 160 EXPECT_TRUE(channel_->SetCapturer(kSsrc, video_capturer_.get())); 172 EXPECT_TRUE(channel_->AddRecvStream( 175 EXPECT_TRUE(channel_->SetRenderer(kSsrc + 2, &renderer2_)); 181 EXPECT_TRUE(channel_->AddRecvStream 1489 rtc::scoped_ptr<C> channel_; member in class:VideoMediaChannelTest [all...] |
/external/libmojo/mojo/edk/system/ |
broker_host_posix.cc | 36 channel_ = Channel::Create(this, std::move(platform_handle), 38 channel_->Start(); 45 if (channel_) 46 channel_->ShutDown(); 51 CHECK(channel_); 60 channel_->Write(std::move(message)); 86 channel_->Write(std::move(message)); 116 if (channel_) { 117 channel_->ShutDown(); 118 channel_ = nullptr [all...] |
broker_host.h | 40 scoped_refptr<Channel> channel_; member in class:mojo::edk::BrokerHost
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_output_test.cc | 72 int channel_; member in class:voetest::OutputTest 86 channel_ = base->CreateChannel(); 90 new VoiceChannelTransport(network, channel_); 95 EXPECT_EQ(0, codec->SetSendCodec(channel_, kCodecInst)); 96 EXPECT_EQ(0, codec->SetOpusDtx(channel_, true)); 101 channel_, ProcessingTypes::kPlaybackPerChannel, output_checker_); 105 EXPECT_EQ(0, manager_.NetworkPtr()->DeRegisterExternalTransport(channel_)); 115 channel_, file_name.c_str(), true, false, kInputFormat, 1.0)); 118 ASSERT_EQ(0, base->StartPlayout(channel_)); 119 ASSERT_EQ(0, base->StartSend(channel_)); [all...] |
/external/webrtc/webrtc/p2p/base/ |
transport_unittest.cc | 37 : transport_(new FakeTransport("test content name")), channel_(NULL) {} 42 channel_ = CreateChannel(1); 43 return (channel_ != NULL); 51 channel_ = NULL; 56 FakeTransportChannel* channel_; member in class:TransportTest 71 EXPECT_EQ(cricket::ICEROLE_CONTROLLING, channel_->GetIceRole()); 72 EXPECT_EQ(cricket::ICEMODE_FULL, channel_->remote_ice_mode()); 73 EXPECT_EQ(kIceUfrag1, channel_->ice_ufrag()); 74 EXPECT_EQ(kIcePwd1, channel_->ice_pwd()); 80 EXPECT_EQ(cricket::ICEROLE_CONTROLLING, channel_->GetIceRole()) [all...] |
dtlstransportchannel.h | 48 TransportChannel* channel_; // owned by DtlsTransportChannelWrapper member in class:cricket::StreamInterfaceChannel 64 // TransportChannelImpl* channel_; 70 // channel_ via OnReadPacket() is checked for whether it is DTLS 77 // downward_ or directly to channel_, depending on whether DTLS is 81 // which translates it into packet writes on channel_. 91 void SetIceRole(IceRole role) override { channel_->SetIceRole(role); } 92 IceRole GetIceRole() const override { return channel_->GetIceRole(); } 113 return channel_->SetOption(opt, value); 116 return channel_->GetOption(opt, value); 118 int GetError() override { return channel_->GetError(); 224 TransportChannelImpl* const channel_; member in class:cricket::DtlsTransportChannelWrapper [all...] |
dtlstransportchannel.cc | 45 : channel_(channel), 71 // TODO: Should this block if channel_'s temporarily unwritable? 73 channel_->SendPacket(static_cast<const char*>(data), data_len, 97 channel_(channel), 101 channel_->SignalWritableState.connect(this, 103 channel_->SignalReadPacket.connect(this, 105 channel_->SignalSentPacket.connect( 107 channel_->SignalReadyToSend.connect(this, 109 channel_->SignalGatheringState.connect( 111 channel_->SignalCandidateGathered.connect [all...] |
/external/webrtc/webrtc/test/channel_transport/ |
channel_transport.cc | 31 : channel_(channel), 45 voe_network_->DeRegisterExternalTransport(channel_); 55 channel_, incoming_rtp_packet, packet_length, PacketTime()); 63 voe_network_->ReceivedRTCPPacket(channel_, incoming_rtcp_packet,
|
/external/ImageMagick/Magick++/lib/Magick++/ |
Statistic.h | 65 ChannelMoments(const PixelChannel channel_, 91 ChannelPerceptualHash(const PixelChannel channel_, 120 ChannelPerceptualHash(const PixelChannel channel_, 197 ChannelStatistics(const PixelChannel channel_, 232 ChannelMoments channel(const PixelChannel channel_) const; 263 ChannelPerceptualHash channel(const PixelChannel channel_) const; 295 ChannelStatistics channel(const PixelChannel channel_) const;
|
/external/webrtc/webrtc/tools/agc/ |
agc_harness.cc | 93 channel_(-1), 118 channel_ = base_->CreateChannel(); 119 RTC_CHECK_NE(-1, channel_); 122 new test::VoiceChannelTransport(network, channel_)); 140 RTC_CHECK_EQ(0, codec_->SetSendCodec(channel_, codec_params)); 149 RTC_CHECK_EQ(0, base_->DeleteChannel(channel_)); 185 void StartSending() { RTC_CHECK_EQ(0, base_->StartSend(channel_)); } 191 volume->SetOutputVolumePan(channel_, 1, 0); 193 volume->SetOutputVolumePan(channel_, 0, 1); 198 0, file->StartPlayingFileLocally(channel_, filename.c_str(), true 217 int channel_; member in class:webrtc::__anon37517::AgcVoiceEngine [all...] |
/external/webrtc/talk/media/webrtc/ |
webrtcvoiceengine_unittest.cc | 80 channel_(nullptr) { 88 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); 89 return (channel_ != nullptr); 95 return channel_->AddRecvStream( 102 return channel_->AddSendStream( 109 EXPECT_TRUE(channel_->RemoveSendStream(kSsrc1)); 115 channel_->OnPacketReceived(&packet, rtc::PacketTime()); 118 delete channel_; 142 channel_ = engine_.CreateChannel(&call_, cricket::AudioOptions()); 143 EXPECT_TRUE(channel_ != nullptr) 399 cricket::VoiceMediaChannel* channel_; member in class:WebRtcVoiceEngineTestFake [all...] |
webrtcvideoengine2_unittest.cc | 1099 rtc::scoped_ptr<VideoMediaChannel> channel_; member in class:cricket::WebRtcVideoChannel2Test 3313 rtc::scoped_ptr<VideoMediaChannel> channel_; member in class:cricket::WebRtcVideoChannel2SimulcastTest [all...] |