#include "services/device/public/mojom/smart_card.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 "services/device/public/mojom/smart_card.mojom-params-data.h"
namespace device {
namespace mojom {
NOINLINE static const char* SmartCardSuccessToStringHelper(SmartCardSuccess value) { … }
std::string SmartCardSuccessToString(SmartCardSuccess value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardSuccess value) { … }
NOINLINE static const char* SmartCardErrorToStringHelper(SmartCardError value) { … }
std::string SmartCardErrorToString(SmartCardError value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardError value) { … }
NOINLINE static const char* SmartCardShareModeToStringHelper(SmartCardShareMode value) { … }
std::string SmartCardShareModeToString(SmartCardShareMode value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardShareMode value) { … }
NOINLINE static const char* SmartCardProtocolToStringHelper(SmartCardProtocol value) { … }
std::string SmartCardProtocolToString(SmartCardProtocol value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardProtocol value) { … }
NOINLINE static const char* SmartCardDispositionToStringHelper(SmartCardDisposition value) { … }
std::string SmartCardDispositionToString(SmartCardDisposition value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardDisposition value) { … }
NOINLINE static const char* SmartCardConnectionStateToStringHelper(SmartCardConnectionState value) { … }
std::string SmartCardConnectionStateToString(SmartCardConnectionState value) { … }
std::ostream& operator<<(std::ostream& os, SmartCardConnectionState value) { … }
namespace internal {
bool SmartCardResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardStatusChangeResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardListReadersResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardCreateContextResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardConnectResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardDataResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardStatusResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardTransactionResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context,
bool inlined) { … }
bool SmartCardReaderStateFlags_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardReaderStateFlags_Data::SmartCardReaderStateFlags_Data()
: … { … }
bool SmartCardReaderStateIn_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardReaderStateIn_Data::SmartCardReaderStateIn_Data()
: … { … }
bool SmartCardReaderStateOut_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardReaderStateOut_Data::SmartCardReaderStateOut_Data()
: … { … }
bool SmartCardProtocols_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardProtocols_Data::SmartCardProtocols_Data()
: … { … }
bool SmartCardStatus_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardStatus_Data::SmartCardStatus_Data()
: … { … }
bool SmartCardConnectSuccess_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnectSuccess_Data::SmartCardConnectSuccess_Data()
: … { … }
bool SmartCardTransaction_EndTransaction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardTransaction_EndTransaction_Params_Data::SmartCardTransaction_EndTransaction_Params_Data()
: … { … }
bool SmartCardTransaction_EndTransaction_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardTransaction_EndTransaction_ResponseParams_Data::SmartCardTransaction_EndTransaction_ResponseParams_Data()
: … { … }
bool SmartCardConnection_Disconnect_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Disconnect_Params_Data::SmartCardConnection_Disconnect_Params_Data()
: … { … }
bool SmartCardConnection_Disconnect_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Disconnect_ResponseParams_Data::SmartCardConnection_Disconnect_ResponseParams_Data()
: … { … }
bool SmartCardConnection_Transmit_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Transmit_Params_Data::SmartCardConnection_Transmit_Params_Data()
: … { … }
bool SmartCardConnection_Transmit_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Transmit_ResponseParams_Data::SmartCardConnection_Transmit_ResponseParams_Data()
: … { … }
bool SmartCardConnection_Control_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Control_Params_Data::SmartCardConnection_Control_Params_Data()
: … { … }
bool SmartCardConnection_Control_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Control_ResponseParams_Data::SmartCardConnection_Control_ResponseParams_Data()
: … { … }
bool SmartCardConnection_GetAttrib_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_GetAttrib_Params_Data::SmartCardConnection_GetAttrib_Params_Data()
: … { … }
bool SmartCardConnection_GetAttrib_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_GetAttrib_ResponseParams_Data::SmartCardConnection_GetAttrib_ResponseParams_Data()
: … { … }
bool SmartCardConnection_SetAttrib_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_SetAttrib_Params_Data::SmartCardConnection_SetAttrib_Params_Data()
: … { … }
bool SmartCardConnection_SetAttrib_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_SetAttrib_ResponseParams_Data::SmartCardConnection_SetAttrib_ResponseParams_Data()
: … { … }
bool SmartCardConnection_Status_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Status_Params_Data::SmartCardConnection_Status_Params_Data()
: … { … }
bool SmartCardConnection_Status_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_Status_ResponseParams_Data::SmartCardConnection_Status_ResponseParams_Data()
: … { … }
bool SmartCardConnection_BeginTransaction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_BeginTransaction_Params_Data::SmartCardConnection_BeginTransaction_Params_Data()
: … { … }
bool SmartCardConnection_BeginTransaction_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardConnection_BeginTransaction_ResponseParams_Data::SmartCardConnection_BeginTransaction_ResponseParams_Data()
: … { … }
bool SmartCardContext_ListReaders_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_ListReaders_Params_Data::SmartCardContext_ListReaders_Params_Data()
: … { … }
bool SmartCardContext_ListReaders_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_ListReaders_ResponseParams_Data::SmartCardContext_ListReaders_ResponseParams_Data()
: … { … }
bool SmartCardContext_GetStatusChange_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_GetStatusChange_Params_Data::SmartCardContext_GetStatusChange_Params_Data()
: … { … }
bool SmartCardContext_GetStatusChange_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_GetStatusChange_ResponseParams_Data::SmartCardContext_GetStatusChange_ResponseParams_Data()
: … { … }
bool SmartCardContext_Cancel_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_Cancel_Params_Data::SmartCardContext_Cancel_Params_Data()
: … { … }
bool SmartCardContext_Cancel_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_Cancel_ResponseParams_Data::SmartCardContext_Cancel_ResponseParams_Data()
: … { … }
bool SmartCardContext_Connect_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_Connect_Params_Data::SmartCardContext_Connect_Params_Data()
: … { … }
bool SmartCardContext_Connect_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContext_Connect_ResponseParams_Data::SmartCardContext_Connect_ResponseParams_Data()
: … { … }
bool SmartCardContextFactory_CreateContext_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContextFactory_CreateContext_Params_Data::SmartCardContextFactory_CreateContext_Params_Data()
: … { … }
bool SmartCardContextFactory_CreateContext_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SmartCardContextFactory_CreateContext_ResponseParams_Data::SmartCardContextFactory_CreateContext_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardSuccess>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardSuccess value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardError>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardError value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardShareMode>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardShareMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardProtocol>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardProtocol value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardDisposition>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardDisposition value) { … }
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::SmartCardConnectionState>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::SmartCardConnectionState value) { … }
}