Searched refs:PKG_PATH_MAX (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | commands.c | 36 char pkgdir[PKG_PATH_MAX]; in install() 37 char libsymlink[PKG_PATH_MAX]; in install() 38 char applibdir[PKG_PATH_MAX]; in install() 116 char pkgdir[PKG_PATH_MAX]; in uninstall() 129 char oldpkgdir[PKG_PATH_MAX]; in renamepkg() 130 char newpkgdir[PKG_PATH_MAX]; in renamepkg() 146 char pkgdir[PKG_PATH_MAX]; in fix_uid() 183 char pkgdir[PKG_PATH_MAX]; in delete_user_data() 193 char pkgdir[PKG_PATH_MAX]; in make_user_data() 194 char applibdir[PKG_PATH_MAX]; in make_user_data() [all …]
|
D | installd.h | 84 #define PKG_PATH_MAX 256 /* max size of any path we use */ macro 135 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], 140 int create_pkg_path(char path[PKG_PATH_MAX], 145 int create_user_path(char path[PKG_PATH_MAX], 148 int create_user_media_path(char path[PKG_PATH_MAX], userid_t userid); 150 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); 152 int create_move_path(char path[PKG_PATH_MAX], 159 int create_cache_path(char path[PKG_PATH_MAX], const char *src,
|
D | utils.c | 21 int create_pkg_path_in_dir(char path[PKG_PATH_MAX], in create_pkg_path_in_dir() argument 37 if ((pkgname_len + dir->len + postfix_len) >= PKG_PATH_MAX) { in create_pkg_path_in_dir() 42 size_t dst_size = PKG_PATH_MAX; in create_pkg_path_in_dir() 58 int create_pkg_path(char path[PKG_PATH_MAX], in create_pkg_path() argument 105 int create_user_path(char path[PKG_PATH_MAX], in create_user_path() argument 119 size_t dst_size = PKG_PATH_MAX; in create_user_path() 163 int create_move_path(char path[PKG_PATH_MAX], in create_move_path() argument 169 >= PKG_PATH_MAX) { in create_move_path() 1134 char profile_file[PKG_PATH_MAX]; in create_profile_file() 1166 char profile_file[PKG_PATH_MAX]; in remove_profile_file()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 309 char path[PKG_PATH_MAX]; in TEST_F() 327 char path[PKG_PATH_MAX]; in TEST_F() 340 char path[PKG_PATH_MAX]; in TEST_F() 343 size_t postfixSize = PKG_PATH_MAX; in TEST_F() 353 char path[PKG_PATH_MAX]; in TEST_F() 363 char path[PKG_PATH_MAX]; in TEST_F() 373 char path[PKG_PATH_MAX]; in TEST_F() 387 char path[PKG_PATH_MAX]; in TEST_F() 397 char path[PKG_PATH_MAX]; in TEST_F() 407 char path[PKG_PATH_MAX]; in TEST_F() [all …]
|