AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Protected Member Functions | Protected Attributes | List of all members
alexaClientSDK::integration::test::AudioPlayerTest Class Reference
Inheritance diagram for alexaClientSDK::integration::test::AudioPlayerTest:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::integration::test::AudioPlayerTest:
Collaboration graph
[legend]

Protected Member Functions

virtual void SetUp () override
 
void TearDown () override
 
void connect ()
 
void disconnect ()
 
std::string getSentEventName (TestMessageSender::SendParams sendParams)
 
bool checkSentEventName (TestMessageSender::SendParams sendParams, std::string expectedName)
 
std::vector< int16_t > readAudioFromFile (const std::string &fileName, bool *errorOccurred)
 
void sendAudioFileAsRecognize (std::string audioFile)
 

Protected Attributes

std::unique_ptr< ACLTestContextm_context
 Context for running ACL based tests. More...
 
std::shared_ptr< TestMessageSenderm_avsConnectionManager
 
std::shared_ptr< TestExceptionEncounteredSenderm_exceptionEncounteredSender
 
std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterfacem_metricRecorder
 
std::shared_ptr< PlaybackControllerm_playbackController
 
std::shared_ptr< PlaybackRouterm_playbackRouter
 
std::shared_ptr< MockChannelVolumeInterfacem_speakerInterface
 
std::shared_ptr< TestDirectiveHandlerm_directiveHandler
 
std::shared_ptr< DirectiveSequencerInterfacem_directiveSequencer
 
std::shared_ptr< MessageInterpreterm_messageInterpreter
 
std::shared_ptr< FocusManagerm_focusManager
 
std::shared_ptr< TestClientm_testContentClient
 
std::shared_ptr< SpeechSynthesizerm_speechSynthesizer
 
std::shared_ptr< TestSpeechSynthesizerObserverm_speechSynthesizerObserver
 
std::shared_ptr< holdToTalkButtonm_holdToTalkButton
 
std::shared_ptr< AudioProviderm_HoldToTalkAudioProvider
 
avsCommon::utils::AudioFormat m_compatibleAudioFormat
 
std::unique_ptr< AudioInputStream::Writer > m_AudioBufferWriter
 
std::shared_ptr< AudioInputStreamm_AudioBuffer
 
std::shared_ptr< AudioInputProcessorm_AudioInputProcessor
 
std::shared_ptr< UserInactivityMonitorm_userInactivityMonitor
 
std::shared_ptr< acsdkAudioPlayer::AudioPlayerm_audioPlayer
 
std::shared_ptr< applicationUtilities::systemSoundPlayer::SystemSoundPlayerm_systemSoundPlayer
 
std::shared_ptr< MockSetting< WakeWordConfirmationSettingType > > m_mockWakeWordConfirmationSetting
 
std::shared_ptr< MockSetting< SpeechConfirmationSettingType > > m_mockSpeechConfirmationSetting
 
std::shared_ptr< captions::CaptionManagerInterfacem_captionManager
 
FocusState m_focusState
 
std::mutex m_mutex
 
std::condition_variable m_focusChangedCV
 
bool m_focusChangeOccurred
 
std::shared_ptr< avsCommon::avs::DialogUXStateAggregatorm_dialogUXStateAggregator
 
std::shared_ptr< TestMediaPlayerm_speakMediaPlayer
 
std::shared_ptr< TestMediaPlayerm_contentMediaPlayer
 

Member Function Documentation

◆ checkSentEventName()

bool alexaClientSDK::integration::test::AudioPlayerTest::checkSentEventName ( TestMessageSender::SendParams  sendParams,
std::string  expectedName 
)
inlineprotected

◆ connect()

void alexaClientSDK::integration::test::AudioPlayerTest::connect ( )
inlineprotected

Connect to AVS.

◆ disconnect()

void alexaClientSDK::integration::test::AudioPlayerTest::disconnect ( )
inlineprotected

Disconnect from AVS.

◆ getSentEventName()

std::string alexaClientSDK::integration::test::AudioPlayerTest::getSentEventName ( TestMessageSender::SendParams  sendParams)
inlineprotected

◆ readAudioFromFile()

std::vector<int16_t> alexaClientSDK::integration::test::AudioPlayerTest::readAudioFromFile ( const std::string &  fileName,
bool *  errorOccurred 
)
inlineprotected

◆ sendAudioFileAsRecognize()

void alexaClientSDK::integration::test::AudioPlayerTest::sendAudioFileAsRecognize ( std::string  audioFile)
inlineprotected

◆ SetUp()

virtual void alexaClientSDK::integration::test::AudioPlayerTest::SetUp ( )
inlineoverrideprotectedvirtual

◆ TearDown()

void alexaClientSDK::integration::test::AudioPlayerTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ m_AudioBuffer

std::shared_ptr<AudioInputStream> alexaClientSDK::integration::test::AudioPlayerTest::m_AudioBuffer
protected

◆ m_AudioBufferWriter

std::unique_ptr<AudioInputStream::Writer> alexaClientSDK::integration::test::AudioPlayerTest::m_AudioBufferWriter
protected

◆ m_AudioInputProcessor

std::shared_ptr<AudioInputProcessor> alexaClientSDK::integration::test::AudioPlayerTest::m_AudioInputProcessor
protected

◆ m_audioPlayer

