Searched refs:capheader (Results 1 - 6 of 6) sorted by relevance
/frameworks/native/services/vr/performanced/ |
H A D | main.cpp | 27 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 D | test_utils.h | 123 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 D | DumpstateInternal.cpp | 96 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 D | com_android_internal_os_Zygote.cpp | 296 __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 D | android_util_AssetManager.cpp | 121 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 D | dexopt.cpp | 724 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 130 milliseconds