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

/frameworks/native/services/vr/performanced/
H A Dmain.cpp27 struct __user_cap_header_struct capheader; local
50 memset(&capheader, 0, sizeof(capheader));
52 capheader.version = _LINUX_CAPABILITY_VERSION_3;
57 ret = capset(&capheader, capdata);
/frameworks/native/cmds/installd/tests/
H A Dtest_utils.h123 struct __user_cap_header_struct capheader; local
125 memset(&capheader, 0, sizeof(capheader));
127 capheader.version = _LINUX_CAPABILITY_VERSION_3;
128 if (capset(&capheader, &capdata[0]) < 0) {
/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.cpp96 struct __user_cap_header_struct capheader; local
98 memset(&capheader, 0, sizeof(capheader));
100 capheader.version = _LINUX_CAPABILITY_VERSION_3;
101 capheader.pid = 0;
103 if (capget(&capheader, &capdata[0]) != 0) {
119 if (capset(&capheader, &capdata[0]) != 0) {
/frameworks/base/core/jni/
H A Dcom_android_internal_os_Zygote.cpp296 __user_cap_header_struct capheader; local
297 memset(&capheader, 0, sizeof(capheader));
298 capheader.version = _LINUX_CAPABILITY_VERSION_3;
299 capheader.pid = 0;
302 if (capget(&capheader, &capdata[0]) == -1) {
310 if (capset(&capheader, &capdata[0]) == -1) {
320 __user_cap_header_struct capheader; local
321 memset(&capheader, 0, sizeof(capheader));
783 __user_cap_header_struct capheader; local
[all...]
H A Dandroid_util_AssetManager.cpp121 struct __user_cap_header_struct capheader; local
124 memset(&capheader, 0, sizeof(capheader));
127 capheader.version = _LINUX_CAPABILITY_VERSION;
128 capheader.pid = 0;
130 if (capget(&capheader, &capdata) != 0) {
136 if (capset(&capheader, &capdata) != 0) {
/frameworks/native/cmds/installd/
H A Ddexopt.cpp724 struct __user_cap_header_struct capheader; local
726 memset(&capheader, 0, sizeof(capheader));
728 capheader.version = _LINUX_CAPABILITY_VERSION_3;
729 if (capset(&capheader, &capdata[0]) < 0) {

Completed in 21 milliseconds