#include "services/device/public/mojom/hid.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/hid.mojom-params-data.h"
namespace device {
namespace mojom {
NOINLINE static const char* HidBusTypeToStringHelper(HidBusType value) { … }
std::string HidBusTypeToString(HidBusType value) { … }
std::ostream& operator<<(std::ostream& os, HidBusType value) { … }
namespace internal {
bool HidUsageAndPage_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidUsageAndPage_Data::HidUsageAndPage_Data()
: … { … }
bool HidReportItem_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidReportItem_Data::HidReportItem_Data()
: … { … }
bool HidReportDescription_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidReportDescription_Data::HidReportDescription_Data()
: … { … }
bool HidCollectionInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidCollectionInfo_Data::HidCollectionInfo_Data()
: … { … }
bool HidDeviceInfo_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidDeviceInfo_Data::HidDeviceInfo_Data()
: … { … }
bool HidManagerClient_DeviceAdded_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManagerClient_DeviceAdded_Params_Data::HidManagerClient_DeviceAdded_Params_Data()
: … { … }
bool HidManagerClient_DeviceRemoved_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManagerClient_DeviceRemoved_Params_Data::HidManagerClient_DeviceRemoved_Params_Data()
: … { … }
bool HidManagerClient_DeviceChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManagerClient_DeviceChanged_Params_Data::HidManagerClient_DeviceChanged_Params_Data()
: … { … }
bool HidManager_GetDevicesAndSetClient_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_GetDevicesAndSetClient_Params_Data::HidManager_GetDevicesAndSetClient_Params_Data()
: … { … }
bool HidManager_GetDevicesAndSetClient_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_GetDevicesAndSetClient_ResponseParams_Data::HidManager_GetDevicesAndSetClient_ResponseParams_Data()
: … { … }
bool HidManager_GetDevices_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_GetDevices_Params_Data::HidManager_GetDevices_Params_Data()
: … { … }
bool HidManager_GetDevices_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_GetDevices_ResponseParams_Data::HidManager_GetDevices_ResponseParams_Data()
: … { … }
bool HidManager_Connect_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_Connect_Params_Data::HidManager_Connect_Params_Data()
: … { … }
bool HidManager_Connect_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_Connect_ResponseParams_Data::HidManager_Connect_ResponseParams_Data()
: … { … }
bool HidManager_AddReceiver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidManager_AddReceiver_Params_Data::HidManager_AddReceiver_Params_Data()
: … { … }
bool HidConnection_Read_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_Read_Params_Data::HidConnection_Read_Params_Data()
: … { … }
bool HidConnection_Read_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_Read_ResponseParams_Data::HidConnection_Read_ResponseParams_Data()
: … { … }
bool HidConnection_Write_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_Write_Params_Data::HidConnection_Write_Params_Data()
: … { … }
bool HidConnection_Write_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_Write_ResponseParams_Data::HidConnection_Write_ResponseParams_Data()
: … { … }
bool HidConnection_GetFeatureReport_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_GetFeatureReport_Params_Data::HidConnection_GetFeatureReport_Params_Data()
: … { … }
bool HidConnection_GetFeatureReport_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_GetFeatureReport_ResponseParams_Data::HidConnection_GetFeatureReport_ResponseParams_Data()
: … { … }
bool HidConnection_SendFeatureReport_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_SendFeatureReport_Params_Data::HidConnection_SendFeatureReport_Params_Data()
: … { … }
bool HidConnection_SendFeatureReport_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnection_SendFeatureReport_ResponseParams_Data::HidConnection_SendFeatureReport_ResponseParams_Data()
: … { … }
bool HidConnectionClient_OnInputReport_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HidConnectionClient_OnInputReport_Params_Data::HidConnectionClient_OnInputReport_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::device::mojom::HidBusType>::WriteIntoTrace(
perfetto::TracedValue context, ::device::mojom::HidBusType value) { … }
}