/system/bt/gd/l2cap/classic/ |
D | link_property_listener.h | 38 virtual void OnLinkConnected(hci::Address remote, uint16_t handle) {} in OnLinkConnected() argument 43 virtual void OnLinkDisconnected(hci::Address remote) {} in OnLinkDisconnected() argument 50 hci::Address remote, in OnReadRemoteVersionInformation() argument 58 virtual void OnReadRemoteSupportedFeatures(hci::Address remote, uint64_t features) {} in OnReadRemoteSupportedFeatures() argument 64 hci::Address remote, uint8_t page_number, uint8_t max_page_number, uint64_t features) {} in OnReadRemoteExtendedFeatures() argument 69 virtual void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role) {} in OnRoleChange() argument 74 virtual void OnReadClockOffset(hci::Address remote, uint16_t clock_offset) {} in OnReadClockOffset() argument 79 …virtual void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t… in OnModeChange() argument 86 hci::Address remote, in OnSniffSubrating() argument
|
D | link_security_interface.h | 39 virtual void InitiateConnectionForSecurity(hci::Address remote) = 0; 105 virtual void OnLinkDisconnected(hci::Address remote) {} in OnLinkDisconnected() argument 110 virtual void OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address remote) {} in OnAuthenticationComplete() argument 116 virtual void OnEncryptionChange(hci::Address remote, bool encrypted) {} in OnEncryptionChange() argument
|
D | facade.cc | 81 ASSERT(hci::Address::FromString(request->remote().address(), peer)); in OpenChannel() 145 …hci::ErrorCode hci_status, hci::Address remote, LinkSecurityInterfaceCallbackEventType event_type)… in SecurityConnectionEventOccurred() argument 147 msg.mutable_address()->set_address(remote.ToString()); in SecurityConnectionEventOccurred() 223 auto remote = link->GetRemoteAddress(); in OnLinkConnected() local 224 if (outgoing_pairing_remote_devices_.count(remote) == 1) { in OnLinkConnected() 227 outgoing_pairing_remote_devices_.erase(remote); in OnLinkConnected() 229 security_link_map_.emplace(remote, std::move(link)); in OnLinkConnected() 231 hci::ErrorCode::SUCCESS, remote, LinkSecurityInterfaceCallbackEventType::ON_CONNECTED); in OnLinkConnected() 234 void OnLinkDisconnected(hci::Address remote) override { in OnLinkDisconnected() argument 235 auto entry = security_link_map_.find(remote); in OnLinkDisconnected() [all …]
|
D | security_enforcement_interface.h | 40 …virtual void Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_cal… 49 …void Enforce(hci::AddressWithType remote, SecurityPolicy policy, ResultCallback result_callback) o… in Enforce() argument
|
D | facade.proto | 52 facade.BluetoothAddress remote = 1; field 56 facade.BluetoothAddress remote = 1; field 67 facade.BluetoothAddress remote = 1; field 111 facade.BluetoothAddress remote = 1; field
|
/system/bt/gd/l2cap/le/ |
D | link_property_listener.h | 38 virtual void OnLinkConnected(hci::AddressWithType remote, uint16_t handle, hci::Role my_role) {} in OnLinkConnected() argument 43 virtual void OnLinkDisconnected(hci::AddressWithType remote) {} in OnLinkDisconnected() argument 50 hci::AddressWithType remote, in OnReadRemoteVersionInformation() argument 59 hci::AddressWithType remote, in OnConnectionUpdate() argument 67 virtual void OnPhyUpdate(hci::AddressWithType remote, uint8_t tx_phy, uint8_t rx_phy) {} in OnPhyUpdate() argument 73 …hci::AddressWithType remote, uint16_t tx_octets, uint16_t tx_time, uint16_t rx_octets, uint16_t rx… in OnDataLengthChange() argument
|
D | facade.proto | 34 facade.BluetoothAddressWithType remote = 1; field 43 facade.BluetoothAddressWithType remote = 1; field 62 facade.BluetoothAddressWithType remote = 1; field 73 facade.BluetoothAddressWithType remote = 1; field
|
/system/bt/gd/l2cap/classic/internal/ |
D | link_manager.cc | 105 void LinkManager::InitiateConnectionForSecurity(hci::Address remote) { in InitiateConnectionForSecurity() argument 106 auto* link = GetLink(remote); in InitiateConnectionForSecurity() 108 LOG_ERROR("Link already exists for %s", remote.ToString().c_str()); in InitiateConnectionForSecurity() 110 acl_manager_->CreateConnection(remote); in InitiateConnectionForSecurity() 127 void LinkManager::OnPendingPacketChange(hci::Address remote, int num_packets) { in OnPendingPacketChange() argument 128 if (disconnected_links_.count(remote) != 0 && num_packets == 0) { in OnPendingPacketChange() 129 links_.erase(remote); in OnPendingPacketChange() 130 links_with_pending_packets_.erase(remote); in OnPendingPacketChange() 132 links_with_pending_packets_.emplace(remote); in OnPendingPacketChange() 134 links_with_pending_packets_.erase(remote); in OnPendingPacketChange() [all …]
|
D | link_manager.h | 85 void OnRoleChange(hci::ErrorCode hci_status, hci::Address remote, hci::Role role); 86 void OnReadClockOffset(hci::Address remote, uint16_t clock_offset); 87 …void OnModeChange(hci::ErrorCode hci_status, hci::Address remote, hci::Mode mode, uint16_t interva… 90 hci::Address remote, 106 void InitiateConnectionForSecurity(hci::Address remote); 119 void OnPendingPacketChange(hci::Address remote, int num_packets); 125 void handle_link_security_hold(hci::Address remote); 126 void handle_link_security_release(hci::Address remote); 127 void handle_link_security_disconnect(hci::Address remote); 128 void handle_link_security_ensure_authenticated(hci::Address remote); [all …]
|
/system/unwinding/libunwindstack/tests/ |
D | MemoryRemoteTest.cpp | 54 MemoryRemote remote(pid); in TEST() local 57 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), 1024)); in TEST() 83 MemoryRemote remote(pid); in TEST() local 86 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src.data()), dst.data(), src.size())); in TEST() 116 MemoryRemote remote(pid); in TEST() local 120 remote.Read(reinterpret_cast<uint64_t>(mapping + getpagesize() - 1024), dst.data(), 4096); in TEST() 129 remote.Read(reinterpret_cast<uint64_t>(mapping + 3 * getpagesize() - 1024), dst.data(), 4096); in TEST() 157 MemoryRemote remote(pid); in TEST() local 160 ASSERT_TRUE(remote.ReadFully(reinterpret_cast<uint64_t>(src), dst.data(), pagesize)); in TEST() 165 ASSERT_FALSE(remote.ReadFully(reinterpret_cast<uint64_t>(src) + pagesize, dst.data(), 1)); in TEST() [all …]
|
D | MemoryMteTest.cpp | 73 MemoryRemote remote(pid); in TEST() local 75 EXPECT_EQ(1, remote.ReadTag(mapping)); in TEST() 76 EXPECT_EQ(0, remote.ReadTag(mapping + 16)); in TEST()
|
/system/bt/main/shim/ |
D | l2c_api.cc | 44 extern void gatt_notify_conn_update(const RawAddress& remote, uint16_t interval, 335 void Enforce(bluetooth::hci::AddressWithType remote, in Enforce() argument 356 auto bd_addr = bluetooth::ToRawAddress(remote.GetAddress()); in Enforce() 390 void OnLinkConnected(hci::Address remote, uint16_t handle) override { in OnLinkConnected() 391 address_to_handle_[remote] = handle; in OnLinkConnected() 394 void OnLinkDisconnected(hci::Address remote) override { in OnLinkDisconnected() 395 address_to_handle_.erase(remote); in OnLinkDisconnected() 399 hci::Address remote, uint8_t lmp_version, in OnReadRemoteVersionInformation() 402 auto bda = bluetooth::ToRawAddress(remote); in OnReadRemoteVersionInformation() 410 void OnReadRemoteExtendedFeatures(hci::Address remote, uint8_t page_number, in OnReadRemoteExtendedFeatures() [all …]
|
/system/bt/gd/security/record/ |
D | security_record_storage_test.cc | 61 hci::AddressWithType remote( in TEST_F() local 65 std::shared_ptr<record::SecurityRecord> record = std::make_shared<record::SecurityRecord>(remote); in TEST_F() 72 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 122 hci::AddressWithType remote( in TEST_F() local 126 std::shared_ptr<record::SecurityRecord> record = std::make_shared<record::SecurityRecord>(remote); in TEST_F() 133 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 155 hci::AddressWithType remote( in TEST_F() local 159 std::shared_ptr<record::SecurityRecord> record = std::make_shared<record::SecurityRecord>(remote); in TEST_F() 167 auto device = storage_module_->GetDeviceByClassicMacAddress(remote.GetAddress()); in TEST_F() 176 hci::AddressWithType remote( in TEST_F() local [all …]
|
/system/libhwbinder/include/hwbinder/ |
D | IInterface.h | 48 explicit BpInterface(const sp<IBinder>& remote); 59 inline BpInterface<INTERFACE>::BpInterface(const sp<IBinder>& remote) in BpInterface() argument 60 : BpHwRefBase(remote) in BpInterface() 67 return remote(); in onAsBinder()
|
/system/bt/gd/security/channel/ |
D | security_manager_channel.cc | 96 auto remote = link->GetRemoteAddress(); in OnLinkConnected() local 97 if (outgoing_pairing_remote_devices_.count(remote) == 1) { in OnLinkConnected() 100 outgoing_pairing_remote_devices_.erase(remote); in OnLinkConnected() 102 link_map_.emplace(remote, std::move(link)); in OnLinkConnected() 117 … SecurityManagerChannel::OnAuthenticationComplete(hci::ErrorCode hci_status, hci::Address remote) { in OnAuthenticationComplete() argument 119 auto entry = link_map_.find(remote); in OnAuthenticationComplete() 126 void SecurityManagerChannel::OnEncryptionChange(hci::Address remote, bool encrypted) { in OnEncryptionChange() argument
|
/system/bt/gd/security/ |
D | l2cap_security_module_interface.cc | 27 hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, in Enforce() argument 31 … std::forward<hci::AddressWithType>(remote), std::forward<l2cap::classic::SecurityPolicy>(policy), in Enforce() 35 void L2capSecurityModuleInterface::Enforce(hci::AddressWithType remote, l2cap::le::SecurityPolicy p… in Enforce() argument 39 std::forward<hci::AddressWithType>(remote), std::forward<l2cap::le::SecurityPolicy>(policy), in Enforce()
|
D | l2cap_security_module_interface.h | 29 void Enforce(hci::AddressWithType remote, l2cap::classic::SecurityPolicy policy, 31 void Enforce(hci::AddressWithType remote, l2cap::le::SecurityPolicy policy,
|
/system/bt/service/doc/ |
D | IBluetoothGattClient.txt | 45 * database of remote device with address |device_address|. Returns false in 52 * Returns the GATT services, characteristics, and descriptors on the remote 62 * Initiate a read request for the remote characteristic with identifier 65 * request cannot be started, e.g. if a read is already pending on this remote 77 * Initiate a write request for the remote characteristic with identifier 100 * Initiate a read request for the remote descriptor with identifier 103 * request cannot be started, e.g. if a read is already pending on this remote 115 * Initiate a write request for the remote descriptor with identifier 138 * Enables handle-value notifications from the remote characteristic with ID 147 * Disables handle-value notifications from the remote characteristic with ID [all …]
|
D | IBluetoothGattClientCallback.txt | 33 * Called for each GATT service that was discovered on the remote device. The 41 * Called for each include definition that was discovered on the remote 47 * Called for each characteristic that was discovered on the remote device. 56 * Called for each descriptor that was discovered on the remote device. The 63 * Called to mark the end of GATT service discovery on the remote device with 74 * characteristic value that was read from the remote device. This argument 91 * |device_address| refers to the remote device that the endReliableWrite 102 * descriptor value that was read from the remote device. This argument
|
D | IBluetoothGattServerCallback.txt | 40 * Called when there is an incoming read request from the remote device with 43 * the remote device wants to read from. If |is_long| is true, then this 58 * Called when there is an incoming read request from the remote device with 61 * the remote device wants to read from. If |is_long| is true, then this 76 * Called when there is an incoming write request from the remote device with 81 * remote device wants to write to, so the value should be written starting at 96 * Called when there is an incoming write request from the remote device with 101 * remote device wants to write to, so the value should be written starting at 129 * be called when the remote device sends a confirmation packet. Otherwise
|
/system/bt/gd/l2cap/le/internal/ |
D | link_manager.cc | 203 void LinkManager::OnPendingPacketChange(hci::AddressWithType remote, int num_packets) { in OnPendingPacketChange() argument 204 if (disconnected_links_.count(remote) != 0 && num_packets == 0) { in OnPendingPacketChange() 205 links_.erase(remote); in OnPendingPacketChange() 206 links_with_pending_packets_.erase(remote); in OnPendingPacketChange() 208 links_with_pending_packets_.emplace(remote); in OnPendingPacketChange() 210 links_with_pending_packets_.erase(remote); in OnPendingPacketChange()
|
/system/bt/gd/security/internal/ |
D | security_manager_impl.cc | 435 auto remote = hci::AddressWithType(address, hci::AddressType::PUBLIC_DEVICE_ADDRESS); in OnPairingHandlerComplete() local 437 NotifyDeviceBonded(remote); in OnPairingHandlerComplete() 439 NotifyDeviceBondFailed(remote, std::get<PairingFailure>(status)); in OnPairingHandlerComplete() 441 auto record = this->security_database_.FindOrCreate(remote); in OnPairingHandlerComplete() 445 auto policy_callback_entry = enforce_security_policy_callback_map_.find(remote); in OnPairingHandlerComplete() 447 UpdateLinkSecurityCondition(remote); in OnPairingHandlerComplete() 790 hci::AddressWithType remote, in InternalEnforceSecurityPolicy() argument 793 if (IsSecurityRequirementSatisfied(remote, policy)) { in InternalEnforceSecurityPolicy() 800 auto record = this->security_database_.FindOrCreate(remote); in InternalEnforceSecurityPolicy() 802 enforce_security_policy_callback_map_[remote] = {policy, std::move(result_callback)}; in InternalEnforceSecurityPolicy() [all …]
|
/system/bt/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 286 remote.clone(), in dbus_propmap() 316 remote.clone(), in dbus_propmap() 354 remote: BusName<'static>, in dbus_propmap() 446 let remote = self.remote.clone(); in dbus_proxy_obj() localVariable 451 remote, in dbus_proxy_obj() 477 remote: BusName<'static>, in dbus_proxy_obj() 488 … self.disconnect_watcher.lock().unwrap().add(self.remote.clone(), disconnect_callback); in dbus_proxy_obj() 498 remote: BusName<'static>, in dbus_proxy_obj() 501 Ok(Box::new(#struct_ident { conn, remote, objpath, disconnect_watcher })) in dbus_proxy_obj() 560 remote: BusName<'static>, in generate_dbus_arg() [all …]
|
/system/bt/gd/hci/ |
D | acl_manager_test.cc | 327 Address::FromString("A1:A2:A3:A4:A5:A6", remote); in SetUp() 361 Address remote; member in bluetooth::hci::acl_manager::__anona7edb2590111::AclManagerNoCallbacksTest 451 acl_manager_->CreateConnection(remote); in SetUp() 463 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle_, remote, LinkType::ACL, Enable::DISA… in SetUp() 539 ConnectionRequestBuilder::Create(remote, class_of_device, ConnectionRequestLinkType::ACL)); in TEST_F() 553 acl_manager_->CreateConnection(remote); in TEST_F() 564 …ConnectionCompleteBuilder::Create(ErrorCode::SUCCESS, handle, remote, LinkType::ACL, Enable::DISAB… in TEST_F() 570 ASSERT_EQ(connection->GetAddress(), remote); in TEST_F() 577 acl_manager_->CreateConnection(remote); in TEST_F() 585 EXPECT_CALL(mock_connection_callback_, OnConnectFail(remote, ErrorCode::PAGE_TIMEOUT)); in TEST_F() [all …]
|
/system/bt/gd/security/test/ |
D | fake_security_interface.h | 58 void InitiateConnectionForSecurity(hci::Address remote) override { in InitiateConnectionForSecurity() argument 59 listener_->OnLinkConnected(std::make_unique<FakeLinkSecurityInterface>(listener_, remote)); in InitiateConnectionForSecurity()
|