Home
last modified time | relevance | path

Searched refs:modules (Results 1 – 25 of 163) sorted by relevance

1234567

/system/linkerconfig/contents/tests/configuration/include/
Dmockenv.h21 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/
Dnamespacebuilder.h27 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);
Dsectionbuilder.h27 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,
Dcommon.h37 void AddStandardSystemLinks(const Context& ctx, modules::Section* section);
40 void AddLlndkLibraries(const Context& ctx, modules::Namespace* ns,
43 void SetupSystemPermittedPaths(modules::Namespace* ns);
Dcontext.h41 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/
Dapexdefault.cc30 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 …]
Dvendor.cc27 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()
Dsectionbuilder.cc31 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()
Dsystem.cc26 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()
Dproduct.cc27 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()
Dunrestricted.cc30 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/
Dcontext.cc27 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/
Dapexconfig.cc21 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()
Drecovery.cc21 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()
Dbaseconfig.cc22 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()
Dlegacy.cc21 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/
Dvendordefault.cc27 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()
Dsphal.cc33 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()
Dapexdefault.cc24 using android::linkerconfig::modules::ApexInfo;
25 using android::linkerconfig::modules::InitializeWithApex;
26 using android::linkerconfig::modules::Namespace;
Dapexplatform.cc26 using android::linkerconfig::modules::ApexInfo;
27 using android::linkerconfig::modules::Namespace;
37 if (!android::linkerconfig::modules::IsTreblelizedDevice()) { in BuildApexPlatformNamespace()
Dproductdefault.cc26 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/
Dlink_test.cc27 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/
Dmain.cc51 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/
Dtestbase.h27 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/
Dapexconfig_test.cc32 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()

1234567