Home
last modified time | relevance | path

Searched refs:linkerconfig (Results 1 – 25 of 108) sorted by relevance

12345

/system/linkerconfig/contents/tests/configuration/include/
Dmockenv.h21 android::linkerconfig::modules::Variables::AddValue("VENDOR_VNDK_VERSION", in MockGenericVariables()
23 android::linkerconfig::modules::Variables::AddValue("PRODUCT_VNDK_VERSION", in MockGenericVariables()
25 android::linkerconfig::modules::Variables::AddValue("PRODUCT", "product"); in MockGenericVariables()
26 android::linkerconfig::modules::Variables::AddValue("SYSTEM_EXT", in MockGenericVariables()
28 android::linkerconfig::modules::Variables::AddValue("LLNDK_LIBRARIES_VENDOR", in MockGenericVariables()
30 android::linkerconfig::modules::Variables::AddValue("LLNDK_LIBRARIES_PRODUCT", in MockGenericVariables()
32 android::linkerconfig::modules::Variables::AddValue( in MockGenericVariables()
34 android::linkerconfig::modules::Variables::AddValue( in MockGenericVariables()
36 android::linkerconfig::modules::Variables::AddValue( in MockGenericVariables()
38 android::linkerconfig::modules::Variables::AddValue( in MockGenericVariables()
[all …]
/system/sepolicy/private/
Dlinkerconfig.te1 type linkerconfig, domain, coredomain;
4 init_daemon_domain(linkerconfig)
6 ## Read and write linkerconfig subdirectory.
7 allow linkerconfig linkerconfig_file:dir create_dir_perms;
8 allow linkerconfig linkerconfig_file:file create_file_perms;
10 # Allow linkerconfig to log to the kernel.
11 allow linkerconfig kmsg_device:chr_file w_file_perms;
13 # Allow linkerconfig to be invoked with logwrapper from init.
14 allow linkerconfig devpts:chr_file { read write };
16 # Allow linkerconfig to scan for apex modules
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Dlinkerconfig.te1 type linkerconfig, domain, coredomain;
4 init_daemon_domain(linkerconfig)
6 ## Read and write linkerconfig subdirectory.
7 allow linkerconfig linkerconfig_file:dir create_dir_perms;
8 allow linkerconfig linkerconfig_file:file create_file_perms;
10 # Allow linkerconfig to log to the kernel.
11 allow linkerconfig kmsg_device:chr_file w_file_perms;
13 # Allow linkerconfig to be invoked with logwrapper from init.
14 allow linkerconfig devpts:chr_file { read write };
16 # Allow linkerconfig to scan for apex modules
[all …]
/system/linkerconfig/contents/configuration/
Dapexconfig.cc21 using android::linkerconfig::modules::ApexInfo;
22 using android::linkerconfig::modules::DirToSection;
23 using android::linkerconfig::modules::Section;
26 namespace linkerconfig { namespace
28 android::linkerconfig::modules::Configuration CreateApexConfiguration( in CreateApexConfiguration()
33 android::linkerconfig::contents::LinkerConfigType::ApexBinary); in CreateApexConfiguration()
43 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateApexConfiguration()
Drecovery.cc20 using android::linkerconfig::contents::LinkerConfigType;
21 using android::linkerconfig::modules::DirToSection;
22 using android::linkerconfig::modules::Section;
31 namespace linkerconfig { namespace
33 android::linkerconfig::modules::Configuration CreateRecoveryConfiguration( in CreateRecoveryConfiguration()
40 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateRecoveryConfiguration()
Dlegacy.cc20 using android::linkerconfig::contents::LinkerConfigType;
21 using android::linkerconfig::modules::DirToSection;
22 using android::linkerconfig::modules::Section;
25 namespace linkerconfig { namespace
27 android::linkerconfig::modules::Configuration CreateLegacyConfiguration( in CreateLegacyConfiguration()
49 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateLegacyConfiguration()
Dbaseconfig.cc21 using android::linkerconfig::modules::DirToSection;
22 using android::linkerconfig::modules::Section;
44 namespace linkerconfig { namespace
46 android::linkerconfig::modules::Configuration CreateBaseConfiguration( in CreateBaseConfiguration()
96 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in CreateBaseConfiguration()
111 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateBaseConfiguration()
/system/linkerconfig/contents/section/
Dapexdefault.cc27 using android::linkerconfig::contents::SectionType;
28 using android::linkerconfig::modules::ApexInfo;
29 using android::linkerconfig::modules::LibProvider;
30 using android::linkerconfig::modules::LibProviders;
31 using android::linkerconfig::modules::Namespace;
32 using android::linkerconfig::modules::Section;
35 namespace linkerconfig { namespace
Dapexart.cc24 using android::linkerconfig::contents::SectionType;
25 using android::linkerconfig::modules::ApexInfo;
26 using android::linkerconfig::modules::Namespace;
27 using android::linkerconfig::modules::Section;
30 namespace linkerconfig { namespace
Dvendor.cc26 using android::linkerconfig::contents::SectionType;
27 using android::linkerconfig::modules::Namespace;
28 using android::linkerconfig::modules::Section;
31 namespace linkerconfig { namespace
41 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildVendorSection()
Dproduct.cc26 using android::linkerconfig::contents::SectionType;
27 using android::linkerconfig::modules::Namespace;
28 using android::linkerconfig::modules::Section;
31 namespace linkerconfig { namespace
41 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildProductSection()
Dpostinstall.cc28 using android::linkerconfig::contents::SectionType;
29 using android::linkerconfig::modules::Namespace;
30 using android::linkerconfig::modules::Section;
33 namespace linkerconfig { namespace
Dsystem.cc24 using android::linkerconfig::contents::SectionType;
25 using android::linkerconfig::modules::Namespace;
26 using android::linkerconfig::modules::Section;
29 namespace linkerconfig { namespace
40 if (android::linkerconfig::modules::IsProductVndkVersionDefined()) { in BuildSystemSection()
Dlegacy.cc23 using android::linkerconfig::contents::SectionType;
24 using android::linkerconfig::modules::Namespace;
25 using android::linkerconfig::modules::Section;
28 namespace linkerconfig { namespace
Disolated.cc24 using android::linkerconfig::contents::SectionType;
25 using android::linkerconfig::modules::Namespace;
26 using android::linkerconfig::modules::Section;
29 namespace linkerconfig { namespace
/system/linkerconfig/contents/tests/configuration/
Dapexconfig_test.cc29 using android::linkerconfig::modules::ApexInfo;
52 android::linkerconfig::contents::Context ctx; in TEST_F()
54 auto config = android::linkerconfig::contents::CreateApexConfiguration( in TEST_F()
57 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F()
64 android::linkerconfig::contents::Context ctx; in TEST_F()
69 auto config = android::linkerconfig::contents::CreateApexConfiguration( in TEST_F()
72 android::linkerconfig::modules::ConfigWriter config_writer; in TEST_F()
/system/linkerconfig/
Dmain.cc49 using android::linkerconfig::contents::Context;
50 using android::linkerconfig::modules::ApexInfo;
51 using android::linkerconfig::modules::Configuration;
139 android::linkerconfig::modules::Variables::AddValue("ro.vndk.version", in LoadVariables()
141 android::linkerconfig::modules::Variables::AddValue( in LoadVariables()
145 android::linkerconfig::generator::LoadVariables(args.root); in LoadVariables()
162 android::linkerconfig::modules::ConfigWriter config_writer; in WriteConfigurationToFile()
187 auto apex_list = android::linkerconfig::modules::ScanActiveApexes(args.root); in GetContext()
198 android::linkerconfig::contents::RegisterApexNamespaceBuilders(ctx); in GetContext()
203 if (android::linkerconfig::modules::IsRecoveryMode()) { in GetConfiguration()
[all …]
Drundiff.sh29 $ANDROID_BUILD_TOP/build/soong/soong_ui.bash --make-mode linkerconfig conv_apex_manifest
48 TMP_ROOT=$(mktemp -d -t linkerconfig-root-XXXXXXXX)
52 linkerconfig -v R -r $TMP_ROOT -t $1/stage0
56 linkerconfig -v R -r $TMP_ROOT -t $1/stage1
60 linkerconfig -v R -r $TMP_ROOT -t $1/stage2
63 linkerconfig -v R -p R -r $TMP_ROOT -t $1/product-enabled
67 linkerconfig -r $TMP_ROOT -t $1/legacy
/system/linkerconfig/contents/include/linkerconfig/
Dsectionbuilder.h26 typedef android::linkerconfig::modules::Section SectionBuilder(
27 android::linkerconfig::contents::Context& ctx);
29 typedef android::linkerconfig::modules::Section ApexSectionBuilder(
30 android::linkerconfig::contents::Context& ctx,
31 const android::linkerconfig::modules::ApexInfo& target_apex);
34 namespace linkerconfig {
Dapexconfig.h23 namespace linkerconfig {
25 android::linkerconfig::modules::Configuration CreateApexConfiguration(
26 android::linkerconfig::contents::Context& ctx,
27 const android::linkerconfig::modules::ApexInfo& target_apex);
/system/linkerconfig/modules/tests/
Dapex_test.cc33 using ::android::linkerconfig::modules::ApexInfo;
34 using ::android::linkerconfig::modules::BaseContext;
35 using ::android::linkerconfig::modules::ConfigWriter;
36 using ::android::linkerconfig::modules::InitializeWithApex;
37 using ::android::linkerconfig::modules::Namespace;
38 using ::android::linkerconfig::modules::ScanActiveApexes;
39 using ::android::linkerconfig::modules::Section;
Dlink_test.cc29 android::linkerconfig::modules::ConfigWriter writer; in TEST()
31 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
44 android::linkerconfig::modules::ConfigWriter writer; in TEST()
45 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST()
/system/linkerconfig/contents/namespace/
Dapexplatform.cc26 using android::linkerconfig::modules::ApexInfo;
27 using android::linkerconfig::modules::IsProductVndkVersionDefined;
28 using android::linkerconfig::modules::Namespace;
57 namespace linkerconfig { namespace
Dvndkinsystem.cc32 using android::linkerconfig::modules::IsProductVndkVersionDefined;
33 using android::linkerconfig::modules::Namespace;
36 namespace linkerconfig { namespace
49 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildVndkInSystemNamespace()
Dvendordefault.cc25 using android::linkerconfig::modules::GetVendorVndkVersion;
26 using android::linkerconfig::modules::Namespace;
29 namespace linkerconfig { namespace
51 if (android::linkerconfig::modules::IsVndkInSystemNamespace()) { in BuildVendorDefaultNamespace()

12345