#include #include #include #include #include #include "jni.h" using android::sp; using vendor::eureka::security::selinux::V1_0::Enable; using vendor::eureka::security::selinux::V1_0::ISELinux; extern "C" JNIEXPORT jint JNICALL Java_com_eurekateam_samsungextras_interfaces_SELinux_getSELinux(JNIEnv* env, jclass clazz) { android::sp service = ISELinux::getService(); int ret = service->readSELinuxstats(); return ret; }