Searched refs:AID_USER_OFFSET (Results 1 – 14 of 14) sorted by relevance
/system/core/libcutils/ |
D | multiuser.cpp | 21 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()
|
D | Android.bp | 369 "--allowlist-var", "AID_USER_OFFSET",
|
/system/core/run-as/ |
D | run-as.cpp | 159 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/ |
D | simpleperf_app_runner.cpp | 108 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/ |
D | ProfileSession.java | 110 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/ |
D | android_filesystem_config.h | 214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
|
/system/core/libcutils/include/cutils/ |
D | android_filesystem_config.h | 214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
|
/system/core/libcutils/include/private/ |
D | android_filesystem_config.h | 214 #define AID_USER_OFFSET 100000 /* offset for uid ranges for each user */ macro
|
/system/security/keystore2/src/ |
D | utils.rs | 225 pub const AID_USER_OFFSET: u32 = cutils_bindgen::AID_USER_OFFSET; constant
|
D | database.rs | 52 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/ |
D | lib.rs | 164 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/ |
D | simpleperf.cpp | 35 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/ |
D | LogStatistics.cpp | 349 uid_t userId = uid % AID_USER_OFFSET; in UidToNameLocked()
|
/system/netd/tests/ |
D | binder_test.cpp | 153 constexpr int BASE_UID = AID_USER_OFFSET * 5;
|