Home
last modified time | relevance | path

Searched refs:userAppId (Results 1 – 2 of 2) sorted by relevance

/system/core/run-as/
Drun-as.cpp145 std::vector<gid_t> get_supplementary_gids(uid_t userAppId) { in get_supplementary_gids() argument
159 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in get_supplementary_gids()
222 uid_t userAppId = (AID_USER_OFFSET * userId) + info.uid; in main() local
225 if (userAppId < AID_APP) { in main()
235 check_data_path(pkgname, info.data_dir, userAppId); in main()
239 uid_t uid = userAppId; in main()
240 uid_t gid = userAppId; in main()
241 std::vector<gid_t> supplementary_gids = get_supplementary_gids(userAppId); in main()
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp91 std::vector<gid_t> GetSupplementaryGids(uid_t userAppId) { in GetSupplementaryGids() argument
105 gid_t shared_app_gid = userAppId % AID_USER_OFFSET - AID_APP_START + AID_SHARED_GID_START; in GetSupplementaryGids()