Home
last modified time | relevance | path

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

12

/system/bt/gd/hci/
Dcontroller_test.cc278 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp()
288 Controller* controller_ = nullptr; member in bluetooth::hci::__anond77651530111::ControllerTest
295 ASSERT_EQ(controller_->GetAclPacketLength(), test_hci_layer_->acl_data_packet_length); in TEST_F()
296 ASSERT_EQ(controller_->GetNumAclPacketBuffers(), test_hci_layer_->total_num_acl_data_packets); in TEST_F()
297 ASSERT_EQ(controller_->GetScoPacketLength(), test_hci_layer_->synchronous_data_packet_length); in TEST_F()
298 …ASSERT_EQ(controller_->GetNumScoPacketBuffers(), test_hci_layer_->total_num_synchronous_data_packe… in TEST_F()
299 ASSERT_EQ(controller_->GetMacAddress(), Address::kAny); in TEST_F()
300 LocalVersionInformation local_version_information = controller_->GetLocalVersionInformation(); in TEST_F()
306 ASSERT_EQ(controller_->GetLeBufferSize().le_data_packet_length_, 0x16); in TEST_F()
307 ASSERT_EQ(controller_->GetLeBufferSize().total_num_le_packets_, 0x08); in TEST_F()
[all …]
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
Dvendor_specific_event_manager.cc36 controller_ = controller; in start()
95 hci::Controller* controller_; member
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
/system/bt/gd/hci/acl_manager/
Dround_robin_scheduler_test.cc82 controller_ = new TestController(); in SetUp()
83 round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_queue_.GetUpEnd()); in SetUp()
91 delete controller_; in TearDown()
164 TestController* controller_; member in bluetooth::hci::acl_manager::RoundRobinSchedulerTest
198 ASSERT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_ - 2); in TEST_F()
223 ASSERT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_ - 1); in TEST_F()
224 ASSERT_EQ(round_robin_scheduler_->GetLeCredits(), controller_->le_max_acl_packet_credits_ - 1); in TEST_F()
250 controller_->SendCompletedAclPacketsCallback(0x01, 10); in TEST_F()
263 controller_->SendCompletedAclPacketsCallback(0x00, 1); in TEST_F()
265 EXPECT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_); in TEST_F()
[all …]
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()
Dround_robin_scheduler.h64 Controller* controller_ = nullptr; variable
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
/system/bt/gd/hci/facade/
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
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
/system/bt/test/rootcanal/
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 …]
Dbluetooth_hci.h83 std::shared_ptr<test_vendor_lib::DualModeController> controller_; variable
/system/bt/gd/facade/
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
/system/bt/gd/iso/
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_};
/system/bt/gd/l2cap/internal/
Denhanced_retransmission_mode_channel_data_controller.cc43 … : controller_(controller), handler_(handler), retrans_timer_(handler), monitor_timer_(handler) {} in impl()
45 ErtmController* controller_; member
213 } else if ((with_invalid_tx_seq(tx_seq) && controller_->local_tx_window_ > kMaxTxWin / 2) || in recv_i_frame()
216 } else if (with_invalid_tx_seq(tx_seq) && controller_->local_tx_window_ <= kMaxTxWin / 2) { in recv_i_frame()
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()
486 return retry_i_frames_[req_seq] < controller_->local_max_transmit_; in retry_i_frames_less_than_max_transmit()
490 return retry_count_ < controller_->local_max_transmit_; in retry_count_less_than_max_transmit()
496 return x < y || kMaxTxWin - (x - y) < controller_->local_tx_window_; in sequence_less_than()
502 return x <= y || kMaxTxWin - (x - y) <= controller_->local_tx_window_; in sequence_less_than_or_equal()
[all …]
/system/core/libprocessgroup/
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()
Dcgroup_map.h35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
54 const ACgroupController* controller_ = nullptr; variable
Dtask_profiles.h32 : controller_(controller), file_name_(file_name) {} in ProfileAttribute()
34 const CgroupController* controller() const { return &controller_; } in controller()
41 CgroupController controller_;
121 const CgroupController* controller() const { return &controller_; } in controller()
131 CgroupController controller_; variable
Dtask_profiles.cpp55 controller_ = controller; in Reset()
152 : controller_(c), path_(p) { in SetCgroupAction()
170 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching()
/system/core/libprocessgroup/setup/
Dcgroup_descriptor.h30 const format::CgroupController* controller() const { return &controller_; } in controller()
38 format::CgroupController controller_;
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()
/system/bt/gd/security/
Dsecurity_module.cc56 controller_(controller), in impl()
72 hci::Controller* controller_; member
82 controller_,
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.h41 controller_(std::make_shared<test_vendor_lib::DualModeController>( in test_port_()
63 std::shared_ptr<test_vendor_lib::DualModeController> controller_; variable
/system/bt/main/shim/
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( \
/system/bt/gd/iso/internal/
Diso_manager_impl.h111 hci::Controller* controller_ __attribute__((unused)); variable

12