Searched defs:package (Results 1 - 21 of 21) sorted by last modified time

/system/update_engine/
H A Domaha_request_action.cc465 "/response/app/updatecheck/manifest/packages/package") {
466 // Look at all <package> elements.
779 // Parses the package node in the given XML document and populates
787 LOG(ERROR) << "No update in this <app> but <package> is not empty.";
820 const auto& package = app->packages[i]; local
821 if (package.name.empty()) {
822 LOG(ERROR) << "Omaha Response has empty package name";
826 LOG(INFO) << "Found package " << package.name;
835 out_package.payload_urls.push_back(codebase + package
[all...]
H A Dpayload_state.cc395 for (const auto& package : response_.packages) {
396 if (package.is_delta) {
564 for (const auto& package : response_.packages) {
565 if (package.is_delta) {
823 const auto& package = response_.packages[i]; local
833 static_cast<uintmax_t>(package.size),
834 package.hash.c_str(),
835 static_cast<uintmax_t>(package.metadata_size),
836 package.metadata_signature.c_str(),
837 package
[all...]
/system/update_engine/scripts/update_payload/
H A Dupdate_metadata_pb2.py15 package='chromeos_update_engine', variable
/system/tools/hidl/
H A DAST.cpp60 bool AST::setPackage(const char *package) { argument
61 mPackage.setTo(package);
64 if (mPackage.package().empty()
73 FQName AST::package() const { function in class:android::AST
89 fqName.applyDefaults(mPackage.package(), mPackage.version());
94 // import a package
204 FQName fqName(mPackage.package(), mPackage.version(), path);
242 // Given a package and version???
248 if (fqName.package().empty() && fqName.version().empty()) {
271 CHECK(fqName.package()
[all...]
H A DCoordinator.cpp87 // 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()
286 getPackageInterfaceFiles( const FQName &package, std::vector<std::string> *fileNames) const argument
339 appendPackageInterfacesToVector( const FQName &package, std::vector<FQName> *packageInterfaces) const argument
401 FQName package = fqName.getPackageAndVersion(); local
[all...]
H A DgenerateCpp.cpp96 const FQName &package,
102 package.getPackageAndVersionComponents(&components, false /* cpp_compatible */);
349 const FQName &fqName, const std::string &package) {
391 out << "sm->registerForNotifications(\"" << package << "::" << interfaceName << "\",\n";
1198 std::string package = iface->fqName().package() local
1201 implementServiceManagerInteractions(out, iface->fqName(), package);
2317 << mPackage.package()
94 generateCppPackageInclude( Formatter &out, const FQName &package, const std::string &klass) argument
348 implementServiceManagerInteractions(Formatter &out, const FQName &fqName, const std::string &package) argument
/system/tools/hidl/c2hal/
H A DAST.cpp39 const std::string &package,
44 mPackage(package),
310 out << "package "
37 AST(const std::string &path, const std::string &outputDir, const std::string &package, bool isOpenGl) argument
H A Dmain.cpp34 "usage: %s [-g] [-o dir] -p package (-r interface-root)+ (header-filepath)+\n",
40 fprintf(stderr, " -p package\n");
43 fprintf(stderr, " -r package:path root "
52 auto package = val.substr(0, index); local
55 packageRootPaths[package] = path;
74 const std::string &package,
77 auto index = package.find_first_of('@');
80 auto packagePath = package.substr(0, index);
81 auto packageVersion = package.substr(index + 1);
102 CHECK(!outputPath.empty()) << "No package roo
72 applyPackageRootPath( const std::map<std::string, std::string> &packageRootPaths, const std::string &package, std::string &outputPath) argument
111 std::string package; local
[all...]
/system/tools/hidl/utils/
H A DFQName.cpp36 // android.hardware.foo@1.0 (for package declaration and whole package import)
67 const std::string &package,
73 mPackage(package),
171 // package without version is not allowed.
177 std::string FQName::package() const { function in class:android::FQName
255 // package without version is not allowed.
338 return FQName(package(), version(), getInterfaceProxyName());
342 return FQName(package(), version(), getInterfaceStubName());
346 return FQName(package(), versio
66 FQName( const std::string &package, const std::string &version, const std::string &name, const std::string &valueName) argument
[all...]
/system/tools/aidl/
H A Daidl.cpp73 const std::string& package,
86 if (!package.empty()) {
87 expected = package;
343 string package = interface.GetPackage(); local
347 // interface package name
351 string packageStr = package;
453 vector<string>* package, string* class_name) {
487 *package = Split(type.substr(0, dot_pos), ".");
490 package->clear();
519 vector<string> package; local
72 check_filename(const std::string& filename, const std::string& package, const std::string& name, unsigned line) argument
452 ParsePreprocessedLine(const string& line, string* decl, vector<string>* package, string* class_name) argument
[all...]
H A Daidl_language.cpp163 const std::vector<std::string>& package,
167 package_(package),
189 const std::vector<std::string>& package)
194 package_(package) {
162 AidlParcelable(AidlQualifiedName* name, unsigned line, const std::vector<std::string>& package, const std::string& cpp_header) argument
186 AidlInterface(const std::string& name, unsigned line, const std::string& comments, bool oneway, std::vector<std::unique_ptr<AidlMember>>* members, const std::vector<std::string>& package) argument
H A Dast_java.cpp495 const std::string& package,
499 package_(package),
515 to->Write("package %s;\n", package_.c_str());
494 Document(const std::string& comment, const std::string& package, const std::string& original_src, std::unique_ptr<Class> clazz) argument
H A Dgenerate_cpp.cpp175 const vector<string>& package) {
176 if (package.empty()) {
179 LOG(FATAL) << "C++ generation requires a package declaration "
182 auto it = package.crbegin(); // Iterate over the namespaces inner to outer
185 for (; it != package.crend(); ++it) {
192 const vector<string>& package) {
195 return NestInNamespaces(std::move(decls), package);
173 NestInNamespaces( vector<unique_ptr<Declaration>> decls, const vector<string>& package) argument
191 NestInNamespaces(unique_ptr<Declaration> decl, const vector<string>& package) argument
H A Dtype_cpp.cpp82 const std::string& package,
90 : Type(kind, package,
98 : new CppArrayType(kind, package, underlying_aidl_type,
392 const std::string& package,
402 : ValidatableType(kind, package, aidl_type, src_file_name, line),
563 bool TypeNamespace::IsValidPackage(const string& package) const {
564 if (package.empty()) {
568 auto pieces = Split(package, ".");
81 CppArrayType(int kind, const std::string& package, const string& underlying_aidl_type, const string& cpp_header, const string& underlying_cpp_type, const string& read_method, const string& write_method, bool is_nullable, const string& src_file_name = �) argument
391 Type(int kind, const std::string& package, const std::string& aidl_type, const vector<string>& headers, const string& cpp_type, const string& read_method, const string& write_method, Type* array_type, Type* nullable_type, const string& src_file_name, int line) argument
H A Dtype_java.cpp47 Type::Type(const JavaTypeNamespace* types, const string& package, argument
50 : ValidatableType(kind, package, name, declFile, declLine),
52 m_javaType((package.empty()) ? name : package + "." + name),
262 const std::string& package,
264 : Type(types, package, class_name,
575 const string& package, const string& name,
578 : Type(types, package, name,
582 m_array_type.reset(new UserDataArrayType(types, package, name, builtIn,
648 const string& package, cons
261 StringType(const JavaTypeNamespace* types, const std::string& package, const std::string& class_name) argument
574 UserDataType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool canWriteToParcel, const string& declFile, int declLine) argument
647 UserDataArrayType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool canWriteToParcel, const string& declFile, int declLine) argument
682 InterfaceType(const JavaTypeNamespace* types, const string& package, const string& name, bool builtIn, bool oneway, const string& declFile, int declLine, const Type* stub, const Type* proxy) argument
[all...]
H A Dtype_namespace.cpp41 // These *must* match the package and class names above.
60 "new", "package", "private", "protected", "public",
73 int kind, const string& package, const string& type_name,
77 canonical_name_((package.empty()) ? type_name
78 : package + "." + type_name),
96 bool TypeNamespace::IsValidPackage(const string& /* package */) const {
72 ValidatableType( int kind, const string& package, const string& type_name, const string& decl_file, int decl_line) argument
/system/tools/aidl/tests/
H A Dfake_io_delegate.cpp100 string package, class_name, rel_path; local
101 SplitPackageClass(canonical_name, &rel_path, &package, &class_name);
104 contents = StringPrintf("package %s;\nparcelable %s;",
105 package.c_str(), class_name.c_str());
107 contents = StringPrintf("package %s;\nparcelable %s cpp_header \"%s\";",
108 package.c_str(), class_name.c_str(),
115 string package, class_name, rel_path; local
116 SplitPackageClass(canonical_name, &rel_path, &package, &class_name);
117 string contents = StringPrintf("package %s;\ninterface %s { }",
118 package
124 string package, class_name, rel_path; local
[all...]
H A Dtest_util.cpp51 string* package,
53 *package = string{package_class, 0, package_class.rfind('.')};
49 SplitPackageClass(const string& package_class, string* rel_path, string* package, string* class_name) argument
/system/libvintf/
H A DHalManifest.cpp113 Transport HalManifest::getTransport(const std::string &package, const Version &v, argument
116 for (const ManifestHal *hal : getHals(package)) {
126 << to_string(v) << " in supported versions of " << package;
132 << interfaceName << "' in " << package << "@" << to_string(v);
139 << package << "@" << to_string(v) << "::" << interfaceName;
145 << package << "@" << v << "::" << interfaceName << "/" << instanceName;
/system/libhidl/base/
H A DHidlInternal.cpp40 HidlInstrumentor::HidlInstrumentor(const std::string& package, const std::string& interface) argument
42 mInstrumentationLibPackage(package),
114 std::string package = mInstrumentationLibPackage;
115 for (size_t i = 0; i < package.size(); i++) {
116 if (package[i] == '.') {
117 package[i] = '_';
121 if (package[i] == '@') {
122 package[i] = '_';
123 package.insert(i + 1, "V");
128 + package
[all...]
/system/extras/simpleperf/scripts/
H A Dprofile_pb2.py20 package='perftools.profiles', variable

Completed in 382 milliseconds