std::shared_ptr<acsdkAudioPlayer::AudioPlayer> alexaClientSDK::integration::test::AudioPlayerTest::m_audioPlayer
protected

◆ m_avsConnectionManager

std::shared_ptr<TestMessageSender> alexaClientSDK::integration::test::AudioPlayerTest::m_avsConnectionManager
protected

◆ m_captionManager

std::shared_ptr<captions::CaptionManagerInterface> alexaClientSDK::integration::test::AudioPlayerTest::m_captionManager
protected

◆ m_compatibleAudioFormat

avsCommon::utils::AudioFormat alexaClientSDK::integration::test::AudioPlayerTest::m_compatibleAudioFormat
protected

◆ m_contentMediaPlayer

std::shared_ptr<TestMediaPlayer> alexaClientSDK::integration::test::AudioPlayerTest::m_contentMediaPlayer
protected

◆ m_context

std::unique_ptr<ACLTestContext> alexaClientSDK::integration::test::AudioPlayerTest::m_context
protected

Context for running ACL based tests.

◆ m_dialogUXStateAggregator

std::shared_ptr<avsCommon::avs::DialogUXStateAggregator> alexaClientSDK::integration::test::AudioPlayerTest::m_dialogUXStateAggregator
protected

◆ m_directiveHandler

std::shared_ptr<TestDirectiveHandler> alexaClientSDK::integration::test::AudioPlayerTest::m_directiveHandler
protected

◆ m_directiveSequencer

std::shared_ptr<DirectiveSequencerInterface> alexaClientSDK::integration::test::AudioPlayerTest::m_directiveSequencer
protected

◆ m_exceptionEncounteredSender

std::shared_ptr<TestExceptionEncounteredSender> alexaClientSDK::integration::test::AudioPlayerTest::m_exceptionEncounteredSender
protected

◆ m_focusChangedCV

std::condition_variable alexaClientSDK::integration::test::AudioPlayerTest::m_focusChangedCV
protected

◆ m_focusChangeOccurred

bool alexaClientSDK::integration::test::AudioPlayerTest::m_focusChangeOccurred
protected

◆ m_focusManager

std::shared_ptr<FocusManager> alexaClientSDK::integration::test::AudioPlayerTest::m_focusManager
protected

◆ m_focusState

FocusState alexaClientSDK::integration::test::AudioPlayerTest::m_focusState
protected

◆ m_HoldToTalkAudioProvider

std::shared_ptr<AudioProvider> alexaClientSDK::integration::test::AudioPlayerTest::m_HoldToTalkAudioProvider
protected

◆ m_holdToTalkButton

std::shared_ptr<holdToTalkButton> alexaClientSDK::integration::test::AudioPlayerTest::m_holdToTalkButton
protected

◆ m_messageInterpreter

std::shared_ptr<MessageInterpreter> alexaClientSDK::integration::test::AudioPlayerTest::m_messageInterpreter
protected

◆ m_metricRecorder

std::shared_ptr<avsCommon::utils::metrics::MetricRecorderInterface> alexaClientSDK::integration::test::AudioPlayerTest::m_metricRecorder
protected

◆ m_mockSpeechConfirmationSetting

std::shared_ptr<MockSetting<SpeechConfirmationSettingType> > alexaClientSDK::integration::test::AudioPlayerTest::m_mockSpeechConfirmationSetting
protected

◆ m_mockWakeWordConfirmationSetting

std::shared_ptr<MockSetting<WakeWordConfirmationSettingType> > alexaClientSDK::integration::test::AudioPlayerTest::m_mockWakeWordConfirmationSetting
protected

◆ m_mutex

std::mutex alexaClientSDK::integration::test::AudioPlayerTest::m_mutex
protected

◆ m_playbackController

std::shared_ptr<PlaybackController> alexaClientSDK::integration::test::AudioPlayerTest::m_playbackController
protected

◆ m_playbackRouter

std::shared_ptr<PlaybackRouter> alexaClientSDK::integration::test::AudioPlayerTest::m_playbackRouter
protected

◆ m_speakerInterface

std::shared_ptr<MockChannelVolumeInterface> alexaClientSDK::integration::test::AudioPlayerTest::m_speakerInterface
protected

◆ m_speakMediaPlayer

std::shared_ptr<TestMediaPlayer> alexaClientSDK::integration::test::AudioPlayerTest::m_speakMediaPlayer
protected

◆ m_speechSynthesizer

std::shared_ptr<SpeechSynthesizer> alexaClientSDK::integration::test::AudioPlayerTest::m_speechSynthesizer
protected

◆ m_speechSynthesizerObserver

std::shared_ptr<TestSpeechSynthesizerObserver> alexaClientSDK::integration::test::AudioPlayerTest::m_speechSynthesizerObserver
protected

◆ m_systemSoundPlayer

std::shared_ptr<applicationUtilities::systemSoundPlayer::SystemSoundPlayer> alexaClientSDK::integration::test::AudioPlayerTest::m_systemSoundPlayer
protected

◆ m_testContentClient

std::shared_ptr<TestClient> alexaClientSDK::integration::test::AudioPlayerTest::m_testContentClient
protected

◆ m_userInactivityMonitor

std::shared_ptr<UserInactivityMonitor> alexaClientSDK::integration::test::AudioPlayerTest::m_userInactivityMonitor
protected

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

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0