Home
last modified time | relevance | path

Searched refs:fullName (Results 1 – 24 of 24) sorted by relevance

/system/tools/hidl/
DNamedType.cpp23 NamedType::NamedType(const std::string& localName, const FQName& fullName, const Location& loc, in NamedType() argument
25 : Type(parent, localName), mFullName(fullName), mLocation(loc) {} in NamedType()
35 std::string NamedType::fullName() const { in fullName() function in android::NamedType
DCompoundType.cpp34 CompoundType::CompoundType(Style style, const std::string& localName, const FQName& fullName, in CompoundType() argument
36 : Scope(localName, fullName, location, parent), mStyle(style) {} in CompoundType()
167 const std::string base = fullName(); in getCppType()
261 << fullName() in emitSafeUnionReaderWriterForInterfaces()
266 out << "case " << fullName() << "::hidl_discriminator::" << field->name() in emitSafeUnionReaderWriterForInterfaces()
415 fullName(), in emitReaderWriterEmbedded()
480 << fullName() in emitLayoutAsserts()
487 << fullName() in emitLayoutAsserts()
567 out << "return offsetof(" << fullName() << ", hidl_u);\n"; in emitSafeUnionTypeDeclarations()
735 << fullName() in emitTypeDeclarations()
[all …]
DNamedType.h31 NamedType(const std::string& localName, const FQName& fullName, const Location& loc,
39 std::string fullName() const;
DFmqType.cpp39 std::string FmqType::fullName() const { in fullName() function in android::FmqType
49 const std::string base = fullName(); in getCppType()
141 fullName(), in emitReaderWriterEmbedded()
DTypeDef.cpp25 TypeDef::TypeDef(const std::string& localName, const FQName& fullName, const Location& location, in TypeDef() argument
27 : NamedType(localName, fullName, location, parent), mReferencedType(type) {} in TypeDef()
DEnumType.cpp31 EnumType::EnumType(const std::string& localName, const FQName& fullName, const Location& location, in EnumType() argument
33 : Scope(localName, fullName, location, parent), mValues(), mStorageType(storageType) {} in EnumType()
151 << "' defined in enum '" << definedInType->fullName() << "'"; in validateUniqueNames()
185 return fullName(); in getCppType()
206 return space + "hidl_bitfield<" + (specifyNamespaces ? fullName() : definedName()) + ">"; in getBitfieldCppType()
351 out << fullName() << "::" << enumValue->name() << ",\n"; in emitIteratorDeclaration()
374 << (lhsIsEnum ? fullName() : storageType) in emitEnumBitwiseOperator()
376 << (rhsIsEnum ? fullName() : storageType) in emitEnumBitwiseOperator()
414 << storageType << "& v, const " << fullName() << " e) {\n"; in emitBitFieldBitwiseAssignmentOperator()
470 std::string valueName = fullName() + "::" + value->name(); in emitPackageTypeHeaderDefinitions()
[all …]
DScope.h37 Scope(const std::string& localName, const FQName& fullName, const Location& location,
102 RootScope(const char* localName, const FQName& fullName, const Location& location,
DScope.cpp33 Scope::Scope(const std::string& localName, const FQName& fullName, const Location& location, in Scope() argument
35 : NamedType(localName, fullName, location, parent) {} in Scope()
266 RootScope::RootScope(const char* localName, const FQName& fullName, const Location& location, in RootScope() argument
268 : Scope(localName, fullName, location, parent) {} in RootScope()
DTypeDef.h28 TypeDef(const std::string& localName, const FQName& fullName, const Location& location,
DInterface.cpp50 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() argument
52 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
248 out << iface->fullName() << "::descriptor,\n"; in fillDescriptorChainMethod()
333 << fullName() in fillGetDescriptorMethod()
523 << "' defined in interface '" << definedInType->fullName() << "'"; in validateUniqueNames()
719 + fullName() in getCppType()
853 << "os += " << fullName() << "::descriptor;\n" in emitPackageTypeHeaderDefinitions()
959 << fullName() in emitVtsAttributeType()
DFmqType.h33 std::string fullName() const;
DInterface.h42 Interface(const std::string& localName, const FQName& fullName, const Location& location,
DCompoundType.h36 CompoundType(Style style, const std::string& localName, const FQName& fullName,
DEnumType.h34 EnumType(const std::string& localName, const FQName& fullName, const Location& location,
DgenerateJava.cpp321 << superInterface->fullName() in generateJava()
DgenerateCpp.cpp267 << superType->fullName(); in generateInterfaceHeader()
616 << superInterface->fullName() in generateMethods()
1767 out << klassName << "::" << klassName << "(const ::android::sp<" << iface->fullName() in generatePassthroughSource()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaSimpleType.java25 final private String fullName; field in JavaSimpleType
35 fullName = list ? String.format("java.util.List<%s>", nullableName) : name; in JavaSimpleType()
59 return fullName; in getName()
64 return !fullName.equals(nullableName); in isPrimitiveType()
/system/tools/hidl/hidl2aidl/
DAidlTranslate.cpp90 << namedType.fullName() << "::" << (*it)->name() << "));\n"; in emitEnumStaticAssert()
129 out << "out." << field.field->name() << " = h2aTranslate(in." << field.fullName in namedTypeTranslation()
132 out << "if (!translate(in." << field.fullName << ", &out->" << field.field->name() in namedTypeTranslation()
138 << "(h2aTranslate(in." << field.fullName << "()));\n"; in namedTypeTranslation()
142 out << "if (!translate(in." << field.fullName + "(), &" << field.field->name() in namedTypeTranslation()
144 out << "out->set<" << aidlTypePackage(*parent, backend) << "::" << field.fullName in namedTypeTranslation()
249 cppSize = "sizeof(in." + field.fullName + ")/sizeof(in." + field.fullName + "[0])"; in containerTranslation()
254 cppSize = "in." + field.fullName + ".size()"; in containerTranslation()
272 const std::string inputAccess = "in." + field.fullName; in containerTranslation()
287 const std::string inputAccessElement = "in." + field.fullName + "[i]"; in containerTranslation()
[all …]
DAidlHelper.cpp137 CHECK(it != processedTypes.end()) << "Failed to find " << type.fullName(); in emitFileHeader()
216 it->fullName = fieldNamePrefix + field->name(); in processCompoundType()
DAidlHelper.h40 std::string fullName; member
DAidlNamedType.cpp81 CHECK(it != processedTypes.end()) << "Failed to find " << compoundType.fullName(); in emitCompoundTypeAidlDefinition()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java21 final private String fullName; field in CppSimpleType
30 this.fullName = list ? String.format("std::vector<%s>", name) : name; in CppSimpleType()
57 return fullName; in getName()
DCppCodeGenerator.java454 String fullName = nameScope + name; in printParser() local
455 parserHeaderFile.printf("static %s read(xmlNode *root);\n", fullName, Utils.lowerize(name)); in printParser()
456 parserCppFile.printf("\n%s %s::read(xmlNode *root) {\n", fullName, fullName); in printParser()
530 fullName, args.length() > 0 ? "(" + args + ")" : ""); in printParser()
555 String fullName = nameScope + name; in printWriter() local
559 fullName); in printWriter()
683 String fullName = nameScope + name; in printConstructor() local
750 parserCppFile.printf("\n%s::%s(%s) : ", fullName, name, constructorArgsString); in printConstructor()
/system/security/provisioner/
Drkp_factory_extraction_tool.cpp131 auto fullName = std::string(IRemotelyProvisionedComponent::descriptor) + "/" + name; in getCsrForInstance() local
132 AIBinder* rkpAiBinder = AServiceManager_getService(fullName.c_str()); in getCsrForInstance()
136 std::cerr << "Unable to get binder object for '" << fullName << "', skipping."; in getCsrForInstance()
148 std::cerr << "Bundle extraction failed for '" << fullName in getCsrForInstance()