/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 | dexopt.h | 130 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir, 133 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, 136 bool create_cache_path_default(char path[PKG_PATH_MAX], const char *src,
|
D | installd.cpp | 54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 59 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 64 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument
|
D | otapreopt.cpp | 616 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument 640 PKG_PATH_MAX, in calculate_oat_file_path() 655 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 677 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path() 685 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument 695 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path() 709 if (assembled_path.length() + 1 > PKG_PATH_MAX) { in create_cache_path()
|
D | dexopt.cpp | 884 if (dex_path.size() >= (PKG_PATH_MAX - 8)) { in validate_dex_path_size() 1031 char in_odex_path[PKG_PATH_MAX]; in open_vdex_files_for_dex2oat() 1120 char out_oat_path[PKG_PATH_MAX]; in open_oat_out_file() 1147 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() 1277 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir() 1278 snprintf(oat_dir, PKG_PATH_MAX, "%s/oat", dex_dir.c_str()); in prepare_secondary_dex_oat_dir() 1408 snprintf(out_oat_dir, PKG_PATH_MAX, "%s/oat", apk_dir.c_str()); in create_secondary_dex_oat_layout() 1409 snprintf(out_oat_isa_dir, PKG_PATH_MAX, "%s/%s", out_oat_dir, isa.c_str()); in create_secondary_dex_oat_layout() 1547 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt() 1548 char oat_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt() [all …]
|
D | installd_constants.h | 34 constexpr size_t PKG_PATH_MAX = 1024u; /* max size of any path we use */ variable
|
D | utils.h | 113 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid);
|
D | InstalldNativeService.cpp | 1523 char dex_path[PKG_PATH_MAX]; in rmdex() 2581 char oat_instr_dir[PKG_PATH_MAX]; in createOatDir() 2592 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir() 2623 char from_path[PKG_PATH_MAX]; in linkFile() 2624 char to_path[PKG_PATH_MAX]; in linkFile() 2625 snprintf(from_path, PKG_PATH_MAX, "%s/%s", from_base, relative_path); in linkFile() 2626 snprintf(to_path, PKG_PATH_MAX, "%s/%s", to_base, relative_path); in linkFile()
|
D | utils.cpp | 894 if (dex_path.size() > PKG_PATH_MAX) { return false; } in validate_secondary_dex_path()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_service_test.cpp | 54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 59 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 64 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument 228 char buf[PKG_PATH_MAX]; in TEST_F() 238 char buf[PKG_PATH_MAX]; in TEST_F() 245 char buf[PKG_PATH_MAX]; in TEST_F()
|
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()
|
D | installd_dexopt_test.cpp | 74 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 79 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 84 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument
|
D | installd_utils_test.cpp | 62 for (size_t i = seed.size(); i < PKG_PATH_MAX; i++) { in create_too_long_path()
|