Home
last modified time | relevance | path

Searched refs:AsanPath (Results 1 – 20 of 20) sorted by relevance

/system/linkerconfig/contents/tests/backward_compatibility/
Ddefault_test.cc26 using android::linkerconfig::modules::AsanPath;
48 AsanPath::SAME_PATH)); in TEST_F()
50 AsanPath::SAME_PATH)); in TEST_F()
52 AsanPath::SAME_PATH)); in TEST_F()
54 "/system/vendor/framework", AsanPath::SAME_PATH)); in TEST_F()
56 AsanPath::SAME_PATH)); in TEST_F()
58 "/system/vendor/priv-app", AsanPath::SAME_PATH)); in TEST_F()
60 AsanPath::SAME_PATH)); in TEST_F()
62 AsanPath::SAME_PATH)); in TEST_F()
64 AsanPath::SAME_PATH)); in TEST_F()
[all …]
Dvndklite_test.cc26 using android::linkerconfig::modules::AsanPath;
49 AsanPath::WITH_DATA_ASAN)); in TEST_F()
51 AsanPath::WITH_DATA_ASAN)); in TEST_F()
57 AsanPath::WITH_DATA_ASAN)); in TEST_F()
59 AsanPath::WITH_DATA_ASAN)); in TEST_F()
61 sphal_namespace->ContainsSearchPath("/vendor/${LIB}/hw", AsanPath::NONE)); in TEST_F()
64 AsanPath::WITH_DATA_ASAN)); in TEST_F()
66 AsanPath::WITH_DATA_ASAN)); in TEST_F()
68 AsanPath::NONE)); in TEST_F()
74 AsanPath::WITH_DATA_ASAN)); in TEST_F()
[all …]
Dlegacy_test.cc23 using android::linkerconfig::modules::AsanPath;
37 AsanPath::WITH_DATA_ASAN)); in TEST()
39 AsanPath::WITH_DATA_ASAN)); in TEST()
/system/linkerconfig/contents/namespace/
Dvendordefault.cc25 using android::linkerconfig::modules::AsanPath;
70 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
73 ns.AddSearchPath("/odm/${LIB}/vndk", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
74 ns.AddSearchPath("/odm/${LIB}/vndk-sp", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
77 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
80 ns.AddSearchPath("/vendor/${LIB}/vndk", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
81 ns.AddSearchPath("/vendor/${LIB}/vndk-sp", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
86 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
87 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
88 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVendorDefaultNamespace()
[all …]
Drs.cc24 using android::linkerconfig::modules::AsanPath;
34 ns.AddSearchPath("/odm/${LIB}/vndk-sp", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
35 ns.AddSearchPath("/vendor/${LIB}/vndk-sp", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
38 AsanPath::SAME_PATH); in BuildRsNamespace()
39 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
40 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
42 ns.AddPermittedPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
43 ns.AddPermittedPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildRsNamespace()
44 ns.AddPermittedPath("/system/vendor/${LIB}", AsanPath::NONE); in BuildRsNamespace()
45 ns.AddPermittedPath("/data", AsanPath::SAME_PATH); in BuildRsNamespace()
Dsphal.cc29 using android::linkerconfig::modules::AsanPath;
41 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
42 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
43 ns.AddSearchPath("/vendor/${LIB}/egl", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
44 ns.AddSearchPath("/vendor/${LIB}/hw", AsanPath::NONE); in BuildSphalNamespace()
46 ns.AddPermittedPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
47 ns.AddPermittedPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
48 ns.AddPermittedPath("/system/vendor/${LIB}", AsanPath::NONE); in BuildSphalNamespace()
53 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
54 ns.AddPermittedPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSphalNamespace()
Dvndk.cc22 using android::linkerconfig::modules::AsanPath;
67 ns.AddSearchPath(lib_path + "vndk-sp", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
69 ns.AddSearchPath(lib_path + "vndk", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
73 AsanPath::SAME_PATH); in BuildVndkNamespace()
78 ns.AddPermittedPath("/odm/${LIB}/hw", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
79 ns.AddPermittedPath("/odm/${LIB}/egl", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
80 ns.AddPermittedPath("/vendor/${LIB}/hw", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
81 ns.AddPermittedPath("/vendor/${LIB}/egl", AsanPath::WITH_DATA_ASAN); in BuildVndkNamespace()
83 ns.AddPermittedPath("/system/vendor/${LIB}/hw", AsanPath::NONE); in BuildVndkNamespace()
85 ns.AddPermittedPath("/system/vendor/${LIB}/egl", AsanPath::NONE); in BuildVndkNamespace()
[all …]
Dsystemdefault.cc25 using android::linkerconfig::modules::AsanPath;
43 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemDefaultNamespace()
44 ns.AddSearchPath(system_ext + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemDefaultNamespace()
48 ns.AddSearchPath(product + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemDefaultNamespace()
51 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemDefaultNamespace()
52 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemDefaultNamespace()
97 ns.AddPermittedPath(path, AsanPath::SAME_PATH); in BuildSystemDefaultNamespace()
101 ns.AddPermittedPath(product + "/${LIB}", AsanPath::SAME_PATH); in BuildSystemDefaultNamespace()
Dunrestricteddefault.cc23 using android::linkerconfig::modules::AsanPath;
32 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildUnrestrictedDefaultNamespace()
33 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildUnrestrictedDefaultNamespace()
34 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildUnrestrictedDefaultNamespace()
35 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildUnrestrictedDefaultNamespace()
36 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildUnrestrictedDefaultNamespace()
Dpostinstall.cc19 using android::linkerconfig::modules::AsanPath;
28 ns.AddSearchPath("/system/${LIB}", AsanPath::NONE); in BuildPostInstallNamespace()
29 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}", AsanPath::NONE); in BuildPostInstallNamespace()
30 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}", AsanPath::NONE); in BuildPostInstallNamespace()
Dsystem.cc24 using android::linkerconfig::modules::AsanPath;
33 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemNamespace()
34 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemNamespace()
36 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildSystemNamespace()
Dvndkinsystem.cc32 using android::linkerconfig::modules::AsanPath;
45 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVndkInSystemNamespace()
46 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVndkInSystemNamespace()
48 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildVndkInSystemNamespace()
Dapexplatform.cc27 using android::linkerconfig::modules::AsanPath;
62 ns.AddSearchPath("/system/${LIB}", AsanPath::WITH_DATA_ASAN); in BuildApexPlatformNamespace()
64 AsanPath::SAME_PATH); in BuildApexPlatformNamespace()
Dapexdefault.cc23 using android::linkerconfig::modules::AsanPath;
33 ns.AddSearchPath(apex_info.path + "/${LIB}", AsanPath::SAME_PATH); in BuildApexDefaultNamespace()
34 ns.AddPermittedPath(apex_info.path + "/${LIB}", AsanPath::SAME_PATH); in BuildApexDefaultNamespace()
Dproductdefault.cc23 using android::linkerconfig::modules::AsanPath;
33 AsanPath::WITH_DATA_ASAN); in BuildProductDefaultNamespace()
34 ns.AddPermittedPath(Var("PRODUCT", "product"), AsanPath::WITH_DATA_ASAN); in BuildProductDefaultNamespace()
Dart.cc23 using android::linkerconfig::modules::AsanPath;
39 ns.AddSearchPath("/apex/com.android.art/${LIB}", AsanPath::SAME_PATH); in BuildArtNamespace()
56 ns.AddPermittedPath("/apex/com.android.art/javalib", AsanPath::SAME_PATH); in BuildArtNamespace()
Drecoverydefault.cc21 using android::linkerconfig::modules::AsanPath;
30 ns.AddSearchPath("/system/${LIB}", AsanPath::NONE); in BuildRecoveryDefaultNamespace()
/system/linkerconfig/modules/
Dnamespace.cc91 void Namespace::AddSearchPath(const std::string& path, AsanPath path_from_asan) { in AddSearchPath()
95 case AsanPath::NONE: in AddSearchPath()
97 case AsanPath::SAME_PATH: in AddSearchPath()
100 case AsanPath::WITH_DATA_ASAN: in AddSearchPath()
108 AsanPath path_from_asan) { in AddPermittedPath()
112 case AsanPath::NONE: in AddPermittedPath()
114 case AsanPath::SAME_PATH: in AddPermittedPath()
117 case AsanPath::WITH_DATA_ASAN: in AddPermittedPath()
133 AsanPath path_from_asan) { in ContainsSearchPath()
135 (path_from_asan == AsanPath::NONE || in ContainsSearchPath()
[all …]
/system/linkerconfig/modules/tests/
Dmodules_testbase.h25 ns.AddSearchPath("/search_path1", AsanPath::WITH_DATA_ASAN); in CreateNamespaceWithPaths()
26 ns.AddSearchPath("/search_path2", AsanPath::SAME_PATH); in CreateNamespaceWithPaths()
27 ns.AddSearchPath("/search_path3", AsanPath::NONE); in CreateNamespaceWithPaths()
28 ns.AddPermittedPath("/permitted_path1", AsanPath::WITH_DATA_ASAN); in CreateNamespaceWithPaths()
29 ns.AddPermittedPath("/permitted_path2", AsanPath::SAME_PATH); in CreateNamespaceWithPaths()
30 ns.AddPermittedPath("/permitted_path3", AsanPath::NONE); in CreateNamespaceWithPaths()
/system/linkerconfig/modules/include/linkerconfig/
Dnamespace.h37 enum class AsanPath { enum
73 AsanPath path_from_asan = AsanPath::SAME_PATH);
92 AsanPath path_from_asan = AsanPath::SAME_PATH);
114 bool ContainsSearchPath(const std::string& path, AsanPath path_from_asan);
115 bool ContainsPermittedPath(const std::string& path, AsanPath path_from_asan);