Lines Matching refs:Result

46 using android::base::Result;
90 const std::function<Result<bool>(const struct ConfigEntry&)> always_true =
91 [](const struct ConfigEntry&) -> Result<bool> { return true; }; in __anon2cb3f6050202()
93 Result<std::vector<std::string>> ReadConfig( in ReadConfig()
95 const std::function<Result<bool>(const ConfigEntry& /* entry */)>& filter_fn) { in ReadConfig()
100 Result<std::vector<std::string>> result = ParseConfig(file_content, filter_fn); in ReadConfig()
127 Result<std::vector<std::string>> ret = ReadConfig( in ReadExtensionLibraries()
128 config_file_path, [&company_name](const struct ConfigEntry& entry) -> Result<bool> { in ReadExtensionLibraries()
153 Result<std::vector<std::string>> sonames = in InitDefaultPublicLibraries()
154 ReadConfig(config_file, [&for_preload](const struct ConfigEntry& entry) -> Result<bool> { in InitDefaultPublicLibraries()
189 Result<std::vector<std::string>> sonames = ReadConfig(kVendorPublicLibrariesFile, always_true); in InitVendorPublicLibraries()
253 Result<std::vector<std::string>> sonames = ReadConfig(config_file, always_true); in InitLlndkLibrariesVendor()
275 Result<std::vector<std::string>> sonames = ReadConfig(config_file, always_true); in InitLlndkLibrariesProduct()
293 Result<std::vector<std::string>> sonames = ReadConfig(config_file, always_true); in InitVndkspLibrariesVendor()
310 Result<std::vector<std::string>> sonames = ReadConfig(config_file, always_true); in InitVndkspLibrariesProduct()
327 Result<std::map<std::string, std::string>> config = ParseApexLibrariesConfig(file_content, tag); in InitApexLibraries()
354 Result<ApexLibrariesConfigLine> ParseApexLibrariesConfigLine(const std::string& line) { in ParseApexLibrariesConfigLine()
456 Result<std::vector<std::string>> ParseConfig( in ParseConfig()
458 const std::function<Result<bool>(const ConfigEntry& /* entry */)>& filter_fn) { in ParseConfig()
503 Result<bool> ret = filter_fn(entry); in ParseConfig()
527 Result<std::map<std::string, std::string>> ParseApexLibrariesConfig(const std::string& file_content… in ParseApexLibrariesConfig()
535 Result<ApexLibrariesConfigLine> config_line = ParseApexLibrariesConfigLine(trimmed_line); in ParseApexLibrariesConfig()