Home
last modified time | relevance | path

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

12345678910

/system/bt/gd/l2cap/classic/internal/
Dlink_manager.cc45 auto* link = GetLink(device); in ConnectFixedChannelServices() local
46 if (link != nullptr) { in ConnectFixedChannelServices()
51 if (link->IsFixedChannelAllocated(fixed_channel_service.first)) { in ConnectFixedChannelServices()
56 this->TriggerPairing(link); in ConnectFixedChannelServices()
59 …auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first, SecurityPolicy()… in ConnectFixedChannelServices()
89 auto* link = GetLink(device); in ConnectDynamicChannelServices() local
90 if (link == nullptr) { in ConnectDynamicChannelServices()
102 !link->IsAuthenticated()) { in ConnectDynamicChannelServices()
103 link->AddChannelPendingingAuthentication( in ConnectDynamicChannelServices()
104 {psm, link->ReserveDynamicChannel(), std::move(pending_dynamic_channel_connection)}); in ConnectDynamicChannelServices()
[all …]
Dfixed_channel_impl.cc31 FixedChannelImpl::FixedChannelImpl(Cid cid, Link* link, os::Handler* l2cap_handler) in FixedChannelImpl() argument
32 : cid_(cid), device_(link->GetDevice()), link_(link), l2cap_handler_(l2cap_handler) { in FixedChannelImpl()
Dfixed_channel_impl_mock.h31 …MockFixedChannelImpl(Cid cid, Link* link, os::Handler* l2cap_handler) : FixedChannelImpl(cid, link in MockFixedChannelImpl() argument
/system/linkerconfig/modules/tests/
Dlink_test.cc31 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() local
33 link->AllowAllSharedLibs(); in TEST()
35 link->WriteConfig(writer); in TEST()
45 auto link = std::make_shared<android::linkerconfig::modules::Link>( in TEST() local
47 link->AddSharedLib("lib1.so", "lib2.so", "lib3.so"); in TEST()
49 link->WriteConfig(writer); in TEST()
/system/bt/gd/l2cap/le/internal/
Dlink_manager.cc46 auto* link = GetLink(address_with_type); in ConnectFixedChannelServices() local
47 if (link != nullptr) { in ConnectFixedChannelServices()
52 if (link->IsFixedChannelAllocated(fixed_channel_service.first)) { in ConnectFixedChannelServices()
57 …auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first, SecurityPolicy()… in ConnectFixedChannelServices()
87 auto* link = GetLink(device); in ConnectDynamicChannelServices() local
88 if (link == nullptr) { in ConnectDynamicChannelServices()
93 link->SendConnectionRequest(psm, std::move(pending_dynamic_channel_connection)); in ConnectDynamicChannelServices()
115 auto* link = GetLink(connected_address_with_type); in OnLeConnectSuccess() local
119 …auto fixed_channel_impl = link->AllocateFixedChannel(fixed_channel_service.first, SecurityPolicy()… in OnLeConnectSuccess()
125 link->SendConnectionRequest(psm_callback.first, std::move(psm_callback.second)); in OnLeConnectSuccess()
[all …]
/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/modules/
Dnamespace.cc54 for (auto& link : links_) { in GetLink() local
55 if (link.To() == target_namespace) { in GetLink()
56 return link; in GetLink()
80 for (const auto& link : links_) { in WriteConfig() local
81 link_list.push_back(link.To()); in WriteConfig()
85 for (const auto& link : links_) { in WriteConfig() local
86 link.WriteConfig(writer); in WriteConfig()
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller_test.cc77 testing::MockILink link; in TEST_F() local
78 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
100 testing::MockILink link; in TEST_F() local
101 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
117 testing::MockILink link; in TEST_F() local
118 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
143 testing::MockILink link; in TEST_F() local
144 ErtmController controller{&link, 1, 1, channel_queue.GetDownEnd(), queue_handler_, &scheduler}; in TEST_F()
158 EXPECT_CALL(link, SendDisconnectionRequest(1, 1)); in TEST_F()
168 testing::MockILink link; in TEST_F() local
[all …]
Dle_credit_based_channel_data_controller_test.cc77 testing::MockILink link; in TEST_F() local
78 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
97 testing::MockILink link; in TEST_F() local
98 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
129 testing::MockILink link; in TEST_F() local
130 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
146 testing::MockILink link; in TEST_F() local
147 …LeCreditBasedDataController controller{&link, 0x41, 0x41, channel_queue.GetDownEnd(), queue_handle… in TEST_F()
156 EXPECT_CALL(link, SendLeCredit(0x41, 1)); in TEST_F()
168 testing::MockILink link; in TEST_F() local
[all …]
Dsender.cc32 Sender::Sender(os::Handler* handler, ILink* link, Scheduler* scheduler, std::shared_ptr<ChannelImpl… in Sender() argument
33 : handler_(handler), link_(link), queue_end_(channel->GetQueueDownEnd()), scheduler_(scheduler), in Sender()
40 Sender::Sender(os::Handler* handler, ILink* link, Scheduler* scheduler, std::shared_ptr<ChannelImpl… in Sender() argument
42 : handler_(handler), link_(link), queue_end_(channel->GetQueueDownEnd()), scheduler_(scheduler), in Sender()
Ddynamic_channel_impl.cc32 …amicChannelImpl::DynamicChannelImpl(Psm psm, Cid cid, Cid remote_cid, l2cap::internal::ILink* link, in DynamicChannelImpl() argument
34 : psm_(psm), cid_(cid), remote_cid_(remote_cid), link_(link), l2cap_handler_(l2cap_handler), in DynamicChannelImpl()
35 device_(link->GetDevice()) { in DynamicChannelImpl()
/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/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/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/simpleperf/demo/SimpleperfExampleWithNative/
Dgradlew51 link=`expr "$ls" : '.*-> \(.*\)$'`
52 if expr "$link" : '/.*' > /dev/null; then
53 PRG="$link"
55 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/
Dgradlew51 link=`expr "$ls" : '.*-> \(.*\)$'`
52 if expr "$link" : '/.*' > /dev/null; then
53 PRG="$link"
55 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/CppApi/
Dgradlew15 link=`expr "$ls" : '.*-> \(.*\)$'`
16 if expr "$link" : '/.*' > /dev/null; then
17 PRG="$link"
19 PRG=`dirname "$PRG"`"/$link"
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/
Dgradlew51 link=`expr "$ls" : '.*-> \(.*\)$'`
52 if expr "$link" : '/.*' > /dev/null; then
53 PRG="$link"
55 PRG=`dirname "$PRG"`"/$link"
/system/sepolicy/prebuilts/api/27.0/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/prebuilts/api/28.0/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/prebuilts/api/26.0/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/prebuilts/api/29.0/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/core/init/
Ddevices.cpp236 [it](const auto& link) { return it->Match(link); })) { in GetDevicePermissions() argument
413 for (const auto& link : links) { in HandleDevice() local
414 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice()
415 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice()
418 if (symlink(devpath.c_str(), link.c_str())) { in HandleDevice()
420 PLOG(ERROR) << "Failed to symlink " << devpath << " to " << link; in HandleDevice()
422 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
423 PLOG(ERROR) << "Failed to symlink " << devpath << " to " << link in HandleDevice()
434 for (const auto& link : links) { in HandleDevice() local
436 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()
[all …]

12345678910