#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "device/vr/public/mojom/browser_test_interfaces.mojom.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-params-data.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-shared-message-ids.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-import-headers.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-test-utils.h"
namespace device_test::mojom {
Color::Color()
: … { … }
Color::Color(
uint8_t r_in,
uint8_t g_in,
uint8_t b_in,
uint8_t a_in)
: … { … }
Color::~Color() = default;
size_t Color::Hash(size_t seed) const { … }
void Color::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool Color::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ViewData::ViewData()
: … { … }
ViewData::ViewData(
ColorPtr color_in,
Eye eye_in,
const ::gfx::Rect& viewport_in)
: … { … }
ViewData::~ViewData() = default;
void ViewData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ViewData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
PoseFrameData::PoseFrameData()
: … { … }
PoseFrameData::PoseFrameData(
const std::optional<::gfx::Transform>& device_to_origin_in)
: … { … }
PoseFrameData::~PoseFrameData() = default;
void PoseFrameData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool PoseFrameData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ProjectionRaw::ProjectionRaw()
: … { … }
ProjectionRaw::ProjectionRaw(
float left_in,
float right_in,
float top_in,
float bottom_in)
: … { … }
ProjectionRaw::~ProjectionRaw() = default;
size_t ProjectionRaw::Hash(size_t seed) const { … }
void ProjectionRaw::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ProjectionRaw::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DeviceConfig::DeviceConfig()
: … { … }
DeviceConfig::DeviceConfig(
float interpupillary_distance_in,
ProjectionRawPtr projection_left_in,
ProjectionRawPtr projection_right_in)
: … { … }
DeviceConfig::~DeviceConfig() = default;
size_t DeviceConfig::Hash(size_t seed) const { … }
void DeviceConfig::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool DeviceConfig::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ControllerAxisData::ControllerAxisData()
: … { … }
ControllerAxisData::ControllerAxisData(
float x_in,
float y_in,
uint8_t axis_type_in)
: … { … }
ControllerAxisData::~ControllerAxisData() = default;
size_t ControllerAxisData::Hash(size_t seed) const { … }
void ControllerAxisData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ControllerAxisData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ControllerFrameData::ControllerFrameData()
: … { … }
ControllerFrameData::ControllerFrameData(
uint32_t packet_number_in,
uint64_t buttons_pressed_in,
uint64_t buttons_touched_in,
uint64_t supported_buttons_in,
std::vector<ControllerAxisDataPtr> axis_data_in,
PoseFrameDataPtr pose_data_in,
ControllerRole role_in,
bool is_valid_in)
: … { … }
ControllerFrameData::~ControllerFrameData() = default;
void ControllerFrameData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool ControllerFrameData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
EventData::EventData()
: … { … }
EventData::EventData(
EventType type_in,
::device::mojom::OpenXrInteractionProfileType interaction_profile_in)
: … { … }
EventData::~EventData() = default;
size_t EventData::Hash(size_t seed) const { … }
void EventData::WriteIntoTrace(
perfetto::TracedValue traced_context) const { … }
bool EventData::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
const char XRTestHook::Name_[] = …;
XRTestHook::IPCStableHashFunction XRTestHook::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRTestHook::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRTestHook::OnFrameSubmitted_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetDeviceConfig_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetPresentingPose_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetMagicWindowPose_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetControllerRoleForTrackedDeviceIndex_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetTrackedDeviceClass_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetControllerData_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetEventData_Sym::IPCStableHash() { … }
uint32_t XRTestHook::WaitGetCanCreateSession_Sym::IPCStableHash() { … }
# endif
bool XRTestHook::OnFrameSubmitted(std::vector<ViewDataPtr> frame_data) { … }
bool XRTestHook::WaitGetDeviceConfig(DeviceConfigPtr* out_config) { … }
bool XRTestHook::WaitGetPresentingPose(PoseFrameDataPtr* out_data) { … }
bool XRTestHook::WaitGetMagicWindowPose(PoseFrameDataPtr* out_data) { … }
bool XRTestHook::WaitGetControllerRoleForTrackedDeviceIndex(uint32_t index, ControllerRole* out_role) { … }
bool XRTestHook::WaitGetTrackedDeviceClass(uint32_t index, TrackedDeviceClass* out_device_class) { … }
bool XRTestHook::WaitGetControllerData(uint32_t index, ControllerFrameDataPtr* out_data) { … }
bool XRTestHook::WaitGetEventData(EventDataPtr* out_data) { … }
bool XRTestHook::WaitGetCanCreateSession(bool* out_can_create_session) { … }
class XRTestHook_OnFrameSubmitted_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_OnFrameSubmitted_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetDeviceConfig_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetDeviceConfig_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetPresentingPose_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetPresentingPose_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetMagicWindowPose_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetMagicWindowPose_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetTrackedDeviceClass_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetTrackedDeviceClass_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetControllerData_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetControllerData_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetEventData_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetEventData_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetCanCreateSession_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRTestHook_WaitGetCanCreateSession_ForwardToCallback
: public mojo::MessageReceiver { … };
XRTestHookProxy::XRTestHookProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
bool XRTestHookProxy::OnFrameSubmitted(
std::vector<ViewDataPtr> param_frame_data) { … }
void XRTestHookProxy::OnFrameSubmitted(
std::vector<ViewDataPtr> in_frame_data, OnFrameSubmittedCallback callback) { … }
bool XRTestHookProxy::WaitGetDeviceConfig(
DeviceConfigPtr* out_param_config) { … }
void XRTestHookProxy::WaitGetDeviceConfig(
WaitGetDeviceConfigCallback callback) { … }
bool XRTestHookProxy::WaitGetPresentingPose(
PoseFrameDataPtr* out_param_data) { … }
void XRTestHookProxy::WaitGetPresentingPose(
WaitGetPresentingPoseCallback callback) { … }
bool XRTestHookProxy::WaitGetMagicWindowPose(
PoseFrameDataPtr* out_param_data) { … }
void XRTestHookProxy::WaitGetMagicWindowPose(
WaitGetMagicWindowPoseCallback callback) { … }
bool XRTestHookProxy::WaitGetControllerRoleForTrackedDeviceIndex(
uint32_t param_index, ControllerRole* out_param_role) { … }
void XRTestHookProxy::WaitGetControllerRoleForTrackedDeviceIndex(
uint32_t in_index, WaitGetControllerRoleForTrackedDeviceIndexCallback callback) { … }
bool XRTestHookProxy::WaitGetTrackedDeviceClass(
uint32_t param_index, TrackedDeviceClass* out_param_device_class) { … }
void XRTestHookProxy::WaitGetTrackedDeviceClass(
uint32_t in_index, WaitGetTrackedDeviceClassCallback callback) { … }
bool XRTestHookProxy::WaitGetControllerData(
uint32_t param_index, ControllerFrameDataPtr* out_param_data) { … }
void XRTestHookProxy::WaitGetControllerData(
uint32_t in_index, WaitGetControllerDataCallback callback) { … }
bool XRTestHookProxy::WaitGetEventData(
EventDataPtr* out_param_data) { … }
void XRTestHookProxy::WaitGetEventData(
WaitGetEventDataCallback callback) { … }
bool XRTestHookProxy::WaitGetCanCreateSession(
bool* out_param_can_create_session) { … }
void XRTestHookProxy::WaitGetCanCreateSession(
WaitGetCanCreateSessionCallback callback) { … }
class XRTestHook_OnFrameSubmitted_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_OnFrameSubmitted_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_OnFrameSubmitted_ProxyToResponder::Run(
) { … }
bool XRTestHook_OnFrameSubmitted_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetDeviceConfig_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetDeviceConfig_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetDeviceConfig_ProxyToResponder::Run(
DeviceConfigPtr in_config) { … }
bool XRTestHook_WaitGetDeviceConfig_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetPresentingPose_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetPresentingPose_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetPresentingPose_ProxyToResponder::Run(
PoseFrameDataPtr in_data) { … }
bool XRTestHook_WaitGetPresentingPose_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetMagicWindowPose_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetMagicWindowPose_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetMagicWindowPose_ProxyToResponder::Run(
PoseFrameDataPtr in_data) { … }
bool XRTestHook_WaitGetMagicWindowPose_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_ProxyToResponder::Run(
ControllerRole in_role) { … }
bool XRTestHook_WaitGetControllerRoleForTrackedDeviceIndex_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetTrackedDeviceClass_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetTrackedDeviceClass_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetTrackedDeviceClass_ProxyToResponder::Run(
TrackedDeviceClass in_device_class) { … }
bool XRTestHook_WaitGetTrackedDeviceClass_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetControllerData_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetControllerData_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetControllerData_ProxyToResponder::Run(
ControllerFrameDataPtr in_data) { … }
bool XRTestHook_WaitGetControllerData_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetEventData_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetEventData_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetEventData_ProxyToResponder::Run(
EventDataPtr in_data) { … }
bool XRTestHook_WaitGetEventData_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRTestHook_WaitGetCanCreateSession_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRTestHook_WaitGetCanCreateSession_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRTestHook_WaitGetCanCreateSession_ProxyToResponder::Run(
bool in_can_create_session) { … }
bool XRTestHook_WaitGetCanCreateSession_HandleSyncResponse::Accept(
mojo::Message* message) { … }
bool XRTestHookStubDispatch::Accept(
XRTestHook* impl,
mojo::Message* message) { … }
bool XRTestHookStubDispatch::AcceptWithResponder(
XRTestHook* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRTestHookValidationInfo[] = …;
bool XRTestHookRequestValidator::Accept(mojo::Message* message) { … }
bool XRTestHookResponseValidator::Accept(mojo::Message* message) { … }
const char XRServiceTestHook::Name_[] = …;
XRServiceTestHook::IPCStableHashFunction XRServiceTestHook::MessageToMethodInfo_(mojo::Message& message) { … }
const char* XRServiceTestHook::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t XRServiceTestHook::SetTestHook_Sym::IPCStableHash() { … }
uint32_t XRServiceTestHook::TerminateDeviceServiceProcessForTesting_Sym::IPCStableHash() { … }
# endif
bool XRServiceTestHook::SetTestHook(::mojo::PendingRemote<XRTestHook> hook) { … }
bool XRServiceTestHook::TerminateDeviceServiceProcessForTesting() { … }
class XRServiceTestHook_SetTestHook_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRServiceTestHook_SetTestHook_ForwardToCallback
: public mojo::MessageReceiver { … };
class XRServiceTestHook_TerminateDeviceServiceProcessForTesting_HandleSyncResponse
: public mojo::MessageReceiver { … };
class XRServiceTestHook_TerminateDeviceServiceProcessForTesting_ForwardToCallback
: public mojo::MessageReceiver { … };
XRServiceTestHookProxy::XRServiceTestHookProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
bool XRServiceTestHookProxy::SetTestHook(
::mojo::PendingRemote<XRTestHook> param_hook) { … }
void XRServiceTestHookProxy::SetTestHook(
::mojo::PendingRemote<XRTestHook> in_hook, SetTestHookCallback callback) { … }
bool XRServiceTestHookProxy::TerminateDeviceServiceProcessForTesting(
) { … }
void XRServiceTestHookProxy::TerminateDeviceServiceProcessForTesting(
TerminateDeviceServiceProcessForTestingCallback callback) { … }
class XRServiceTestHook_SetTestHook_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRServiceTestHook_SetTestHook_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRServiceTestHook_SetTestHook_ProxyToResponder::Run(
) { … }
bool XRServiceTestHook_SetTestHook_HandleSyncResponse::Accept(
mojo::Message* message) { … }
class XRServiceTestHook_TerminateDeviceServiceProcessForTesting_ProxyToResponder : public ::mojo::internal::ProxyToResponder { … };
bool XRServiceTestHook_TerminateDeviceServiceProcessForTesting_ForwardToCallback::Accept(
mojo::Message* message) { … }
void XRServiceTestHook_TerminateDeviceServiceProcessForTesting_ProxyToResponder::Run(
) { … }
bool XRServiceTestHook_TerminateDeviceServiceProcessForTesting_HandleSyncResponse::Accept(
mojo::Message* message) { … }
bool XRServiceTestHookStubDispatch::Accept(
XRServiceTestHook* impl,
mojo::Message* message) { … }
bool XRServiceTestHookStubDispatch::AcceptWithResponder(
XRServiceTestHook* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kXRServiceTestHookValidationInfo[] = …;
bool XRServiceTestHookRequestValidator::Accept(mojo::Message* message) { … }
bool XRServiceTestHookResponseValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
bool StructTraits<::device_test::mojom::Color::DataView, ::device_test::mojom::ColorPtr>::Read(
::device_test::mojom::Color::DataView input,
::device_test::mojom::ColorPtr* output) { … }
bool StructTraits<::device_test::mojom::ViewData::DataView, ::device_test::mojom::ViewDataPtr>::Read(
::device_test::mojom::ViewData::DataView input,
::device_test::mojom::ViewDataPtr* output) { … }
bool StructTraits<::device_test::mojom::PoseFrameData::DataView, ::device_test::mojom::PoseFrameDataPtr>::Read(
::device_test::mojom::PoseFrameData::DataView input,
::device_test::mojom::PoseFrameDataPtr* output) { … }
bool StructTraits<::device_test::mojom::ProjectionRaw::DataView, ::device_test::mojom::ProjectionRawPtr>::Read(
::device_test::mojom::ProjectionRaw::DataView input,
::device_test::mojom::ProjectionRawPtr* output) { … }
bool StructTraits<::device_test::mojom::DeviceConfig::DataView, ::device_test::mojom::DeviceConfigPtr>::Read(
::device_test::mojom::DeviceConfig::DataView input,
::device_test::mojom::DeviceConfigPtr* output) { … }
bool StructTraits<::device_test::mojom::ControllerAxisData::DataView, ::device_test::mojom::ControllerAxisDataPtr>::Read(
::device_test::mojom::ControllerAxisData::DataView input,
::device_test::mojom::ControllerAxisDataPtr* output) { … }
bool StructTraits<::device_test::mojom::ControllerFrameData::DataView, ::device_test::mojom::ControllerFrameDataPtr>::Read(
::device_test::mojom::ControllerFrameData::DataView input,
::device_test::mojom::ControllerFrameDataPtr* output) { … }
bool StructTraits<::device_test::mojom::EventData::DataView, ::device_test::mojom::EventDataPtr>::Read(
::device_test::mojom::EventData::DataView input,
::device_test::mojom::EventDataPtr* output) { … }
}
namespace device_test::mojom {
void XRTestHookInterceptorForTesting::OnFrameSubmitted(std::vector<ViewDataPtr> frame_data, OnFrameSubmittedCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetDeviceConfig(WaitGetDeviceConfigCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetPresentingPose(WaitGetPresentingPoseCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetMagicWindowPose(WaitGetMagicWindowPoseCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetControllerRoleForTrackedDeviceIndex(uint32_t index, WaitGetControllerRoleForTrackedDeviceIndexCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetTrackedDeviceClass(uint32_t index, WaitGetTrackedDeviceClassCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetControllerData(uint32_t index, WaitGetControllerDataCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetEventData(WaitGetEventDataCallback callback) { … }
void XRTestHookInterceptorForTesting::WaitGetCanCreateSession(WaitGetCanCreateSessionCallback callback) { … }
XRTestHookAsyncWaiter::XRTestHookAsyncWaiter(
XRTestHook* proxy) : … { … }
XRTestHookAsyncWaiter::~XRTestHookAsyncWaiter() = default;
void XRTestHookAsyncWaiter::OnFrameSubmitted(
std::vector<ViewDataPtr> frame_data) { … }
void XRTestHookAsyncWaiter::WaitGetDeviceConfig(
DeviceConfigPtr* out_config) { … }
DeviceConfigPtr XRTestHookAsyncWaiter::WaitGetDeviceConfig(
) { … }
void XRTestHookAsyncWaiter::WaitGetPresentingPose(
PoseFrameDataPtr* out_data) { … }
PoseFrameDataPtr XRTestHookAsyncWaiter::WaitGetPresentingPose(
) { … }
void XRTestHookAsyncWaiter::WaitGetMagicWindowPose(
PoseFrameDataPtr* out_data) { … }
PoseFrameDataPtr XRTestHookAsyncWaiter::WaitGetMagicWindowPose(
) { … }
void XRTestHookAsyncWaiter::WaitGetControllerRoleForTrackedDeviceIndex(
uint32_t index, ControllerRole* out_role) { … }
ControllerRole XRTestHookAsyncWaiter::WaitGetControllerRoleForTrackedDeviceIndex(
uint32_t index) { … }
void XRTestHookAsyncWaiter::WaitGetTrackedDeviceClass(
uint32_t index, TrackedDeviceClass* out_device_class) { … }
TrackedDeviceClass XRTestHookAsyncWaiter::WaitGetTrackedDeviceClass(
uint32_t index) { … }
void XRTestHookAsyncWaiter::WaitGetControllerData(
uint32_t index, ControllerFrameDataPtr* out_data) { … }
ControllerFrameDataPtr XRTestHookAsyncWaiter::WaitGetControllerData(
uint32_t index) { … }
void XRTestHookAsyncWaiter::WaitGetEventData(
EventDataPtr* out_data) { … }
EventDataPtr XRTestHookAsyncWaiter::WaitGetEventData(
) { … }
void XRTestHookAsyncWaiter::WaitGetCanCreateSession(
bool* out_can_create_session) { … }
bool XRTestHookAsyncWaiter::WaitGetCanCreateSession(
) { … }
void XRServiceTestHookInterceptorForTesting::SetTestHook(::mojo::PendingRemote<XRTestHook> hook, SetTestHookCallback callback) { … }
void XRServiceTestHookInterceptorForTesting::TerminateDeviceServiceProcessForTesting(TerminateDeviceServiceProcessForTestingCallback callback) { … }
XRServiceTestHookAsyncWaiter::XRServiceTestHookAsyncWaiter(
XRServiceTestHook* proxy) : … { … }
XRServiceTestHookAsyncWaiter::~XRServiceTestHookAsyncWaiter() = default;
void XRServiceTestHookAsyncWaiter::SetTestHook(
::mojo::PendingRemote<XRTestHook> hook) { … }
void XRServiceTestHookAsyncWaiter::TerminateDeviceServiceProcessForTesting(
) { … }
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif