#include "media/mojo/mojom/speech_recognition.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "media/mojo/mojom/speech_recognition.mojom-params-data.h"
namespace media {
namespace mojom {
NOINLINE static const char* ConfidenceLevelToStringHelper(ConfidenceLevel value) { … }
std::string ConfidenceLevelToString(ConfidenceLevel value) { … }
std::ostream& operator<<(std::ostream& os, ConfidenceLevel value) { … }
NOINLINE static const char* AsrSwitchResultToStringHelper(AsrSwitchResult value) { … }
std::string AsrSwitchResultToString(AsrSwitchResult value) { … }
std::ostream& operator<<(std::ostream& os, AsrSwitchResult value) { … }
NOINLINE static const char* SpeechRecognitionModeToStringHelper(SpeechRecognitionMode value) { … }
std::string SpeechRecognitionModeToString(SpeechRecognitionMode value) { … }
std::ostream& operator<<(std::ostream& os, SpeechRecognitionMode value) { … }
NOINLINE static const char* RecognizerClientTypeToStringHelper(RecognizerClientType value) { … }
std::string RecognizerClientTypeToString(RecognizerClientType value) { … }
std::ostream& operator<<(std::ostream& os, RecognizerClientType value) { … }
namespace internal {
bool HypothesisParts_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HypothesisParts_Data::HypothesisParts_Data()
: … { … }
bool TimingInformation_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TimingInformation_Data::TimingInformation_Data()
: … { … }
bool SpeechRecognitionResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionResult_Data::SpeechRecognitionResult_Data()
: … { … }
bool LanguageIdentificationEvent_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
LanguageIdentificationEvent_Data::LanguageIdentificationEvent_Data()
: … { … }
bool SpeechRecognitionSurfaceMetadata_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurfaceMetadata_Data::SpeechRecognitionSurfaceMetadata_Data()
: … { … }
bool SpeechRecognitionOptions_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionOptions_Data::SpeechRecognitionOptions_Data()
: … { … }
bool SpeechRecognitionContext_BindRecognizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionContext_BindRecognizer_Params_Data::SpeechRecognitionContext_BindRecognizer_Params_Data()
: … { … }
bool SpeechRecognitionContext_BindRecognizer_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionContext_BindRecognizer_ResponseParams_Data::SpeechRecognitionContext_BindRecognizer_ResponseParams_Data()
: … { … }
bool SpeechRecognitionContext_BindWebSpeechRecognizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionContext_BindWebSpeechRecognizer_Params_Data::SpeechRecognitionContext_BindWebSpeechRecognizer_Params_Data()
: … { … }
bool SpeechRecognitionRecognizer_SendAudioToSpeechRecognitionService_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizer_SendAudioToSpeechRecognitionService_Params_Data::SpeechRecognitionRecognizer_SendAudioToSpeechRecognitionService_Params_Data()
: … { … }
bool SpeechRecognitionRecognizer_MarkDone_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizer_MarkDone_Params_Data::SpeechRecognitionRecognizer_MarkDone_Params_Data()
: … { … }
bool SpeechRecognitionRecognizer_OnLanguageChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizer_OnLanguageChanged_Params_Data::SpeechRecognitionRecognizer_OnLanguageChanged_Params_Data()
: … { … }
bool SpeechRecognitionRecognizer_OnMaskOffensiveWordsChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizer_OnMaskOffensiveWordsChanged_Params_Data::SpeechRecognitionRecognizer_OnMaskOffensiveWordsChanged_Params_Data()
: … { … }
bool SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_Params_Data()
: … { … }
bool SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_ResponseParams_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionRecognitionEvent_ResponseParams_Data()
: … { … }
bool SpeechRecognitionRecognizerClient_OnSpeechRecognitionStopped_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizerClient_OnSpeechRecognitionStopped_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionStopped_Params_Data()
: … { … }
bool SpeechRecognitionRecognizerClient_OnSpeechRecognitionError_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizerClient_OnSpeechRecognitionError_Params_Data::SpeechRecognitionRecognizerClient_OnSpeechRecognitionError_Params_Data()
: … { … }
bool SpeechRecognitionRecognizerClient_OnLanguageIdentificationEvent_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionRecognizerClient_OnLanguageIdentificationEvent_Params_Data::SpeechRecognitionRecognizerClient_OnLanguageIdentificationEvent_Params_Data()
: … { … }
bool SpeechRecognitionBrowserObserver_SpeechRecognitionAvailabilityChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionBrowserObserver_SpeechRecognitionAvailabilityChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionAvailabilityChanged_Params_Data()
: … { … }
bool SpeechRecognitionBrowserObserver_SpeechRecognitionLanguageChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionBrowserObserver_SpeechRecognitionLanguageChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionLanguageChanged_Params_Data()
: … { … }
bool SpeechRecognitionBrowserObserver_SpeechRecognitionMaskOffensiveWordsChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionBrowserObserver_SpeechRecognitionMaskOffensiveWordsChanged_Params_Data::SpeechRecognitionBrowserObserver_SpeechRecognitionMaskOffensiveWordsChanged_Params_Data()
: … { … }
bool SpeechRecognitionSurface_Activate_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurface_Activate_Params_Data::SpeechRecognitionSurface_Activate_Params_Data()
: … { … }
bool SpeechRecognitionSurface_GetBounds_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurface_GetBounds_Params_Data::SpeechRecognitionSurface_GetBounds_Params_Data()
: … { … }
bool SpeechRecognitionSurface_GetBounds_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurface_GetBounds_ResponseParams_Data::SpeechRecognitionSurface_GetBounds_ResponseParams_Data()
: … { … }
bool SpeechRecognitionSurfaceClient_OnSessionEnded_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurfaceClient_OnSessionEnded_Params_Data::SpeechRecognitionSurfaceClient_OnSessionEnded_Params_Data()
: … { … }
bool SpeechRecognitionSurfaceClient_OnFullscreenToggled_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionSurfaceClient_OnFullscreenToggled_Params_Data::SpeechRecognitionSurfaceClient_OnFullscreenToggled_Params_Data()
: … { … }
bool SpeechRecognitionClientBrowserInterface_BindSpeechRecognitionBrowserObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionClientBrowserInterface_BindSpeechRecognitionBrowserObserver_Params_Data::SpeechRecognitionClientBrowserInterface_BindSpeechRecognitionBrowserObserver_Params_Data()
: … { … }
bool SpeechRecognitionClientBrowserInterface_BindRecognizerToRemoteClient_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SpeechRecognitionClientBrowserInterface_BindRecognizerToRemoteClient_Params_Data::SpeechRecognitionClientBrowserInterface_BindRecognizerToRemoteClient_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::ConfidenceLevel>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::ConfidenceLevel value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::AsrSwitchResult>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::AsrSwitchResult value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::SpeechRecognitionMode>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::SpeechRecognitionMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media::mojom::RecognizerClientType>::WriteIntoTrace(
perfetto::TracedValue context, ::media::mojom::RecognizerClientType value) { … }
}