webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | List of all members
webrtc::test::MockVoiceDetection Class Reference

#include <mock_audio_processing.h>

Inheritance diagram for webrtc::test::MockVoiceDetection:
webrtc::VoiceDetection webrtc::VoiceDetection

Public Member Functions

virtual ~MockVoiceDetection ()
 
 MOCK_METHOD1 (Enable, int(bool enable))
 
 MOCK_CONST_METHOD0 (is_enabled, bool())
 
 MOCK_CONST_METHOD0 (stream_has_voice, bool())
 
 MOCK_METHOD1 (set_stream_has_voice, int(bool has_voice))
 
 MOCK_METHOD1 (set_likelihood, int(Likelihood likelihood))
 
 MOCK_CONST_METHOD0 (likelihood, Likelihood())
 
 MOCK_METHOD1 (set_frame_size_ms, int(int size))
 
 MOCK_CONST_METHOD0 (frame_size_ms, int())
 
virtual ~MockVoiceDetection ()
 
 MOCK_METHOD1 (Enable, int(bool enable))
 
 MOCK_CONST_METHOD0 (is_enabled, bool())
 
 MOCK_CONST_METHOD0 (stream_has_voice, bool())
 
 MOCK_METHOD1 (set_stream_has_voice, int(bool has_voice))
 
 MOCK_METHOD1 (set_likelihood, int(Likelihood likelihood))
 
 MOCK_CONST_METHOD0 (likelihood, Likelihood())
 
 MOCK_METHOD1 (set_frame_size_ms, int(int size))
 
 MOCK_CONST_METHOD0 (frame_size_ms, int())
 
- Public Member Functions inherited from webrtc::VoiceDetection
virtual int Enable (bool enable)=0
 
virtual bool is_enabled () const =0
 
virtual bool stream_has_voice () const =0
 
virtual int set_stream_has_voice (bool has_voice)=0
 
virtual int set_likelihood (Likelihood likelihood)=0
 
virtual Likelihood likelihood () const =0
 
virtual int set_frame_size_ms (int size)=0
 
virtual int frame_size_ms () const =0
 
virtual int Enable (bool enable)=0
 
virtual bool is_enabled () const =0
 
virtual bool stream_has_voice () const =0
 
virtual int set_stream_has_voice (bool has_voice)=0
 
virtual int set_likelihood (Likelihood likelihood)=0
 
virtual Likelihood likelihood () const =0
 
virtual int set_frame_size_ms (int size)=0
 
virtual int frame_size_ms () const =0
 

Additional Inherited Members

- Public Types inherited from webrtc::VoiceDetection
enum  Likelihood {
  kVeryLowLikelihood, kLowLikelihood, kModerateLikelihood, kHighLikelihood,
  kVeryLowLikelihood, kLowLikelihood, kModerateLikelihood, kHighLikelihood
}
 
enum  Likelihood {
  kVeryLowLikelihood, kLowLikelihood, kModerateLikelihood, kHighLikelihood,
  kVeryLowLikelihood, kLowLikelihood, kModerateLikelihood, kHighLikelihood
}
 
- Protected Member Functions inherited from webrtc::VoiceDetection
virtual ~VoiceDetection ()
 
virtual ~VoiceDetection ()
 

Constructor & Destructor Documentation

◆ ~MockVoiceDetection() [1/2]

virtual webrtc::test::MockVoiceDetection::~MockVoiceDetection ( )
inlinevirtual

◆ ~MockVoiceDetection() [2/2]

virtual webrtc::test::MockVoiceDetection::~MockVoiceDetection ( )
inlinevirtual

Member Function Documentation

◆ MOCK_CONST_METHOD0() [1/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( is_enabled  ,
bool()   
)

◆ MOCK_CONST_METHOD0() [2/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( is_enabled  ,
bool()   
)

◆ MOCK_CONST_METHOD0() [3/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( stream_has_voice  ,
bool()   
)

◆ MOCK_CONST_METHOD0() [4/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( stream_has_voice  ,
bool()   
)

◆ MOCK_CONST_METHOD0() [5/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( likelihood  ,
Likelihood()   
)

◆ MOCK_CONST_METHOD0() [6/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( likelihood  ,
Likelihood()   
)

◆ MOCK_CONST_METHOD0() [7/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( frame_size_ms  ,
int()   
)

◆ MOCK_CONST_METHOD0() [8/8]

webrtc::test::MockVoiceDetection::MOCK_CONST_METHOD0 ( frame_size_ms  ,
int()   
)

◆ MOCK_METHOD1() [1/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( Enable  ,
int(bool enable  
)

◆ MOCK_METHOD1() [2/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( Enable  ,
int(bool enable  
)

◆ MOCK_METHOD1() [3/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_stream_has_voice  ,
int(bool has_voice)   
)

◆ MOCK_METHOD1() [4/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_stream_has_voice  ,
int(bool has_voice)   
)

◆ MOCK_METHOD1() [5/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_likelihood  ,
int(Likelihood likelihood  
)

◆ MOCK_METHOD1() [6/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_likelihood  ,
int(Likelihood likelihood  
)

◆ MOCK_METHOD1() [7/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_frame_size_ms  ,
int(int size  
)

◆ MOCK_METHOD1() [8/8]

webrtc::test::MockVoiceDetection::MOCK_METHOD1 ( set_frame_size_ms  ,
int(int size  
)

The documentation for this class was generated from the following file: