/frameworks/native/cmds/installd/ |
D | installd_deps.h | 40 extern bool calculate_oat_file_path(char path[PKG_PATH_MAX], 51 extern bool calculate_odex_file_path(char path[PKG_PATH_MAX], 56 extern bool create_cache_path(char path[PKG_PATH_MAX],
|
D | installd.cpp | 54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], in calculate_oat_file_path() argument 79 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name); in calculate_oat_file_path() 89 bool calculate_odex_file_path(char path[PKG_PATH_MAX], in calculate_odex_file_path() argument 93 + strlen("/") + strlen("odex") + 1 > PKG_PATH_MAX) { in calculate_odex_file_path() 118 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument 128 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path() 140 if (dstlen > PKG_PATH_MAX) { in create_cache_path()
|
D | utils.h | 49 int create_pkg_path(char path[PKG_PATH_MAX], 95 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid); 97 int create_move_path(char path[PKG_PATH_MAX],
|
D | dexopt.cpp | 279 char zip_location_arg[arraysize("--zip-location=") + PKG_PATH_MAX]; in run_dex2oat() 283 char oat_location_arg[arraysize("--oat-location=") + PKG_PATH_MAX]; in run_dex2oat() 363 char base_dir[arraysize("--classpath-dir=") + PKG_PATH_MAX]; in run_dex2oat() 885 if (strlen(file_name) + strlen(extension) + 1 > PKG_PATH_MAX) { in add_extension_to_file_name() 935 if (strlen(apk_path) >= (PKG_PATH_MAX - 8)) { in create_oat_out_path() 1113 char swap_file_name[PKG_PATH_MAX]; in maybe_open_dexopt_swap_file() 1163 char in_odex_path[PKG_PATH_MAX]; in open_vdex_files() 1300 char dex_file_arg[strlen("--dex-file=") + PKG_PATH_MAX]; in exec_dexoptanalyzer() 1342 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir() 1343 snprintf(oat_dir, PKG_PATH_MAX, "%s/oat", dex_dir.c_str()); in prepare_secondary_dex_oat_dir() [all …]
|
D | otapreopt.cpp | 1010 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument 1034 PKG_PATH_MAX, in calculate_oat_file_path() 1049 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 1071 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path() 1079 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument 1089 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path() 1103 if (assembled_path.length() + 1 > PKG_PATH_MAX) { in create_cache_path()
|
D | installd_constants.h | 34 constexpr size_t PKG_PATH_MAX = 256u; /* max size of any path we use */ variable
|
D | utils.cpp | 132 int create_pkg_path(char path[PKG_PATH_MAX], const char *pkgname, in create_pkg_path() argument 141 if (strlen(tmp) >= PKG_PATH_MAX) { in create_pkg_path() 357 int create_move_path(char path[PKG_PATH_MAX], in create_move_path() argument 363 >= PKG_PATH_MAX) { in create_move_path()
|
D | InstalldNativeService.cpp | 1092 char dex_path[PKG_PATH_MAX]; in rmdex() 1832 char boot_marker_path[PKG_PATH_MAX]; in markBootComplete() 2179 char oat_instr_dir[PKG_PATH_MAX]; in createOatDir() 2190 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir() 2218 char from_path[PKG_PATH_MAX]; in linkFile() 2219 char to_path[PKG_PATH_MAX]; in linkFile() 2220 snprintf(from_path, PKG_PATH_MAX, "%s/%s", from_base, relative_path); in linkFile() 2221 snprintf(to_path, PKG_PATH_MAX, "%s/%s", to_base, relative_path); in linkFile()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 323 char path[PKG_PATH_MAX]; in TEST_F() 343 char path[PKG_PATH_MAX]; in TEST_F() 346 size_t postfixSize = PKG_PATH_MAX; in TEST_F() 356 char path[PKG_PATH_MAX]; in TEST_F() 369 char path[PKG_PATH_MAX]; in TEST_F() 382 char path[PKG_PATH_MAX]; in TEST_F() 392 char path[PKG_PATH_MAX]; in TEST_F() 399 char path[PKG_PATH_MAX]; in TEST_F()
|
D | installd_service_test.cpp | 44 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_oat_file_path() 51 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_odex_file_path() 57 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument
|
D | installd_cache_test.cpp | 50 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_oat_file_path() 57 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_odex_file_path() 63 bool create_cache_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in create_cache_path()
|