Home
last modified time | relevance | path

Searched refs:package (Results 1 – 25 of 99) sorted by relevance

1234

/system/tools/hidl/test/
Dtest.sh31 …-gen -Lc++ -rtests:system/tools/hidl/test -randroid.hidl:system/libhidl/transport -o /tmp $package"
47 echo "Success for $package."
49 echo "Fail for $package; output doesn't contain '$contains'"
61 echo "Success for $package."
66 check package="tests.errors.syntax@1.0" filename="errors/syntax.output"
68 check package="tests.errors.versioning@2.2" \
71 check package="tests.errors.versioning@3.3" \
/system/libhidl/base/
DHidlInternal.cpp40 HidlInstrumentor::HidlInstrumentor(const std::string& package, const std::string& interface) in HidlInstrumentor() argument
42 mInstrumentationLibPackage(package), in HidlInstrumentor()
113 std::string package = mInstrumentationLibPackage; in registerInstrumentationCallbacks() local
114 for (size_t i = 0; i < package.size(); i++) { in registerInstrumentationCallbacks()
115 if (package[i] == '.') { in registerInstrumentationCallbacks()
116 package[i] = '_'; in registerInstrumentationCallbacks()
120 if (package[i] == '@') { in registerInstrumentationCallbacks()
121 package[i] = '_'; in registerInstrumentationCallbacks()
122 package.insert(i + 1, "V"); in registerInstrumentationCallbacks()
127 + package + "_" + mInterfaceName).c_str()); in registerInstrumentationCallbacks()
[all …]
/system/tpm/attestation/common/
Dproto_print.py119 package = ''
173 package = match.group(1)
178 return package, imports, messages, enums
181 def GenerateFileHeaders(proto_name, package, imports, subdir, header_file_name, argument
195 guard_name = '%s_%s_PRINT_%s_PROTO_H_' % (package.upper(),
198 package_with_subdir = '%s/%s' % (package, subdir)
200 guard_name = '%s_PRINT_%s_PROTO_H_' % (package.upper(), proto_name.upper())
201 package_with_subdir = package
223 'package': package,
244 'package': package,
[all …]
/system/tools/hidl/c2hal/
Dmain.cpp52 auto package = val.substr(0, index); in addPackageRootToMap() local
55 packageRootPaths[package] = path; in addPackageRootToMap()
74 const std::string &package, in applyPackageRootPath() argument
77 auto index = package.find_first_of('@'); in applyPackageRootPath()
80 auto packagePath = package.substr(0, index); in applyPackageRootPath()
81 auto packageVersion = package.substr(index + 1); in applyPackageRootPath()
102 CHECK(!outputPath.empty()) << "No package root path provided for: " << package; in applyPackageRootPath()
111 std::string package; in main() local
124 package = optarg; in main()
160 applyPackageRootPath(packageRootPaths, package, outputDir); in main()
[all …]
DREADME.md13 c2hal [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+
18 -p package: For example android.hardware.baz@1.0.
19 This will be used as the package in .hal files and will also be used to construct the correct direc…
23 -r package:path root: For example 'android.hardware:hardware/interfaces'.
/system/core/libutils/
DREADME30 package or any associated overlay package. Any redirection is completely
36 * overlay package, matching config (eg res/values-en-land)
38 * original package, matching config
40 * overlay package, no config (eg res/values)
42 * original package, no config
82 * pp: corresponds to the package namespace (details below).
85 resource of the same type within the same package has the same
116 ResourceTypes.cpp supports package IDs between 0x01 and 0x7f
124 mPackageMap[0x00] -> system package
129 mPackageMap[0x7f - 1] -> application package
[all …]
/system/tools/aidl/tests/
Dfake_io_delegate.cpp100 string package, class_name, rel_path; in AddStubParcelable() local
101 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubParcelable()
105 package.c_str(), class_name.c_str()); in AddStubParcelable()
108 package.c_str(), class_name.c_str(), in AddStubParcelable()
115 string package, class_name, rel_path; in AddStubInterface() local
116 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddStubInterface()
118 package.c_str(), class_name.c_str()); in AddStubInterface()
124 string package, class_name, rel_path; in AddCompoundParcelable() local
125 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); in AddCompoundParcelable()
126 string contents = StringPrintf("package %s;\n", package.c_str()); in AddCompoundParcelable()
Dtest_util.h31 std::string* package,
/system/tools/hidl/
DCoordinator.cpp109 if (ast->package().package() != fqName.package() in parse()
110 || ast->package().version() != fqName.version()) { in parse()
184 CHECK(!fqName.package().empty()); in findPackageRoot()
247 const std::string packageSuffix = fqName.package().substr(prefix.length()); in getPackagePath()
273 const FQName &package, in getPackageInterfaceFiles() argument
277 const std::string packagePath = getPackagePath(package); in getPackageInterfaceFiles()
322 const FQName &package, in appendPackageInterfacesToVector() argument
327 status_t err = getPackageInterfaceFiles(package, &fileNames); in appendPackageInterfacesToVector()
335 package.package() + package.atVersion() + "::" + fileName); in appendPackageInterfacesToVector()
342 << package.package() in appendPackageInterfacesToVector()
[all …]
DAST.cpp74 bool AST::setPackage(const char *package) { in setPackage() argument
75 mPackage.setTo(package); in setPackage()
78 if (mPackage.package().empty() in setPackage()
87 FQName AST::package() const { in package() function in android::AST
103 fqName.applyDefaults(mPackage.package(), mPackage.version()); in addImport()
235 FQName fqName(mPackage.package(), mPackage.version(), path); in addScopedTypeInternal()
281 if (fqName.package().empty() && fqName.version().empty()) { in lookupType()
304 CHECK(fqName.package().empty() && fqName.version().empty() in lookupTypeLocally()
328 autofilled.applyDefaults(mPackage.package(), mPackage.version()); in lookupAutofilledType()
519 if (importSet->find(ast->package()) != importSet->end()) { in getImportedPackagesHierarchy()
DCoordinator.h85 const FQName &package,
89 const FQName &package,
DREADME.md19 For singe file input, follow the format: package@version::fileName
20 For directory input, follow the format: package@version
/system/libhidl/
Dupdate-makefiles.sh17 for package in "${packages[@]}"; do
18 echo "Updating $package."
19 hidl-gen -Lmakefile -r android.hidl:system/libhidl/transport $package
20 hidl-gen -Landroidbp -r android.hidl:system/libhidl/transport $package
/system/tools/hidl/utils/
DFQName.cpp67 const std::string &package, in FQName() argument
73 mPackage(package), in FQName()
177 std::string FQName::package() const { in package() function in android::FQName
338 return FQName(package(), version(), getInterfaceProxyName()); in getInterfaceProxyFqName()
342 return FQName(package(), version(), getInterfaceStubName()); in getInterfaceStubFqName()
346 return FQName(package(), version(), getInterfacePassthroughName()); in getInterfacePassthroughFqName()
350 return FQName(package(), version(), "types"); in getTypesForPackage()
354 return FQName(package(), version(), ""); in getPackageAndVersion()
426 StringHelper::SplitString(package(), '.', components); in getPackageComponents()
500 bool FQName::inPackage(const std::string &package) const { in inPackage()
[all …]
/system/tools/hidl/utils/include/hidl-util/
DFQName.h31 FQName(const std::string &package,
49 std::string package() const;
196 bool inPackage(const std::string &package) const;
/system/tools/aidl/
Dtype_namespace.cpp73 int kind, const string& package, const string& type_name, in ValidatableType() argument
77 canonical_name_((package.empty()) ? type_name in ValidatableType()
78 : package + "." + type_name), in ValidatableType()
Dtype_cpp.cpp82 const std::string& package, in CppArrayType() argument
90 : Type(kind, package, in CppArrayType()
98 : new CppArrayType(kind, package, underlying_aidl_type, in CppArrayType()
392 const std::string& package, in Type() argument
402 : ValidatableType(kind, package, aidl_type, src_file_name, line), in Type()
563 bool TypeNamespace::IsValidPackage(const string& package) const { in IsValidPackage()
564 if (package.empty()) { in IsValidPackage()
568 auto pieces = Split(package, "."); in IsValidPackage()
Daidl.cpp73 const std::string& package, in check_filename() argument
86 if (!package.empty()) { in check_filename()
87 expected = package; in check_filename()
343 string package = interface.GetPackage(); in generate_outputFileName() local
351 string packageStr = package; in generate_outputFileName()
453 vector<string>* package, string* class_name) { in ParsePreprocessedLine() argument
487 *package = Split(type.substr(0, dot_pos), "."); in ParsePreprocessedLine()
490 package->clear(); in ParsePreprocessedLine()
519 vector<string> package; in parse_preprocessed_file() local
521 if (!ParsePreprocessedLine(line, &decl, &package, &class_name)) { in parse_preprocessed_file()
[all …]
Dtype_java.cpp47 Type::Type(const JavaTypeNamespace* types, const string& package, in Type() argument
50 : ValidatableType(kind, package, name, declFile, declLine), in Type()
52 m_javaType((package.empty()) ? name : package + "." + name), in Type()
262 const std::string& package, in StringType() argument
264 : Type(types, package, class_name, in StringType()
575 const string& package, const string& name, in UserDataType() argument
578 : Type(types, package, name, in UserDataType()
582 m_array_type.reset(new UserDataArrayType(types, package, name, builtIn, in UserDataType()
648 const string& package, const string& name, in UserDataArrayType() argument
651 : Type(types, package, name, in UserDataArrayType()
[all …]
Dtype_cpp.h36 const std::string& package,
104 bool IsValidPackage(const std::string& package) const override;
Daidl_language.cpp163 const std::vector<std::string>& package, in AidlParcelable() argument
167 package_(package), in AidlParcelable()
189 const std::vector<std::string>& package) in AidlInterface() argument
194 package_(package) { in AidlInterface()
/system/libvintf/
DHalManifest.cpp119 Transport HalManifest::getTransport(const std::string &package, const Version &v, in getTransport() argument
122 for (const ManifestHal *hal : getHals(package)) { in getTransport()
125 << to_string(v) << " in supported versions of " << package; in getTransport()
131 << interfaceName << "' in " << package << "@" << to_string(v); in getTransport()
138 << package << "@" << to_string(v) << "::" << interfaceName; in getTransport()
144 << package << "@" << v << "::" << interfaceName << "/" << instanceName; in getTransport()
/system/libhidl/base/include/hidl/
DHidlInternal.h136 const char *package,
143 const std::string &package,
/system/hwservicemanager/
DAccessControl.cpp43 const std::string checkName = fqIface.package() + "::" + fqIface.name(); in canAdd()
54 const std::string checkName = fqIface.package() + "::" + fqIface.name(); in canGet()
/system/libhidl/transport/base/1.0/
DIBase.hal17 package android.hidl.base@1.0;
41 * package android.hardware.foo@1.0;
57 * package android.hardware.foo@1.0;
124 * package android.hardware.foo@1.0;

1234