Home
last modified time | relevance | path

Searched refs:AclConnection (Results 1 – 21 of 21) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection.cc22 AclConnection::AclConnection(AddressWithType addr, AddressWithType own_addr, in AclConnection() function in test_vendor_lib::AclConnection
26 void AclConnection::Encrypt() { encrypted_ = true; }; in Encrypt()
28 bool AclConnection::IsEncrypted() const { return encrypted_; }; in IsEncrypted()
30 AddressWithType AclConnection::GetAddress() const { return address_; } in GetAddress()
32 void AclConnection::SetAddress(AddressWithType address) { address_ = address; } in SetAddress()
34 AddressWithType AclConnection::GetOwnAddress() const { return own_address_; } in GetOwnAddress()
36 void AclConnection::SetOwnAddress(AddressWithType own_addr) { in SetOwnAddress()
40 Phy::Type AclConnection::GetPhyType() const { return type_; } in GetPhyType()
Dacl_connection.h29 class AclConnection {
31 AclConnection(AddressWithType addr, AddressWithType own_addr,
34 virtual ~AclConnection() = default;
Dacl_connection_handler.cc75 auto connection = std::get<AclConnection>(pair); in CreatePendingLeConnection()
113 AclConnection{ in CreateConnection()
127 handle, AclConnection{addr, own_addr, Phy::Type::LOW_ENERGY}); in CreateLeConnection()
139 if (std::get<AclConnection>(pair).GetAddress() == addr) { in GetHandle()
149 if (std::get<AclConnection>(pair).GetAddress().GetAddress() == addr) { in GetHandleOnlyAddress()
Dacl_connection_handler.h106 std::unordered_map<uint16_t, AclConnection> acl_connections_;
/system/bt/gd/hci/acl_manager/
Dacl_connection.h28 class AclConnection {
30 AclConnection() : queue_up_end_(nullptr), handle_(0){}; in AclConnection() function
31 virtual ~AclConnection() = default;
47AclConnection(QueueUpEnd* queue_up_end, uint16_t handle) : queue_up_end_(queue_up_end), handle_(ha… in AclConnection() function
50 DISALLOW_COPY_AND_ASSIGN(AclConnection);
Dround_robin_scheduler_test.cc105 void EnqueueAclUpEnd(AclConnection::QueueUpEnd* queue_up_end, std::vector<uint8_t> packet) { in EnqueueAclUpEnd()
115 …std::unique_ptr<packet::BasePacketBuilder> enqueue_callback(AclConnection::QueueUpEnd* queue_up_en… in enqueue_callback()
178 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
185 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
189 AclConnection::QueueUpEnd* queue_up_end = connection_queue->GetUpEnd(); in TEST_F()
206 auto connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
207 auto le_connection_queue = std::make_shared<AclConnection::Queue>(10); in TEST_F()
213 AclConnection::QueueUpEnd* queue_up_end = connection_queue->GetUpEnd(); in TEST_F()
214 AclConnection::QueueUpEnd* le_queue_up_end = le_connection_queue->GetUpEnd(); in TEST_F()
232 auto connection_queue = std::make_shared<AclConnection::Queue>(15); in TEST_F()
[all …]
Dacl_connection.cc23 AclConnection::QueueUpEnd* AclConnection::GetAclQueueEnd() const { in GetAclQueueEnd()
Dround_robin_scheduler.h42 std::shared_ptr<acl_manager::AclConnection::Queue> queue_;
49 std::shared_ptr<acl_manager::AclConnection::Queue> queue);
Dassembler.h49 …assembler(AddressWithType address_with_type, AclConnection::QueueDownEnd* down_end, os::Handler* h… in assembler()
52 AclConnection::QueueDownEnd* down_end_;
Dle_acl_connection.h29 class LeAclConnection : public AclConnection {
Dle_acl_connection.cc100 : AclConnection(), local_address_(Address::kEmpty, AddressType::PUBLIC_DEVICE_ADDRESS), in LeAclConnection()
110 : AclConnection(queue->GetUpEnd(), handle), in LeAclConnection()
Dclassic_acl_connection.h28 class ClassicAclConnection : public AclConnection {
Dle_impl.h42 …le_acl_connection(AddressWithType remote_address, AclConnection::QueueDownEnd* queue_down_end, os:… in le_acl_connection()
184 auto queue = std::make_shared<AclConnection::Queue>(10); in on_le_connection_complete()
250 auto queue = std::make_shared<AclConnection::Queue>(10); in on_le_enhanced_connection_complete()
Dround_robin_scheduler.cc43 std::shared_ptr<acl_manager::AclConnection::Queue> queue) { in Register()
Dclassic_acl_connection.cc342 : AclConnection(), acl_connection_interface_(nullptr), address_(Address::kEmpty) {} in ClassicAclConnection()
347 …: AclConnection(queue->GetUpEnd(), handle), acl_connection_interface_(acl_connection_interface), a… in ClassicAclConnection()
Dclassic_impl.h32 …acl_connection(AddressWithType address_with_type, AclConnection::QueueDownEnd* queue_down_end, os:… in acl_connection()
267 auto queue = std::make_shared<AclConnection::Queue>(10); in on_connection_complete()
/system/bt/gd/l2cap/fuzz/
Dfuzz_l2cap.cc30 using hci::acl_manager::AclConnection;
64 auto throwaway_queue = std::make_shared<AclConnection::Queue>(10); in LLVMFuzzerTestOneInput()
/system/bt/gd/hci/
Dacl_manager.cc40 using acl_manager::AclConnection;
Dacl_manager_test.cc386 void SendAclData(uint16_t handle, AclConnection::QueueUpEnd* queue_end) { in SendAclData()
/system/bt/main/test/
Dmain_shim_test.cc214 AclConnection::QueueUpEnd* GetAclQueueEnd() const override { in GetAclQueueEnd()
/system/bt/main/shim/
Dacl.cc256 hci::acl_manager::AclConnection::QueueUpEnd* queue_up_end, in ShimAclConnection()
350 hci::acl_manager::AclConnection::QueueUpEnd* queue_up_end_;