Home
last modified time | relevance | path

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

/system/bt/gd/hci/
Dcontroller_test.cc272 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp()
282 Controller* controller_ = nullptr; member in bluetooth::hci::__anonea0b95cc0111::ControllerTest
289 ASSERT_EQ(controller_->GetControllerAclPacketLength(), test_hci_layer_->acl_data_packet_length); in TEST_F()
290 …ASSERT_EQ(controller_->GetControllerNumAclPacketBuffers(), test_hci_layer_->total_num_acl_data_pac… in TEST_F()
291 …ASSERT_EQ(controller_->GetControllerScoPacketLength(), test_hci_layer_->synchronous_data_packet_le… in TEST_F()
292 …ASSERT_EQ(controller_->GetControllerNumScoPacketBuffers(), test_hci_layer_->total_num_synchronous_… in TEST_F()
293 ASSERT_EQ(controller_->GetControllerMacAddress(), Address::kAny); in TEST_F()
294 …LocalVersionInformation local_version_information = controller_->GetControllerLocalVersionInformat… in TEST_F()
307 ASSERT_EQ(controller_->GetControllerLocalSupportedCommands(), supported_commands); in TEST_F()
308 ASSERT_EQ(controller_->GetControllerLocalSupportedFeatures(), 0x012345678abcdef); in TEST_F()
[all …]
Dacl_manager.cc57 controller_ = acl_manager_.GetDependency<Controller>(); in Start()
58 …round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_layer_->GetAclQueueEnd… in Start()
63 classic_impl_ = new classic_impl(hci_layer_, controller_, handler_, round_robin_scheduler_); in Start()
64 … le_impl_ = new le_impl(hci_layer_, controller_, handler_, round_robin_scheduler_, classic_impl_); in Start()
110 Controller* controller_ = nullptr; member
Dle_scanning_manager.cc57 controller_ = controller; in start()
61 if (controller_->IsSupported(OpCode::LE_SET_EXTENDED_SCAN_PARAMETERS)) { in start()
63 } else if (controller_->IsSupported(OpCode::LE_EXTENDED_SCAN_PARAMS)) { in start()
235 hci::Controller* controller_; member
Dle_advertising_manager.cc92 controller_ = controller; in start()
96 num_instances_ = controller_->GetControllerLeNumberOfSupportedAdverisingSets(); in start()
98 if (controller_->IsSupported(hci::OpCode::LE_SET_EXTENDED_ADVERTISING_PARAMETERS)) { in start()
100 } else if (controller_->IsSupported(hci::OpCode::LE_MULTI_ADVT)) { in start()
457 hci::Controller* controller_; member
/system/bt/gd/hci/facade/
Dcontroller_facade.cc41 …ControllerFacadeService(Controller* controller, ::bluetooth::os::Handler*) : controller_(controlle… in ControllerFacadeService()
45 Address local_address = controller_->GetControllerMacAddress(); in GetMacAddress()
52 std::string local_name = controller_->GetControllerLocalName(); in GetLocalName()
59 controller_->WriteLocalName(request->name()); in WriteLocalName()
65 if (request->page_number() > controller_->GetControllerLocalExtendedFeaturesMaxPageNumber()) { in GetLocalExtendedFeatures()
68 response->set_page(controller_->GetControllerLocalExtendedFeatures(request->page_number())); in GetLocalExtendedFeatures()
73 Controller* controller_; member in bluetooth::hci::facade::ControllerFacadeService
Dfacade.cc39 : hci_layer_(hci_layer), controller_(controller), facade_handler_(facade_handler) {} in HciLayerFacadeService()
150 controller_->RegisterCompletedAclPacketsCallback( in SendAclData()
220 Controller* controller_; member in bluetooth::hci::facade::HciLayerFacadeService
/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_->GetControllerNumAclPacketBuffers(); in RoundRobinScheduler()
29 hci_mtu_ = controller_->GetControllerAclPacketLength(); in RoundRobinScheduler()
30 LeBufferSize le_buffer_size = controller_->GetControllerLeBufferSize(); in RoundRobinScheduler()
34controller_->RegisterCompletedAclPacketsCallback(handler->BindOn(this, &RoundRobinScheduler::incom… in RoundRobinScheduler()
39 controller_->UnregisterCompletedAclPacketsCallback(); in ~RoundRobinScheduler()
Dround_robin_scheduler.h61 Controller* controller_ = nullptr; variable
Dle_impl.h49 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler), in le_impl()
52 controller_ = controller; in le_impl()
325 if (controller_->GetControllerLeLocalSupportedFeatures() & 0x0010) { in create_le_connection()
515 Controller* controller_ = nullptr; member
Dclassic_impl.h44 … : hci_layer_(hci_layer), controller_(controller), round_robin_scheduler_(round_robin_scheduler) { in classic_impl()
46 controller_ = controller; in classic_impl()
533 Controller* controller_ = nullptr; member
/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()
120 controller_->RegisterAclChannel( in initialize_impl()
130 controller_->RegisterScoChannel( in initialize_impl()
141 controller_->RegisterIsoChannel( in initialize_impl()
152 controller_->RegisterTaskScheduler( in initialize_impl()
157 controller_->RegisterPeriodicTaskScheduler( in initialize_impl()
164 controller_->RegisterTaskCancel( in initialize_impl()
170 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_->GetControllerMacAddress().ToString(); in ReadLocalAddress()
37 hci::Controller* controller_; member in bluetooth::facade::ReadOnlyPropertyService
/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()
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
Dcgroup_map.h35 : controller_(controller), state_(UNKNOWN) {} in CgroupController()
54 const ACgroupController* controller_ = nullptr; variable
Dtask_profiles.cpp48 controller_ = controller; in Reset()
145 : controller_(c), path_(p) { in SetCgroupAction()
163 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.cpp345 : controller_(version, flags, name, path), mode_(mode), uid_(uid), gid_(gid) {} in CgroupDescriptor()
348 uint32_t flags = controller_.flags(); in set_mounted()
354 controller_.set_flags(flags); in set_mounted()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.h53 std::shared_ptr<test_vendor_lib::DualModeController> controller_; variable