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()
324 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
346 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
398 bool Interface::fillDebugMethod(Method *method) const { in fillDebugMethod()
420 void Interface::addUserDefinedMethod(Method* method) { in addUserDefinedMethod()
425 std::vector<const Reference<Type>*> Interface::getReferences() const { in getReferences()
440 std::vector<const Reference<Type>*> Interface::getStrongReferences() const { in getStrongReferences()
458 status_t Interface::resolveInheritance() { in resolveInheritance()
479 status_t Interface::validate() const { in validate()
496 void Interface::getAlignmentAndSize(size_t* align, size_t* size) const { in getAlignmentAndSize()
501 status_t Interface::validateUniqueNames() const { in validateUniqueNames()
502 std::unordered_map<std::string, const Interface*> registeredMethodNames; in validateUniqueNames()
512 const Interface* definedInType = registered->second; in validateUniqueNames()
535 status_t Interface::validateAnnotations() const { in validateAnnotations()
567 bool Interface::addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods) { in addAllReservedMethods()
601 bool Interface::hasSensitiveDataAnnotation() const { in hasSensitiveDataAnnotation()
611 const Interface* Interface::superType() const { in superType()
618 return static_cast<const Interface*>(mSuperType.get()); in superType()
621 std::vector<const Interface *> Interface::typeChain() const { in typeChain()
622 std::vector<const Interface *> v; in typeChain()
623 const Interface *iface = this; in typeChain()
631 std::vector<const Interface *> Interface::superTypeChain() const { in superTypeChain()
632 return isIBase() ? std::vector<const Interface*>() : superType()->typeChain(); in superTypeChain()
635 bool Interface::isElidableType() const { in isElidableType()
639 bool Interface::isInterface() const { in isInterface()
643 const std::vector<Method *> &Interface::userDefinedMethods() const { in userDefinedMethods()
647 const std::vector<Method *> &Interface::hidlReservedMethods() const { in hidlReservedMethods()
651 std::vector<Method *> Interface::methods() const { in methods()
657 std::vector<InterfaceAndMethod> Interface::allMethodsFromRoot() const { in allMethodsFromRoot()
659 std::vector<const Interface *> chain = typeChain(); in allMethodsFromRoot()
661 const Interface *iface = *it; in allMethodsFromRoot()
674 std::vector<InterfaceAndMethod> Interface::allSuperMethodsFromRoot() const { in allSuperMethodsFromRoot()
678 std::string Interface::getBaseName() const { in getBaseName()
682 std::string Interface::getAdapterName() const { in getAdapterName()
686 std::string Interface::getProxyName() const { in getProxyName()
690 std::string Interface::getStubName() const { in getStubName()
694 std::string Interface::getHwName() const { in getHwName()
698 std::string Interface::getPassthroughName() const { in getPassthroughName()
702 FQName Interface::getProxyFqName() const { in getProxyFqName()
706 FQName Interface::getStubFqName() const { in getStubFqName()
710 FQName Interface::getPassthroughFqName() const { in getPassthroughFqName()
714 std::string Interface::getCppType(StorageMode mode, in getCppType()
732 std::string Interface::getJavaType(bool /* forInitializer */) const { in getJavaType()
736 std::string Interface::getVtsType() const { in getVtsType()
744 void Interface::emitReaderWriter( in emitReaderWriter()
813 void Interface::emitHidlDefinition(Formatter& out) const { in emitHidlDefinition()
817 const Interface* super = superType(); in emitHidlDefinition()
840 void Interface::emitPackageTypeDeclarations(Formatter& out) const { in emitPackageTypeDeclarations()
846 void Interface::emitPackageTypeHeaderDefinitions(Formatter& out) const { in emitPackageTypeHeaderDefinitions()
860 void Interface::emitTypeDefinitions(Formatter& out, const std::string& prefix) const { in emitTypeDefinitions()
866 void Interface::emitJavaReaderWriter( in emitJavaReaderWriter()
886 void Interface::emitVtsAttributeDeclaration(Formatter& out) const { in emitVtsAttributeDeclaration()
900 void Interface::emitVtsMethodDeclaration(Formatter& out, bool isInherited) const { in emitVtsMethodDeclaration()
956 void Interface::emitVtsAttributeType(Formatter& out) const { in emitVtsAttributeType()
963 bool Interface::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
981 bool Interface::isNeverStrongReference() const { in isNeverStrongReference()