namespace android.os
{
	[global::MonoJavaBridge.JavaClass()]
	public partial class PowerManager : java.lang.Object
	{
		internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
		protected PowerManager(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
		{
		}
		[global::MonoJavaBridge.JavaClass()]
		public partial class WakeLock : java.lang.Object
		{
			internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
			protected WakeLock(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
			{
			}
			private static global::MonoJavaBridge.MethodId _m0;
			protected override void finalize()
			{
				global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "finalize", "()V", ref global::android.os.PowerManager.WakeLock._m0);
			}
			private static global::MonoJavaBridge.MethodId _m1;
			public override global::java.lang.String toString()
			{
				return global::MonoJavaBridge.JavaBridge.CallSealedClassObjectMethod<java.lang.String>(this, global::android.os.PowerManager.WakeLock.staticClass, "toString", "()Ljava/lang/String;", ref global::android.os.PowerManager.WakeLock._m1) as java.lang.String;
			}
			private static global::MonoJavaBridge.MethodId _m2;
			public virtual void acquire()
			{
				global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "acquire", "()V", ref global::android.os.PowerManager.WakeLock._m2);
			}
			private static global::MonoJavaBridge.MethodId _m3;
			public virtual void acquire(long arg0)
			{
				global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "acquire", "(J)V", ref global::android.os.PowerManager.WakeLock._m3, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
			}
			private static global::MonoJavaBridge.MethodId _m4;
			public virtual void release()
			{
				global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "release", "()V", ref global::android.os.PowerManager.WakeLock._m4);
			}
			public new bool ReferenceCounted
			{
				set
				{
					setReferenceCounted(value);
				}
			}
			private static global::MonoJavaBridge.MethodId _m5;
			public virtual void setReferenceCounted(bool arg0)
			{
				global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "setReferenceCounted", "(Z)V", ref global::android.os.PowerManager.WakeLock._m5, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
			}
			private static global::MonoJavaBridge.MethodId _m6;
			public virtual bool isHeld()
			{
				return global::MonoJavaBridge.JavaBridge.CallBooleanMethod(this, global::android.os.PowerManager.WakeLock.staticClass, "isHeld", "()Z", ref global::android.os.PowerManager.WakeLock._m6);
			}
			static WakeLock()
			{
				global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
				global::android.os.PowerManager.WakeLock.staticClass = @__env.NewGlobalRef(@__env.FindClass("android/os/PowerManager$WakeLock"));
			}
		}
		private static global::MonoJavaBridge.MethodId _m0;
		public virtual global::android.os.PowerManager.WakeLock newWakeLock(int arg0, java.lang.String arg1)
		{
			return global::MonoJavaBridge.JavaBridge.CallObjectMethod(this, global::android.os.PowerManager.staticClass, "newWakeLock", "(ILjava/lang/String;)Landroid/os/PowerManager$WakeLock;", ref global::android.os.PowerManager._m0, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1)) as android.os.PowerManager.WakeLock;
		}
		private static global::MonoJavaBridge.MethodId _m1;
		public virtual void userActivity(long arg0, bool arg1)
		{
			global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.staticClass, "userActivity", "(JZ)V", ref global::android.os.PowerManager._m1, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
		}
		private static global::MonoJavaBridge.MethodId _m2;
		public virtual void goToSleep(long arg0)
		{
			global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.staticClass, "goToSleep", "(J)V", ref global::android.os.PowerManager._m2, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
		}
		private static global::MonoJavaBridge.MethodId _m3;
		public virtual bool isScreenOn()
		{
			return global::MonoJavaBridge.JavaBridge.CallBooleanMethod(this, global::android.os.PowerManager.staticClass, "isScreenOn", "()Z", ref global::android.os.PowerManager._m3);
		}
		private static global::MonoJavaBridge.MethodId _m4;
		public virtual void reboot(java.lang.String arg0)
		{
			global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.os.PowerManager.staticClass, "reboot", "(Ljava/lang/String;)V", ref global::android.os.PowerManager._m4, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
		}
		public static int PARTIAL_WAKE_LOCK
		{
			get
			{
				return 1;
			}
		}
		public static int FULL_WAKE_LOCK
		{
			get
			{
				return 26;
			}
		}
		public static int SCREEN_BRIGHT_WAKE_LOCK
		{
			get
			{
				return 10;
			}
		}
		public static int SCREEN_DIM_WAKE_LOCK
		{
			get
			{
				return 6;
			}
		}
		public static int ACQUIRE_CAUSES_WAKEUP
		{
			get
			{
				return 268435456;
			}
		}
		public static int ON_AFTER_RELEASE
		{
			get
			{
				return 536870912;
			}
		}
		static PowerManager()
		{
			global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
			global::android.os.PowerManager.staticClass = @__env.NewGlobalRef(@__env.FindClass("android/os/PowerManager"));
		}
	}
}
