/system/core/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 149 PeerInfo peer_info_; member 156 memcpy(&(p->peer_info_), peer_info, sizeof(PeerInfo)); in ResultCallback() 351 ASSERT_EQ(strlen(reinterpret_cast<const char*>(client_waiter.peer_info_.data)), in TEST_F() 353 EXPECT_EQ(memcmp(client_waiter.peer_info_.data, server_info_.data, sizeof(server_info_.data)), in TEST_F() 364 ASSERT_EQ(strlen(reinterpret_cast<const char*>(server_waiter.peer_info_.data)), in TEST_F() 367 memcmp(server_waiter.peer_info_.data, client_info_.data, sizeof(client_info_.data)), in TEST_F() 474 ASSERT_EQ(strlen(reinterpret_cast<const char*>(client_waiter.peer_info_.data)), in TEST_F() 476 EXPECT_EQ(memcmp(client_waiter.peer_info_.data, server_info_.data, in TEST_F() 493 ASSERT_EQ(strlen(reinterpret_cast<const char*>(server_waiter.peer_info_.data)), in TEST_F() 495 EXPECT_EQ(memcmp(server_waiter.peer_info_.data, client_info_.data, sizeof(client_info_.data)), in TEST_F()
|
D | pairing_client.cpp | 78 PeerInfo peer_info_; member in adb::pairing::__anonffd5a0040111::PairingClientImpl 102 peer_info_(peer_info), in PairingClientImpl() 173 connection_ = CreatePairingConnection(pswd_, peer_info_, cert_, priv_key_); in StartConnection()
|
/system/core/adb/client/ |
D | adb_wifi.cpp | 42 PeerInfo peer_info_; member 50 memcpy(&(p->peer_info_), peer_info, sizeof(PeerInfo)); in OnResult() 241 if (waiter.peer_info_.type != ADB_DEVICE_GUID) { in adb_wifi_pair_device() 243 response += waiter.peer_info_.type; in adb_wifi_pair_device() 247 std::string device_guid = reinterpret_cast<const char*>(waiter.peer_info_.data); in adb_wifi_pair_device()
|
/system/core/adb/client/pairing/ |
D | pairing_client.cpp | 76 PeerInfo peer_info_; member in adbwifi::pairing::__anon35b3e0a10111::PairingClientImpl 89 : pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key) { in PairingClientImpl() 140 pairing_connection_client_new(pswd_.data(), pswd_.size(), &peer_info_, cert_.data(), in StartConnection()
|
/system/core/adb/pairing_connection/ |
D | pairing_connection.cpp | 137 PeerInfo peer_info_; member 155 : role_(role), pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key) { in PairingConnectionCtx() 335 uint8_t* p = reinterpret_cast<uint8_t*>(&peer_info_); in DoExchangePeerInfo() 336 buf.assign(p, p + sizeof(peer_info_)); in DoExchangePeerInfo()
|
D | pairing_server.cpp | 126 PeerInfo peer_info_; member 155 : pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key), port_(port) { in PairingServerCtx() 413 auto connection = CreatePairingConnection(pswd_, peer_info_, cert_, priv_key_); in HandleNewClientConnection()
|
/system/core/adb/client/pairing/tests/ |
D | pairing_server.cpp | 116 PeerInfo peer_info_; member in adbwifi::pairing::__anon7a073c1b0111::PairingServerImpl 135 : pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key), port_(port) { in PairingServerImpl() 382 auto connection = PairingConnection::create(PairingConnection::Role::Server, pswd_, peer_info_, in handleNewClientConnection()
|