Home
last modified time | relevance | path

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

/system/core/libcutils/
Dmultiuser.cpp21 return uid / AID_USER_OFFSET; in multiuser_get_user_id()
25 return uid % AID_USER_OFFSET; in multiuser_get_app_id()
29 return (user_id * AID_USER_OFFSET) + (app_id % AID_USER_OFFSET); in multiuser_get_uid()
/system/core/run-as/
Drun-as.cpp159 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in get_supplementary_gids()
217 if ((UID_MAX - info.uid) / AID_USER_OFFSET < (uid_t)userId) { in main()
222 uid_t userAppId = (AID_USER_OFFSET * userId) + info.uid; in main()
/system/core/libcutils/include_vndk/cutils/
Dandroid_filesystem_config.h211 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/core/libcutils/include/cutils/
Dandroid_filesystem_config.h211 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/core/include/private/
Dandroid_filesystem_config.h211 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/core/libcutils/include/private/
Dandroid_filesystem_config.h211 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp105 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in GetSupplementaryGids()
/system/core/logd/
DLogStatistics.cpp349 uid_t userId = uid % AID_USER_OFFSET; in UidToNameLocked()
/system/netd/tests/
Dbinder_test.cpp123 constexpr int BASE_UID = AID_USER_OFFSET * 5;