Lines Matching refs:Interface
43 const std::unique_ptr<ConstantExpression> Interface::FLAG_ONE_WAY =
46 Interface::Interface(const std::string& localName, const FQName& fullName, const Location& location, in Interface() function in android::Interface
50 std::string Interface::typeName() const { in typeName()
54 const Hash* Interface::getFileHash() const { in getFileHash()
58 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
89 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
133 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
181 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
199 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
232 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
240 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod()
243 for (const Interface *iface : chain) { in fillDescriptorChainMethod()
251 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod()
266 void Interface::emitDigestChain( in emitDigestChain()
267 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, in emitDigestChain()
285 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod()
295 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod()
305 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod()
320 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
342 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
394 bool Interface::fillDebugMethod(Method *method) const { in fillDebugMethod()
416 void Interface::addUserDefinedMethod(Method* method) { in addUserDefinedMethod()
421 std::vector<const Reference<Type>*> Interface::getReferences() const { in getReferences()
436 std::vector<const Reference<Type>*> Interface::getStrongReferences() const { in getStrongReferences()
454 status_t Interface::resolveInheritance() { in resolveInheritance()
475 status_t Interface::validate() const { in validate()
495 void Interface::getAlignmentAndSize(size_t* align, size_t* size) const { in getAlignmentAndSize()
500 status_t Interface::validateUniqueNames() const { in validateUniqueNames()
501 std::unordered_map<std::string, const Interface*> registeredMethodNames; in validateUniqueNames()
511 const Interface* definedInType = registered->second; in validateUniqueNames()
534 status_t Interface::validateAnnotations() const { in validateAnnotations()
552 bool Interface::addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods) { in addAllReservedMethods()
586 const Interface* Interface::superType() const { in superType()
593 return static_cast<const Interface*>(mSuperType.get()); in superType()
596 std::vector<const Interface *> Interface::typeChain() const { in typeChain()
597 std::vector<const Interface *> v; in typeChain()
598 const Interface *iface = this; in typeChain()
606 std::vector<const Interface *> Interface::superTypeChain() const { in superTypeChain()
607 return isIBase() ? std::vector<const Interface*>() : superType()->typeChain(); in superTypeChain()
610 bool Interface::isElidableType() const { in isElidableType()
614 bool Interface::isInterface() const { in isInterface()
618 const std::vector<Method *> &Interface::userDefinedMethods() const { in userDefinedMethods()
622 const std::vector<Method *> &Interface::hidlReservedMethods() const { in hidlReservedMethods()
626 std::vector<Method *> Interface::methods() const { in methods()
632 std::vector<InterfaceAndMethod> Interface::allMethodsFromRoot() const { in allMethodsFromRoot()
634 std::vector<const Interface *> chain = typeChain(); in allMethodsFromRoot()
636 const Interface *iface = *it; in allMethodsFromRoot()
649 std::vector<InterfaceAndMethod> Interface::allSuperMethodsFromRoot() const { in allSuperMethodsFromRoot()
653 std::string Interface::getBaseName() const { in getBaseName()
657 std::string Interface::getAdapterName() const { in getAdapterName()
661 std::string Interface::getProxyName() const { in getProxyName()
665 std::string Interface::getStubName() const { in getStubName()
669 std::string Interface::getHwName() const { in getHwName()
673 std::string Interface::getPassthroughName() const { in getPassthroughName()
677 FQName Interface::getProxyFqName() const { in getProxyFqName()
681 FQName Interface::getStubFqName() const { in getStubFqName()
685 FQName Interface::getPassthroughFqName() const { in getPassthroughFqName()
689 std::string Interface::getCppType(StorageMode mode, in getCppType()
707 std::string Interface::getJavaType(bool /* forInitializer */) const { in getJavaType()
711 std::string Interface::getVtsType() const { in getVtsType()
719 void Interface::emitReaderWriter( in emitReaderWriter()
788 void Interface::emitHidlDefinition(Formatter& out) const { in emitHidlDefinition()
792 const Interface* super = superType(); in emitHidlDefinition()
815 void Interface::emitPackageTypeDeclarations(Formatter& out) const { in emitPackageTypeDeclarations()
821 void Interface::emitPackageTypeHeaderDefinitions(Formatter& out) const { in emitPackageTypeHeaderDefinitions()
835 void Interface::emitTypeDefinitions(Formatter& out, const std::string& prefix) const { in emitTypeDefinitions()
841 void Interface::emitJavaReaderWriter( in emitJavaReaderWriter()
861 void Interface::emitVtsAttributeDeclaration(Formatter& out) const { in emitVtsAttributeDeclaration()
875 void Interface::emitVtsMethodDeclaration(Formatter& out, bool isInherited) const { in emitVtsMethodDeclaration()
931 void Interface::emitVtsAttributeType(Formatter& out) const { in emitVtsAttributeType()
938 bool Interface::deepIsJavaCompatible(std::unordered_set<const Type*>* visited) const { in deepIsJavaCompatible()
952 bool Interface::isNeverStrongReference() const { in isNeverStrongReference()