Home
last modified time | relevance | path

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

/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp183 struct vfs_cap_data actualCapData; in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly() local
184 memset(&actualCapData, 0, sizeof(actualCapData)); in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
187 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &actualCapData, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
188 sizeof(actualCapData)); in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
198 return (memcmp(&expectedCapData, &actualCapData, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()