Home
last modified time | relevance | path

Searched refs:client_ (Results 1 – 8 of 8) sorted by relevance

/system/core/adb/tls/tests/
Dtls_connection_test.cpp216 client_ = TlsConnection::Create(TlsConnection::Role::Client, kTestRsa2048ClientCert, in SetUp()
219 ASSERT_NE(nullptr, client_); in SetUp()
226 client_.reset(); in TearDown()
245 client_thread_ = std::thread([=]() { EXPECT_EQ(client_->DoHandshake(), expected); }); in StartClientHandshakeAsync()
258 std::unique_ptr<TlsConnection> client_; member in adb::tls::AdbWifiTlsConnectionTest
278 client_ = TlsConnection::Create(TlsConnection::Role::Client, "", in TEST_F()
284 client_ = TlsConnection::Create(TlsConnection::Role::Client, kTestRsa2048ClientCert, in TEST_F()
293 client_->SetCertVerifyCallback([](X509_STORE_CTX*) { return 1; }); in TEST_F()
302 EXPECT_TRUE(client_->WriteFully( in TEST_F()
306 ASSERT_TRUE(client_->ReadFully(buf.data(), msg_.size())); in TEST_F()
[all …]
/system/update_engine/
Dupdate_engine_client.cc74 client_ = update_engine::UpdateEngineClient::CreateInstance(); in OnInit()
76 if (!client_) { in OnInit()
111 unique_ptr<update_engine::UpdateEngineClient> client_; member in __anon0a9a434f0111::UpdateEngineClient
166 if (client_->GetStatus(&last_checked_time, in ShowStatus()
200 if (!client_->GetStatus(&last_checked_time, in GetNeedReboot()
219 : exit_on_error_(exit_on_error), client_(client) {} in UpdateWaitHandler()
231 update_engine::UpdateEngineClient* client_; member in __anon0a9a434f0111::UpdateWaitHandler
242 if (client_ && client_->GetLastAttemptError(&last_attempt_error)) in HandleStatusUpdate()
345 if (client_->ResetStatus()) { in ProcessFlags()
363 if (!client_->SetUpdateOverCellularPermission(allowed)) { in ProcessFlags()
[all …]
Dupdate_engine_client_android.cc60 explicit UECallback(UpdateEngineClientAndroid* client) : client_(client) {} in UECallback()
67 UpdateEngineClientAndroid* client_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid::UECallback
102 client_->ExitWhenIdle( in onPayloadApplicationComplete()
/system/bt/vendor_libs/test_vendor_lib/test/
Dpolled_socket_test.cc41 client_.SetServerName("localhost"); in SetUp()
42 client_.Initialize(kPort); in SetUp()
50 PolledSocketClient client_; member in test_vendor_lib::net::PolledSocketTest
63 client_.Send(tx_buf); in TEST_F()
65 client_.Send(tx_buf); in TEST_F()
/system/update_engine/client_library/
Dclient_binder.h97 : client_(client) {} in StatusUpdateCallback()
103 BinderUpdateEngineClient* client_;
Dclient_binder.cc162 for (auto& handler : client_->handlers_) { in HandleStatusUpdate()
/system/core/adb/pairing_connection/tests/
Dpairing_connection_test.cpp173 client_ = CreateClient(client_pswd); in InitPairing()
208 std::unique_ptr<PairingClient> client_; member in adb::pairing::AdbPairingConnectionTest
348 ASSERT_TRUE(client_->Start(ip_addr_, client_waiter.ResultCallback, &client_waiter)); in TEST_F()
387 ASSERT_TRUE(client_->Start(ip_addr_, client_waiter.ResultCallback, &client_waiter)); in TEST_F()
/system/core/adb/client/pairing/tests/
Dpairing_connection_test.cpp96 client_ = PairingClient::create(client_pswd, client_info_, cert, key, "127.0.0.1"); in initPairing()
130 std::unique_ptr<PairingClient> client_; member in adbwifi::pairing::AdbWifiPairingConnectionTest
238 ASSERT_TRUE(client_->start(client_callback, nullptr)); in TEST_F()
290 ASSERT_TRUE(client_->start(client_callback, nullptr)); in TEST_F()