Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/
Dpage_response_builder.h33 static std::unique_ptr<PageResponseBuilder> Create(uint8_t try_role_switch) { in Create() argument
34 return std::unique_ptr<PageResponseBuilder>(new PageResponseBuilder(try_role_switch)); in Create()
47 explicit PageResponseBuilder(uint8_t try_role_switch) : try_role_switch_(try_role_switch) {} in PageResponseBuilder() argument
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.h65 hci::Status AcceptConnectionRequest(const Address& addr, bool try_role_switch);
66 void MakeSlaveConnection(const Address& addr, bool try_role_switch);
Dlink_layer_controller.cc902 hci::Status LinkLayerController::AcceptConnectionRequest(const Address& addr, bool try_role_switch)… in AcceptConnectionRequest() argument
909 schedule_task_(milliseconds(200), [this, addr, try_role_switch]() { in AcceptConnectionRequest()
911 MakeSlaveConnection(addr, try_role_switch); in AcceptConnectionRequest()
917 void LinkLayerController::MakeSlaveConnection(const Address& addr, bool try_role_switch) { in MakeSlaveConnection() argument
919 PageResponseBuilder::Create(try_role_switch), properties_.GetAddress(), addr); in MakeSlaveConnection()
Ddual_mode_controller.cc696 bool try_role_switch = args[6] == 0; in HciAcceptConnectionRequest() local
697 hci::Status status = link_layer_controller_.AcceptConnectionRequest(addr, try_role_switch); in HciAcceptConnectionRequest()
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dlink_layer_packet_builder_test.cc335 uint8_t try_role_switch = 2; in TEST_F() local
336 auto page_response_builder = PageResponseBuilder::Create(try_role_switch); in TEST_F()
349 ASSERT_EQ(page_response.GetTryRoleSwitch(), try_role_switch); in TEST_F()