/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/ |
D | le_set_extended_advertising_enable_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedAdvertisingEnableTest 42 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable(false, {}), in TEST_F() 47 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 55 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 62 controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 70 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 77 controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 85 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 92 controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 100 ASSERT_EQ(controller_.LeSetAdvertisingSetRandomAddress(0, Address{1}), in TEST_F() [all …]
|
D | le_set_extended_scan_response_data_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedScanResponseDataTest 42 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 52 controller_.LeSetExtendedScanResponseData( in TEST_F() 59 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 67 ASSERT_EQ(controller_.LeSetExtendedScanResponseData( in TEST_F() 74 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 84 controller_.LeSetExtendedScanResponseData( in TEST_F() 89 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 93 ASSERT_EQ(controller_.LeSetExtendedScanResponseData( in TEST_F() 100 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() [all …]
|
D | le_set_extended_advertising_data_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedAdvertisingDataTest 42 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 51 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() 58 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 67 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() 72 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 76 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() 83 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 95 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() 101 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() [all …]
|
D | le_extended_create_connection_test.cc | 36 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeExtendedCreateConnectionTest 41 controller_.LeExtendedCreateConnection( in TEST_F() 51 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 53 controller_.LeExtendedCreateConnection( in TEST_F() 63 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 65 controller_.LeExtendedCreateConnection( in TEST_F() 76 controller_.LeExtendedCreateConnection( in TEST_F() 85 controller_.LeExtendedCreateConnection( in TEST_F() 95 ASSERT_EQ(controller_.LeExtendedCreateConnection( in TEST_F() 105 controller_.LeExtendedCreateConnection( in TEST_F() [all …]
|
D | le_create_connection_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeCreateConnectionTest 37 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 46 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 47 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 56 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 57 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 66 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 73 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 82 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 89 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() [all …]
|
D | le_set_extended_scan_enable_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedScanEnableTest 47 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 52 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F() 58 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 63 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 64 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F() 70 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 75 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 76 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F() 82 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() [all …]
|
D | le_set_extended_advertising_parameters_test.cc | 37 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedAdvertisingParametersTest 41 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 52 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x200, in TEST_F() 57 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 67 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 75 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 83 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 95 controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 106 controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 115 ASSERT_EQ(controller_.LeSetExtendedAdvertisingData( in TEST_F() [all …]
|
D | le_add_device_to_resolving_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeAddDeviceToResolvingListTest 42 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 47 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 54 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 59 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 64 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 71 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 72 controller_.LeSetScanEnable(true, false); in TEST_F() 74 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 81 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() [all …]
|
D | le_remove_device_from_resolving_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeRemoveDeviceFromResolvingListTest 42 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 47 ASSERT_EQ(controller_.LeRemoveDeviceFromResolvingList( in TEST_F() 53 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 58 ASSERT_EQ(controller_.LeRemoveDeviceFromResolvingList( in TEST_F() 64 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 69 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 70 controller_.LeSetScanEnable(true, false); in TEST_F() 72 ASSERT_EQ(controller_.LeRemoveDeviceFromResolvingList( in TEST_F() 78 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() [all …]
|
D | le_remove_device_from_filter_accept_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeRemoveDeviceFromFilterAcceptListTest 42 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 46 ASSERT_EQ(controller_.LeRemoveDeviceFromFilterAcceptList( in TEST_F() 52 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 56 ASSERT_EQ(controller_.LeRemoveDeviceFromFilterAcceptList( in TEST_F() 62 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 66 controller_.LeSetScanParameters( in TEST_F() 69 controller_.LeSetScanEnable(true, false); in TEST_F() 71 ASSERT_EQ(controller_.LeRemoveDeviceFromFilterAcceptList( in TEST_F() 77 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() [all …]
|
D | le_clear_resolving_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeClearResolvingListTest 42 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 47 ASSERT_EQ(controller_.LeClearResolvingList(), ErrorCode::SUCCESS); in TEST_F() 51 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 56 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 57 controller_.LeSetScanEnable(true, false); in TEST_F() 59 ASSERT_EQ(controller_.LeClearResolvingList(), ErrorCode::COMMAND_DISALLOWED); in TEST_F() 63 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 68 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 69 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() [all …]
|
D | le_set_advertising_enable_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetAdvertisingEnableTest 37 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 43 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() 47 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 53 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 54 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() 58 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 64 ASSERT_EQ(controller_.LeAddDeviceToResolvingList( in TEST_F() 68 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 72 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() [all …]
|
D | le_clear_filter_accept_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeClearFilterAcceptListTest 42 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 46 ASSERT_EQ(controller_.LeClearFilterAcceptList(), ErrorCode::SUCCESS); in TEST_F() 50 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 54 controller_.LeSetScanParameters( in TEST_F() 57 controller_.LeSetScanEnable(true, false); in TEST_F() 59 ASSERT_EQ(controller_.LeClearFilterAcceptList(), in TEST_F() 64 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 68 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 74 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() [all …]
|
D | le_add_device_to_filter_accept_list_test.cc | 38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeAddDeviceToFilterAcceptListTest 42 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 46 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 52 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 56 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 60 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 66 controller_.LeSetScanParameters( in TEST_F() 69 controller_.LeSetScanEnable(true, false); in TEST_F() 71 ASSERT_EQ(controller_.LeAddDeviceToFilterAcceptList( in TEST_F() 77 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() [all …]
|
D | le_set_scan_enable_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetScanEnableTest 38 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x200, in TEST_F() 42 ASSERT_EQ(controller_.LeSetScanEnable(true, false), ErrorCode::SUCCESS); in TEST_F() 47 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x200, in TEST_F() 51 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 52 ASSERT_EQ(controller_.LeSetScanEnable(true, false), ErrorCode::SUCCESS); in TEST_F() 56 ASSERT_EQ(controller_.LeSetScanParameters( in TEST_F() 61 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 62 ASSERT_EQ(controller_.LeSetScanEnable(true, false), ErrorCode::SUCCESS); in TEST_F() 66 ASSERT_EQ(controller_.LeSetScanEnable(false, false), ErrorCode::SUCCESS); in TEST_F() [all …]
|
D | le_set_address_resolution_enable_test.cc | 34 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetAddressResolutionEnableTest 38 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), ErrorCode::SUCCESS); in TEST_F() 39 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(false), in TEST_F() 44 controller_.LeSetScanEnable(true, false); in TEST_F() 45 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), in TEST_F() 47 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(false), in TEST_F() 52 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() 53 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(true), in TEST_F() 55 ASSERT_EQ(controller_.LeSetAddressResolutionEnable(false), in TEST_F() 60 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() [all …]
|
D | le_set_extended_scan_parameters_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedScanParametersTest 47 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 56 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 62 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F() 66 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 75 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 83 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 88 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 97 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() 105 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F() [all …]
|
D | le_set_random_address_test.cc | 34 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetRandomAddressTest 38 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F() 42 controller_.LeSetScanEnable(true, false); in TEST_F() 43 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), in TEST_F() 48 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() 49 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), in TEST_F() 54 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F() 61 ASSERT_EQ(controller_.LeSetExtendedAdvertisingEnable( in TEST_F() 70 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F()
|
D | le_set_advertising_parameters_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetAdvertisingParametersTest 37 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 46 ASSERT_EQ(controller_.LeSetAdvertisingEnable(true), ErrorCode::SUCCESS); in TEST_F() 48 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 57 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 66 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 73 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 80 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 87 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F() 94 ASSERT_EQ(controller_.LeSetAdvertisingParameters( in TEST_F()
|
D | le_set_scan_parameters_test.cc | 33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetScanParametersTest 38 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x200, in TEST_F() 45 ASSERT_EQ(controller_.LeSetScanEnable(true, false), ErrorCode::SUCCESS); in TEST_F() 48 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x200, in TEST_F() 56 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x0, 0x200, in TEST_F() 62 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x4001, 0x200, in TEST_F() 70 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x0, in TEST_F() 76 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x4001, in TEST_F() 82 controller_.LeSetScanParameters(LeScanType::PASSIVE, 0x2000, 0x2001, in TEST_F()
|
D | le_create_connection_cancel_test.cc | 34 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeCreateConnectionCancelTest 38 ASSERT_EQ(controller_.LeCreateConnection( in TEST_F() 44 ASSERT_EQ(controller_.LeCreateConnectionCancel(), ErrorCode::SUCCESS); in TEST_F() 49 controller_.LeExtendedCreateConnection( in TEST_F() 56 ASSERT_EQ(controller_.LeCreateConnectionCancel(), ErrorCode::SUCCESS); in TEST_F() 60 ASSERT_EQ(controller_.LeCreateConnectionCancel(), in TEST_F()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | controller_test.cc | 295 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp() 305 Controller* controller_ = nullptr; member in bluetooth::hci::ControllerTest 337 ASSERT_EQ(controller_->GetAclPacketLength(), test_hci_layer_->acl_data_packet_length); in TEST_F() 338 ASSERT_EQ(controller_->GetNumAclPacketBuffers(), test_hci_layer_->total_num_acl_data_packets); in TEST_F() 339 ASSERT_EQ(controller_->GetScoPacketLength(), test_hci_layer_->synchronous_data_packet_length); in TEST_F() 340 …ASSERT_EQ(controller_->GetNumScoPacketBuffers(), test_hci_layer_->total_num_synchronous_data_packe… in TEST_F() 341 ASSERT_EQ(controller_->GetMacAddress(), Address::kAny); in TEST_F() 342 LocalVersionInformation local_version_information = controller_->GetLocalVersionInformation(); in TEST_F() 348 ASSERT_EQ(controller_->GetLeBufferSize().le_data_packet_length_, 0x16); in TEST_F() 349 ASSERT_EQ(controller_->GetLeBufferSize().total_num_le_packets_, 0x08); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | round_robin_scheduler_test.cc | 83 controller_ = new TestController(); in SetUp() 84 round_robin_scheduler_ = new RoundRobinScheduler(handler_, controller_, hci_queue_.GetUpEnd()); in SetUp() 92 delete controller_; in TearDown() 166 TestController* controller_; member in bluetooth::hci::acl_manager::__anon5d38ece20111::RoundRobinSchedulerTest 200 ASSERT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_ - 2); in TEST_F() 225 ASSERT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_ - 1); in TEST_F() 226 ASSERT_EQ(round_robin_scheduler_->GetLeCredits(), controller_->le_max_acl_packet_credits_ - 1); in TEST_F() 252 controller_->SendCompletedAclPacketsCallback(0x01, 10); in TEST_F() 265 controller_->SendCompletedAclPacketsCallback(0x00, 1); in TEST_F() 267 EXPECT_EQ(round_robin_scheduler_->GetCredits(), controller_->max_acl_packet_credits_); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/test/rootcanal/ |
D | bluetooth_hci.cc | 108 controller_ = std::make_shared<DualModeController>(); in initialize_impl() 115 controller_->SetAddress(*addr); in initialize_impl() 120 controller_->RegisterEventChannel( in initialize_impl() 133 controller_->RegisterAclChannel( in initialize_impl() 146 controller_->RegisterScoChannel( in initialize_impl() 160 controller_->RegisterIsoChannel( in initialize_impl() 174 controller_->RegisterTaskScheduler( in initialize_impl() 179 controller_->RegisterPeriodicTaskScheduler( in initialize_impl() 186 controller_->RegisterTaskCancel( in initialize_impl() 190 size_t controller_index = test_model_.Add(controller_); in initialize_impl() [all …]
|
/packages/modules/Bluetooth/system/gd/l2cap/internal/ |
D | enhanced_retransmission_mode_channel_data_controller.cc | 43 … : 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 …]
|