/system/linkerconfig/contents/tests/configuration/include/ |
D | mockenv.h | 21 android::linkerconfig::modules::Variables::AddValue("ro.treble.enabled", in MockGenericVariables() 23 android::linkerconfig::modules::Variables::AddValue("ro.vndk.version", "99"); in MockGenericVariables() 24 android::linkerconfig::modules::Variables::AddValue("ro.product.vndk.version", in MockGenericVariables() 26 android::linkerconfig::modules::Variables::AddValue("VENDOR_VNDK_VERSION", in MockGenericVariables() 28 android::linkerconfig::modules::Variables::AddValue("PRODUCT_VNDK_VERSION", in MockGenericVariables() 30 android::linkerconfig::modules::Variables::AddValue("PRODUCT", "product"); in MockGenericVariables() 31 android::linkerconfig::modules::Variables::AddValue("SYSTEM_EXT", in MockGenericVariables() 33 android::linkerconfig::modules::Variables::AddValue("LLNDK_LIBRARIES_VENDOR", in MockGenericVariables() 35 android::linkerconfig::modules::Variables::AddValue("LLNDK_LIBRARIES_PRODUCT", in MockGenericVariables() 37 android::linkerconfig::modules::Variables::AddValue( in MockGenericVariables() [all …]
|
/system/linkerconfig/contents/include/linkerconfig/ |
D | namespacebuilder.h | 27 typedef modules::Namespace NamespaceBuilder(const Context& ctx); 41 modules::Namespace BuildVendorNamespace(const Context& ctx, 43 modules::Namespace BuildProductNamespace(const Context& ctx, 46 modules::Namespace BuildVndkNamespace(const Context& ctx, 50 modules::Namespace BuildApexDefaultNamespace(const Context& ctx, 51 const modules::ApexInfo& apex_info); 52 modules::Namespace BuildApexEmptyDefaultNamespace( 53 const Context& ctx, const modules::ApexInfo& apex_info); 57 modules::LibProviders& providers);
|
D | sectionbuilder.h | 27 typedef android::linkerconfig::modules::Section SectionBuilder( 30 typedef android::linkerconfig::modules::Section ApexSectionBuilder( 32 const android::linkerconfig::modules::ApexInfo& target_apex); 38 modules::Section BuildSection(const Context& ctx, const std::string& name, 39 std::vector<modules::Namespace>&& namespaces, 41 const modules::LibProviders& providers = {}); 52 std::vector<modules::LibProvider> GetVndkProvider(const Context& ctx,
|
D | common.h | 37 void AddStandardSystemLinks(const Context& ctx, modules::Section* section); 40 void AddLlndkLibraries(const Context& ctx, modules::Namespace* ns, 43 void SetupSystemPermittedPaths(modules::Namespace* ns);
|
D | context.h | 41 class Context : public modules::BaseContext { 52 const modules::ApexInfo& GetCurrentApex() const; 61 void SetCurrentApex(const modules::ApexInfo* apex); 74 const modules::ApexInfo* current_apex_;
|
/system/linkerconfig/contents/section/ |
D | apexdefault.cc | 30 using android::linkerconfig::modules::ApexInfo; 31 using android::linkerconfig::modules::LibProvider; 32 using android::linkerconfig::modules::LibProviders; 33 using android::linkerconfig::modules::Namespace; 34 using android::linkerconfig::modules::Section; 35 using android::linkerconfig::modules::SharedLibs; 83 if (android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildApexDefaultSection() 90 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildApexDefaultSection() 93 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildApexDefaultSection() 102 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in BuildApexDefaultSection() [all …]
|
D | vendor.cc | 27 using android::linkerconfig::modules::LibProvider; 28 using android::linkerconfig::modules::LibProviders; 29 using android::linkerconfig::modules::Namespace; 30 using android::linkerconfig::modules::Section; 40 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildVendorSection() 46 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildVendorSection() 60 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildVendorSection()
|
D | sectionbuilder.cc | 31 using modules::LibProvider; 32 using modules::LibProviders; 33 using modules::Namespace; 34 using modules::Section; 35 using modules::SharedLibs; 80 if (modules::IsVndkInSystemNamespace()) { in GetVndkProvider()
|
D | system.cc | 26 using android::linkerconfig::modules::Namespace; 27 using android::linkerconfig::modules::Section; 37 if (android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildSystemSection() 42 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildSystemSection() 46 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in BuildSystemSection()
|
D | product.cc | 27 using android::linkerconfig::modules::Namespace; 28 using android::linkerconfig::modules::Section; 39 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in BuildProductSection() 45 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildProductSection()
|
D | unrestricted.cc | 30 using android::linkerconfig::modules::Namespace; 31 using android::linkerconfig::modules::Section; 41 if (android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildUnrestrictedSection() 43 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildUnrestrictedSection()
|
/system/linkerconfig/contents/context/ |
D | context.cc | 27 using android::linkerconfig::modules::ApexInfo; 28 using android::linkerconfig::modules::Namespace; 97 auto val = modules::Variables::GetValue(name); in Var() 106 auto val = modules::Variables::GetValue(name); in Var() 118 return android::linkerconfig::modules::IsVendorVndkVersionDefined(); in IsSectionVndkEnabled() 121 return android::linkerconfig::modules::IsProductVndkVersionDefined(); in IsSectionVndkEnabled() 129 return android::linkerconfig::modules::IsVendorVndkVersionDefined(); in IsSectionVndkEnabled() 133 return android::linkerconfig::modules::IsProductVndkVersionDefined(); in IsSectionVndkEnabled()
|
/system/linkerconfig/contents/configuration/ |
D | apexconfig.cc | 21 using android::linkerconfig::modules::ApexInfo; 22 using android::linkerconfig::modules::DirToSection; 23 using android::linkerconfig::modules::Section; 28 android::linkerconfig::modules::Configuration CreateApexConfiguration( in CreateApexConfiguration() 40 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateApexConfiguration()
|
D | recovery.cc | 21 using android::linkerconfig::modules::DirToSection; 22 using android::linkerconfig::modules::Section; 33 android::linkerconfig::modules::Configuration CreateRecoveryConfiguration( in CreateRecoveryConfiguration() 40 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateRecoveryConfiguration()
|
D | baseconfig.cc | 22 using android::linkerconfig::modules::DirToSection; 23 using android::linkerconfig::modules::Section; 39 android::linkerconfig::modules::Configuration CreateBaseConfiguration( in CreateBaseConfiguration() 97 if (android::linkerconfig::modules::IsTreblelizedDevice()) { in CreateBaseConfiguration() 110 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateBaseConfiguration()
|
D | legacy.cc | 21 using android::linkerconfig::modules::DirToSection; 22 using android::linkerconfig::modules::Section; 27 android::linkerconfig::modules::Configuration CreateLegacyConfiguration( in CreateLegacyConfiguration() 49 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateLegacyConfiguration()
|
/system/linkerconfig/contents/namespace/ |
D | vendordefault.cc | 27 using android::linkerconfig::modules::AllowAllSharedLibs; 28 using android::linkerconfig::modules::LibProvider; 29 using android::linkerconfig::modules::LibProviders; 30 using android::linkerconfig::modules::Namespace; 55 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildVendorNamespace() 60 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildVendorNamespace() 82 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildVendorSubdirNamespace()
|
D | sphal.cc | 33 using android::linkerconfig::modules::Namespace; 55 if (!android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildSphalNamespace() 61 !android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildSphalNamespace() 71 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildSphalNamespace() 82 if (android::linkerconfig::modules::IsVendorVndkVersionDefined()) { in BuildSphalNamespace()
|
D | apexdefault.cc | 24 using android::linkerconfig::modules::ApexInfo; 25 using android::linkerconfig::modules::InitializeWithApex; 26 using android::linkerconfig::modules::Namespace;
|
D | apexplatform.cc | 26 using android::linkerconfig::modules::ApexInfo; 27 using android::linkerconfig::modules::Namespace; 37 if (!android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildApexPlatformNamespace()
|
D | productdefault.cc | 26 using android::linkerconfig::modules::Namespace; 42 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in BuildProductNamespace() 52 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildProductNamespace()
|
/system/linkerconfig/modules/tests/ |
D | link_test.cc | 27 android::linkerconfig::modules::ConfigWriter writer; in TEST() 29 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() 42 android::linkerconfig::modules::ConfigWriter writer; in TEST() 43 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
|
/system/linkerconfig/ |
D | main.cc | 51 using android::linkerconfig::modules::ApexInfo; 52 using android::linkerconfig::modules::Configuration; 154 android::linkerconfig::modules::Variables::AddValue("ro.vndk.version", in LoadVariables() 156 android::linkerconfig::modules::Variables::AddValue( in LoadVariables() 160 android::linkerconfig::modules::Variables::AddValue("ro.treble.enabled", in LoadVariables() 182 android::linkerconfig::modules::ConfigWriter config_writer; in WriteConfigurationToFile() 215 auto apex_list = android::linkerconfig::modules::ScanActiveApexes(args.root); in GetContext() 233 android::linkerconfig::modules::ParseLinkerConfig(system_config_path); in GetContext() 244 auto system_ext_config = android::linkerconfig::modules::ParseLinkerConfig( in GetContext() 257 android::linkerconfig::modules::ParseLinkerConfig(vendor_config_path); in GetContext() [all …]
|
/system/linkerconfig/contents/tests/backward_compatibility/ |
D | testbase.h | 27 using android::linkerconfig::modules::Variables; in MockVndkVariables() 41 using android::linkerconfig::modules::Variables; 68 const android::linkerconfig::modules::Namespace* ns, in ContainsSearchPath() 89 const android::linkerconfig::modules::Namespace* ns, in ContainsPermittedPath()
|
/system/linkerconfig/contents/tests/configuration/ |
D | apexconfig_test.cc | 32 using android::linkerconfig::modules::ApexInfo; 64 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F() 79 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F() 100 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F() 121 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F() 150 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F()
|