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

Static Public Attributes

static SLuint32 m_count {0}
 Mock buffer count. More...
 
static SLuint32 m_index {0}
 Mock buffer index. More...
 

Protected Member Functions

virtual void TearDown ()
 
virtual void SetUp ()
 
std::unique_ptr< AndroidSLESBufferQueuecreateBuffer ()
 

Protected Attributes

std::shared_ptr< avsCommon::avs::AudioInputStreamm_stream
 Pointer to the audio input stream. More...
 
std::shared_ptr< avsCommon::avs::AudioInputStream::Reader > m_reader
 Pointer to an audio input stream reader used to check writting results. More...
 
std::shared_ptr< MockAndroidSLESObjectm_recorderMock
 Mock the openSlObject. More...
 
std::shared_ptr< MockSlSimpleBufferQueuem_queueMock
 Mock sl simple queue. More...
 

Member Function Documentation

◆ createBuffer()

std::unique_ptr< AndroidSLESBufferQueue > alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::createBuffer ( )
protected

Create the buffer under test.

Returns
A pointer to the buffer.

◆ SetUp()

void alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::SetUp ( )
protectedvirtual

Setup all objects.

◆ TearDown()

void alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::TearDown ( )
protectedvirtual

Reset all shared pointers.

Member Data Documentation

◆ m_count

SLuint32 alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_count {0}
static

Mock buffer count.

◆ m_index

SLuint32 alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_index {0}
static

Mock buffer index.

◆ m_queueMock

std::shared_ptr<MockSlSimpleBufferQueue> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_queueMock
protected

Mock sl simple queue.

◆ m_reader

std::shared_ptr<avsCommon::avs::AudioInputStream::Reader> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_reader
protected

Pointer to an audio input stream reader used to check writting results.

◆ m_recorderMock

std::shared_ptr<MockAndroidSLESObject> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_recorderMock
protected

Mock the openSlObject.

◆ m_stream

std::shared_ptr<avsCommon::avs::AudioInputStream> alexaClientSDK::applicationUtilities::androidUtilities::test::AndroidSLESBufferQueueTest::m_stream
protected

Pointer to the audio input stream.


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

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