Home
last modified time | relevance | path

Searched refs:superType (Results 1 – 11 of 11) sorted by relevance

/system/tools/hidl/lint/lints/
Doneway.cpp45 return (iface.superType() != nullptr && includeParentMethods) in getInterfaceOnewayType()
46 ? getInterfaceOnewayType(*iface.superType(), true) in getInterfaceOnewayType()
63 onewayType = onewayType | getInterfaceOnewayType(*iface.superType(), true); in getInterfaceOnewayType()
99 InterfaceMethodType parentType = getInterfaceOnewayType(*iface->superType(), true); in onewayLint()
DmethodVersions.cpp115 [&](const Interface* superType) -> bool { in methodVersions() argument
116 const std::vector<Method*>& superMethods = superType->userDefinedMethods(); in methodVersions()
/system/tools/hidl/
DInterface.cpp47 Scope* parent, const Reference<Type>& superType, const Hash* fileHash) in Interface() argument
48 : Scope(localName, fullName, location, parent), mSuperType(superType), mFileHash(fileHash) {} in Interface()
586 const Interface* Interface::superType() const { in superType() function in android::Interface
601 iface = iface->superType(); in typeChain()
607 return isIBase() ? std::vector<const Interface*>() : superType()->typeChain(); in superTypeChain()
650 return isIBase() ? std::vector<InterfaceAndMethod>() : superType()->allMethodsFromRoot(); in allSuperMethodsFromRoot()
792 const Interface* super = superType(); in emitHidlDefinition()
939 if (superType() != nullptr && !superType()->isJavaCompatible(visited)) { in deepIsJavaCompatible()
DgenerateInheritanceHierarchy.cpp35 if (callingIface->superType()) { in generateInheritanceHierarchy()
DgenerateCpp.cpp261 const Interface *superType = iface->superType(); in generateInterfaceHeader() local
263 if (superType == nullptr) { in generateInterfaceHeader()
267 << superType->fullName(); in generateInterfaceHeader()
343 for (const Interface *superType : iface->typeChain()) { in generateInterfaceHeader() local
352 << superType->getCppArgumentType() in generateInterfaceHeader()
847 for (const Interface *superType : iface->superTypeChain()) { in generateCppSource() local
849 superType->fqName(), in generateCppSource()
850 superType->fqName().getInterfaceProxyName()); in generateCppSource()
1722 for (const Interface *superType : iface->typeChain()) { in generateInterfaceSource() local
1724 << "::castFrom(" << superType->getCppArgumentType() << " parent, bool " in generateInterfaceSource()
[all …]
DEnumType.cpp625 const Type* superType = type->storageType(); in typeChain() local
626 if (superType != nullptr && superType->isEnum()) { in typeChain()
627 type = static_cast<const EnumType*>(superType); in typeChain()
637 const Type* superType = storageType(); in superTypeChain() local
638 if (superType == nullptr || !superType->isEnum()) { in superTypeChain()
641 return static_cast<const EnumType*>(superType)->typeChain(); in superTypeChain()
DgenerateJava.cpp148 const Interface *superType = iface->superType(); in generateJava() local
154 if (superType != nullptr) { in generateJava()
155 out << superType->fullJavaName(); in generateJava()
DInterface.h42 Scope* parent, const Reference<Type>& superType, const Hash* fileHash);
54 const Interface* superType() const;
Dhidl-gen_y.yy673 Reference<Type>* superType = $3;
677 if (superType != nullptr) {
683 superType = new Reference<Type>();
693 if (superType == nullptr) {
694superType = new Reference<Type>(gIBaseFqName.string(), gIBaseFqName, convertYYLoc(@$, ast));
714 *scope, *superType, ast->getFileHash());
DCoordinator.cpp754 if (iface->superType() == nullptr) { in enforceMinorVersionUprevs()
779 if (iface->superType()->fqName() != lastFQName) { in enforceMinorVersionUprevs()
782 << iface->superType()->fqName().string() in enforceMinorVersionUprevs()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp149 if (interface.superType() && interface.superType()->fqName() != gIBaseFqName) { in emitAidl()
150 out << "// Interface inherits from " << interface.superType()->fqName().string() in emitAidl()