#include "services/media_session/public/mojom/audio_focus.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/media_session/public/mojom/audio_focus.mojom-params-data.h"
namespace media_session {
namespace mojom {
NOINLINE static const char* EnforcementModeToStringHelper(EnforcementMode value) { … }
std::string EnforcementModeToString(EnforcementMode value) { … }
std::ostream& operator<<(std::ostream& os, EnforcementMode value) { … }
NOINLINE static const char* AudioFocusTypeToStringHelper(AudioFocusType value) { … }
std::string AudioFocusTypeToString(AudioFocusType value) { … }
std::ostream& operator<<(std::ostream& os, AudioFocusType value) { … }
namespace internal {
bool AudioFocusRequestState_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusRequestState_Data::AudioFocusRequestState_Data()
: … { … }
bool AudioFocusObserver_OnFocusGained_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusObserver_OnFocusGained_Params_Data::AudioFocusObserver_OnFocusGained_Params_Data()
: … { … }
bool AudioFocusObserver_OnFocusLost_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusObserver_OnFocusLost_Params_Data::AudioFocusObserver_OnFocusLost_Params_Data()
: … { … }
bool AudioFocusObserver_OnRequestIdReleased_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusObserver_OnRequestIdReleased_Params_Data::AudioFocusObserver_OnRequestIdReleased_Params_Data()
: … { … }
bool AudioFocusRequestClient_RequestAudioFocus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusRequestClient_RequestAudioFocus_Params_Data::AudioFocusRequestClient_RequestAudioFocus_Params_Data()
: … { … }
bool AudioFocusRequestClient_RequestAudioFocus_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusRequestClient_RequestAudioFocus_ResponseParams_Data::AudioFocusRequestClient_RequestAudioFocus_ResponseParams_Data()
: … { … }
bool AudioFocusRequestClient_AbandonAudioFocus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusRequestClient_AbandonAudioFocus_Params_Data::AudioFocusRequestClient_AbandonAudioFocus_Params_Data()
: … { … }
bool AudioFocusRequestClient_MediaSessionInfoChanged_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusRequestClient_MediaSessionInfoChanged_Params_Data::AudioFocusRequestClient_MediaSessionInfoChanged_Params_Data()
: … { … }
bool AudioFocusManager_RequestAudioFocus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_RequestAudioFocus_Params_Data::AudioFocusManager_RequestAudioFocus_Params_Data()
: … { … }
bool AudioFocusManager_RequestAudioFocus_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_RequestAudioFocus_ResponseParams_Data::AudioFocusManager_RequestAudioFocus_ResponseParams_Data()
: … { … }
bool AudioFocusManager_RequestGroupedAudioFocus_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_RequestGroupedAudioFocus_Params_Data::AudioFocusManager_RequestGroupedAudioFocus_Params_Data()
: … { … }
bool AudioFocusManager_RequestGroupedAudioFocus_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_RequestGroupedAudioFocus_ResponseParams_Data::AudioFocusManager_RequestGroupedAudioFocus_ResponseParams_Data()
: … { … }
bool AudioFocusManager_GetFocusRequests_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_GetFocusRequests_Params_Data::AudioFocusManager_GetFocusRequests_Params_Data()
: … { … }
bool AudioFocusManager_GetFocusRequests_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_GetFocusRequests_ResponseParams_Data::AudioFocusManager_GetFocusRequests_ResponseParams_Data()
: … { … }
bool AudioFocusManager_AddObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_AddObserver_Params_Data::AudioFocusManager_AddObserver_Params_Data()
: … { … }
bool AudioFocusManager_SetSource_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_SetSource_Params_Data::AudioFocusManager_SetSource_Params_Data()
: … { … }
bool AudioFocusManager_SetEnforcementMode_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_SetEnforcementMode_Params_Data::AudioFocusManager_SetEnforcementMode_Params_Data()
: … { … }
bool AudioFocusManager_AddSourceObserver_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_AddSourceObserver_Params_Data::AudioFocusManager_AddSourceObserver_Params_Data()
: … { … }
bool AudioFocusManager_GetSourceFocusRequests_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_GetSourceFocusRequests_Params_Data::AudioFocusManager_GetSourceFocusRequests_Params_Data()
: … { … }
bool AudioFocusManager_GetSourceFocusRequests_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_GetSourceFocusRequests_ResponseParams_Data::AudioFocusManager_GetSourceFocusRequests_ResponseParams_Data()
: … { … }
bool AudioFocusManager_RequestIdReleased_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManager_RequestIdReleased_Params_Data::AudioFocusManager_RequestIdReleased_Params_Data()
: … { … }
bool AudioFocusManagerDebug_GetDebugInfoForRequest_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManagerDebug_GetDebugInfoForRequest_Params_Data::AudioFocusManagerDebug_GetDebugInfoForRequest_Params_Data()
: … { … }
bool AudioFocusManagerDebug_GetDebugInfoForRequest_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
AudioFocusManagerDebug_GetDebugInfoForRequest_ResponseParams_Data::AudioFocusManagerDebug_GetDebugInfoForRequest_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::media_session::mojom::EnforcementMode>::WriteIntoTrace(
perfetto::TracedValue context, ::media_session::mojom::EnforcementMode value) { … }
}
namespace perfetto {
void TraceFormatTraits<::media_session::mojom::AudioFocusType>::WriteIntoTrace(
perfetto::TracedValue context, ::media_session::mojom::AudioFocusType value) { … }
}