Searched refs:server_info_ (Results 1 – 2 of 2) sorted by relevance
/packages/modules/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 89 server_ = PairingServer::create(server_pswd, server_info_, cert, key, kDefaultPairingPort); in initPairing() 109 return PairingServer::create(pswd, server_info_, cert, key, kDefaultPairingPort); in createServer() 126 const PeerInfo server_info_ = { member in adbwifi::pairing::AdbWifiPairingConnectionTest 142 server = PairingServer::create({}, server_info_, {0x01}, {0x01}, -1); in TEST_F() 148 server = PairingServer::create({0x01}, server_info_, {}, {0x01}, -1); in TEST_F() 151 server = PairingServer::create({0x01}, server_info_, {0x01}, {}, -1); in TEST_F() 154 server = PairingServer::create({0x01}, server_info_, {0x01}, {0x01}, -1); in TEST_F() 157 server = PairingServer::create({0x01}, server_info_, {0x01}, {0x01}, 7776); in TEST_F() 227 ASSERT_EQ(strlen(peer_info->name), strlen(server_info_.name)); in TEST_F() 228 EXPECT_EQ(::memcmp(peer_info->name, server_info_.name, strlen(server_info_.name)), 0); in TEST_F() [all …]
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 177 return CreateServer(pswd, &server_info_, kTestRsa2048ServerCert, kTestRsa2048ServerPrivKey, in CreateServer() 204 const PeerInfo server_info_ = { member in adb::pairing::AdbPairingConnectionTest 222 auto server = CreateServer({}, &server_info_, kTestRsa2048ServerCert, in TEST_F() 236 auto server = CreateServer({0x01}, &server_info_, "", kTestRsa2048ServerPrivKey, 0); in TEST_F() 241 { auto server = CreateServer({0x01}, &server_info_, kTestRsa2048ServerCert, "", 0); }, in TEST_F() 244 auto server = CreateServer({0x01}, &server_info_, kTestRsa2048ServerCert, in TEST_F() 352 strlen(reinterpret_cast<const char*>(server_info_.data))); in TEST_F() 353 EXPECT_EQ(memcmp(client_waiter.peer_info_.data, server_info_.data, sizeof(server_info_.data)), in TEST_F() 475 strlen(reinterpret_cast<const char*>(server_info_.data))); in TEST_F() 476 EXPECT_EQ(memcmp(client_waiter.peer_info_.data, server_info_.data, in TEST_F() [all …]
|