Home
last modified time | relevance | path

Searched refs:PKG_PATH_MAX (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/cmds/installd/
Dinstalld_deps.h40 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],
Ddexopt.h120 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir,
123 bool calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path,
126 bool create_cache_path_default(char path[PKG_PATH_MAX], const char *src,
Dinstalld.cpp54 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
Dotapreopt.cpp704 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument
728 PKG_PATH_MAX, in calculate_oat_file_path()
743 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument
765 if (new_path.length() >= PKG_PATH_MAX) { in calculate_odex_file_path()
773 bool create_cache_path(char path[PKG_PATH_MAX], in create_cache_path() argument
783 if (srclen > PKG_PATH_MAX) { // XXX: PKG_NAME_MAX? in create_cache_path()
797 if (assembled_path.length() + 1 > PKG_PATH_MAX) { in create_cache_path()
Ddexopt.cpp1104 if (dex_path.size() >= (PKG_PATH_MAX - 8)) { in validate_dex_path_size()
1363 char in_odex_path[PKG_PATH_MAX]; in open_vdex_files_for_dex2oat()
1477 char oat_path[PKG_PATH_MAX]; in maybe_open_oat_and_vdex_file()
1616 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir()
1617 snprintf(oat_dir, PKG_PATH_MAX, "%s/oat", dex_dir.c_str()); in prepare_secondary_dex_oat_dir()
1745 snprintf(out_oat_dir, PKG_PATH_MAX, "%s/oat", apk_dir.c_str()); in create_secondary_dex_oat_layout()
1746 snprintf(out_oat_isa_dir, PKG_PATH_MAX, "%s/%s", out_oat_dir, isa.c_str()); in create_secondary_dex_oat_layout()
1884 char oat_path[PKG_PATH_MAX]; in process_secondary_dex_dexopt()
1885 char oat_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt()
1886 char oat_isa_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt()
[all …]
Dinstalld_constants.h34 constexpr size_t PKG_PATH_MAX = 1024u; /* max size of any path we use */ variable
Dutils.h110 int create_user_config_path(char path[PKG_PATH_MAX], userid_t userid);
DInstalldNativeService.cpp1409 char dex_path[PKG_PATH_MAX]; in rmdex()
2145 char boot_marker_path[PKG_PATH_MAX]; in markBootComplete()
2491 char oat_instr_dir[PKG_PATH_MAX]; in createOatDir()
2502 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir()
2533 char from_path[PKG_PATH_MAX]; in linkFile()
2534 char to_path[PKG_PATH_MAX]; in linkFile()
2535 snprintf(from_path, PKG_PATH_MAX, "%s/%s", from_base, relative_path); in linkFile()
2536 snprintf(to_path, PKG_PATH_MAX, "%s/%s", to_base, relative_path); in linkFile()
Dutils.cpp894 if (dex_path.size() > PKG_PATH_MAX) { return false; } in validate_secondary_dex_path()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp54 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
229 char buf[PKG_PATH_MAX]; in TEST_F()
239 char buf[PKG_PATH_MAX]; in TEST_F()
246 char buf[PKG_PATH_MAX]; in TEST_F()
Dinstalld_cache_test.cpp50 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()
Dinstalld_dexopt_test.cpp72 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
77 bool calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, in calculate_odex_file_path() argument
82 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument
Dinstalld_utils_test.cpp62 for (size_t i = seed.size(); i < PKG_PATH_MAX; i++) { in create_too_long_path()