Searched defs:objectPath (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp195 const char *objectPath = env->GetStringUTFChars(path, NULL); local
202 if ((ret = setfilecon(objectPath, newCon)) == -1)
205 ALOGV("setFileCon: Succesfully set security context '%s' for '%s'", newCon, objectPath);
208 env->ReleaseStringUTFChars(path, objectPath);
236 const char *objectPath = env->GetStringUTFChars(path, NULL); local
241 if (getfilecon(objectPath, &context) == -1)
244 ALOGV("getFileCon: Successfully retrived context '%s' for file '%s'", context, objectPath);
252 env->ReleaseStringUTFChars(path, objectPath);

Completed in 1653 milliseconds