Home
last modified time | relevance | path

Searched refs:role_ (Results 1 – 3 of 3) sorted by relevance

/packages/modules/adb/tls/
Dtls_connection.cpp64 const char* RoleToString() { return role_ == Role::Server ? kServerRoleStr : kClientRoleStr; } in RoleToString()
66 Role role_; member in adb::tls::__anon7409db670111::TlsConnectionImpl
85 : role_(role), fd_(fd) { in TlsConnectionImpl()
173 CHECK(role_ == Role::Server); in SetClientCAList()
271 switch (role_) { in DoHandshake()
287 if (client_verify_post_handshake_ && role_ == Role::Client) { in DoHandshake()
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp135 Role role_; member
155 : role_(role), pswd_(pswd), peer_info_(peer_info), cert_(cert), priv_key_(priv_key) { in PairingConnectionCtx()
169 role_ == Role::Server ? tls::TlsConnection::Role::Server in SetupTlsConnection()
199 auth_ = CreatePairingAuthPtr(role_, pswd_); in SetupTlsConnection()
/packages/modules/adb/pairing_auth/
Dpairing_auth.cpp83 Role role_; member
88 PairingAuthCtx::PairingAuthCtx(Role role, const Data& pswd) : role_(role) { in PairingAuthCtx()
98 switch (role_) { in PairingAuthCtx()