Home
last modified time | relevance | path

Searched refs:AID_USER_OFFSET (Results 1 – 14 of 14) 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()
DAndroid.bp369 "--allowlist-var", "AID_USER_OFFSET",
/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/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp108 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in GetSupplementaryGids()
229 if ((UID_MAX - info->uid) / AID_USER_OFFSET < user_id) { in main()
232 user_app_id = (AID_USER_OFFSET * user_id) + info->uid; in main()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java110 final int AID_USER_OFFSET = 100000; in ProfileSession() local
112 if (uid >= AID_USER_OFFSET) { in ProfileSession()
113 int user_id = uid / AID_USER_OFFSET; in ProfileSession()
/system/core/libcutils/include_outside_system/cutils/
Dandroid_filesystem_config.h214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/core/libcutils/include/cutils/
Dandroid_filesystem_config.h214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/core/libcutils/include/private/
Dandroid_filesystem_config.h214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
/system/security/keystore2/src/
Dutils.rs225 pub const AID_USER_OFFSET: u32 = cutils_bindgen::AID_USER_OFFSET; constant
Ddatabase.rs52 use crate::utils::{get_current_time_in_milliseconds, watchdog as wd, AID_USER_OFFSET};
2901 aid_user_offset = AID_USER_OFFSET in unbind_keys_for_user()
/system/security/keystore2/legacykeystore/
Dlib.rs164 params![cutils_bindgen::AID_USER_OFFSET, user_id], in remove_user()
603 db.put(2 + 2 * cutils_bindgen::AID_USER_OFFSET, "test1", TEST_BLOB1) in test_delete_user()
605 db.put(4 + 2 * cutils_bindgen::AID_USER_OFFSET, "test2", TEST_BLOB2) in test_delete_user()
613 db.list(2 + 2 * cutils_bindgen::AID_USER_OFFSET).expect("Failed to list entries.") in test_delete_user()
618 db.list(4 + 2 * cutils_bindgen::AID_USER_OFFSET).expect("Failed to list entries.") in test_delete_user()
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp35 constexpr int AID_USER_OFFSET = 100000; variable
481 if (uid >= AID_USER_OFFSET) { in ProfileSession()
482 int user_id = uid / AID_USER_OFFSET; in ProfileSession()
/system/logging/logd/
DLogStatistics.cpp349 uid_t userId = uid % AID_USER_OFFSET; in UidToNameLocked()
/system/netd/tests/
Dbinder_test.cpp153 constexpr int BASE_UID = AID_USER_OFFSET * 5;