AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Classes | |
class | AudioInputProcessorTest |
Test harness for AudioInputProcessor class. More... | |
class | MockBlockAudioEncoder |
Mock class that implements the BlockAudioEncoderInterface . More... | |
class | MockCapabilityConfigurationChangeObserver |
Mock class that implements the CapabilityConfigurationChangeObserverInterface . More... | |
class | MockExpectSpeechTimeoutHandler |
class | MockObserver |
Mock class that implements the Observer. More... | |
class | RecognizeEvent |
class | TestDialogUXStateObserver |
Class to monitor DialogUXStateAggregator for the THINKING state and automatically move it to IDLE . More... | |
Typedefs | |
using | Bytes = audioEncoderInterfaces::BlockAudioEncoderInterface::Bytes |
Byte array for audio sample data passing. More... | |
using | Sample = uint16_t |
Integral type of a sample. More... | |
Functions | |
static const std::chrono::seconds | TEST_TIMEOUT (10) |
General timeout for tests to fail. More... | |
static const std::string | COMPONENT_NAME ("AudioInputProcessor") |
Component name for power resource management. More... | |
static rapidjson::Document | parseJson (const std::string &json) |
Utility function to parse a JSON document. More... | |
MATCHER_P (IsSamePowerResource, id, "") | |
A matcher to compare PowerResourceId. More... | |
static std::string | getJsonString (const rapidjson::Value &container, const std::string &key) |
Utility function to look up a JSON string in a container. More... | |
static int64_t | getJsonInt64 (const rapidjson::Value &container, const std::string &key) |
Utility function to look up a JSON 'long' in a container. More... | |
static bool | getInitiatorFromDirective (const std::string directive, std::string *initiator) |
TEST_F (AudioInputProcessorTest, test_createWithoutDirectiveSequencer) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid DirectiveSequencerInterface . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutMessageSender) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid MessageSenderInterface . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutContextManager) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid ContextManagerInterface . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutFocusManager) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid FocusManagerInterface . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutStateAggregator) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid DialogUXStateAggregator . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutExceptionSender) | |
TEST_F (AudioInputProcessorTest, test_createWithoutUserInactivityMonitor) | |
TEST_F (AudioInputProcessorTest, test_createWithoutCapabilityChangeNotifier) | |
Function to verify that AudioInputProcessor::create() errors out with an invalid CapabilityChangeNotifier . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutAudioProvider) | |
Function to verify that AudioInputProcessor::create() succeeds with a null AudioProvider . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutPowerResourceManager) | |
Function to verify that AudioInputProcessor::create() succeeds with a null PowerResourceManagerInterface . More... | |
TEST_F (AudioInputProcessorTest, test_createWithoutMetricRecorder) | |
Function to verify that AudioInputProcessor::create() succeeds with a null MetricRecorderInterface . More... | |
TEST_F (AudioInputProcessorTest, test_getConfiguration) | |
Function to verify that AudioInputProcessor::getconfiguration() returns the expected configuration data. More... | |
TEST_F (AudioInputProcessorTest, test_addRemoveObserver) | |
TEST_F (AudioInputProcessorTest, test_recognizeNullStream) | |
This function verifies that AudioInputProcessor::recognize() fails when given a null AudioProvider . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeInvalidAudioFormat) | |
This function verifies that AudioInputProcessor::recognize() fails when given invalid AudioFormats . More... | |
TEST_F (AudioInputProcessorTest, test_recognizePressAndHold) | |
This function verifies that AudioInputProcessor::recognize() works with Initiator::PRESS_AND_HOLD . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeTap) | |
This function verifies that AudioInputProcessor::recognize() works with Initiator::TAP . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithoutKeyword) | |
This function verifies that AudioInputProcessor::recognize() fails with Initiator::WAKEWORD and no keyword. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithBadBegin) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithKeyword) | |
This function verifies that AudioInputProcessor::recognize() works with Initiator::WAKEWORD and keyword. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithGoodBegin) | |
This function verifies that AudioInputProcessor::recognize() works with Initiator::WAKEWORD valid begin. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithGoodBeginAndEnd) | |
TEST_F (AudioInputProcessorTest, test_recognizeCloseTalk) | |
This function verifies that AudioInputProcessor::recognize() works with ASRProfile::CLOSE_TALK . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeNearField) | |
This function verifies that AudioInputProcessor::recognize() works with ASRProfile::NEAR_FIELD . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeFarField) | |
This function verifies that AudioInputProcessor::recognize() works with ASRProfile::FAR_FIELD . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeFarFieldWithEncoder) | |
Test if AudioInputProcessor::recognize() works with an audio encoder. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeFarFieldWithEncoderDisabled) | |
Test if AudioInputProcessor::recognize() works with an audio encoder. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeFarFieldWithEncoderReEnabled) | |
Test if AudioInputProcessor::recognize() works with an audio encoder. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWhileExpectingSpeech) | |
This function verifies that AudioInputProcessor::recognize() works in State::EXPECTING_SPEECH . More... | |
TEST_F (AudioInputProcessorTest, test_recognizeStopAfterRecognize) | |
TEST_F (AudioInputProcessorTest, test_recognizeStopAfterContext) | |
TEST_F (AudioInputProcessorTest, test_recognizeStopAfterFocus) | |
TEST_F (AudioInputProcessorTest, test_recognizeStopAfterSend) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingCloseTalk) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingNearField) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingFarField) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingCantOverride) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingCantBeOverridden) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureWhenIdle) | |
This function verifies that AudioInputProcessor::stopCapture() fails in State::IDLE . More... | |
TEST_F (AudioInputProcessorTest, test_stopCaptureWhenExpectingSpeech) | |
This function verifies that AudioInputProcessor::stopCapture() fails in State::EXPECTING_SPEECH . More... | |
TEST_F (AudioInputProcessorTest, test_stopCaptureWhenRecognizing) | |
This function verifies that AudioInputProcessor::stopCapture() works in State::RECOGNIZING . More... | |
TEST_F (AudioInputProcessorTest, test_stopCaptureWhenRecognizingFollowByStopCaptureDirective) | |
TEST_F (AudioInputProcessorTest, test_resetStateWhenIdle) | |
This function verifies that AudioInputProcessor::resetState() works in State::IDLE . More... | |
TEST_F (AudioInputProcessorTest, test_resetStateWhenExpectingSpeech) | |
This function verifies that AudioInputProcessor::resetState() works in State::EXPECTING_SPEECH . More... | |
TEST_F (AudioInputProcessorTest, test_resetStateWhenRecognizing) | |
This function verifies that AudioInputProcessor::resetState() works in State::RECOGNIZING . More... | |
TEST_F (AudioInputProcessorTest, test_contextFailureStateProviderTimedout) | |
TEST_F (AudioInputProcessorTest, test_contextFailureBuildContextError) | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveStopCaptureWhenIdle) | |
This function verifies that StopCapture directives fail in State::IDLE . More... | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveStopCaptureWhenRecognizing) | |
This function verifies that StopCapture directives with dialog request ID work in State::RECOGNIZING . More... | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveStopCaptureWhenExpectingSpeech) | |
This function verifies that StopCapture directives fail in State::EXPECTING_SPEECH . More... | |
TEST_F (AudioInputProcessorTest, test_handleDirectiveImmediatelyStopCaptureWhenRecognizing) | |
This function verifies that StopCapture directives without dialog request ID work in State::RECOGNIZING . More... | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveExpectSpeechWhenIdle) | |
This function verifies that ExpectSpeech directives with dialog request ID work in State::IDLE . More... | |
TEST_F (AudioInputProcessorTest, test_handleDirectiveImmediatelyExpectSpeechWhenIdle) | |
This function verifies that ExpectSpeech directives without dialog request ID work in State::IDLE . More... | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveExpectSpeechWhenRecognizing) | |
This function verifies that ExpectSpeech directives fail in State::RECOGNIZING . More... | |
TEST_F (AudioInputProcessorTest, test_preHandleAndHandleDirectiveExpectSpeechWhenExpectingSpeech) | |
This function verifies that ExpectSpeech directives fail in State::EXPECTING_SPEECH . More... | |
TEST_F (AudioInputProcessorTest, test_expectSpeechNoDefaultNoPrevious) | |
This function verifies that ExpectSpeech directives wait with no default and no previous AudioProvider . More... | |
TEST_F (AudioInputProcessorTest, test_expectSpeechUnreadableDefaultNoPrevious) | |
This function verifies that ExpectSpeech directives wait with unreadable default and no previous AudioProvider . More... | |
TEST_F (AudioInputProcessorTest, test_expectSpeechUnreadableDefaultUnreadablePrevious) | |
TEST_F (AudioInputProcessorTest, test_expectSpeechNoDefaultReadablePrevious) | |
This function verifies that ExpectSpeech directives work with no default and readable previous AudioProvider . More... | |
TEST_F (AudioInputProcessorTest, test_expectSpeechWithInitiator) | |
This function verifies that the initiator from an ExpectSpeech is passed to a subsequent Recognize. More... | |
TEST_F (AudioInputProcessorTest, test_expectSpeechWithNoInitiator) | |
TEST_F (AudioInputProcessorTest, test_expectSpeechWithInitiatorTimedOut) | |
TEST_F (AudioInputProcessorTest, handleExpectSpeechTimeoutExternallyWithTimeout) | |
TEST_F (AudioInputProcessorTest, handleExpectSpeechTimeoutExternallyWithoutTimeout) | |
TEST_F (AudioInputProcessorTest, handleExpectSpeechTimeoutInternallyWithAlwaysReadableAudioProviderResultsInRecognize) | |
TEST_F (AudioInputProcessorTest, handleExpectSpeechTimeoutExternallyWithAlwaysReadableAudioProviderResultsInRecognize) | |
TEST_F (AudioInputProcessorTest, test_focusChangedBackground) | |
TEST_F (AudioInputProcessorTest, test_focusChangedNone) | |
TEST_F (AudioInputProcessorTest, test_resetStateOnTimeOut) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithESPWithKeyword) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithInvalidESPWithKeyword) | |
TEST_F (AudioInputProcessorTest, test_recognizeOPUSWithTap) | |
TEST_F (AudioInputProcessorTest, test_recognizeOPUSWithPressAndHold) | |
TEST_F (AudioInputProcessorTest, test_recognizeOPUSWithWakeWord) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithKWDMetadata) | |
TEST_F (AudioInputProcessorTest, test_recognizeInvalidWakeWord) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessBeforeClose) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccess) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessNoContentBeforeClose) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamPendingBeforeClose) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessNoContent) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessNotConnected) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamNotSynchronized) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamInternalrror) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamProtocolError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamServerInternalError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamRefused) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamCanceled) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamThrottled) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamInvalidAuth) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamBadRequest) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamUnknownServerError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamSuccess) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamSuccessNoContent) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamSuccessNotConnected) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamNotSynchronized) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamInternalrror) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamProtocolError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamServerInternalError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamRefused) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamCanceled) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamThrottled) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamInvalidAuth) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamBadRequest) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnDirectiveAndStreamUnknownServerError) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessAndDirectiveBeforeClose) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessNoContentAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamSuccessNotConnectedAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamNotSynchronizedAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamInternalrrorAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamProtocolErrorAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamServerInternalErrorAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamRefusedAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamCanceledAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamThrottledAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamInvalidAuthAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamBadRequestAndDirective) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureOnStreamUnknownServerErrorAndDirective) | |
TEST_F (AudioInputProcessorTest, test_handleSetEndOfSpeechOffsetSuccess) | |
TEST_F (AudioInputProcessorTest, test_handleSetEndOfSpeechOffsetFailureInvalid) | |
TEST_F (AudioInputProcessorTest, test_handleSetEndOfSpeechOffsetFailureMissing) | |
TEST_F (AudioInputProcessorTest, test_handleSetWakeWordConfirmation) | |
TEST_F (AudioInputProcessorTest, test_setSpeechConfirmation) | |
TEST_F (AudioInputProcessorTest, test_setWakeWordsDirectiveSuccess) | |
TEST_F (AudioInputProcessorTest, test_publishedCapabiltiesContainsSupportedWakeWords) | |
TEST_F (AudioInputProcessorTest, test_localeAssetsChanged) | |
TEST_F (AudioInputProcessorTest, test_requestEncodingAudioFormatsSuccess) | |
TEST_F (AudioInputProcessorTest, test_requestEncodingAudioFormatsWithFallbackAndUnsupportedFormats) | |
TEST_F (AudioInputProcessorTest, test_requestEncodingAudioFormatsFails) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithKeywordForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithMetadataForMultipleAudioStreams) | |
This function verifies that recognize() works with KWD metadata for multiple audio streams. More... | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordStopAfterSendForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordStopAfterRecognizeForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordStopAfterContextForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordStopCaptureAfterFocusForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWakewordWithGoodBeginAndEndForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeBargeInWhileRecognizingCloseTalkForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_stopCaptureWhenRecognizingForMultiStreams) | |
TEST_F (AudioInputProcessorTest, test_recognizeWorksWithOneFormatInRequestEncodingAudioFormats) | |
Variables | |
static const std::string | CHANNEL_NAME = avsCommon::sdkInterfaces::FocusManagerInterface::DIALOG_CHANNEL_NAME |
The name of the FocusManager channel used by AudioInputProvider . More... | |
static const std::string | NAMESPACE = "SpeechRecognizer" |
The namespace for this capability agent. More... | |
static const avsCommon::avs::NamespaceAndName | STOP_CAPTURE {NAMESPACE, "StopCapture"} |
The StopCapture directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | EXPECT_SPEECH {NAMESPACE, "ExpectSpeech"} |
The ExpectSpeech directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | SET_END_OF_SPEECH_OFFSET {NAMESPACE, "SetEndOfSpeechOffset"} |
The SetEndOfSpeechOffset directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | SET_WAKE_WORD_CONFIRMATION {NAMESPACE, "SetWakeWordConfirmation"} |
The SetWakeWordConfirmation directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | SET_SPEECH_CONFIRMATION {NAMESPACE, "SetSpeechConfirmation"} |
The SetSpeechConfirmation directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | SET_WAKE_WORDS {NAMESPACE, "SetWakeWords"} |
The SetWakeWords directive signature. More... | |
static const avsCommon::avs::NamespaceAndName | DIRECTIVES [] |
The directives AudioInputProcessor should handle. More... | |
static const avsCommon::avs::NamespaceAndName | RECOGNIZER_STATE {NAMESPACE, "RecognizerState"} |
The SpeechRecognizer context state signature. More... | |
static const unsigned int | SAMPLE_RATE_HZ = 16000 |
Sample rate for audio input stream. More... | |
static const size_t | SDS_WORDSIZE = sizeof(Sample) |
Number of bytes per word in the SDS circular buffer. More... | |
static const unsigned int | SAMPLE_SIZE_IN_BITS = SDS_WORDSIZE * CHAR_BIT |
Sample size for audio input stream. More... | |
static const unsigned int | NUM_CHANNELS = 1 |
Number of channels in audio input stream. More... | |
static const std::chrono::milliseconds | PREROLL_MS = std::chrono::milliseconds(500) |
Number of milliseconds of preroll applied for cloud-based wakeword verification. More... | |
static const size_t | PREROLL_WORDS = (SAMPLE_RATE_HZ / 1000) * PREROLL_MS.count() |
Number of words of preroll. More... | |
static const size_t | WAKEWORD_WORDS = PREROLL_WORDS |
Number of words in wakeword. More... | |
static const size_t | SDS_WORDS = PREROLL_WORDS + WAKEWORD_WORDS + 1000 |
Number of words to hold in the SDS circular buffer. More... | |
static const size_t | PATTERN_WORDS = SDS_WORDS / 2 |
Number of test pattern words to write to the SDS circular buffer. More... | |
static const size_t | SDS_MAXREADERS = 10 |
Maximum number of readers to support in the SDS circular buffer. More... | |
static const bool | ALWAYS_READABLE = true |
Boolean value to indicate an AudioProvider is always readable. More... | |
static const bool | CAN_OVERRIDE = true |
Boolean value to indicate an AudioProvider can override another AudioProvider. More... | |
static const bool | CAN_BE_OVERRIDDEN = true |
Boolean value to indicate an AudioProvider can be overridden by another AudioProvider. More... | |
static const std::string | MESSAGE_CONTEXT_KEY = "context" |
JSON key for the context section of a message. More... | |
static const std::string | MESSAGE_EVENT_KEY = "event" |
JSON key for the event section of a message. More... | |
static const std::string | MESSAGE_DIRECTIVE_KEY = "directive" |
JSON key for the directive section of a message. More... | |
static const std::string | MESSAGE_HEADER_KEY = "header" |
JSON key for the header section of a message. More... | |
static const std::string | MESSAGE_PAYLOAD_KEY = "payload" |
JSON key for the payload section of an message. More... | |
static const std::string | MESSAGE_NAMESPACE_KEY = "namespace" |
JSON key for the namespace field of a message header. More... | |
static const std::string | MESSAGE_NAME_KEY = "name" |
JSON key for the name field of a message header. More... | |
static const std::string | MESSAGE_MESSAGE_ID_KEY = "messageId" |
JSON key for the message ID field of a message header. More... | |
static const std::string | MESSAGE_DIALOG_REQUEST_ID_KEY = "dialogRequestId" |
JSON key for the dialog request ID field of a message header. More... | |
static const std::string | RECOGNIZE_EVENT_NAME = "Recognize" |
JSON value for a recognize event's name. More... | |
static const std::string | ASR_PROFILE_KEY = "profile" |
JSON key for the ASR profile field of a recognize event. More... | |
static const std::string | AUDIO_FORMAT_KEY = "format" |
JSON key for the audio format field of a recognize event. More... | |
static const std::string | AUDIO_FORMAT_OPUS = "OPUS" |
JSON value for audio format OPUS. More... | |
static const std::string | AUDIO_FORMAT_LPCM = "AUDIO_L16_RATE_16000_CHANNELS_1" |
JSON value for audio format LPCM. More... | |
static const std::unordered_set< std::string > | AUDIO_FORMAT_VALUES = {AUDIO_FORMAT_LPCM, AUDIO_FORMAT_OPUS} |
Accepted JSON values for a recognize event's audio format. More... | |
static const std::string | RECOGNIZE_INITIATOR_KEY = "initiator" |
JSON key for the initiator field of a recognize event. More... | |
static const std::string | INITIATOR_TYPE_KEY = "type" |
JSON key for the type field of a recognize event's initiator. More... | |
static const std::string | INITIATOR_PAYLOAD_KEY = "payload" |
JSON key for the type field of a recognize event's payload. More... | |
static const std::string | WAKE_WORD_INDICES_KEY = "wakeWordIndices" |
JSON key for the wakeword indices field of a wakeword recognize event's payload. More... | |
static const std::string | START_INDEX_KEY = "startIndexInSamples" |
JSON key for the start index field of a wakeword recognize event's payload. More... | |
static const std::string | END_INDEX_KEY = "endIndexInSamples" |
JSON key for the end index field of a wakeword recognize event's payload. More... | |
static const std::string | EXPECT_SPEECH_INITIATOR = R"({"opaque":"expectSpeechInitiator"})" |
Value used in the tests for an expect speech initiator. More... | |
static const std::string | EXPECT_SPEECH_TIMEOUT_KEY = "timeoutInMilliseconds" |
JSON key for the timeout field of an expect speech directive. More... | |
static const int64_t | EXPECT_SPEECH_TIMEOUT_IN_MILLISECONDS = 100 |
Value used in the tests for an expect speech timeout. More... | |
static const std::string | EXPECT_SPEECH_INITIATOR_KEY = "initiator" |
JSON key for the initiator field of an expect speech directive. More... | |
static const std::string | EXPECT_SPEECH_TIMED_OUT_EVENT_NAME = "ExpectSpeechTimedOut" |
JSON value for a expect speech timed out event's name. More... | |
static const std::string | KEYWORD_TEXT = "ALEXA" |
Value used in the tests for a wakeword recognize event. More... | |
static const bool | WITH_DIALOG_REQUEST_ID = true |
Boolean value to indicate a directive being tested has a dialog request ID. More... | |
static const bool | VERIFY_TIMEOUT = true |
Boolean value to indicate an expect speech directive should time out. More... | |
static const std::string | ESP_EVENT_NAME = "ReportEchoSpatialPerceptionData" |
JSON value for a ReportEchoSpatialPerceptionData event's name. More... | |
static const std::string | ESP_VOICE_ENERGY_KEY = "voiceEnergy" |
JSON key for the voice energy field of a ReportEchoSpatialPerceptionData event. More... | |
static const std::string | ESP_AMBIENT_ENERGY_KEY = "ambientEnergy" |
JSON key for the ambient energy field of a ReportEchoSpatialPerceptionData event. More... | |
static const std::string | AUDIO_ATTACHMENT_FIELD_NAME = "audio" |
The field name for the user voice attachment. More... | |
static const std::string | KWD_METADATA_FIELD_NAME = "wakewordEngineMetadata" |
The field name for the wake word engine metadata. More... | |
static const std::string | WAKEWORD_FIELD_NAME = "wakeWord" |
The field name for the wake word detected. More... | |
static const std::string | END_OF_SPEECH_OFFSET_FIELD_NAME = "endOfSpeechOffsetInMilliseconds" |
static const int64_t | END_OF_SPEECH_OFFSET_IN_MILLISECONDS = 1526 |
Value used in the tests for an end of speech offset. More... | |
static const std::string | START_OF_SPEECH_TIMESTAMP_FIELD_NAME = "startOfSpeechTimestamp" |
static const auto | START_OF_SPEECH_TIMESTAMP = std::chrono::steady_clock::now() |
Value used in the tests for an start of speech timestamp. More... | |
static const auto | START_OF_SPEECH_TIMESTAMP_STR = std::to_string(START_OF_SPEECH_TIMESTAMP.time_since_epoch().count()) |
String value used for start of speech timestamp string representation. More... | |
static const size_t | MESSAGE_ATTACHMENT_KWD_METADATA_INDEX = 0 |
The index of the Wakeword engine metadata in the MessageRequest . More... | |
static const std::string | KWD_METADATA_EXAMPLE = "Wakeword engine metadata example" |
Sample Wakeword engine metadata to compare with the @ AttachmentReader. More... | |
static const std::string | WAKE_WORD_CONFIRMATION_PAYLOAD_KEY = "wakeWordConfirmation" |
The value of the payload key for wakeWordConfirmation. More... | |
static const std::string | SPEECH_CONFIRMATION_PAYLOAD_KEY = "speechConfirmation" |
The value of the payload key for speechConfirmation. More... | |
static const std::string | WAKEWORDS_PAYLOAD_KEY = "wakeWords" |
The value of the payload key for wake words. More... | |
static const std::set< std::string > | SUPPORTED_WAKE_WORDS = {"ALEXA", "ECHO"} |
A list of test supported wake words. More... | |
static const std::map< std::string, std::set< std::set< std::string > > > | SUPPORTED_LOCALE_SPECIFIC_WAKEWORDS |
A list of test supported locale specific wakewords. More... | |
static const std::set< std::string > | SUPPORTED_LOCALES = {"en-CA", "en-US"} |
A list of test supported locales. More... | |
static const std::string | DEFAULT_LOCALE = "en-CA" |
Default locale. More... | |
static const std::string | CAPABILITY_INTERFACE_CONFIGURATIONS_KEY = "configurations" |
Capability configuration key used to give more details about the device configuration. More... | |
static const ContextRequestToken | CONTEXT_REQUEST_TOKEN {1} |
static const AudioInputProcessor::EncodingFormatRequest | ENCODING_FORMAT_REQ |
Request to configure AIP to produce multiple audio streams with different encoding formats. More... | |
static const AudioInputProcessor::EncodingFormatResponse | ENCODING_FORMAT_RSP |
Response for the request to AIP to produce multiple audio streams. More... | |
static const std::map< std::string, std::string > | EXPECTED_ENCODING_FORMATS |
Expected resolve key to encoding format strings. More... | |
using alexaClientSDK::capabilityAgents::aip::test::Bytes = typedef audioEncoderInterfaces::BlockAudioEncoderInterface::Bytes |
Byte array for audio sample data passing.
using alexaClientSDK::capabilityAgents::aip::test::Sample = typedef uint16_t |
Integral type of a sample.
|
static |
Component name for power resource management.
|
static |
|
static |
Utility function to look up a JSON 'long' in a container.
|
static |
Utility function to look up a JSON string in a container.
alexaClientSDK::capabilityAgents::aip::test::MATCHER_P | ( | IsSamePowerResource | , |
id | , | ||
"" | |||
) |
A matcher to compare PowerResourceId.
|
static |
Utility function to parse a JSON document.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutDirectiveSequencer | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid DirectiveSequencerInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutMessageSender | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid MessageSenderInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutContextManager | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid ContextManagerInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutFocusManager | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid FocusManagerInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutStateAggregator | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid DialogUXStateAggregator
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutExceptionSender | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid ExceptionEncounteredSenderInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutUserInactivityMonitor | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid UserInactivityMonitorInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutCapabilityChangeNotifier | |||
) |
Function to verify that AudioInputProcessor::create()
errors out with an invalid CapabilityChangeNotifier
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutAudioProvider | |||
) |
Function to verify that AudioInputProcessor::create()
succeeds with a null AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutPowerResourceManager | |||
) |
Function to verify that AudioInputProcessor::create()
succeeds with a null PowerResourceManagerInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_createWithoutMetricRecorder | |||
) |
Function to verify that AudioInputProcessor::create()
succeeds with a null MetricRecorderInterface
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_getConfiguration | |||
) |
Function to verify that AudioInputProcessor::getconfiguration()
returns the expected configuration data.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_addRemoveObserver | |||
) |
Function to verify that observers can be added/removed. Nothing is directly asserted here, but this test verifies that these functions work without crashing.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeNullStream | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails when given a null AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeInvalidAudioFormat | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails when given invalid AudioFormats
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizePressAndHold | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::PRESS_AND_HOLD
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeTap | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::TAP
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithoutKeyword | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails with Initiator::WAKEWORD
and no keyword.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithBadBegin | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails with Initiator::WAKEWORD
and invalid begin index.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithKeyword | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::WAKEWORD
and keyword.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithGoodBegin | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::WAKEWORD
valid begin.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithGoodBeginAndEnd | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::WAKEWORD
valid begin and end indices.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeCloseTalk | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with ASRProfile::CLOSE_TALK
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeNearField | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with ASRProfile::NEAR_FIELD
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeFarField | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with ASRProfile::FAR_FIELD
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeFarFieldWithEncoder | |||
) |
Test if AudioInputProcessor::recognize()
works with an audio encoder.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeFarFieldWithEncoderDisabled | |||
) |
Test if AudioInputProcessor::recognize()
works with an audio encoder.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeFarFieldWithEncoderReEnabled | |||
) |
Test if AudioInputProcessor::recognize()
works with an audio encoder.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWhileExpectingSpeech | |||
) |
This function verifies that AudioInputProcessor::recognize()
works in State::EXPECTING_SPEECH
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeStopAfterRecognize | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with a call to stopCapture()
immediately after the recognize()
call.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeStopAfterContext | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with a call to stopCapture()
immediately after the onContextAvailable()
call.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeStopAfterFocus | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with a call to stopCapture()
immediately after the onFocusChanged()
call.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeStopAfterSend | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with a call to stopCapture()
immediately after the message is sent.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingCloseTalk | |||
) |
This function verifies that AudioInputProcessor::recognize()
works in State::RECOGNIZING
when the previous recognize used the CLOSE_TALK profile.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingNearField | |||
) |
This function verifies that AudioInputProcessor::recognize()
works in State::RECOGNIZING
when the previous recognize used the NEAR_FIELD profile.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingFarField | |||
) |
This function verifies that AudioInputProcessor::recognize()
works in State::RECOGNIZING
when the previous recognize used the FAR_FIELD profile.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingCantOverride | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails in State::RECOGNIZING
when the second AudioProvider
can't override.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingCantBeOverridden | |||
) |
This function verifies that AudioInputProcessor::recognize()
fails in State::RECOGNIZING
when the first AudioProvider
can't be overridden.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureWhenIdle | |||
) |
This function verifies that AudioInputProcessor::stopCapture()
fails in State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureWhenExpectingSpeech | |||
) |
This function verifies that AudioInputProcessor::stopCapture()
fails in State::EXPECTING_SPEECH
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureWhenRecognizing | |||
) |
This function verifies that AudioInputProcessor::stopCapture()
works in State::RECOGNIZING
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureWhenRecognizingFollowByStopCaptureDirective | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_resetStateWhenIdle | |||
) |
This function verifies that AudioInputProcessor::resetState()
works in State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_resetStateWhenExpectingSpeech | |||
) |
This function verifies that AudioInputProcessor::resetState()
works in State::EXPECTING_SPEECH
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_resetStateWhenRecognizing | |||
) |
This function verifies that AudioInputProcessor::resetState()
works in State::RECOGNIZING
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_contextFailureStateProviderTimedout | |||
) |
This function verifies that AudioInputProcessor
responds correctly to ContextRequestError::STATE_PROVIDER_TIMEDOUT
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_contextFailureBuildContextError | |||
) |
This function verifies that AudioInputProcessor
responds correctly to ContextRequestError::BUILD_CONTEXT_ERROR
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveStopCaptureWhenIdle | |||
) |
This function verifies that StopCapture directives fail in State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveStopCaptureWhenRecognizing | |||
) |
This function verifies that StopCapture directives with dialog request ID work in State::RECOGNIZING
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveStopCaptureWhenExpectingSpeech | |||
) |
This function verifies that StopCapture directives fail in State::EXPECTING_SPEECH
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleDirectiveImmediatelyStopCaptureWhenRecognizing | |||
) |
This function verifies that StopCapture directives without dialog request ID work in State::RECOGNIZING
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveExpectSpeechWhenIdle | |||
) |
This function verifies that ExpectSpeech directives with dialog request ID work in State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleDirectiveImmediatelyExpectSpeechWhenIdle | |||
) |
This function verifies that ExpectSpeech directives without dialog request ID work in State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveExpectSpeechWhenRecognizing | |||
) |
This function verifies that ExpectSpeech directives fail in State::RECOGNIZING
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_preHandleAndHandleDirectiveExpectSpeechWhenExpectingSpeech | |||
) |
This function verifies that ExpectSpeech directives fail in State::EXPECTING_SPEECH
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechNoDefaultNoPrevious | |||
) |
This function verifies that ExpectSpeech directives wait with no default and no previous AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechUnreadableDefaultNoPrevious | |||
) |
This function verifies that ExpectSpeech directives wait with unreadable default and no previous AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechUnreadableDefaultUnreadablePrevious | |||
) |
This function verifies that ExpectSpeech directives wait with unreadable default and unreadable previous AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechNoDefaultReadablePrevious | |||
) |
This function verifies that ExpectSpeech directives work with no default and readable previous AudioProvider
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechWithInitiator | |||
) |
This function verifies that the initiator from an ExpectSpeech is passed to a subsequent Recognize.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechWithNoInitiator | |||
) |
This function verifies that if the ExpectSpeech does not have an initiator, no initiator is present in the subsequent Recognize.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_expectSpeechWithInitiatorTimedOut | |||
) |
This function verifies that if the ExpectSpeech times out, the next user initiated Recognize will send the standard initiator and not the one passed from AVS.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
handleExpectSpeechTimeoutExternallyWithTimeout | |||
) |
This function verifies that ExpectSpeech directives can be handled externally and that AIP may be notified back of an ExpectSpeech timeout with an AudioProvider
that is not always readable.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
handleExpectSpeechTimeoutExternallyWithoutTimeout | |||
) |
This function verifies that ExpectSpeech directives can be handled externally and that AIP remains in an EXPECTING_SPEECH
state if no call is made back to AIP to notify of an ExpectSpeech timeout with an AudioProvider
that is not always readable.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
handleExpectSpeechTimeoutInternallyWithAlwaysReadableAudioProviderResultsInRecognize | |||
) |
This function verifies that ExpectSpeech directives that are not handled externally with an always readable AudioProvider
will result in an automatic transition to RECOGNIZING.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
handleExpectSpeechTimeoutExternallyWithAlwaysReadableAudioProviderResultsInRecognize | |||
) |
This function verifies that ExpectSpeech directives that are handled externally with an always readable AudioProvider
will result in an automatic transition to RECOGNIZING.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_focusChangedBackground | |||
) |
This function verifies that a focus change to FocusState::BACKGROUND
causes the AudioInputProcessor
to release the channel and go back to State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_focusChangedNone | |||
) |
This function verifies that a focus change to FocusState::NONE
causes the AudioInputProcessor
to release the channel and go back to State::IDLE
.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_resetStateOnTimeOut | |||
) |
Test that the AudioInputProcessor
correctly transitions to State::IDLE
if Status::TIMEDOUT
is received
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithESPWithKeyword | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithInvalidESPWithKeyword | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeOPUSWithTap | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeOPUSWithPressAndHold | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeOPUSWithWakeWord | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with OPUS encoding used with Initiator::WAKEWORD
valid begin and end indices.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithKWDMetadata | |||
) |
This function verifies that AudioInputProcessor::recognize()
creates a MessageRequest
with KWDMetadata When metadata has been received
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeInvalidWakeWord | |||
) |
This function verifies that AudioInputProcessor::recognize()
does not generate an event for invalid keyword detections (ex. "STOP")
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessBeforeClose | |||
) |
This function verifies that AudioInputProcessor
state will continue listening when the recognize event stream has received SUCCESS but not yet closed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccess | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has been successfully sent.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessNoContentBeforeClose | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has received SUCCESS_NO_CONTENT but the stream has not yet closed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamPendingBeforeClose | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has received PENDING but the stream has not yet closed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessNoContent | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has been successfully sent but received no HTTP/2 content.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessNotConnected | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to connection to AVS has been severed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamNotSynchronized | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to AVS is not synchronized.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamInternalrror | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to an internal error within ACL.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamProtocolError | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to an underlying protocol error.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamServerInternalError | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to an internal error on the server which sends code 500.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamRefused | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to server refusing the request.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamCanceled | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to server canceling it before the transmission completed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamThrottled | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to excessive load on the server.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamInvalidAuth | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to the access credentials provided to ACL were invalid.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamBadRequest | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to invalid request sent by the user.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamUnknownServerError | |||
) |
This function verifies that AudioInputProcessor
state will stop listening when the recognize event stream has not been sent due to unknown server error.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamSuccess | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has been successfully sent.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamSuccessNoContent | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has been successfully sent but received no HTTP/2 content.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamSuccessNotConnected | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to connection to AVS has been severed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamNotSynchronized | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to AVS is not synchronized.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamInternalrror | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to an internal error within ACL.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamProtocolError | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to an underlying protocol error.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamServerInternalError | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to an internal error on the server which sends code 500.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamRefused | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to server refusing the request.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamCanceled | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to server canceling it before the transmission completed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamThrottled | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to excessive load on the server.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamInvalidAuth | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to the access credentials provided to ACL were invalid.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamBadRequest | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to invalid request sent by the user.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnDirectiveAndStreamUnknownServerError | |||
) |
This function verifies that AudioInputProcessor
state is correct after receiving a stop capture directive and the recognize event stream has not been sent due to unknown server error.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessAndDirectiveBeforeClose | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has received SUCCESS but is not yet closed and a stop capture directive has been received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has been successfully sent and a stop capture directive is received. Also make sure setCompleted() is called on the directive.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessNoContentAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has been successfully sent but received no HTTP/2 content and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamSuccessNotConnectedAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to connection to AVS has been severed and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamNotSynchronizedAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to AVS is not synchronized and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamInternalrrorAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to an internal error within ACL and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamProtocolErrorAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to an underlying protocol error and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamServerInternalErrorAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to an internal error on the server which sends code 500 and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamRefusedAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to server refusing the request and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamCanceledAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to server canceling it before the transmission completed and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamThrottledAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to excessive load on the server and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamInvalidAuthAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to the access credentials provided to ACL were invalid and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamBadRequestAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to invalid request sent by the user and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureOnStreamUnknownServerErrorAndDirective | |||
) |
This function verifies that AudioInputProcessor
state is correct after the recognize event stream has not been sent due to unknown server error and a stop capture directive is received.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleSetEndOfSpeechOffsetSuccess | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleSetEndOfSpeechOffsetFailureInvalid | |||
) |
This function verifies that the SET_END_OF_SPEECH_OFFSET directive gracefully handles invalid offset values
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleSetEndOfSpeechOffsetFailureMissing | |||
) |
This function verifies that the SET_END_OF_SPEECH_OFFSET directive gracefully handles missing offset values
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_handleSetWakeWordConfirmation | |||
) |
This function verifies that the SetWakeWordConfirmation directive can be handled successfully.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_setSpeechConfirmation | |||
) |
This function verifies that the SetSpeechConfirmation directive can be handled successfully.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_setWakeWordsDirectiveSuccess | |||
) |
Test if SetWakeWords directive is handled correctly.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_publishedCapabiltiesContainsSupportedWakeWords | |||
) |
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_localeAssetsChanged | |||
) |
Test if the AudioInputProcessor
notifies observers when locale asset is changed and updates its own capability configurations.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_requestEncodingAudioFormatsSuccess | |||
) |
Test if request for multiple encoding formats can be handled correctly.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_requestEncodingAudioFormatsWithFallbackAndUnsupportedFormats | |||
) |
Test if request for unsupported encoding formats can be handled correctly.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_requestEncodingAudioFormatsFails | |||
) |
This function verifies that when no provided encoding formats are supported, the current encoding formats won't be changed.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithKeywordForMultiStreams | |||
) |
This function verifies that AudioInputProcessor::recognize()
works with Initiator::WAKEWORD
and keyword for multiple audio streams
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithMetadataForMultipleAudioStreams | |||
) |
This function verifies that recognize() works with KWD metadata for multiple audio streams.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordStopAfterSendForMultiStreams | |||
) |
This function verifies that recognize() works for multiple audio streams when stopCapture is called after message is sent
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordStopAfterRecognizeForMultiStreams | |||
) |
This function verifies that recognize() works for multiple audio streams when stopCapture is called immediately after recognize() is called.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordStopAfterContextForMultiStreams | |||
) |
This function verifies that recognize() works for multiple audio streams when stopCapture is called immediately after onContextAvailable() called.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordStopCaptureAfterFocusForMultiStreams | |||
) |
This function verifies that recognize() works for multiple audio streams when stopCapture() is called after onFocusChanged() called.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWakewordWithGoodBeginAndEndForMultiStreams | |||
) |
This function verifies that recognize() works for multiple streams when valid begin and end indices are provided.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeBargeInWhileRecognizingCloseTalkForMultiStreams | |||
) |
This function verifies that recognize() works for multiple audio streams in State::RECOGNIZING when the previous * recognize used the CLOSE_TALK profile. Disabled for potential race condition in audio encoder.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_stopCaptureWhenRecognizingForMultiStreams | |||
) |
This function verifies that AudioInputProcessor::stopCapture()
works in State::RECOGNIZING
with multiple audio streams.
alexaClientSDK::capabilityAgents::aip::test::TEST_F | ( | AudioInputProcessorTest | , |
test_recognizeWorksWithOneFormatInRequestEncodingAudioFormats | |||
) |
This function verifies that after call requestEncodingAudioFormats with only one format in the request, AIP will still send resolved MessageRequest.
|
static |
General timeout for tests to fail.
|
static |
Boolean value to indicate an AudioProvider is always readable.
|
static |
JSON key for the ASR profile field of a recognize event.
|
static |
The field name for the user voice attachment.
|
static |
JSON key for the audio format field of a recognize event.
|
static |
JSON value for audio format LPCM.
|
static |
JSON value for audio format OPUS.
|
static |
Accepted JSON values for a recognize event's audio format.
|
static |
Boolean value to indicate an AudioProvider can be overridden by another AudioProvider.
|
static |
Boolean value to indicate an AudioProvider can override another AudioProvider.
|
static |
Capability configuration key used to give more details about the device configuration.
|
static |
The name of the FocusManager
channel used by AudioInputProvider
.
|
static |
|
static |
Default locale.
|
static |
The directives AudioInputProcessor
should handle.
|
static |
Request to configure AIP to produce multiple audio streams with different encoding formats.
|
static |
Response for the request to AIP to produce multiple audio streams.
|
static |
JSON key for the end index field of a wakeword recognize event's payload.
|
static |
The field name for the end of speech offset, reported in milliseconds. This field comes in the payload of the SetEndOfSpeechOffset directive.
|
static |
Value used in the tests for an end of speech offset.
|
static |
JSON key for the ambient energy field of a ReportEchoSpatialPerceptionData event.
|
static |
JSON value for a ReportEchoSpatialPerceptionData event's name.
|
static |
JSON key for the voice energy field of a ReportEchoSpatialPerceptionData event.
|
static |
The ExpectSpeech directive signature.
|
static |
Value used in the tests for an expect speech initiator.
|
static |
JSON key for the initiator field of an expect speech directive.
|
static |
JSON value for a expect speech timed out event's name.
|
static |
Value used in the tests for an expect speech timeout.
|
static |
JSON key for the timeout field of an expect speech directive.
|
static |
Expected resolve key to encoding format strings.
|
static |
JSON key for the type field of a recognize event's payload.
|
static |
JSON key for the type field of a recognize event's initiator.
|
static |
Value used in the tests for a wakeword recognize event.
|
static |
Sample Wakeword engine metadata to compare with the @ AttachmentReader.
|
static |
The field name for the wake word engine metadata.
|
static |
The index of the Wakeword engine metadata in the MessageRequest
.
|
static |
JSON key for the context section of a message.
|
static |
JSON key for the dialog request ID field of a message header.
|
static |
JSON key for the directive section of a message.
|
static |
JSON key for the event section of a message.
|
static |
JSON key for the header section of a message.
|
static |
JSON key for the message ID field of a message header.
|
static |
JSON key for the name field of a message header.
|
static |
JSON key for the namespace field of a message header.
|
static |
JSON key for the payload section of an message.
|
static |
The namespace for this capability agent.
|
static |
Number of channels in audio input stream.
|
static |
Number of test pattern words to write to the SDS circular buffer.
|
static |
Number of milliseconds of preroll applied for cloud-based wakeword verification.
|
static |
Number of words of preroll.
|
static |
JSON value for a recognize event's name.
|
static |
JSON key for the initiator field of a recognize event.
|
static |
The SpeechRecognizer context state signature.
|
static |
Sample rate for audio input stream.
|
static |
Sample size for audio input stream.
|
static |
Maximum number of readers to support in the SDS circular buffer.
|
static |
Number of words to hold in the SDS circular buffer.
|
static |
Number of bytes per word in the SDS circular buffer.
|
static |
The SetEndOfSpeechOffset directive signature.
|
static |
The SetSpeechConfirmation directive signature.
|
static |
The SetWakeWordConfirmation directive signature.
|
static |
The SetWakeWords directive signature.
|
static |
The value of the payload key for speechConfirmation.
|
static |
JSON key for the start index field of a wakeword recognize event's payload.
|
static |
Value used in the tests for an start of speech timestamp.
|
static |
The field name for the start of speech timestamp. It is sent during Recognize event and received as part of SetEndOfSpeechOffset directive.
|
static |
String value used for start of speech timestamp string representation.
|
static |
The StopCapture directive signature.
|
static |
A list of test supported locale specific wakewords.
|
static |
A list of test supported locales.
|
static |
A list of test supported wake words.
|
static |
Boolean value to indicate an expect speech directive should time out.
|
static |
The value of the payload key for wakeWordConfirmation.
|
static |
JSON key for the wakeword indices field of a wakeword recognize event's payload.
|
static |
The field name for the wake word detected.
|
static |
Number of words in wakeword.
|
static |
The value of the payload key for wake words.
|
static |
Boolean value to indicate a directive being tested has a dialog request ID.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0