Lines Matching refs:root
91 void LoadVariableFromPartitionPath(const std::string& root, in LoadVariableFromPartitionPath() argument
94 auto real_path = GetRealPath(root + partition); in LoadVariableFromPartitionPath()
97 Variables::AddValue(variable_name, TrimPrefix(*real_path, root)); in LoadVariableFromPartitionPath()
104 void LoadPartitionPathVariables(const std::string& root) { in LoadPartitionPathVariables() argument
106 LoadVariableFromPartitionPath(root, "PRODUCT", "/product"); in LoadPartitionPathVariables()
107 LoadVariableFromPartitionPath(root, "SYSTEM_EXT", "/system_ext"); in LoadPartitionPathVariables()
110 void LoadVndkLibraryListVariables(const std::string& root, in LoadVndkLibraryListVariables() argument
116 const std::string vndk_path = root + "/apex/com.android.vndk.v" + vndk_version; in LoadVndkLibraryListVariables()
130 root + "/system/etc/sanitizer.libraries.txt"; in LoadVndkLibraryListVariables()
154 root + "/system/etc/vndkcorevariant.libraries.txt"; in LoadVndkLibraryListVariables()
161 void LoadLibraryListVariables(const std::string& root) { in LoadLibraryListVariables() argument
162 LoadVndkLibraryListVariables(root, GetVendorVndkVersion(), "VENDOR"); in LoadLibraryListVariables()
163 LoadVndkLibraryListVariables(root, GetProductVndkVersion(), "PRODUCT"); in LoadLibraryListVariables()
165 auto sanitizer_library_path = root + "/system/etc/sanitizer.libraries.txt"; in LoadLibraryListVariables()
178 void LoadVariables(const std::string& root) { in LoadVariables() argument
180 LoadPartitionPathVariables(root); in LoadVariables()
181 LoadLibraryListVariables(root); in LoadVariables()