Home
last modified time | relevance | path

Searched refs:allow_role_switch (Results 1 – 5 of 5) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dpage_builder.h34 …::unique_ptr<PageBuilder> Create(const ClassOfDevice& class_of_device, uint8_t allow_role_switch) { in Create() argument
35 return std::unique_ptr<PageBuilder>(new PageBuilder(class_of_device, allow_role_switch)); in Create()
49 explicit PageBuilder(const ClassOfDevice& class_of_device, uint8_t allow_role_switch) in PageBuilder() argument
50 : class_of_device_(class_of_device), allow_role_switch_(allow_role_switch) {} in PageBuilder()
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc316 uint8_t allow_role_switch = 1; in TEST_F() local
318 auto page_builder = PageBuilder::Create(class_of_device, allow_role_switch); in TEST_F()
330 ASSERT_EQ(page.GetAllowRoleSwitch(), allow_role_switch); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.h70 uint8_t allow_role_switch);
Dlink_layer_controller.cc957 uint8_t allow_role_switch) { in CreateConnection() argument
962 …que_ptr<PageBuilder> page = PageBuilder::Create(properties_.GetClassOfDevice(), allow_role_switch); in CreateConnection()
Ddual_mode_controller.cc859 uint8_t allow_role_switch = args_itr.extract<uint8_t>(); in HciCreateConnection() local
862 …ontroller_.CreateConnection(address, packet_type, page_scan_mode, clock_offset, allow_role_switch); in HciCreateConnection()