Copy as Markdown
Other Tools
// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef mozilla_java_RuntimeTelemetryWrappers_h
#define mozilla_java_RuntimeTelemetryWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class RuntimeTelemetry : public mozilla::jni::ObjectBase<RuntimeTelemetry>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/RuntimeTelemetry";
explicit RuntimeTelemetry(const Context& ctx) : ObjectBase<RuntimeTelemetry>(ctx) {}
class Proxy;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
class RuntimeTelemetry::Proxy : public mozilla::jni::ObjectBase<Proxy>
{
public:
static constexpr char name[] =
"org/mozilla/geckoview/RuntimeTelemetry$Proxy";
explicit Proxy(const Context& ctx) : ObjectBase<Proxy>(ctx) {}
struct DispatchBooleanScalar_t {
typedef Proxy Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
bool> Args;
static constexpr char name[] = "dispatchBooleanScalar";
static constexpr char signature[] =
"(Ljava/lang/String;Z)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void dispatchBooleanScalar(String, boolean)
auto DispatchBooleanScalar(mozilla::jni::String::Param, bool) const -> void;
struct DispatchHistogram_t {
typedef Proxy Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
bool,
mozilla::jni::String::Param,
mozilla::jni::LongArray::Param> Args;
static constexpr char name[] = "dispatchHistogram";
static constexpr char signature[] =
"(ZLjava/lang/String;[J)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void dispatchHistogram(boolean, String, long[])
auto DispatchHistogram(bool, mozilla::jni::String::Param, mozilla::jni::LongArray::Param) const -> void;
struct DispatchLongScalar_t {
typedef Proxy Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
int64_t> Args;
static constexpr char name[] = "dispatchLongScalar";
static constexpr char signature[] =
"(Ljava/lang/String;J)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void dispatchLongScalar(String, long)
auto DispatchLongScalar(mozilla::jni::String::Param, int64_t) const -> void;
struct DispatchStringScalar_t {
typedef Proxy Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::String::Param,
mozilla::jni::String::Param> Args;
static constexpr char name[] = "dispatchStringScalar";
static constexpr char signature[] =
"(Ljava/lang/String;Ljava/lang/String;)V";
static const bool isStatic = false;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::GECKO;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// void dispatchStringScalar(String, String)
auto DispatchStringScalar(mozilla::jni::String::Param, mozilla::jni::String::Param) const -> void;
// Suggested header signature for native method:
// static void RegisterDelegateProxy(mozilla::java::RuntimeTelemetry::Proxy::Param);
struct RegisterDelegateProxy_t {
typedef Proxy Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
Proxy::Param> Args;
static constexpr char name[] = "registerDelegateProxy";
static constexpr char signature[] =
"(Lorg/mozilla/geckoview/RuntimeTelemetry$Proxy;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::GECKO;
};
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_RuntimeTelemetryWrappers_h