/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 | 124 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir, 127 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, 130 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 | 608 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument 632 PKG_PATH_MAX, in calculate_oat_file_path() 647 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 669 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path() 677 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument 687 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path() 701 if (assembled_path.length() + 1 > PKG_PATH_MAX) { in create_cache_path()
|
D | dexopt.cpp | 1189 if (dex_path.size() >= (PKG_PATH_MAX - 8)) { in validate_dex_path_size() 1443 char in_odex_path[PKG_PATH_MAX]; in open_vdex_files_for_dex2oat() 1557 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() 1696 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir() 1697 snprintf(oat_dir, PKG_PATH_MAX, "%s/oat", dex_dir.c_str()); in prepare_secondary_dex_oat_dir() 1825 snprintf(out_oat_dir, PKG_PATH_MAX, "%s/oat", apk_dir.c_str()); in create_secondary_dex_oat_layout() 1826 snprintf(out_oat_isa_dir, PKG_PATH_MAX, "%s/%s", out_oat_dir, isa.c_str()); in create_secondary_dex_oat_layout() 1964 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt() 1965 char oat_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt() 1966 char oat_isa_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 | 110 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid);
|
D | InstalldNativeService.cpp | 1502 char dex_path[PKG_PATH_MAX]; in rmdex() 2666 char oat_instr_dir[PKG_PATH_MAX]; in createOatDir() 2677 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir() 2708 char from_path[PKG_PATH_MAX]; in linkFile() 2709 char to_path[PKG_PATH_MAX]; in linkFile() 2710 snprintf(from_path, PKG_PATH_MAX, "%s/%s", from_base, relative_path); in linkFile() 2711 snprintf(to_path, PKG_PATH_MAX, "%s/%s", to_base, relative_path); in linkFile()
|
D | utils.cpp | 897 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 | 73 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 78 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 83 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()
|