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 MOZ_PREPROCESSOR
#include "mozilla/java/ServiceAllocatorWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char ServiceAllocator::name[] =
"org/mozilla/gecko/process/ServiceAllocator";
const char ServiceAllocator::PriorityLevel::name[] =
"org/mozilla/gecko/process/ServiceAllocator$PriorityLevel";
constexpr char ServiceAllocator::PriorityLevel::BACKGROUND_t::name[];
constexpr char ServiceAllocator::PriorityLevel::BACKGROUND_t::signature[];
auto ServiceAllocator::PriorityLevel::BACKGROUND() -> PriorityLevel::LocalRef
{
return mozilla::jni::Field<BACKGROUND_t>::Get(PriorityLevel::Context(), nullptr);
}
constexpr char ServiceAllocator::PriorityLevel::FOREGROUND_t::name[];
constexpr char ServiceAllocator::PriorityLevel::FOREGROUND_t::signature[];
auto ServiceAllocator::PriorityLevel::FOREGROUND() -> PriorityLevel::LocalRef
{
return mozilla::jni::Field<FOREGROUND_t>::Get(PriorityLevel::Context(), nullptr);
}
constexpr char ServiceAllocator::PriorityLevel::IDLE_t::name[];
constexpr char ServiceAllocator::PriorityLevel::IDLE_t::signature[];
auto ServiceAllocator::PriorityLevel::IDLE() -> PriorityLevel::LocalRef
{
return mozilla::jni::Field<IDLE_t>::Get(PriorityLevel::Context(), nullptr);
}
} /* java */
} /* mozilla */