Lines Matching refs:Interface
43 const std::unique_ptr<ConstantExpression> Interface::FLAG_ONE_WAY =
46 const std::unique_ptr<ConstantExpression> Interface::FLAG_CLEAR_BUF =
50 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() function in android::Interface
54 std::string Interface::typeName() const { in typeName()
58 const Hash* Interface::getFileHash() const { in getFileHash()
62 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
93 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
137 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
185 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
203 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
236 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
244 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod()
247 for (const Interface *iface : chain) { in fillDescriptorChainMethod()
255 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod()
270 void Interface::emitDigestChain( in emitDigestChain()
271 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, in emitDigestChain()
289 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod()
299 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod()
309 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod()
330 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
352 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
404 bool Interface::fillDebugMethod(Method *method) const { in fillDebugMethod()
426 void Interface::addUserDefinedMethod(Method* method) { in addUserDefinedMethod()
431 std::vector<const Reference<Type>*> Interface::getReferences() const { in getReferences()
446 std::vector<const Reference<Type>*> Interface::getStrongReferences() const { in getStrongReferences()
464 status_t Interface::resolveInheritance() { in resolveInheritance()
485 status_t Interface::validate() const { in validate()
502 void Interface::getAlignmentAndSize(size_t* align, size_t* size) const { in getAlignmentAndSize()
507 status_t Interface::validateUniqueNames() const { in validateUniqueNames()
508 std::unordered_map<std::string, const Interface*> registeredMethodNames; in validateUniqueNames()
518 const Interface* definedInType = registered->second; in validateUniqueNames()
541 status_t Interface::validateAnnotations() const { in validateAnnotations()
573 bool Interface::addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods) { in addAllReservedMethods()
607 bool Interface::hasSensitiveDataAnnotation() const { in hasSensitiveDataAnnotation()
617 const Interface* Interface::superType() const { in superType()
624 return static_cast<const Interface*>(mSuperType.get()); in superType()
627 std::vector<const Interface *> Interface::typeChain() const { in typeChain()
628 std::vector<const Interface *> v; in typeChain()
629 const Interface *iface = this; in typeChain()
637 std::vector<const Interface *> Interface::superTypeChain() const { in superTypeChain()
638 return isIBase() ? std::vector<const Interface*>() : superType()->typeChain(); in superTypeChain()
641 bool Interface::isElidableType() const { in isElidableType()
645 bool Interface::isInterface() const { in isInterface()
649 const std::vector<Method *> &Interface::userDefinedMethods() const { in userDefinedMethods()
653 const std::vector<Method *> &Interface::hidlReservedMethods() const { in hidlReservedMethods()
657 std::vector<Method *> Interface::methods() const { in methods()
663 std::vector<InterfaceAndMethod> Interface::allMethodsFromRoot() const { in allMethodsFromRoot()
665 std::vector<const Interface *> chain = typeChain(); in allMethodsFromRoot()
667 const Interface *iface = *it; in allMethodsFromRoot()
680 std::vector<InterfaceAndMethod> Interface::allSuperMethodsFromRoot() const { in allSuperMethodsFromRoot()
684 std::string Interface::getBaseName() const { in getBaseName()
688 std::string Interface::getProxyName() const { in getProxyName()
692 std::string Interface::getStubName() const { in getStubName()
696 std::string Interface::getHwName() const { in getHwName()
700 std::string Interface::getPassthroughName() const { in getPassthroughName()
704 FQName Interface::getProxyFqName() const { in getProxyFqName()
708 FQName Interface::getStubFqName() const { in getStubFqName()
712 FQName Interface::getPassthroughFqName() const { in getPassthroughFqName()
716 std::string Interface::getCppType(StorageMode mode, in getCppType()
734 std::string Interface::getJavaType(bool /* forInitializer */) const { in getJavaType()
738 std::string Interface::getVtsType() const { in getVtsType()
746 void Interface::emitReaderWriter( in emitReaderWriter()
815 void Interface::emitHidlDefinition(Formatter& out) const { in emitHidlDefinition()
819 const Interface* super = superType(); in emitHidlDefinition()
842 void Interface::emitPackageTypeDeclarations(Formatter& out) const { in emitPackageTypeDeclarations()
848 void Interface::emitPackageTypeHeaderDefinitions(Formatter& out) const { in emitPackageTypeHeaderDefinitions()
862 void Interface::emitTypeDefinitions(Formatter& out, const std::string& prefix) const { in emitTypeDefinitions()
868 void Interface::emitJavaReaderWriter( in emitJavaReaderWriter()
888 void Interface::emitVtsAttributeDeclaration(Formatter& out) const { in emitVtsAttributeDeclaration()
902 void Interface::emitVtsMethodDeclaration(Formatter& out, bool isInherited) const { in emitVtsMethodDeclaration()
958 void Interface::emitVtsAttributeType(Formatter& out) const { in emitVtsAttributeType()
965 bool Interface::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
983 bool Interface::isNeverStrongReference() const { in isNeverStrongReference()