JNI for android.server.LightsService and android.os.UEventObserver