Home
last modified time | relevance | path

Searched refs:root_path (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/installd/
Dglobals.cpp69 const char* root_path = getenv("ANDROID_ROOT"); in init_globals_from_data_and_root() local
70 if (root_path == nullptr) { in init_globals_from_data_and_root()
74 return init_globals_from_data_and_root(data_path, root_path); in init_globals_from_data_and_root()
Dutils.cpp86 static std::string resolve_ce_path_by_inode_or_fallback(const std::string& root_path, in resolve_ce_path_by_inode_or_fallback() argument
89 DIR* dir = opendir(root_path.c_str()); in resolve_ce_path_by_inode_or_fallback()
91 PLOG(ERROR) << "Failed to opendir " << root_path; in resolve_ce_path_by_inode_or_fallback()
98 auto resolved = StringPrintf("%s/%s", root_path.c_str(), ent->d_name); in resolve_ce_path_by_inode_or_fallback()
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp213 bool ZipAssetsProvider::ForEachFile(const std::string& root_path, in ForEachFile() argument
216 std::string root_path_full = root_path; in ForEachFile()
375 bool MultiAssetsProvider::ForEachFile(const std::string& root_path, in ForEachFile() argument
378 return primary_->ForEachFile(root_path, f) && secondary_->ForEachFile(root_path, f); in ForEachFile()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetsProvider.h92 bool ForEachFile(const std::string& root_path,
159 bool ForEachFile(const std::string& root_path,