Lines Matching refs:dir
205 auto dir = argv[0]; in main() local
208 return update(vintfFsFactory, dir, current); in main()
210 return check(vintfFsFactory, dir); in main()
213 int VintfFm::update(const FsFactory& vintfFsFactory, const std::string& dir, Level level) { in update() argument
225 if (!dumpMatrix(*manifest, dir, level)) { in update()
232 int VintfFm::check(const FsFactory& vintfFsFactory, const std::string& dir) { in check() argument
233 auto frozenMatrices = loadMatrices(dir); in check()
263 bool VintfFm::dumpMatrix(const HalManifest& frameworkManifest, const std::string& dir, in dumpMatrix() argument
266 std::string path = dir + "/" + to_string(level) + ".xml"; in dumpMatrix()
275 std::optional<VintfFm::FrozenMatrices> VintfFm::loadMatrices(const std::string& dir) { in loadMatrices() argument
278 if (OK != mFs->listFiles(dir, &allFiles, &error)) { in loadMatrices()
279 LOG(ERROR) << "Unable to list files under " << dir << ": " << error; in loadMatrices()
283 LOG(ERROR) << "Unable to load frozen interfaces under " << dir << ": directory is empty."; in loadMatrices()
288 std::string path = dir + "/" + filename; in loadMatrices()