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.
#include "SurfaceTexture.h"
#include "mozilla/jni/Accessors.h"
namespace mozilla {
namespace java {
namespace sdk {
constexpr char SurfaceTexture::name[];
constexpr char SurfaceTexture::New_t::name[];
constexpr char SurfaceTexture::New_t::signature[];
auto SurfaceTexture::New(bool a0, SurfaceTexture::LocalRef* a1) -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Constructor<New_t>::Call(SurfaceTexture::Context(), &rv, a0);
return rv;
}
constexpr char SurfaceTexture::New2_t::name[];
constexpr char SurfaceTexture::New2_t::signature[];
auto SurfaceTexture::New(int32_t a0, bool a1, SurfaceTexture::LocalRef* a2) -> nsresult
{
MOZ_ASSERT(a2);
nsresult rv = NS_OK;
*a2 = mozilla::jni::Constructor<New2_t>::Call(SurfaceTexture::Context(), &rv, a0, a1);
return rv;
}
constexpr char SurfaceTexture::New3_t::name[];
constexpr char SurfaceTexture::New3_t::signature[];
auto SurfaceTexture::New(int32_t a0, SurfaceTexture::LocalRef* a1) -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Constructor<New3_t>::Call(SurfaceTexture::Context(), &rv, a0);
return rv;
}
constexpr char SurfaceTexture::AttachToGLContext_t::name[];
constexpr char SurfaceTexture::AttachToGLContext_t::signature[];
auto SurfaceTexture::AttachToGLContext(int32_t a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<AttachToGLContext_t>::Call(SurfaceTexture::mCtx, &rv, a0);
return rv;
}
constexpr char SurfaceTexture::DetachFromGLContext_t::name[];
constexpr char SurfaceTexture::DetachFromGLContext_t::signature[];
auto SurfaceTexture::DetachFromGLContext() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<DetachFromGLContext_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char SurfaceTexture::GetTimestamp_t::name[];
constexpr char SurfaceTexture::GetTimestamp_t::signature[];
auto SurfaceTexture::GetTimestamp(int64_t* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<GetTimestamp_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char SurfaceTexture::GetTransformMatrix_t::name[];
constexpr char SurfaceTexture::GetTransformMatrix_t::signature[];
auto SurfaceTexture::GetTransformMatrix(mozilla::jni::FloatArray::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<GetTransformMatrix_t>::Call(SurfaceTexture::mCtx, &rv, a0);
return rv;
}
constexpr char SurfaceTexture::IsReleased_t::name[];
constexpr char SurfaceTexture::IsReleased_t::signature[];
auto SurfaceTexture::IsReleased(bool* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<IsReleased_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char SurfaceTexture::Release_t::name[];
constexpr char SurfaceTexture::Release_t::signature[];
auto SurfaceTexture::Release() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<Release_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char SurfaceTexture::ReleaseTexImage_t::name[];
constexpr char SurfaceTexture::ReleaseTexImage_t::signature[];
auto SurfaceTexture::ReleaseTexImage() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<ReleaseTexImage_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char SurfaceTexture::SetDefaultBufferSize_t::name[];
constexpr char SurfaceTexture::SetDefaultBufferSize_t::signature[];
auto SurfaceTexture::SetDefaultBufferSize(int32_t a0, int32_t a1) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<SetDefaultBufferSize_t>::Call(SurfaceTexture::mCtx, &rv, a0, a1);
return rv;
}
constexpr char SurfaceTexture::SetOnFrameAvailableListener_t::name[];
constexpr char SurfaceTexture::SetOnFrameAvailableListener_t::signature[];
auto SurfaceTexture::SetOnFrameAvailableListener(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<SetOnFrameAvailableListener_t>::Call(SurfaceTexture::mCtx, &rv, a0, a1);
return rv;
}
constexpr char SurfaceTexture::SetOnFrameAvailableListener2_t::name[];
constexpr char SurfaceTexture::SetOnFrameAvailableListener2_t::signature[];
auto SurfaceTexture::SetOnFrameAvailableListener(mozilla::jni::Object::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<SetOnFrameAvailableListener2_t>::Call(SurfaceTexture::mCtx, &rv, a0);
return rv;
}
constexpr char SurfaceTexture::UpdateTexImage_t::name[];
constexpr char SurfaceTexture::UpdateTexImage_t::signature[];
auto SurfaceTexture::UpdateTexImage() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<UpdateTexImage_t>::Call(SurfaceTexture::mCtx, &rv);
return rv;
}
constexpr char Surface::name[];
constexpr char Surface::New_t::name[];
constexpr char Surface::New_t::signature[];
auto Surface::New(mozilla::jni::Object::Param a0, Surface::LocalRef* a1) -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Constructor<New_t>::Call(Surface::Context(), &rv, a0);
return rv;
}
constexpr char Surface::FromSurfaceControl_t::name[];
constexpr char Surface::FromSurfaceControl_t::signature[];
auto Surface::FromSurfaceControl(mozilla::jni::Object::Param a0) -> Surface::LocalRef
{
return mozilla::jni::Constructor<FromSurfaceControl_t>::Call(Surface::Context(), nullptr, a0);
}
constexpr char Surface::DescribeContents_t::name[];
constexpr char Surface::DescribeContents_t::signature[];
auto Surface::DescribeContents(int32_t* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<DescribeContents_t>::Call(Surface::mCtx, &rv);
return rv;
}
constexpr char Surface::IsValid_t::name[];
constexpr char Surface::IsValid_t::signature[];
auto Surface::IsValid(bool* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<IsValid_t>::Call(Surface::mCtx, &rv);
return rv;
}
constexpr char Surface::LockCanvas_t::name[];
constexpr char Surface::LockCanvas_t::signature[];
auto Surface::LockCanvas(mozilla::jni::Object::Param a0, mozilla::jni::Object::LocalRef* a1) const -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Method<LockCanvas_t>::Call(Surface::mCtx, &rv, a0);
return rv;
}
constexpr char Surface::LockHardwareCanvas_t::name[];
constexpr char Surface::LockHardwareCanvas_t::signature[];
auto Surface::LockHardwareCanvas(mozilla::jni::Object::LocalRef* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<LockHardwareCanvas_t>::Call(Surface::mCtx, &rv);
return rv;
}
constexpr char Surface::ReadFromParcel_t::name[];
constexpr char Surface::ReadFromParcel_t::signature[];
auto Surface::ReadFromParcel(mozilla::jni::Object::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<ReadFromParcel_t>::Call(Surface::mCtx, &rv, a0);
return rv;
}
constexpr char Surface::Release_t::name[];
constexpr char Surface::Release_t::signature[];
auto Surface::Release() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<Release_t>::Call(Surface::mCtx, &rv);
return rv;
}
constexpr char Surface::ToString_t::name[];
constexpr char Surface::ToString_t::signature[];
auto Surface::ToString(mozilla::jni::String::LocalRef* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<ToString_t>::Call(Surface::mCtx, &rv);
return rv;
}
constexpr char Surface::UnlockCanvas_t::name[];
constexpr char Surface::UnlockCanvas_t::signature[];
auto Surface::UnlockCanvas(mozilla::jni::Object::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<UnlockCanvas_t>::Call(Surface::mCtx, &rv, a0);
return rv;
}
constexpr char Surface::UnlockCanvasAndPost_t::name[];
constexpr char Surface::UnlockCanvasAndPost_t::signature[];
auto Surface::UnlockCanvasAndPost(mozilla::jni::Object::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<UnlockCanvasAndPost_t>::Call(Surface::mCtx, &rv, a0);
return rv;
}
constexpr char Surface::WriteToParcel_t::name[];
constexpr char Surface::WriteToParcel_t::signature[];
auto Surface::WriteToParcel(mozilla::jni::Object::Param a0, int32_t a1) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<WriteToParcel_t>::Call(Surface::mCtx, &rv, a0, a1);
return rv;
}
constexpr char SurfaceControl::name[];
constexpr char SurfaceControl::DescribeContents_t::name[];
constexpr char SurfaceControl::DescribeContents_t::signature[];
auto SurfaceControl::DescribeContents(int32_t* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<DescribeContents_t>::Call(SurfaceControl::mCtx, &rv);
return rv;
}
constexpr char SurfaceControl::IsValid_t::name[];
constexpr char SurfaceControl::IsValid_t::signature[];
auto SurfaceControl::IsValid() const -> bool
{
return mozilla::jni::Method<IsValid_t>::Call(SurfaceControl::mCtx, nullptr);
}
constexpr char SurfaceControl::ReadFromParcel_t::name[];
constexpr char SurfaceControl::ReadFromParcel_t::signature[];
auto SurfaceControl::ReadFromParcel(mozilla::jni::Object::Param a0) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<ReadFromParcel_t>::Call(SurfaceControl::mCtx, &rv, a0);
return rv;
}
constexpr char SurfaceControl::Release_t::name[];
constexpr char SurfaceControl::Release_t::signature[];
auto SurfaceControl::Release() const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<Release_t>::Call(SurfaceControl::mCtx, &rv);
return rv;
}
constexpr char SurfaceControl::ToString_t::name[];
constexpr char SurfaceControl::ToString_t::signature[];
auto SurfaceControl::ToString(mozilla::jni::String::LocalRef* a0) const -> nsresult
{
MOZ_ASSERT(a0);
nsresult rv = NS_OK;
*a0 = mozilla::jni::Method<ToString_t>::Call(SurfaceControl::mCtx, &rv);
return rv;
}
constexpr char SurfaceControl::WriteToParcel_t::name[];
constexpr char SurfaceControl::WriteToParcel_t::signature[];
auto SurfaceControl::WriteToParcel(mozilla::jni::Object::Param a0, int32_t a1) const -> nsresult
{
nsresult rv = NS_OK;
mozilla::jni::Method<WriteToParcel_t>::Call(SurfaceControl::mCtx, &rv, a0, a1);
return rv;
}
} /* sdk */
} /* java */
} /* mozilla */