Lines Matching refs:message
365 const ComponentSpecificationMessage* message) { in GetCppInstanceType() argument
467 if (!message || message->component_class() != HAL_HIDL) { in GetCppInstanceType()
497 return message->component_name() + "::" + arg.predefined_type() + "()"; in GetCppInstanceType()
568 string GetPackageName(const ComponentSpecificationMessage& message) { in GetPackageName() argument
569 if (!message.package().empty()) { in GetPackageName()
570 return message.package(); in GetPackageName()
575 string GetPackagePath(const ComponentSpecificationMessage& message) { in GetPackagePath() argument
576 string package_path = GetPackageName(message); in GetPackagePath()
581 string GetPackageNamespaceToken(const ComponentSpecificationMessage& message) { in GetPackageNamespaceToken() argument
582 string package_token = GetPackageName(message); in GetPackageNamespaceToken()
587 string GetVersion(const ComponentSpecificationMessage& message, in GetVersion() argument
589 return GetVersionString(message.component_type_version_major(), in GetVersion()
590 message.component_type_version_minor(), for_macro); in GetVersion()
593 int GetMajorVersion(const ComponentSpecificationMessage& message) { in GetMajorVersion() argument
594 return message.component_type_version_major(); in GetMajorVersion()
597 int GetMinorVersion(const ComponentSpecificationMessage& message) { in GetMinorVersion() argument
598 return message.component_type_version_minor(); in GetMinorVersion()
601 string GetComponentBaseName(const ComponentSpecificationMessage& message) { in GetComponentBaseName() argument
602 if (!message.component_name().empty()) { in GetComponentBaseName()
603 return (message.component_name() == "types" in GetComponentBaseName()
605 : message.component_name().substr(1)); in GetComponentBaseName()
607 return GetComponentName(message); in GetComponentBaseName()
610 string GetComponentName(const ComponentSpecificationMessage& message) { in GetComponentName() argument
611 if (!message.component_name().empty()) { in GetComponentName()
612 return message.component_name(); in GetComponentName()
615 string component_name = message.original_data_structure_name(); in GetComponentName()
627 FQName GetFQName(const ComponentSpecificationMessage& message) { in GetFQName() argument
628 return FQName(message.package(), in GetFQName()
629 GetVersionString(message.component_type_version_major(), in GetFQName()
630 message.component_type_version_minor()), in GetFQName()
631 GetComponentName(message)); in GetFQName()