Searched refs:native_restorecon (Results 1 - 2 of 2) sorted by last modified time

/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp401 * Function: native_restorecon
407 static jboolean native_restorecon(JNIEnv *env, jobject, jstring pathnameStr, jint flags) { function in namespace:android
437 { "native_restorecon" , "(Ljava/lang/String;I)Z" , (void*)native_restorecon},
/frameworks/base/core/java/android/os/
H A DSELinux.java145 return native_restorecon(pathname, 0);
158 private static native boolean native_restorecon(String pathname, int flags); method in class:SELinux
173 return native_restorecon(file.getCanonicalPath(), 0);
191 return native_restorecon(file.getCanonicalPath(), SELINUX_ANDROID_RESTORECON_RECURSE);

Completed in 349 milliseconds