Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 195) sorted by relevance

12345678

/system/linkerconfig/modules/
Dnamespace.cc40 for (const auto& link : links) { in VerifyIfApexNamespaceContainsAllSharedLink() local
41 if (link.IsAllSharedLibsAllowed()) { in VerifyIfApexNamespaceContainsAllSharedLink()
79 for (auto& link : links_) { in GetLink() local
80 if (link.To() == target_namespace) { in GetLink()
81 return link; in GetLink()
114 for (const auto& link : links_) { in WriteConfig() local
115 if (link.Empty()) continue; in WriteConfig()
116 if (link.To() == name_) { in WriteConfig()
120 link_list.push_back(link.To()); in WriteConfig()
124 for (const auto& link : links_) { in WriteConfig() local
[all …]
/system/linkerconfig/modules/tests/
Dlink_test.cc29 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() local
31 link->AllowAllSharedLibs(); in TEST()
33 link->WriteConfig(writer); in TEST()
43 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() local
45 link->AddSharedLib("lib1.so", "lib2.so", "lib3.so"); in TEST()
47 link->WriteConfig(writer); in TEST()
Dmodules_testbase.h38 auto& link = ns.GetLink(target_1); in CreateNamespaceWithLinks() local
39 link.AddSharedLib("lib1.so", "lib2.so", "lib3.so"); in CreateNamespaceWithLinks()
/system/linkerconfig/contents/tests/configuration/
Dsphal_test.cc32 auto rs = std::find_if(begin(links), end(links), [](const auto& link) { in TEST() argument
33 return link.To() == "rs"; in TEST()
35 auto vndk = std::find_if(begin(links), end(links), [](const auto& link) { in TEST() argument
36 return link.To() == "vndk"; in TEST()
/system/linkerconfig/devicetest/src/android/linkerconfig/gts/utils/elements/
DSection.java119 Link link = new Link(); in parseConfiguration() local
120 link.from = ns; in parseConfiguration()
121 link.to = getNamespaceFromName(linkTarget); in parseConfiguration()
122 ns.links.put(linkTarget, link); in parseConfiguration()
130 Link link = ns.links.get(linkTarget); in parseConfiguration() local
133 link.allowAll = Boolean.parseBoolean(value); in parseConfiguration()
137 link.libraries.add(lib); in parseConfiguration()
/system/linkerconfig/modules/include/linkerconfig/
Dsection.h38 void Apply(Link& link) const { in Apply()
39 link.AllowAllSharedLibs(); in Apply()
46 void Apply(Link& link) const { in Apply()
47 link.AddSharedLib(list); in Apply()
/system/core/fastboot/fuzzy_fastboot/
Dtest_utils.cpp146 int link[2]; in StartProgram() local
147 if (pipe(link) < 0) { in StartProgram()
157 close(link[1]); in StartProgram()
158 *rpipe = link[0]; in StartProgram()
169 dup2(link[1], STDERR_FILENO); // close stdout and have it now be link[1] in StartProgram()
171 close(link[0]); in StartProgram()
172 close(link[1]); in StartProgram()
/system/core/init/
Ddevices.cpp276 [it](const auto& link) { return it->Match(link); })) { in GetDevicePermissions() argument
486 for (const auto& link : links) { in HandleDevice() local
488 if (StartsWith(link, "/dev/block/")) { in HandleDevice()
490 } else if (StartsWith(link, "/dev/sys/block/")) { in HandleDevice()
493 LOG(ERROR) << "Unrecognized link type: " << link; in HandleDevice()
497 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice()
498 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice()
501 if (symlink(target.c_str(), link.c_str())) { in HandleDevice()
503 PLOG(ERROR) << "Failed to symlink " << devpath << " to " << link; in HandleDevice()
505 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
[all …]
/system/extras/power_profile/gps_on/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
58 PRG="$link"
60 PRG=`dirname "$PRG"`"/$link"
/system/extras/power_profile/camera_flashlight/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
58 PRG="$link"
60 PRG=`dirname "$PRG"`"/$link"
/system/extras/power_profile/camera_avg/
Dgradlew56 link=`expr "$ls" : '.*-> \(.*\)$'`
57 if expr "$link" : '/.*' > /dev/null; then
58 PRG="$link"
60 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/SimpleperfExampleJava/
Dgradlew31 link=`expr "$ls" : '.*-> \(.*\)$'`
32 if expr "$link" : '/.*' > /dev/null; then
33 PRG="$link"
35 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/SimpleperfExampleCpp/
Dgradlew15 link=`expr "$ls" : '.*-> \(.*\)$'`
16 if expr "$link" : '/.*' > /dev/null; then
17 PRG="$link"
19 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/CppApi/
Dgradlew15 link=`expr "$ls" : '.*-> \(.*\)$'`
16 if expr "$link" : '/.*' > /dev/null; then
17 PRG="$link"
19 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/JavaApi/
Dgradlew15 link=`expr "$ls" : '.*-> \(.*\)$'`
16 if expr "$link" : '/.*' > /dev/null; then
17 PRG="$link"
19 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/SimpleperfExampleKotlin/
Dgradlew31 link=`expr "$ls" : '.*-> \(.*\)$'`
32 if expr "$link" : '/.*' > /dev/null; then
33 PRG="$link"
35 PRG=`dirname "$PRG"`"/$link"
/system/linkerconfig/devicetest/src/android/linkerconfig/gts/
DLinkerConfigTest.java130 ns.links.values().forEach((link) -> { in verifyVendorSection()
131 if (systemNamespaces.contains(link.to)) { in verifyVendorSection()
134 + link.from in verifyVendorSection()
135 + "to system namespace " + link.to, in verifyVendorSection()
136 link.allowAll); in verifyVendorSection()
138 link.libraries.forEach(library -> { in verifyVendorSection()
/system/sepolicy/public/
Dneverallow_macros3 define(`no_w_file_perms', `{ append create link unlink relabelfrom rename setattr write }')
6 define(`no_w_dir_perms', `{ add_name create link relabelfrom remove_name rename reparent rmdir set…
/system/sepolicy/microdroid/system/public/
Dneverallow_macros3 define(`no_w_file_perms', `{ append create link unlink relabelfrom rename setattr write }')
6 define(`no_w_dir_perms', `{ add_name create link relabelfrom remove_name rename reparent rmdir set…
/system/apex/tests/testdata/
Dld.config.txt23 namespace.sphal.link.default.shared_libs = libEGL.so:libGLESv1_CM.so:libGLESv2.so:libGLESv3.so:lib…
24 namespace.sphal.link.default.shared_libs += libclang_rt.asan-aarch64-android.so:libclang_rt.ubsan_s…
26 namespace.sphal.link.vndk.shared_libs = android.hardware.graphics.common@1.0.so:android.hardware.gr…
53 namespace.vndk.link.default.shared_libs = libEGL.so:libGLESv1_CM.so:libGLESv2.so:libGLESv3.so:libR…
54 namespace.vndk.link.default.shared_libs += libclang_rt.asan-aarch64-android.so:libclang_rt.ubsan_st…
57 namespace.vndk.link.sphal.allow_all_shared_libs = true
/system/chre/chpp/
DRELEASE_NOTES.md37 - Added initialization, deinitialization, and reset functionality for the link layer (see link.h)
57 This release contains additional clients, a virtual link layer for testing (e.g., using loopback), …
63 …- Virtual link layer that connects CHPP with itself on Linux to enable testing, including reset, d…
146 - Support for Rx end-of-packet notifications from the link layer (optional, platform dependent)
181 Update CHPP to make it possible to use different link layers on the same platform.
185 The link layer API is defined by:
201 In order to be able to use different link layers, the link layer API is now defined by
216 You first need to create a `struct` holding the state of the link layer.
227 You need to create an instance of `ChppLinkApi` with pointers to the link functions.
228 … function have changed. They now take a `void *` pointer to the free form link state where they us…
[all …]
DREADME.md5 CHPP is designed to run over a serial link (e.g. UART, SPI) and enables an Android Context Hub (CHR…
11 … services as necessary. CHPP allows these services to coexist on a single link with very small ove…
19 …nt-to-point, therefore multiple clients to the same service over the same link are not supported. …
117 1. Allocating the structs for the application, transport, and link layers (in any order).
124 …separately initialize the linkContext - note that this can be done in the link layer init function.
137 This function is the interface between the CHPP Transport layer and the communications link’s Rx pa…
138link driver to improve performance. When the return value is true, the driver may stop sending all…
142 …that enables the link layer to indicate the end of a packet. For packets with a corrupt length fie…
143 …d exclusively for link layers that can identify the end of individual packets. The availability of…
147link’s Tx path (e.g. to the UART driver). This function is called when any data should be sent to …
[all …]
/system/sepolicy/private/
Dtombstoned.te14 allow tombstoned tombstone_data_file:file { create_file_perms link };
19 allow tombstoned anr_data_file:file { append create getattr open link unlink };
Dmls54 …write create getattr setattr lock relabelfrom relabelto append map unlink link rename execute open…
66 mlsconstrain { file sock_file } { open setattr unlink link rename }
70 mlsconstrain { lnk_file } { open setattr unlink link rename read }
74 mlsconstrain { lnk_file } { open setattr unlink link rename read }
95 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link renam…
106 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/update_engine/sample_images/
Dgenerate_images.sh83 sudo ln -s "broken-link" "${mntdir}"/link-short_symlink
85 "${mntdir}"/link-long_symlink
86 sudo ln "${mntdir}"/regular-16k "${mntdir}"/link-hard-regular-16k
122 CHROMEOS_RELEASE_BOARD=link-signed-mp-v4keys
127 CHROMEOS_RELEASE_DESCRIPTION=6946.63.0 (Official Build) stable-channel link

12345678