Home
last modified time | relevance | path

Searched refs:GetRole (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/bta/gmap/
Dgmap_server.cc103 std::bitset<8> GmapServer::GetRole() { return GmapServer::role_; } in GetRole() function in GmapServer
259 auto role = GmapServer::GetRole(); in OnReadCharacteristic()
Dgmap_server_test.cc63 TEST_F(GmapServerTest, test_get_role) { ASSERT_EQ(GmapServer::GetRole(), role); } in TEST_F()
/packages/modules/Bluetooth/system/bta/le_audio/
Dgmap_server.h53 static std::bitset<8> GetRole();
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dacl_connection.cc43 bluetooth::hci::Role AclConnection::GetRole() const { return role_; } in GetRole() function in rootcanal::AclConnection
Dacl_connection.h61 bluetooth::hci::Role GetRole() const;
Dacl_connection_handler.cc282 return acl_connections_.at(handle).GetRole(); in GetAclRole()
Dlink_layer_controller.cc492 if (connection.GetRole() == bluetooth::hci::Role::PERIPHERAL) { in IncomingLlPhyReq()
548 ASSERT(connection.GetRole() == bluetooth::hci::Role::CENTRAL); in IncomingLlPhyRsp()
595 ASSERT(connection.GetRole() == bluetooth::hci::Role::PERIPHERAL); in IncomingLlPhyUpdateInd()
5345 if (role != connection.GetRole()) { in SwitchRole()
5381 bluetooth::hci::Role new_role = connection.GetRole() == bluetooth::hci::Role::CENTRAL in IncomingRoleSwitchRequest()
5409 bluetooth::hci::Role new_role = status != ErrorCode::SUCCESS ? connection.GetRole() in IncomingRoleSwitchResponse()
5410 : connection.GetRole() == bluetooth::hci::Role::CENTRAL in IncomingRoleSwitchResponse()
Ddual_mode_controller.cc491 DEBUG(id_, " role={}", bluetooth::hci::RoleText(command_view.GetRole())); in SwitchRole()
493 auto status = link_layer_controller_.SwitchRole(command_view.GetBdAddr(), command_view.GetRole()); in SwitchRole()
1634 command_view.GetRole() == bluetooth::hci::AcceptConnectionRequestRole::BECOME_CENTRAL; in AcceptConnectionRequest()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_acl_connection.h68 virtual Role GetRole() const;
Dle_acl_connection.cc166 Role LeAclConnection::GetRole() const { in GetRole() function in bluetooth::hci::acl_manager::LeAclConnection
Dle_impl.h393 role = connection_complete.GetRole(); in on_le_connection_complete()
407 role = connection_complete.GetRole(); in on_le_connection_complete()
/packages/modules/Bluetooth/system/gd/hal/
Dranging_hal_android.cc300 .role = static_cast<Role>(static_cast<int>(leCsConfigCompleteView.GetRole())), in UpdateChannelSoundingConfig()
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_test.cc793 ASSERT_EQ(command_view.GetRole(), Role::PERIPHERAL); in TEST_F()
Ddistance_measurement_manager.cc1120 live_tracker->role = event_view.GetRole(); in on_cs_config_complete()
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc1478 hci::Role connection_role = connection->GetRole(); in OnLeConnectSuccess()