Searched refs:dex_path (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1136 const std::string& dex_path, bool profile_guided, bool is_public, int uid, in maybe_open_reference_profile() argument 1145 const std::string location = is_secondary_dex ? dex_path : pkgname; in maybe_open_reference_profile() 1326 static bool prepare_secondary_dex_oat_dir(const std::string& dex_path, int uid, in prepare_secondary_dex_oat_dir() argument 1328 unsigned long dirIndex = dex_path.rfind('/'); in prepare_secondary_dex_oat_dir() 1330 LOG(ERROR ) << "Unexpected dir structure for secondary dex " << dex_path; in prepare_secondary_dex_oat_dir() 1333 std::string dex_dir = dex_path.substr(0, dirIndex); in prepare_secondary_dex_oat_dir() 1338 LOG(ERROR) << "Could not prepare oat dir for secondary dex: " << dex_path; in prepare_secondary_dex_oat_dir() 1348 LOG(ERROR) << "Could not prepare oat/isa dir for secondary dex: " << dex_path; in prepare_secondary_dex_oat_dir() 1360 static bool process_dexoptanalyzer_result(const std::string& dex_path, int result, in process_dexoptanalyzer_result() argument 1378 << " Expected odex file status for secondary dex " << dex_path in process_dexoptanalyzer_result() [all …]
|
D | dexopt.h | 56 bool reconcile_secondary_dex_file(const std::string& dex_path,
|
D | utils.h | 125 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path,
|
D | InstalldNativeService.cpp | 1092 char dex_path[PKG_PATH_MAX]; in rmdex() local 1101 if (!create_cache_path(dex_path, path, instruction_set)) { in rmdex() 1105 ALOGV("unlink %s\n", dex_path); in rmdex() 1106 if (unlink(dex_path) < 0) { in rmdex() 1110 return error(StringPrintf("Failed to unlink %s", dex_path)); in rmdex()
|
D | utils.cpp | 779 bool validate_secondary_dex_path(const std::string& pkgname, const std::string& dex_path, in validate_secondary_dex_path() argument 797 return validate_path(&dir, dex_path.c_str(), /*max_subdirs*/ 10) == 0; in validate_secondary_dex_path()
|