Lines Matching defs:package

87         // Any interface file implicitly imports its package's types.hal.
103 // If types.hal for this AST's package existed, make it's defined
117 if (ast->package().package() != fqName.package()
118 || ast->package().version() != fqName.version()) {
120 "ERROR: File at '%s' does not match expected package and/or "
130 "instead of the expected types common to the package.\n",
175 // For each .hal file that hidl-gen parses, the whole package will be checked.
189 CHECK(!fqName.package().empty());
191 // Find the right package prefix and path for this FQName. For
195 // prefix "android.hardware" and the package root
206 << "Multiple package roots found for " << fqName.string()
212 << "Unable to find package root for " << fqName.string();
261 const std::string packageSuffix = fqName.package().substr(prefix.length());
287 const FQName &package,
291 const std::string packagePath = getAbsolutePackagePath(package);
297 "ERROR: Could not open package path %s for package %s:\n%s\n",
298 getPackagePath(package).c_str(),
299 package.string().c_str(),
340 const FQName &package,
345 status_t err = getPackageInterfaceFiles(package, &fileNames);
353 package.package() + package.atVersion() + "::" + fileName);
357 << "Whole-package import encountered invalid filename '"
359 << "' in package "
360 << package.package()
361 << package.atVersion();
391 if (fqName.package().empty() || fqName.version().empty()) {
392 LOG(ERROR) << "Cannot enforce restrictions on package " << fqName.string()
393 << ": package or version is missing.";
401 FQName package = fqName.getPackageAndVersion();
403 if (mPackagesEnforced.find(package) != mPackagesEnforced.end()) {
410 err = enforceMinorVersionUprevs(package);
416 err = enforceHashes(package);
423 mPackagesEnforced.insert(package);
454 << ": Found package " << prevPackage.string() << " but missing "
496 FQName lastFQName(prevPackage.package(), prevPackage.version(),