Lines Matching refs:RoleToString
64 const char* RoleToString() { return role_ == Role::Server ? kServerRoleStr : kClientRoleStr; } in RoleToString() function in adb::tls::__anon3e3a4f4c0110::TlsConnectionImpl
87 LOG(INFO) << RoleToString() << "Initializing adbwifi TlsConnection"; in TlsConnectionImpl()
157 LOG(ERROR) << RoleToString() << "Failed to create a X509 buffer for the certificate."; in AddTrustedCertificate()
213 LOG(INFO) << RoleToString() << "Starting adbwifi tls handshake"; in DoHandshake()
221 LOG(ERROR) << RoleToString() << "Failed to create SSL context"; in DoHandshake()
228 LOG(ERROR) << RoleToString() << "Unable to add certificates into the X509_STORE"; in DoHandshake()
255 LOG(ERROR) << RoleToString() in DoHandshake()
267 LOG(ERROR) << RoleToString() << "SSL_set_fd failed. [" << SSLErrorString() << "]"; in DoHandshake()
280 LOG(ERROR) << RoleToString() << "Handshake failed in SSL_accept/SSL_connect [" in DoHandshake()
292 LOG(ERROR) << RoleToString() << "Post-handshake SSL_peek failed [" << SSLErrorString() in DoHandshake()
300 LOG(INFO) << RoleToString() << "Handshake succeeded."; in DoHandshake()
321 LOG(ERROR) << RoleToString() << "Tried to read on a null SSL connection"; in ReadFully()
331 LOG(ERROR) << RoleToString() << "SSL_read failed [" << SSLErrorString() << "]"; in ReadFully()
343 LOG(ERROR) << RoleToString() << "Tried to read on a null SSL connection"; in WriteFully()
351 LOG(ERROR) << RoleToString() << "SSL_write failed [" << SSLErrorString() << "]"; in WriteFully()