Home
last modified time | relevance | path

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

/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp97 static jboolean isPermittedCapBitSet(JNIEnv* env, jstring path, size_t capId) in isPermittedCapBitSet() argument
114 return (capData.data[CAP_TO_INDEX(capId)].permitted & in isPermittedCapBitSet()
115 CAP_TO_MASK(capId)) != 0; in isPermittedCapBitSet()
154 const jint capId = cCapIds[i]; in fillPermittedCaps() local
155 if (!cap_valid(capId)) in fillPermittedCaps()
159 "capability id %d out of valid range", capId); in fillPermittedCaps()
165 capData->data[CAP_TO_INDEX(capId)].permitted |= CAP_TO_MASK(capId); in fillPermittedCaps()