Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgrp_pwd.cpp353 static void print_app_name_from_uid(const uid_t uid, char* buffer, const int bufferlen) { in print_app_name_from_uid() argument
357 snprintf(buffer, bufferlen, "u%u_i%u", userid, appid - AID_ISOLATED_START); in print_app_name_from_uid()
360 snprintf(buffer, bufferlen, "u%u_%s", userid, android_id_info->name); in print_app_name_from_uid()
363 snprintf(buffer, bufferlen, "u%u_a%u", userid, appid - AID_APP_START); in print_app_name_from_uid()
367 static void print_app_name_from_gid(const gid_t gid, char* buffer, const int bufferlen) { in print_app_name_from_gid() argument
371 snprintf(buffer, bufferlen, "u%u_i%u", userid, appid - AID_ISOLATED_START); in print_app_name_from_gid()
373 snprintf(buffer, bufferlen, "all_a%u", appid - AID_SHARED_GID_START); in print_app_name_from_gid()
375 snprintf(buffer, bufferlen, "u%u_a%u_ext_cache", userid, appid - AID_EXT_CACHE_GID_START); in print_app_name_from_gid()
377 snprintf(buffer, bufferlen, "u%u_a%u_ext", userid, appid - AID_EXT_GID_START); in print_app_name_from_gid()
379 snprintf(buffer, bufferlen, "u%u_a%u_cache", userid, appid - AID_CACHE_GID_START); in print_app_name_from_gid()
[all …]