Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/
Dle_set_periodic_advertising_data_test.cc37 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetPeriodicAdvertisingDataTest
41 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
50 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
54 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingData( in TEST_F()
60 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
69 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
73 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingData( in TEST_F()
77 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingEnable(true, false, 0), in TEST_F()
80 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingData( in TEST_F()
86 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
[all …]
Dle_set_extended_advertising_enable_test.cc38 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 …]
Dle_set_extended_scan_response_data_test.cc38 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 …]
Dle_set_extended_advertising_data_test.cc38 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 …]
Dle_extended_create_connection_test.cc36 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 …]
Dle_set_extended_scan_enable_test.cc33 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetExtendedScanEnableTest
48 controller_.LeSetExtendedScanParameters( in TEST_F()
53 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F()
60 controller_.LeSetExtendedScanParameters( in TEST_F()
65 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F()
66 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F()
73 controller_.LeSetExtendedScanParameters( in TEST_F()
78 ASSERT_EQ(controller_.LeSetRandomAddress(Address{1}), ErrorCode::SUCCESS); in TEST_F()
79 ASSERT_EQ(controller_.LeSetExtendedScanEnable( in TEST_F()
86 controller_.LeSetExtendedScanParameters( in TEST_F()
[all …]
Dle_create_connection_test.cc33 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 …]
Dle_set_periodic_advertising_enable_test.cc34 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetPeriodicAdvertisingEnableTest
38 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
47 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
51 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingData( in TEST_F()
55 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingEnable(true, false, 0), in TEST_F()
60 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
69 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
72 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingEnable(false, false, 0), in TEST_F()
77 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingEnable(true, false, 0), in TEST_F()
80 ASSERT_EQ(controller_.LeSetPeriodicAdvertisingEnable(false, false, 0), in TEST_F()
[all …]
Dle_add_device_to_resolving_list_test.cc38 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 …]
Dle_set_periodic_advertising_parameters_test.cc34 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeSetPeriodicAdvertisingParametersTest
38 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
47 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
53 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
58 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
67 controller_.LeSetPeriodicAdvertisingParameters(0, 0x0, 0xffff, false), in TEST_F()
71 controller_.LeSetPeriodicAdvertisingParameters(0, 0xffff, 0x6, false), in TEST_F()
78 controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
89 ASSERT_EQ(controller_.LeSetExtendedAdvertisingParameters( in TEST_F()
98 controller_.LeSetPeriodicAdvertisingParameters(0, 0x6, 0xffff, false), in TEST_F()
[all …]
Dle_remove_device_from_resolving_list_test.cc38 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 …]
Dle_set_extended_advertising_parameters_test.cc37 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 …]
Dle_remove_device_from_filter_accept_list_test.cc38 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 …]
Dle_clear_resolving_list_test.cc38 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 …]
Dle_clear_filter_accept_list_test.cc38 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 …]
Dle_set_advertising_enable_test.cc33 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 …]
Dle_add_device_to_filter_accept_list_test.cc38 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 …]
Dle_set_address_resolution_enable_test.cc34 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 …]
Dle_set_scan_enable_test.cc33 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 …]
Dle_add_device_to_periodic_advertiser_list_test.cc38 LinkLayerController controller_{address_, properties_}; member in rootcanal::LeAddDeviceToPeriodicAdvertiserListTest
42 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
47 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
52 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
59 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
64 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
69 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
74 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
81 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
86 ASSERT_EQ(controller_.LeAddDeviceToPeriodicAdvertiserList( in TEST_F()
[all …]
Dle_set_extended_scan_parameters_test.cc33 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()
76 controller_.LeSetExtendedScanParameters( in TEST_F()
84 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F()
90 controller_.LeSetExtendedScanParameters( in TEST_F()
99 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F()
107 ASSERT_EQ(controller_.LeSetExtendedScanParameters( in TEST_F()
[all …]
Dle_set_random_address_test.cc34 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()
Dle_set_scan_parameters_test.cc33 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()
Dle_set_advertising_parameters_test.cc33 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()
/packages/modules/Bluetooth/system/gd/hci/
Dcontroller_test.cc294 controller_ = static_cast<Controller*>(fake_registry_.GetModuleUnderTest(&Controller::Factory)); in SetUp()
304 Controller* controller_ = nullptr; member in bluetooth::hci::__anonf340bc220211::ControllerTest
397 ASSERT_EQ(controller_->GetAclPacketLength(), test_hci_layer_->acl_data_packet_length); in TEST_F()
398 ASSERT_EQ(controller_->GetNumAclPacketBuffers(), test_hci_layer_->total_num_acl_data_packets); in TEST_F()
399 ASSERT_EQ(controller_->GetScoPacketLength(), test_hci_layer_->synchronous_data_packet_length); in TEST_F()
400 …ASSERT_EQ(controller_->GetNumScoPacketBuffers(), test_hci_layer_->total_num_synchronous_data_packe… in TEST_F()
401 ASSERT_EQ(controller_->GetMacAddress(), Address::kAny); in TEST_F()
402 LocalVersionInformation local_version_information = controller_->GetLocalVersionInformation(); in TEST_F()
408 ASSERT_EQ(controller_->GetLeBufferSize().le_data_packet_length_, 0x16); in TEST_F()
409 ASSERT_EQ(controller_->GetLeBufferSize().total_num_le_packets_, 0x08); in TEST_F()
[all …]

123