Home
last modified time | relevance | path

Searched refs:GetAddress (Results 1 – 20 of 20) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dacl_connection_handler.cc83 if (std::get<AclConnection>(pair).GetAddress() == addr) { in GetHandle()
90 const Address& AclConnectionHandler::GetAddress(uint16_t handle) const { in GetAddress() function in test_vendor_lib::AclConnectionHandler
92 return acl_connections_.at(handle).GetAddress(); in GetAddress()
Dlink_layer_controller.cc78 local_address = properties_.GetAddress(); in SendCommandToRemoteByAddress()
95 …return SendCommandToRemoteByAddress(opcode, args, classic_connections_.GetAddress(handle), use_pub… in SendCommandToRemoteByHandle()
108 std::move(acl_builder), properties_.GetAddress(), classic_connections_.GetAddress(handle)); in SendAclToRemote()
110 …LOG_INFO(LOG_TAG, "%s(%s): handle 0x%x size %d", __func__, properties_.GetAddress().ToString().c_s… in SendAclToRemote()
122 if (incoming.GetDestinationAddress() != properties_.GetAddress() && in IncomingPacket()
273 properties_.GetAddress(), incoming.GetSourceAddress())); in IncomingCommandPacket()
302 …EncryptConnectionBuilder::Create(security_manager_.GetKey(peer)), properties_.GetAddress(), peer)); in IncomingEncryptConnection()
340 …(LinkLayerPacketBuilder::WrapInquiryResponse(std::move(inquiry_response), properties_.GetAddress(), in IncomingInquiryPacket()
770 properties_.GetAddress(), peer)); in IoCapabilityRequestReply()
775 properties_.GetAddress(), peer)); in IoCapabilityRequestReply()
[all …]
Dacl_connection.h46 const Address& GetAddress() const { in GetAddress() function
Dacl_connection_handler.h44 const Address& GetAddress(uint16_t handle) const;
Ddual_mode_controller.cc350 …ventPacketBuilder::CreateCommandCompleteReadBdAddr(hci::Status::SUCCESS, properties_.GetAddress()); in HciReadBdAddr()
1083 … hci::Status::SUCCESS, acl_handle, properties_.GetAddress(), hci::LinkType::ACL, false) in HciWriteLoopbackMode()
1088 … hci::Status::SUCCESS, sco_handle, properties_.GetAddress(), hci::LinkType::SCO, false) in HciWriteLoopbackMode()
/system/bt/profile/avrcp/
Dconnection_handler.cc112 if (bdaddr == pair.second->GetAddress()) { in ConnectDevice()
140 if (bdaddr == it->second->GetAddress()) { in DisconnectDevice()
257 instance_->vol_->DeviceConnected(newDevice->GetAddress()); in InitiatorControlCb()
271 feature_map_.erase(device_map_[handle]->GetAddress()); in InitiatorControlCb()
336 instance_->feature_map_.emplace(device->GetAddress(), features); in AcceptorControlCb()
343 instance_->vol_->DeviceConnected(device->GetAddress()); in AcceptorControlCb()
362 feature_map_.erase(device_map_[handle]->GetAddress()); in AcceptorControlCb()
Ddevice.h76 const RawAddress& GetAddress() const { return address_; }; in GetAddress() function
Ddevice.cc370 GetAddress(), in HandleVolumeChanged()
1409 volume_interface_->DeviceDisconnected(GetAddress()); in DeviceDisconnected()
/system/bt/service/test/
Dadapter_unittest.cc226 TEST_F(AdapterTest, GetAddress) { in TEST_F() argument
227 EXPECT_EQ(bluetooth::Adapter::kDefaultAddress, adapter_->GetAddress()); in TEST_F()
233 EXPECT_EQ(kTestAdapterAddressOutput, adapter_->GetAddress()); in TEST_F()
Dmock_adapter.h39 MOCK_CONST_METHOD0(GetAddress, std::string());
/system/bt/service/common/android/bluetooth/
DIBluetooth.aidl39 String GetAddress(); in GetAddress() method
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.cc28 std::string dev = GetTypeString() + "@" + properties_.GetAddress().ToString(); in ToString()
Dbroken_adv.cc165 Address page_addr = properties_.GetAddress(); in UpdatePageScan()
Ddevice_properties.h79 const Address& GetAddress() const { in GetAddress() function
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc98 ASSERT_EQ(device.GetAddress(), RawAddress::kAny); in TEST_F()
161 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
205 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
239 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
297 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
351 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
570 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1047 .WillRepeatedly(Return(test_device->GetAddress())); in TEST_F()
1055 EXPECT_CALL(vol_interface, DeviceConnected(test_device->GetAddress(), _)) in TEST_F()
1093 EXPECT_CALL(vol_interface, DeviceConnected(test_device->GetAddress(), _)) in TEST_F()
[all …]
/system/bt/service/
Dadapter.h136 virtual std::string GetAddress() const = 0;
Dadapter.cc309 std::string GetAddress() const override { return address_.Get(); } in GetAddress() function in bluetooth::AdapterImpl
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc86 Status BluetoothBinderServer::GetAddress(::android::String16* _aidl_return) { in GetAddress() function in ipc::binder::BluetoothBinderServer
88 *_aidl_return = String16(String8(adapter_->GetAddress().c_str())); in GetAddress()
Dbluetooth_binder_server.h78 Status GetAddress(::android::String16* _aidl_return) override;
/system/bt/service/client/
Dmain.cc416 bt_iface->GetAddress(&address); in HandleGetLocalAddress()
446 bt_iface->GetAddress(&address); in HandleAdapterInfo()