/system/core/libcutils/ |
H A D | fs_config.cpp | 64 { 00770, AID_SYSTEM, AID_CACHE, 0, "cache" }, 66 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app" }, 67 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-private" }, 68 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-ephemeral" }, 70 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/data" }, 75 { 01771, AID_SYSTEM, AID_MIS [all...] |
/system/vold/ |
H A D | VoldNativeService.cpp | 215 ENFORCE_UID(AID_SYSTEM); 223 ENFORCE_UID(AID_SYSTEM); 237 ENFORCE_UID(AID_SYSTEM); 244 ENFORCE_UID(AID_SYSTEM); 251 ENFORCE_UID(AID_SYSTEM); 258 ENFORCE_UID(AID_SYSTEM); 265 ENFORCE_UID(AID_SYSTEM); 272 ENFORCE_UID(AID_SYSTEM); 279 ENFORCE_UID(AID_SYSTEM); 287 ENFORCE_UID(AID_SYSTEM); [all...] |
H A D | Ext4Crypt.cpp | 670 if (!prepare_dir(system_legacy_path, 0700, AID_SYSTEM, AID_SYSTEM)) return false; 672 if (!prepare_dir(misc_legacy_path, 0750, multiuser_get_uid(user_id, AID_SYSTEM), 675 if (!prepare_dir(profiles_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; 677 if (!prepare_dir(system_de_path, 0770, AID_SYSTEM, AID_SYSTEM)) return false; 678 if (!prepare_dir(misc_de_path, 01771, AID_SYSTEM, AID_MISC)) return false; 681 if (!prepare_dir(user_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) retur [all...] |
H A D | vold_prepare_subdirs.cpp | 132 if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, vendor_de_path + "/fpdata")) {
|
H A D | Benchmark.cpp | 96 if (android::vold::PrepareDir(path, 01771, AID_SYSTEM, AID_MISC)) {
|
H A D | CheckEncryption.cpp | 130 if (android::vold::PrepareDir(deNeedle, 01771, AID_SYSTEM, AID_MISC)) {
|
/system/security/keystore/ |
H A D | permissions.cpp | 58 {AID_VPN, AID_SYSTEM}, {AID_WIFI, AID_SYSTEM}, {AID_ROOT, AID_SYSTEM}, 68 {AID_SYSTEM, static_cast<perm_t>((uint32_t)(~0))}, 162 if (get_app_id(uid) == AID_SYSTEM) { 163 uid = AID_SYSTEM;
|
H A D | keystore_attestation_id.cpp | 37 #include <private/android_filesystem_config.h> /* for AID_SYSTEM */ 247 if (uid == AID_SYSTEM) {
|
/system/vold/model/ |
H A D | PrivateVolume.cpp | 149 if (PrepareDir(mPath + "/app", 0771, AID_SYSTEM, AID_SYSTEM) || 150 PrepareDir(mPath + "/user", 0711, AID_SYSTEM, AID_SYSTEM) || 151 PrepareDir(mPath + "/user_de", 0711, AID_SYSTEM, AID_SYSTEM) ||
|
/system/core/logd/ |
H A D | FlushCommand.cpp | 99 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM);
|
H A D | LogCommand.cpp | 61 if ((uid == AID_ROOT) || (uid == AID_SYSTEM) || (uid == AID_LOG)) { 65 if ((gid == AID_ROOT) || (gid == AID_SYSTEM) || (gid == AID_LOG)) {
|
H A D | LogStatistics.cpp | 137 if (element->getUid() == AID_SYSTEM) { 180 if (element->getUid() == AID_SYSTEM) { 218 if (element->getUid() == AID_SYSTEM) { 399 if (uid != AID_SYSTEM) {
|
/system/core/include/cutils/ |
H A D | android_filesystem_config.h | 62 #define AID_SYSTEM 1000 /* system server */ macro
|
/system/core/include/private/ |
H A D | android_filesystem_config.h | 62 #define AID_SYSTEM 1000 /* system server */ macro
|
/system/core/libcutils/include/cutils/ |
H A D | android_filesystem_config.h | 62 #define AID_SYSTEM 1000 /* system server */ macro
|
/system/core/libcutils/include/private/ |
H A D | android_filesystem_config.h | 62 #define AID_SYSTEM 1000 /* system server */ macro
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | android_filesystem_config.h | 62 #define AID_SYSTEM 1000 /* system server */ macro
|
/system/core/trusty/storage/proxy/ |
H A D | proxy.c | 69 if (setgid(AID_SYSTEM) != 0) { 73 if (setuid(AID_SYSTEM) != 0) {
|
/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 301 if (!MkdirAndChown(uid_path, 0750, AID_SYSTEM, AID_SYSTEM)) { 308 if (!MkdirAndChown(uid_pid_path, 0750, AID_SYSTEM, AID_SYSTEM)) {
|
/system/core/liblog/ |
H A D | logger.h | 184 return AID_SYSTEM;
|
H A D | logger_write.c | 59 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { 61 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { 63 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { 65 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) {
|
H A D | logd_reader.c | 98 if (uid != AID_SYSTEM) { 403 return ((uid != AID_ROOT) && (uid != AID_LOG) && (uid != AID_SYSTEM)) ? 3 : 4;
|
/system/core/run-as/ |
H A D | run-as.cpp | 122 if (!check_directory(subpath, AID_SYSTEM)) return false;
|
/system/netd/server/ |
H A D | FwmarkServer.cpp | 44 if (client->getUid() != AID_SYSTEM) {
|
H A D | DnsProxyListener.cpp | 207 static_assert(AID_SYSTEM >= 0 && AID_SYSTEM < FIRST_APPLICATION_UID, 208 "Calls from AID_SYSTEM must not result in a permission check to avoid deadlock.");
|