Home
last modified time | relevance | path

Searched refs:cPath (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp55 ScopedUtfChars cPath(env, path); in android_permission_cts_FileUtils_getFileStatus() local
59 int res = statLinks == true ? lstat(cPath.c_str(), &s) in android_permission_cts_FileUtils_getFileStatus()
60 : stat(cPath.c_str(), &s); in android_permission_cts_FileUtils_getFileStatus()
102 ScopedUtfChars cPath(env, path); in isPermittedCapBitSet() local
103 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &capData, in isPermittedCapBitSet()
110 cPath.c_str(), result, strerror(errno), errno); in isPermittedCapBitSet()
186 ScopedUtfChars cPath(env, path); in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly() local
187 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &actualCapData, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
194 cPath.c_str(), result, strerror(errno), errno); in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()