/system/bt/device/src/classic/ |
D | peer.c | 89 classic_peer_t *peer = hash_map_get(peers_by_address, address); in classic_peer_by_address() local 91 if (!peer) { in classic_peer_by_address() 95 peer = hash_map_get(peers_by_address, address); in classic_peer_by_address() 96 if (peer) in classic_peer_by_address() 100 peer = osi_calloc(sizeof(classic_peer_t)); in classic_peer_by_address() 101 peer->address = *address; in classic_peer_by_address() 102 hash_map_set(peers_by_address, &peer->address, peer); in classic_peer_by_address() 108 return peer; in classic_peer_by_address() 111 const bt_bdaddr_t *classic_peer_get_address(classic_peer_t *peer) { in classic_peer_get_address() argument 112 assert(peer != NULL); in classic_peer_get_address() [all …]
|
/system/core/adb/ |
D | sockets.cpp | 69 if (peer_id == 0 || (s->peer && s->peer->id == peer_id)) { in find_local_socket() 118 if (s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets() 215 if (s->peer) { in local_socket_close() 216 D("LS(%d): closing peer. peer->id=%d peer->fd=%d", s->id, s->peer->id, s->peer->fd); in local_socket_close() 221 if (s->peer->shutdown) { in local_socket_close() 222 s->peer->shutdown(s->peer); in local_socket_close() 224 s->peer->peer = nullptr; in local_socket_close() 225 s->peer->close(s->peer); in local_socket_close() 226 s->peer = nullptr; in local_socket_close() 304 s->peer->ready(s->peer); in local_socket_event_func() [all …]
|
D | jdwp_service.cpp | 571 asocket* peer = s->peer; in jdwp_socket_close() local 575 if (peer) { in jdwp_socket_close() 576 peer->peer = NULL; in jdwp_socket_close() 577 peer->close(peer); in jdwp_socket_close() 587 s->peer->close(s->peer); in jdwp_socket_enqueue() 596 asocket* peer = jdwp->socket.peer; in jdwp_socket_ready() local 604 peer->enqueue(peer, p); in jdwp_socket_ready() 608 peer->close(peer); in jdwp_socket_ready() 656 asocket* peer = t->socket.peer; in jdwp_process_list_updated() local 659 peer->enqueue( peer, p ); in jdwp_process_list_updated() [all …]
|
D | adb.cpp | 377 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet() 378 s->peer->peer = s; in handle_packet() 379 send_ready(s->id, s->peer->id, t); in handle_packet() 388 if(s->peer == 0) { in handle_packet() 390 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet() 391 s->peer->peer = s; in handle_packet() 393 } else if (s->peer->id == p->msg.arg0) { in handle_packet() 398 p->msg.arg0, p->msg.arg1, s->peer->id, p->msg.arg1, t->serial); in handle_packet() 422 if (p->msg.arg0 == 0 && s->peer && s->peer->transport != t) { in handle_packet() 424 p->msg.arg1, t->serial, s->peer->transport->serial); in handle_packet()
|
D | transport.cpp | 351 asocket* peer = socket->peer; in device_tracker_close() local 354 if (peer) { in device_tracker_close() 355 peer->peer = NULL; in device_tracker_close() 356 peer->close(peer); in device_tracker_close() 373 asocket* peer = tracker->socket.peer; in device_tracker_send() local 378 return peer->enqueue(peer, p); in device_tracker_send()
|
D | socket_test.cpp | 64 tail->peer = head; in TEST_F() 65 head->peer = tail; in TEST_F() 129 cause_close_s->peer = s; in CloseWithPacketThreadFunc() 130 s->peer = cause_close_s; in CloseWithPacketThreadFunc()
|
D | socket.h | 59 asocket *peer; member
|
/system/bt/device/test/classic/ |
D | peer_test.cpp | 52 classic_peer_t *peer = classic_peer_by_address(&test_address); in TEST_F() local 54 EXPECT_TRUE(peer != NULL); in TEST_F() 56 EXPECT_NE(&test_address, classic_peer_get_address(peer)); in TEST_F() 57 EXPECT_TRUE(bdaddr_equals(&test_address, classic_peer_get_address(peer))); in TEST_F() 64 classic_peer_t *peer = classic_peer_by_address(&test_address); in TEST_F() local 67 EXPECT_TRUE(peer != NULL); in TEST_F() 69 EXPECT_EQ(peer, peer_again); in TEST_F()
|
/system/connectivity/shill/supplicant/ |
D | supplicant_interface_proxy_interface.h | 56 virtual bool TDLSDiscover(const std::string& peer) = 0; 57 virtual bool TDLSSetup(const std::string& peer) = 0; 58 virtual bool TDLSStatus(const std::string& peer, 60 virtual bool TDLSTeardown(const std::string& peer) = 0;
|
D | mock_supplicant_interface_proxy.h | 59 MOCK_METHOD1(TDLSDiscover, bool(const std::string& peer)); 60 MOCK_METHOD1(TDLSSetup, bool(const std::string& peer)); 61 MOCK_METHOD2(TDLSStatus, bool(const std::string& peer, std::string* status)); 62 MOCK_METHOD1(TDLSTeardown, bool(const std::string& peer));
|
/system/connectivity/shill/ |
D | connection.cc | 220 IPAddress peer(properties.address_family); in UpdateFromIPConfig() local 222 !peer.SetAddressFromString(properties.peer_address)) { in UpdateFromIPConfig() 228 if (!FixGatewayReachability(local, &peer, &gateway, trusted_ip)) { in UpdateFromIPConfig() 243 << " peer=" << peer.ToString() in UpdateFromIPConfig() 245 rtnl_handler_->AddInterfaceAddress(interface_index_, local, broadcast, peer); in UpdateFromIPConfig() 299 has_broadcast_domain_ = !peer.IsValid(); in UpdateFromIPConfig() 450 IPAddress* peer, in FixGatewayReachability() argument 455 << ", peer " << peer->ToString() in FixGatewayReachability() 463 if (peer->IsValid()) { in FixGatewayReachability() 464 if (!gateway->HasSameAddressAs(*peer)) { in FixGatewayReachability() [all …]
|
D | connection_unittest.cc | 841 IPAddress peer(IPAddress::kFamilyIPv4); in TEST_F() local 846 local, &peer, &gateway, trusted_ip)); in TEST_F() 848 EXPECT_FALSE(peer.IsValid()); in TEST_F() 855 peer = IPAddress(IPAddress::kFamilyIPv4); in TEST_F() 857 local, &peer, &gateway, trusted_ip)); in TEST_F() 861 EXPECT_FALSE(peer.IsValid()); in TEST_F() 869 peer = IPAddress(IPAddress::kFamilyIPv4); in TEST_F() 874 local, &peer, &gateway, trusted_ip)); in TEST_F() 877 EXPECT_FALSE(peer.IsValid()); in TEST_F() 886 local, &peer, &gateway, trusted_ip)); in TEST_F() [all …]
|
/system/connectivity/shill/dbus/ |
D | chromeos_supplicant_interface_proxy.cc | 344 bool ChromeosSupplicantInterfaceProxy::TDLSDiscover(const string& peer) { in TDLSDiscover() argument 345 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; in TDLSDiscover() 347 if (!interface_proxy_->TDLSDiscover(peer, &error)) { in TDLSDiscover() 355 bool ChromeosSupplicantInterfaceProxy::TDLSSetup(const string& peer) { in TDLSSetup() argument 356 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; in TDLSSetup() 358 if (!interface_proxy_->TDLSSetup(peer, &error)) { in TDLSSetup() 366 bool ChromeosSupplicantInterfaceProxy::TDLSStatus(const string& peer, in TDLSStatus() argument 368 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; in TDLSStatus() 370 if (!interface_proxy_->TDLSStatus(peer, status, &error)) { in TDLSStatus() 378 bool ChromeosSupplicantInterfaceProxy::TDLSTeardown(const string& peer) { in TDLSTeardown() argument [all …]
|
D | chromeos_supplicant_interface_proxy.h | 64 bool TDLSDiscover(const std::string& peer) override; 65 bool TDLSSetup(const std::string& peer) override; 66 bool TDLSStatus(const std::string& peer, std::string* status) override; 67 bool TDLSTeardown(const std::string& peer) override;
|
/system/connectivity/shill/net/ |
D | rtnl_handler.cc | 354 const IPAddress& peer) { in AddressRequest() argument 356 CHECK(local.family() == peer.family()); in AddressRequest() 376 if (!peer.IsDefault()) { in AddressRequest() 377 msg.SetAttribute(IFA_ADDRESS, peer.address()); in AddressRequest() 386 const IPAddress& peer) { in AddInterfaceAddress() argument 392 peer); in AddInterfaceAddress()
|
D | rtnl_handler.h | 93 const IPAddress& peer); 164 const IPAddress& peer);
|
D | mock_rtnl_handler.h | 44 const IPAddress& peer));
|
/system/bt/device/include/classic/ |
D | peer.h | 34 const bt_bdaddr_t *classic_peer_get_address(classic_peer_t *peer);
|
/system/sepolicy/ |
D | security_classes | 74 # network peer labels 75 class peer
|
/system/bt/btif/src/ |
D | btif_pan.c | 265 (const bt_bdaddr_t*)conn->peer, btpan_conn_local_role, btpan_remote_role); in btif_in_pan_generic_evt() 491 if (memcmp(btpan_cb.conns[i].peer, addr, sizeof(BD_ADDR)) == 0) in btpan_find_conn_addr() 559 memset(&conn->peer, 0, sizeof(conn->peer)); in btpan_cleanup_conn() 575 bdcpy(btpan_cb.conns[i].peer, addr); in btpan_new_conn() 591 memset(&p->peer, 0, 6); in btpan_close_handle() 612 || memcmp(btpan_cb.conns[i].peer, eth_hdr->h_dest, sizeof(BD_ADDR)) == 0)) { in forward_bnep() 703 … callback.connection_state_cb(BTPAN_STATE_DISCONNECTED, 0, (const bt_bdaddr_t*)conn->peer, in bta_pan_callback_transfer()
|
/system/bt/doc/ |
D | power_management.md | 113 peer `BD_ADDR`. 119 4. `bta_dm_pm_cback` calls `bta_dm_pm_set_mode` with the peer address and the 136 request to enable PARK for the given peer and connection. 137 - If the action chosen is `BTA_DM_PM_SNIFF`, the peer device's link policy 170 `bta_dm_pm_set_mode`, clears some status bits in the peer device 171 structure, and then calls back into `bta_dm_pm_set_mode` with the peer 173 - If the status is zero, and if the peer device `tBTA_DM_PEER_DEVICE` 180 previous low power mode in the peer device's `prev_low` field.
|
/system/connectivity/shill/test-scripts/ |
D | veth | 27 ip link add name "$iface" type veth peer name "$peer_iface"
|
/system/bt/device/ |
D | Android.mk | 35 src/classic/peer.c \
|
D | BUILD.gn | 19 "src/classic/peer.c",
|
/system/bt/btif/include/ |
D | btif_pan_internal.h | 70 BD_ADDR peer; member
|