/system/bt/device/src/classic/ |
H A D | peer.c | 21 #include "device/include/classic/peer.h" 89 classic_peer_t *peer = hash_map_get(peers_by_address, address); local 91 if (!peer) { 95 peer = hash_map_get(peers_by_address, address); 96 if (peer) 99 // Splice in a new peer struct on behalf of the caller. 100 peer = osi_calloc(sizeof(classic_peer_t)); 101 peer->address = *address; 102 hash_map_set(peers_by_address, &peer->address, peer); 111 classic_peer_get_address(classic_peer_t *peer) argument [all...] |
/system/bt/device/test/classic/ |
H A D | peer_test.cpp | 26 #include "device/include/classic/peer.h" 52 classic_peer_t *peer = classic_peer_by_address(&test_address); local 54 EXPECT_TRUE(peer != NULL); 56 EXPECT_NE(&test_address, classic_peer_get_address(peer)); 57 EXPECT_TRUE(bdaddr_equals(&test_address, classic_peer_get_address(peer))); 64 classic_peer_t *peer = classic_peer_by_address(&test_address); local 67 EXPECT_TRUE(peer != NULL); 69 EXPECT_EQ(peer, peer_again);
|
/system/core/adb/ |
H A D | socket.h | 42 /* flag: set when the socket's peer has closed 59 asocket *peer; member in struct:asocket 73 /* enqueue is called by our peer when it has data 76 ** peer->ready() when we once again are ready to 81 /* ready is called by the peer when it is ready for 86 /* shutdown is called by the peer before it goes away. 87 ** the socket should not do any further calls on its peer. 92 /* close is called by the peer when it has gone away. 94 ** peer once our close method is called.
|
H A D | jdwp_service.cpp | 571 asocket* peer = s->peer; local 575 if (peer) { 576 peer->peer = NULL; 577 peer->close(peer); 587 s->peer->close(s->peer); 596 asocket* peer local 656 asocket* peer = t->socket.peer; local 667 asocket* peer = s->peer; local [all...] |
H A D | transport.cpp | 351 asocket* peer = socket->peer; local 354 if (peer) { 355 peer->peer = NULL; 356 peer->close(peer); 373 asocket* peer = tracker->socket.peer; local 378 return peer [all...] |
/system/bt/btif/include/ |
H A D | btif_pan_internal.h | 70 BD_ADDR peer; member in struct:__anon625
|
/system/connectivity/shill/net/ |
H A D | rtnl_handler.cc | 354 const IPAddress& peer) { 356 CHECK(local.family() == peer.family()); 376 if (!peer.IsDefault()) { 377 msg.SetAttribute(IFA_ADDRESS, peer.address()); 386 const IPAddress& peer) { 392 peer); 349 AddressRequest(int interface_index, RTNLMessage::Mode mode, int flags, const IPAddress& local, const IPAddress& broadcast, const IPAddress& peer) argument 383 AddInterfaceAddress(int interface_index, const IPAddress& local, const IPAddress& broadcast, const IPAddress& peer) argument
|
/system/connectivity/shill/ |
H A D | connection.cc | 220 IPAddress peer(properties.address_family); 222 !peer.SetAddressFromString(properties.peer_address)) { 228 if (!FixGatewayReachability(local, &peer, &gateway, trusted_ip)) { 243 << " peer=" << peer.ToString() 245 rtnl_handler_->AddInterfaceAddress(interface_index_, local, broadcast, peer); 299 has_broadcast_domain_ = !peer.IsValid(); 450 IPAddress* peer, 455 << ", peer " << peer 449 FixGatewayReachability(const IPAddress& local, IPAddress* peer, IPAddress* gateway, const IPAddress& trusted_ip) argument [all...] |
H A D | device_info.cc | 753 const IPAddress& peer, 756 if (!info || !peer.IsValid()) { 760 if (peer.family() != IPAddress::kFamilyIPv4) { 781 CHECK_EQ(sizeof(protocol_address->sin_addr.s_addr), peer.GetLength()); 782 memcpy(&protocol_address->sin_addr.s_addr, peer.address().GetConstData(), 752 GetMACAddressOfPeer(int interface_index, const IPAddress& peer, ByteString* mac_address) const argument
|
/system/connectivity/shill/dbus/ |
H A D | chromeos_device_dbus_adaptor.cc | 258 const string& peer, 263 *out_state = device_->PerformTDLSOperation(operation, peer, &e); 256 PerformTDLSOperation(brillo::ErrorPtr* error, const string& operation, const string& peer, string* out_state) argument
|
H A D | chromeos_supplicant_interface_proxy.cc | 344 bool ChromeosSupplicantInterfaceProxy::TDLSDiscover(const string& peer) { argument 345 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; local 347 if (!interface_proxy_->TDLSDiscover(peer, &error)) { 355 bool ChromeosSupplicantInterfaceProxy::TDLSSetup(const string& peer) { argument 356 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; local 358 if (!interface_proxy_->TDLSSetup(peer, &error)) { 366 bool ChromeosSupplicantInterfaceProxy::TDLSStatus(const string& peer, argument 368 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; local 370 if (!interface_proxy_->TDLSStatus(peer, status, &error)) { 378 bool ChromeosSupplicantInterfaceProxy::TDLSTeardown(const string& peer) { argument 379 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << peer; local [all...] |
/system/connectivity/shill/wifi/ |
H A D | wifi.cc | 2890 const string& peer, 2893 << " for peer " << peer; local 2900 if (!ResolvePeerMacAddress(peer, &peer_mac_address, error)) { 2889 PerformTDLSOperation(const string& operation, const string& peer, Error* error) argument
|
H A D | wifi_unittest.cc | 1263 const string& operation, const string& peer, Error* error) { 1264 return wifi_->PerformTDLSOperation(operation, peer, error); 4328 const char kPeer[] = "peer"; 1262 PerformTDLSOperation( const string& operation, const string& peer, Error* error) argument
|