Home
last modified time | relevance | path

Searched refs:controller_ (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/system/bt/gd/hci/
H A Dcontroller_test.cc288 Controller* controller_ = nullptr; member in bluetooth::hci::__anonebd7b0380110::ControllerTest
318 ASSERT_EQ(controller_->GetLocalName(), "DUT"); in TEST_F()
319 controller_->WriteLocalName("New name"); in TEST_F()
320 ASSERT_EQ(controller_->GetLocalName(), "New name"); in TEST_F()
325 controller_->SetEventMask(new_event_mask); in TEST_F()
327 controller_->Reset(); in TEST_F()
333 controller_->Reset(); in TEST_F()
340 controller_->SetEventFilterInquiryResultAllDevices(); in TEST_F()
380 controller_->LeSetEventMask(new_le_event_mask); in TEST_F()
382 controller_->Reset(); in TEST_F()
[all …]
H A Dacl_manager.cc60 controller_ = acl_manager_.GetDependency<Controller>(); in Start()
61 …round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_layer_->GetAclQueueEnd… in Start()
68 …new classic_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, crash_on_unknown_handl… in Start()
69 …le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, crash_on_unknown… in Start()
118 Controller* controller_ = nullptr; member
H A Dvendor_specific_event_manager.cc36 controller_ = controller; in start()
95 hci::Controller* controller_; member
H A Dle_advertising_manager.cc101 controller_ = controller; in start()
102 le_maximum_advertising_data_length_ = controller_->GetLeMaximumAdvertisingDataLength(); in start()
107 num_instances_ = controller_->GetLeNumberOfSupportedAdverisingSets(); in start()
113 if (controller_->IsSupported(hci::OpCode::LE_SET_EXTENDED_ADVERTISING_PARAMETERS)) { in start()
115 } else if (controller_->IsSupported(hci::OpCode::LE_MULTI_ADVT)) { in start()
322 AddressWithType(controller_->GetMacAddress(), AddressType::PUBLIC_DEVICE_ADDRESS); in create_extended_advertiser()
910 hci::Controller* controller_; member
/aosp12/system/bt/gd/hci/acl_manager/
H A Dround_robin_scheduler_test.cc82 controller_ = new TestController(); in SetUp()
91 delete controller_; in TearDown()
164 TestController* controller_; member in bluetooth::hci::acl_manager::RoundRobinSchedulerTest
250 controller_->SendCompletedAclPacketsCallback(0x01, 10); in TEST_F()
263 controller_->SendCompletedAclPacketsCallback(0x00, 1); in TEST_F()
339 std::vector<uint8_t> packet(controller_->hci_mtu_, 0xff); in TEST_F()
340 std::vector<uint8_t> packet_part1(controller_->hci_mtu_, 0xff); in TEST_F()
348 for (uint8_t i = 0; i < controller_->le_hci_mtu_; i++) { in TEST_F()
382 SetPacketFuture(controller_->le_max_acl_packet_credits_ + controller_->max_acl_packet_credits_); in TEST_F()
390 for (uint16_t i = 0; i < controller_->le_max_acl_packet_credits_; i++) { in TEST_F()
[all …]
H A Dround_robin_scheduler.cc26 : handler_(handler), controller_(controller), hci_queue_end_(hci_queue_end) { in RoundRobinScheduler()
27 max_acl_packet_credits_ = controller_->GetNumAclPacketBuffers(); in RoundRobinScheduler()
29 hci_mtu_ = controller_->GetAclPacketLength(); in RoundRobinScheduler()
30 LeBufferSize le_buffer_size = controller_->GetLeBufferSize(); in RoundRobinScheduler()
34controller_->RegisterCompletedAclPacketsCallback(handler->BindOn(this, &RoundRobinScheduler::incom… in RoundRobinScheduler()
39 controller_->UnregisterCompletedAclPacketsCallback(); in ~RoundRobinScheduler()
H A Dle_impl.h58 controller_(controller), in le_impl()
62 controller_ = controller; in le_impl()
470 if (controller_->IsSupported(OpCode::LE_EXTENDED_CREATE_CONNECTION)) { in create_le_connection()
687 Controller* controller_ = nullptr; member
H A Dround_robin_scheduler.h64 Controller* controller_ = nullptr; variable
/aosp12/system/bt/test/rootcanal/
H A Dbluetooth_hci.cc104 controller_ = std::make_shared<DualModeController>(); in initialize_impl()
108 controller_->Initialize({"dmc", std::string(mac_property)}); in initialize_impl()
110 controller_->RegisterEventChannel( in initialize_impl()
123 controller_->RegisterAclChannel( in initialize_impl()
136 controller_->RegisterScoChannel( in initialize_impl()
150 controller_->RegisterIsoChannel( in initialize_impl()
164 controller_->RegisterTaskScheduler( in initialize_impl()
169 controller_->RegisterPeriodicTaskScheduler( in initialize_impl()
176 controller_->RegisterTaskCancel( in initialize_impl()
180 size_t controller_index = test_model_.Add(controller_); in initialize_impl()
[all …]
H A Dbluetooth_hci.h83 std::shared_ptr<test_vendor_lib::DualModeController> controller_; variable
/aosp12/system/bt/gd/l2cap/internal/
H A Denhanced_retransmission_mode_channel_data_controller.cc45 ErtmController* controller_; member
474 return unacked_frames_ < controller_->remote_tx_window_; in rem_window_not_full()
478 return unacked_frames_ == controller_->remote_tx_window_; in rem_window_full()
490 return retry_count_ < controller_->local_max_transmit_; in retry_count_less_than_max_transmit()
581 if (controller_->fcs_enabled_) { in _send_i_frame()
589 if (controller_->fcs_enabled_) { in _send_i_frame()
597 controller_->send_pdu(std::move(builder)); in _send_i_frame()
634 if (controller_->fcs_enabled_) { in _send_s_frame()
639 controller_->send_pdu(std::move(builder)); in _send_s_frame()
709 controller_->stage_for_reassembly(sar, sdu_size, segment); in data_indication()
[all …]
/aosp12/system/bt/gd/hci/facade/
H A Dcontroller_facade.cc41 …ControllerFacadeService(Controller* controller, ::bluetooth::os::Handler*) : controller_(controlle… in ControllerFacadeService()
45 Address local_address = controller_->GetMacAddress(); in GetMacAddress()
52 std::string local_name = controller_->GetLocalName(); in GetLocalName()
59 controller_->WriteLocalName(request->name()); in WriteLocalName()
64 Controller* controller_; member in bluetooth::hci::facade::ControllerFacadeService
H A Dfacade.cc39 : hci_layer_(hci_layer), controller_(controller), facade_handler_(facade_handler) {} in HciFacadeService()
144 controller_->RegisterCompletedAclPacketsCallback( in SendAcl()
216 Controller* controller_; member in bluetooth::hci::facade::HciFacadeService
/aosp12/system/core/libprocessgroup/
H A Dtask_profiles.h32 : controller_(controller), file_name_(file_name) {} in ProfileAttribute()
34 const CgroupController* controller() const { return &controller_; } in controller()
41 CgroupController controller_;
143 const CgroupController* controller() const { return &controller_; } in controller()
146 const std::string GetPath() const override { return controller_.GetTasksFilePath(path_); } in GetPath()
149 CgroupController controller_;
H A Dcgroup_map.cpp53 return ACgroupController_getVersion(controller_); in version()
58 return ACgroupController_getName(controller_); in name()
63 return ACgroupController_getPath(controller_); in path()
67 return controller_ != nullptr; in HasValue()
75 uint32_t flags = ACgroupController_getFlags(controller_); in IsUsable()
H A Dcgroup_map.h35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
54 const ACgroupController* controller_ = nullptr; variable
H A Dtask_profiles.cpp55 controller_ = controller; in Reset()
196 : controller_(c), path_(p) { in SetCgroupAction()
197 InitFd(controller_.GetTasksFilePath(path_)); in SetCgroupAction()
/aosp12/system/bt/gd/facade/
H A Dread_only_property_server.cc26 ReadOnlyPropertyService(hci::Controller* controller) : controller_(controller) {} in ReadOnlyPropertyService()
31 auto address = controller_->GetMacAddress().ToString(); in ReadLocalAddress()
37 hci::Controller* controller_; member in bluetooth::facade::ReadOnlyPropertyService
/aosp12/system/bt/gd/iso/
H A Diso_module.cc35 : iso_handler_(iso_handler), hci_layer_(hci_layer), controller_(controller) {} in impl()
39 hci::Controller* controller_; member
41 internal::IsoManagerImpl iso_manager_impl{iso_handler_, hci_layer_, controller_};
/aosp12/system/bt/gd/security/
H A Dsecurity_module.cc56 controller_(controller), in impl()
72 hci::Controller* controller_; member
82 controller_,
/aosp12/system/core/libprocessgroup/setup/
H A Dcgroup_descriptor.h30 const format::CgroupController* controller() const { return &controller_; } in controller()
38 format::CgroupController controller_;
H A Dcgroup_map_write.cpp370 : controller_(version, flags, name, path), mode_(mode), uid_(uid), gid_(gid) {} in CgroupDescriptor()
373 uint32_t flags = controller_.flags(); in set_mounted()
379 controller_.set_flags(flags); in set_mounted()
/aosp12/system/bt/vendor_libs/test_vendor_lib/desktop/
H A Dtest_environment.h41 controller_(std::make_shared<test_vendor_lib::DualModeController>(
63 std::shared_ptr<test_vendor_lib::DualModeController> controller_; variable
/aosp12/system/bt/main/shim/
H A Dcontroller.cc143 return bluetooth::shim::rust::controller_##legacy( \
207 return bluetooth::shim::rust::controller_##legacy( \ in MAP_TO_GD()
231 return bluetooth::shim::rust::controller_##legacy( \
/aosp12/art/adbconnection/
H A Dadbconnection.h127 AdbConnectionDebuggerController controller_; variable

12