Searched refs:PairingAuthUniquePtr (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/pairing_auth/tests/ |
D | pairing_auth_test.cpp | 37 using PairingAuthUniquePtr = std::unique_ptr<PairingAuthCtx, decltype(&PairingAuthDeleter)>; typedef in adb::pairing::AdbPairingAuthTest 39 PairingAuthUniquePtr makeClient(std::vector<uint8_t> pswd) { in makeClient() 40 return PairingAuthUniquePtr(pairing_auth_client_new(pswd.data(), pswd.size()), in makeClient() 44 PairingAuthUniquePtr makeServer(std::vector<uint8_t> pswd) { in makeServer() 45 return PairingAuthUniquePtr(pairing_auth_server_new(pswd.data(), pswd.size()), in makeServer() 52 PairingAuthUniquePtr client(nullptr, PairingAuthDeleter); in TEST_F() 55 client = PairingAuthUniquePtr(pairing_auth_client_new(nullptr, 0), in TEST_F() 61 client = PairingAuthUniquePtr(pairing_auth_client_new(nullptr, 2), in TEST_F() 68 client = PairingAuthUniquePtr(pairing_auth_client_new(&p, 0), PairingAuthDeleter); in TEST_F()
|