/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 | 135 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir, 138 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, 141 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 | 603 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument 627 PKG_PATH_MAX, in calculate_oat_file_path() 642 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 664 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path() 672 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument 682 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path() 696 if (assembled_path.length() + 1 > PKG_PATH_MAX) { in create_cache_path()
|
D | dexopt.cpp | 991 if (dex_path.size() >= (PKG_PATH_MAX - 8)) { in validate_dex_path_size() 1129 char in_odex_path[PKG_PATH_MAX]; in open_vdex_files_for_dex2oat() 1204 char out_oat_path[PKG_PATH_MAX]; in open_oat_out_file() 1228 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file() 1358 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir() 1359 snprintf(oat_dir, PKG_PATH_MAX, "%s/oat", dex_dir.c_str()); in prepare_secondary_dex_oat_dir() 1489 snprintf(out_oat_dir, PKG_PATH_MAX, "%s/oat", apk_dir.c_str()); in create_secondary_dex_oat_layout() 1490 snprintf(out_oat_isa_dir, PKG_PATH_MAX, "%s/%s", out_oat_dir, isa.c_str()); in create_secondary_dex_oat_layout() 1651 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt() 1652 char oat_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt() [all …]
|
D | installd_constants.h | 36 constexpr size_t PKG_PATH_MAX = 1024u; /* max size of any path we use */ variable
|
D | utils.h | 123 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid);
|
D | InstalldNativeService.cpp | 2301 char dex_path[PKG_PATH_MAX]; in rmdex() 3506 char oat_instr_dir[PKG_PATH_MAX]; in createOatDir() 3517 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir() 3552 char from_path[PKG_PATH_MAX]; in linkFile() 3553 char to_path[PKG_PATH_MAX]; in linkFile() 3554 snprintf(from_path, PKG_PATH_MAX, "%s/%s", from_base, relative_path); in linkFile() 3555 snprintf(to_path, PKG_PATH_MAX, "%s/%s", to_base, relative_path); in linkFile()
|
D | utils.cpp | 1099 if (dex_path.size() > PKG_PATH_MAX) { return false; } in validate_secondary_dex_path()
|
/frameworks/native/cmds/installd/tests/fuzzers/ |
D | InstalldServiceFuzzer.cpp | 28 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char* oat_dir, const char* apk_path, in calculate_oat_file_path() argument 33 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char* apk_path, in calculate_odex_file_path() argument 38 bool create_cache_path(char path[PKG_PATH_MAX], const char* src, const char* instruction_set) { in create_cache_path() argument
|
/frameworks/native/cmds/installd/tests/ |
D | installd_cache_test.cpp | 51 bool calculate_oat_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_oat_file_path() 58 bool calculate_odex_file_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in calculate_odex_file_path() 64 bool create_cache_path(char path[PKG_PATH_MAX] ATTRIBUTE_UNUSED, in create_cache_path()
|
D | installd_service_test.cpp | 105 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 110 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 115 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument 469 char buf[PKG_PATH_MAX]; in TEST_F() 479 char buf[PKG_PATH_MAX]; in TEST_F() 486 char buf[PKG_PATH_MAX]; in TEST_F()
|
D | installd_dexopt_test.cpp | 62 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 67 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument 72 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 | 67 for (size_t i = seed.size(); i < PKG_PATH_MAX; i++) { in create_too_long_path()
|