Source code

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 Javamethods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef AndroidProcess_h__
#define AndroidProcess_h__
#include "mozilla/jni/Refs.h"
namespace mozilla {
namespace java {
namespace sdk {
class Process : public mozilla::jni::ObjectBase<Process>
{
public:
static constexpr char name[] =
"android/os/Process";
explicit Process(const Context& ctx) : ObjectBase<Process>(ctx) {}
struct GetThreadPriority_t {
typedef Process Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "getThreadPriority";
static constexpr char signature[] =
"(I)I";
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::CURRENT;
};
// static int getThreadPriority(int)
static auto GetThreadPriority(int32_t) -> int32_t;
struct MyTid_t {
typedef Process Owner;
typedef int32_t ReturnType;
typedef int32_t SetterType;
typedef mozilla::jni::Args<> Args;
static constexpr char name[] = "myTid";
static constexpr char signature[] =
"()I";
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::CURRENT;
};
// static int myTid()
static auto MyTid() -> int32_t;
struct SetThreadPriority_t {
typedef Process Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t,
int32_t> Args;
static constexpr char name[] = "setThreadPriority";
static constexpr char signature[] =
"(II)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::CURRENT;
};
// static void setThreadPriority(int, int)
static auto SetThreadPriority(int32_t, int32_t) -> void;
struct SetThreadPriority2_t {
typedef Process Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "setThreadPriority";
static constexpr char signature[] =
"(I)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::CURRENT;
};
// static void setThreadPriority(int)
static auto SetThreadPriority(int32_t) -> void;
static constexpr int32_t THREAD_PRIORITY_URGENT_AUDIO = -19;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
};
} /* sdk */
} /* java */
} /* mozilla */
#endif