mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1294481 - Update auto-generated bindings; r=me
This commit is contained in:
parent
d1a77173ac
commit
adde79eb82
@ -1,25 +1,6 @@
|
||||
/* WARNING - This file is autogenerated by mobile/android/base/jni-generator.py. Do not edit manually! */
|
||||
#ifdef JNI_STUBS
|
||||
|
||||
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable_t)(JNIEnv *, jclass, jobject, jint);
|
||||
static Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable_t f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable;
|
||||
extern "C" NS_EXPORT void MOZ_JNICALL
|
||||
Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable(JNIEnv * arg0, jclass arg1, jobject arg2, jint arg3) {
|
||||
if (!f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable) {
|
||||
arg0->ThrowNew(arg0->FindClass("java/lang/UnsupportedOperationException"),
|
||||
"JNI Function called before it was loaded");
|
||||
return ;
|
||||
}
|
||||
f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable(arg0, arg1, arg2, arg3);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef JNI_BINDINGS
|
||||
xul_dlsym("Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable", &f_Java_org_mozilla_gecko_GeckoAppShell_onSurfaceTextureFrameAvailable);
|
||||
#endif
|
||||
|
||||
#ifdef JNI_STUBS
|
||||
|
||||
typedef void (*Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash_t)(JNIEnv *, jclass, jstring);
|
||||
static Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash_t f_Java_org_mozilla_gecko_GeckoAppShell_reportJavaCrash;
|
||||
extern "C" NS_EXPORT void MOZ_JNICALL
|
||||
|
@ -422,6 +422,21 @@ const JNINativeMethod PresentationMediaPlayerManager::Natives<Impl>::methods[] =
|
||||
::template Wrap<&Impl::RemovePresentationSurface>)
|
||||
};
|
||||
|
||||
template<class Impl>
|
||||
class SurfaceTextureListener::Natives : public mozilla::jni::NativeImpl<SurfaceTextureListener, Impl>
|
||||
{
|
||||
public:
|
||||
static const JNINativeMethod methods[1];
|
||||
};
|
||||
|
||||
template<class Impl>
|
||||
const JNINativeMethod SurfaceTextureListener::Natives<Impl>::methods[] = {
|
||||
|
||||
mozilla::jni::MakeNativeMethod<SurfaceTextureListener::OnFrameAvailable_t>(
|
||||
mozilla::jni::NativeStub<SurfaceTextureListener::OnFrameAvailable_t, Impl>
|
||||
::template Wrap<&Impl::OnFrameAvailable>)
|
||||
};
|
||||
|
||||
template<class Impl>
|
||||
class Telemetry::Natives : public mozilla::jni::NativeImpl<Telemetry, Impl>
|
||||
{
|
||||
|
@ -632,14 +632,6 @@ auto GeckoAppShell::PerformHapticFeedback(bool a0) -> void
|
||||
return mozilla::jni::Method<PerformHapticFeedback_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
||||
}
|
||||
|
||||
constexpr char GeckoAppShell::RegisterSurfaceTextureFrameListener_t::name[];
|
||||
constexpr char GeckoAppShell::RegisterSurfaceTextureFrameListener_t::signature[];
|
||||
|
||||
auto GeckoAppShell::RegisterSurfaceTextureFrameListener(mozilla::jni::Object::Param a0, int32_t a1) -> void
|
||||
{
|
||||
return mozilla::jni::Method<RegisterSurfaceTextureFrameListener_t>::Call(GeckoAppShell::Context(), nullptr, a0, a1);
|
||||
}
|
||||
|
||||
constexpr char GeckoAppShell::RemoveFullScreenPluginView_t::name[];
|
||||
constexpr char GeckoAppShell::RemoveFullScreenPluginView_t::signature[];
|
||||
|
||||
@ -734,14 +726,6 @@ auto GeckoAppShell::UnlockScreenOrientation() -> void
|
||||
return mozilla::jni::Method<UnlockScreenOrientation_t>::Call(GeckoAppShell::Context(), nullptr);
|
||||
}
|
||||
|
||||
constexpr char GeckoAppShell::UnregisterSurfaceTextureFrameListener_t::name[];
|
||||
constexpr char GeckoAppShell::UnregisterSurfaceTextureFrameListener_t::signature[];
|
||||
|
||||
auto GeckoAppShell::UnregisterSurfaceTextureFrameListener(mozilla::jni::Object::Param a0) -> void
|
||||
{
|
||||
return mozilla::jni::Method<UnregisterSurfaceTextureFrameListener_t>::Call(GeckoAppShell::Context(), nullptr, a0);
|
||||
}
|
||||
|
||||
constexpr char GeckoAppShell::Vibrate_t::name[];
|
||||
constexpr char GeckoAppShell::Vibrate_t::signature[];
|
||||
|
||||
@ -1199,6 +1183,20 @@ constexpr char PresentationMediaPlayerManager::InvalidateAndScheduleComposite_t:
|
||||
constexpr char PresentationMediaPlayerManager::RemovePresentationSurface_t::name[];
|
||||
constexpr char PresentationMediaPlayerManager::RemovePresentationSurface_t::signature[];
|
||||
|
||||
const char SurfaceTextureListener::name[] =
|
||||
"org/mozilla/gecko/SurfaceTextureListener";
|
||||
|
||||
constexpr char SurfaceTextureListener::New_t::name[];
|
||||
constexpr char SurfaceTextureListener::New_t::signature[];
|
||||
|
||||
auto SurfaceTextureListener::New() -> SurfaceTextureListener::LocalRef
|
||||
{
|
||||
return mozilla::jni::Constructor<New_t>::Call(SurfaceTextureListener::Context(), nullptr);
|
||||
}
|
||||
|
||||
constexpr char SurfaceTextureListener::OnFrameAvailable_t::name[];
|
||||
constexpr char SurfaceTextureListener::OnFrameAvailable_t::signature[];
|
||||
|
||||
const char Telemetry::name[] =
|
||||
"org/mozilla/gecko/Telemetry";
|
||||
|
||||
|
@ -1741,27 +1741,6 @@ public:
|
||||
|
||||
static auto PerformHapticFeedback(bool) -> void;
|
||||
|
||||
struct RegisterSurfaceTextureFrameListener_t {
|
||||
typedef GeckoAppShell Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::Object::Param,
|
||||
int32_t> Args;
|
||||
static constexpr char name[] = "registerSurfaceTextureFrameListener";
|
||||
static constexpr char signature[] =
|
||||
"(Ljava/lang/Object;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 auto RegisterSurfaceTextureFrameListener(mozilla::jni::Object::Param, int32_t) -> void;
|
||||
|
||||
struct RemoveFullScreenPluginView_t {
|
||||
typedef GeckoAppShell Owner;
|
||||
typedef void ReturnType;
|
||||
@ -2026,26 +2005,6 @@ public:
|
||||
|
||||
static auto UnlockScreenOrientation() -> void;
|
||||
|
||||
struct UnregisterSurfaceTextureFrameListener_t {
|
||||
typedef GeckoAppShell Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::Object::Param> Args;
|
||||
static constexpr char name[] = "unregisterSurfaceTextureFrameListener";
|
||||
static constexpr char signature[] =
|
||||
"(Ljava/lang/Object;)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 auto UnregisterSurfaceTextureFrameListener(mozilla::jni::Object::Param) -> void;
|
||||
|
||||
struct Vibrate_t {
|
||||
typedef GeckoAppShell Owner;
|
||||
typedef void ReturnType;
|
||||
@ -3856,6 +3815,55 @@ public:
|
||||
template<class Impl> class Natives;
|
||||
};
|
||||
|
||||
class SurfaceTextureListener : public mozilla::jni::ObjectBase<SurfaceTextureListener>
|
||||
{
|
||||
public:
|
||||
static const char name[];
|
||||
|
||||
explicit SurfaceTextureListener(const Context& ctx) : ObjectBase<SurfaceTextureListener>(ctx) {}
|
||||
|
||||
struct New_t {
|
||||
typedef SurfaceTextureListener Owner;
|
||||
typedef SurfaceTextureListener::LocalRef ReturnType;
|
||||
typedef SurfaceTextureListener::Param SetterType;
|
||||
typedef mozilla::jni::Args<> Args;
|
||||
static constexpr char name[] = "<init>";
|
||||
static constexpr char signature[] =
|
||||
"()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;
|
||||
};
|
||||
|
||||
static auto New() -> SurfaceTextureListener::LocalRef;
|
||||
|
||||
struct OnFrameAvailable_t {
|
||||
typedef SurfaceTextureListener Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<> Args;
|
||||
static constexpr char name[] = "nativeOnFrameAvailable";
|
||||
static constexpr char signature[] =
|
||||
"()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::ANY;
|
||||
static const mozilla::jni::DispatchTarget dispatchTarget =
|
||||
mozilla::jni::DispatchTarget::CURRENT;
|
||||
};
|
||||
|
||||
static const mozilla::jni::CallingThread callingThread =
|
||||
mozilla::jni::CallingThread::ANY;
|
||||
|
||||
template<class Impl> class Natives;
|
||||
};
|
||||
|
||||
class Telemetry : public mozilla::jni::ObjectBase<Telemetry>
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user