Home
last modified time | relevance | path

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

/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp99 struct vfs_cap_data capData; in isPermittedCapBitSet() local
100 memset(&capData, 0, sizeof(capData)); in isPermittedCapBitSet()
103 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &capData, in isPermittedCapBitSet()
104 sizeof(capData)); in isPermittedCapBitSet()
114 return (capData.data[CAP_TO_INDEX(capId)].permitted & in isPermittedCapBitSet()
147 static bool fillPermittedCaps(vfs_cap_data* capData, JNIEnv* env, jintArray capIds) in fillPermittedCaps() argument
165 capData->data[CAP_TO_INDEX(capId)].permitted |= CAP_TO_MASK(capId); in fillPermittedCaps()