Lines Matching refs:coordinator
106 static bool packageExists(const Coordinator& coordinator, const FQName& fqName) { in packageExists() argument
108 status_t err = coordinator.packageExists(fqName, &result); in packageExists()
120 static FQName getLowestExistingFqName(const Coordinator& coordinator, const FQName& fqName) { in getLowestExistingFqName() argument
123 if (!packageExists(coordinator, lowest.downRev())) break; in getLowestExistingFqName()
133 static FQName getHighestExistingFqName(const Coordinator& coordinator, const FQName& fqName) { in getHighestExistingFqName() argument
135 while (packageExists(coordinator, highest.upRev())) { in getHighestExistingFqName()
141 static AST* parse(const Coordinator& coordinator, const FQName& target) { in parse() argument
142 AST* ast = coordinator.parse(target); in parse()
283 Coordinator coordinator; in main() local
287 coordinator.parseOptions(argc, argv, "fho:l:e", [&](int res, char* arg) { in main()
323 coordinator.setOutputPath(outputPath); in main()
356 if (!packageExists(coordinator, fqName)) { in main()
362 const FQName highestFqName = getHighestExistingFqName(coordinator, fqName); in main()
375 for (FQName version = getLowestExistingFqName(coordinator, fqName); in main()
379 status_t err = coordinator.appendPackageInterfacesToVector(version, &newTargets); in main()
397 coordinator.getFormatter(fqName, Coordinator::Location::DIRECT, "conversion.log"); in main()
406 AST* ast = parse(coordinator, target); in main()
451 coordinator.getFormatter(fqName, Coordinator::Location::DIRECT, "Android.bp"); in main()
453 AidlHelper::emitTranslation(coordinator, fqName, namedTypesInPackage, processedTypesInPackage); in main()
460 AidlHelper::emitAidl(*namedType, coordinator, processedTypesInPackage); in main()