Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: webrtc/test/mock_voice_engine.h

Issue 2744953003: Remove VoENetEqStats interface. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/voice_engine/BUILD.gn » ('j') | webrtc/voice_engine/channel.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 MOCK_CONST_METHOD1(RecordingSampleRate, int(unsigned int* samples_per_sec)); 189 MOCK_CONST_METHOD1(RecordingSampleRate, int(unsigned int* samples_per_sec));
190 MOCK_METHOD1(SetPlayoutSampleRate, int(unsigned int samples_per_sec)); 190 MOCK_METHOD1(SetPlayoutSampleRate, int(unsigned int samples_per_sec));
191 MOCK_CONST_METHOD1(PlayoutSampleRate, int(unsigned int* samples_per_sec)); 191 MOCK_CONST_METHOD1(PlayoutSampleRate, int(unsigned int* samples_per_sec));
192 MOCK_CONST_METHOD0(BuiltInAECIsAvailable, bool()); 192 MOCK_CONST_METHOD0(BuiltInAECIsAvailable, bool());
193 MOCK_METHOD1(EnableBuiltInAEC, int(bool enable)); 193 MOCK_METHOD1(EnableBuiltInAEC, int(bool enable));
194 MOCK_CONST_METHOD0(BuiltInAGCIsAvailable, bool()); 194 MOCK_CONST_METHOD0(BuiltInAGCIsAvailable, bool());
195 MOCK_METHOD1(EnableBuiltInAGC, int(bool enable)); 195 MOCK_METHOD1(EnableBuiltInAGC, int(bool enable));
196 MOCK_CONST_METHOD0(BuiltInNSIsAvailable, bool()); 196 MOCK_CONST_METHOD0(BuiltInNSIsAvailable, bool());
197 MOCK_METHOD1(EnableBuiltInNS, int(bool enable)); 197 MOCK_METHOD1(EnableBuiltInNS, int(bool enable));
198 198
199 // VoENetEqStats
200 MOCK_METHOD2(GetNetworkStatistics,
201 int(int channel, NetworkStatistics& stats));
202 MOCK_CONST_METHOD2(GetDecodingCallStatistics,
203 int(int channel, AudioDecodingCallStats* stats));
204
205 // VoENetwork 199 // VoENetwork
206 MOCK_METHOD2(RegisterExternalTransport, 200 MOCK_METHOD2(RegisterExternalTransport,
207 int(int channel, Transport& transport)); 201 int(int channel, Transport& transport));
208 MOCK_METHOD1(DeRegisterExternalTransport, int(int channel)); 202 MOCK_METHOD1(DeRegisterExternalTransport, int(int channel));
209 MOCK_METHOD3(ReceivedRTPPacket, 203 MOCK_METHOD3(ReceivedRTPPacket,
210 int(int channel, const void* data, size_t length)); 204 int(int channel, const void* data, size_t length));
211 MOCK_METHOD4(ReceivedRTPPacket, 205 MOCK_METHOD4(ReceivedRTPPacket,
212 int(int channel, 206 int(int channel,
213 const void* data, 207 const void* data,
214 size_t length, 208 size_t length,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 258 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
265 259
266 MockAudioDeviceModule mock_audio_device_; 260 MockAudioDeviceModule mock_audio_device_;
267 MockAudioProcessing mock_audio_processing_; 261 MockAudioProcessing mock_audio_processing_;
268 MockAudioTransport mock_audio_transport_; 262 MockAudioTransport mock_audio_transport_;
269 }; 263 };
270 } // namespace test 264 } // namespace test
271 } // namespace webrtc 265 } // namespace webrtc
272 266
273 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ 267 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/voice_engine/BUILD.gn » ('j') | webrtc/voice_engine/channel.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698