Home
last modified time | relevance | path

Searched refs:handle_ (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_test.cc252 handle_ = 0x123; in SetUp()
265 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp()
286 uint16_t handle_; member in bluetooth::hci::acl_manager::AclManagerWithConnectionTest
393 log::info("Sending a packet with handle 0x{:02x} ({})", handle_, handle_); in SetUp()
394 test_hci_layer_->IncomingAclData(handle_); in SetUp()
399 handle_, in SetUp()
429 uint16_t handle_ = 0x123; member in bluetooth::hci::acl_manager::AclManagerWithLeConnectionTest
613 ASSERT_EQ(connection_->GetHandle(), handle_); in TEST_F()
616 test_hci_layer_->IncomingAclData(handle_); in TEST_F()
627 SendAclData(handle_, connection_->GetAclQueueEnd()); in TEST_F()
[all …]
Dacl_manager_unittest.cc310 handle_ = 0x123; in SetUp()
322 ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISABLED)); in SetUp()
337 uint16_t handle_; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerWithConnectionTest
430 handle_, in SetUp()
463 uint16_t handle_ = 0x123; member in bluetooth::hci::acl_manager::__anond0d203480111::AclManagerWithLeConnectionTest
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.cc379 DisconnectBuilder::Create(handle_, reason), in Disconnect()
386 ChangeConnectionPacketTypeBuilder::Create(handle_, packet_type), in ChangeConnectionPacketType()
394 AuthenticationRequestedBuilder::Create(handle_), in AuthenticationRequested()
401 SetConnectionEncryptionBuilder::Create(handle_, enable), in SetConnectionEncryption()
408 ChangeConnectionLinkKeyBuilder::Create(handle_), in ChangeConnectionLinkKey()
415 ReadClockOffsetBuilder::Create(handle_), in ReadClockOffset()
422 HoldModeBuilder::Create(handle_, max_interval, min_interval), in HoldMode()
429 SniffModeBuilder::Create(handle_, max_interval, min_interval, attempt, timeout), in SniffMode()
436 ExitSniffModeBuilder::Create(handle_), in ExitSniffMode()
445 handle_, service_type, token_rate, peak_bandwidth, latency, delay_variation), in QosSetup()
[all …]
Dacl_connection.h28 AclConnection() : queue_up_end_(nullptr), handle_(0){}; in AclConnection()
35 return handle_; in GetHandle()
48 …AclConnection(QueueUpEnd* queue_up_end, uint16_t handle) : queue_up_end_(queue_up_end), handle_(ha… in AclConnection()
50 uint16_t handle_; variable
Dle_acl_connection.cc184 DisconnectBuilder::Create(handle_, reason), in Disconnect()
213 …LeSubrateRequestBuilder::Create(handle_, subrate_min, subrate_max, max_latency, cont_num, sup_tout… in LeSubrateRequest()
235 handle_, in LeConnectionUpdate()
248 ReadRemoteVersionInformationBuilder::Create(handle_), in ReadRemoteVersionInformation()
260 LeReadRemoteFeaturesBuilder::Create(handle_), in LeReadRemoteFeatures()
/packages/modules/adb/client/
Dtransport_usb.cpp124 usb_close(handle_); in ~UsbConnection()
128 int rc = remote_read(packet, handle_); in Read()
135 if (usb_write(handle_, &packet->msg, sizeof(packet->msg)) != sizeof(packet->msg)) { in Write()
140 if (packet->msg.data_length != 0 && usb_write(handle_, packet->payload.data(), size) != size) { in Write()
155 usb_reset(handle_); in Reset()
156 usb_kick(handle_); in Reset()
160 usb_kick(handle_); in Close()
Dusb.h47 explicit UsbConnection(usb_handle* handle) : handle_(handle) {} in UsbConnection()
57 usb_handle* handle_; member
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc268 uint16_t handle_; member
276 handle_(handle), in ConnectionDescriptor()
285 GetPrivateRemoteAddress().c_str(), handle_, in ToString()
398 : handle_(handle), in ShimAclConnection()
413 handle_, queue_.size()); in ~ShimAclConnection()
416 handle_); in ~ShimAclConnection()
438 preamble.push_back(LowByte(handle_)); in data_ready_callback()
439 preamble.push_back(HighByte(handle_)); in data_ready_callback()
445 handle_); in data_ready_callback()
460 uint16_t Handle() const { return handle_; } in Handle()
[all …]
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc201 uint16_t handle = p_cb->handle_; in BTM_SetPowerMode()
272 return btm_pm_snd_md_req(p_cb->handle_, pm_id, p_cb->handle_, p_mode); in BTM_SetPowerMode()
340 send_sniff_subrating(p_cb->handle_, remote_bda, max_lat, min_rmt_to, in BTM_SetSsrParams()
625 btm_pm_snd_md_req(entry.second.handle_, BTM_PM_SET_ONLY_ID, in btm_pm_continue_pending_mode_changes()
626 entry.second.handle_, NULL); in btm_pm_continue_pending_mode_changes()
740 btm_pm_snd_md_req(entry.second.handle_, BTM_PM_SET_ONLY_ID, in btm_pm_proc_mode_change()
741 entry.second.handle_, NULL); in btm_pm_proc_mode_change()
Dacl.h167 handle_ = handle; in Init()
170 uint16_t handle_; member
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_acl_manager_facade.cc363 … : handle_(handle), connection_(std::move(connection)), event_stream_(std::move(event_stream)) {} in Connection()
390 DisconnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, reason); in OnDisconnection()
423 uint16_t handle_; member in bluetooth::hci::facade::LeAclManagerFacadeService::Connection
427 std::to_string(handle_)};
Dacl_manager_facade.cc407 … : handle_(handle), connection_(std::move(connection)), event_stream_(std::move(event_stream)) {} in Connection()
545 DisconnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, reason); in OnDisconnection()
576 uint16_t handle_; member in bluetooth::hci::facade::AclManagerFacadeService::Connection
580 std::to_string(handle_)};
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_int.h430 uint16_t handle_; /* The handle used with LM */
432 void SetHandle(uint16_t handle) { handle_ = handle; } in SetHandle()
435 uint16_t Handle() const { return handle_; } in Handle()
436 void InvalidateHandle() { handle_ = HCI_INVALID_HANDLE; } in InvalidateHandle()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc239 handle_ = handle; // AclConnection in MockClassicAclConnection()
275 disconnect_promise_.set_value(handle_); in Disconnect()
293 handle_ = handle; in MockLeAclConnection()
322 disconnect_promise_.set_value(handle_); in Disconnect()