Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_engine_client.cc81 client_ = update_engine::UpdateEngineClient::CreateInstance(); in OnInit()
83 if (!client_) { in OnInit()
118 unique_ptr<update_engine::UpdateEngineClient> client_; member in __anon012106440111::UpdateEngineClient
154 if (client_->GetStatus(&status)) { in ShowStatus()
178 if (!client_->GetStatus(&status)) { in GetNeedReboot()
193 : exit_on_error_(exit_on_error), client_(client) {} in UpdateWaitHandler()
201 update_engine::UpdateEngineClient* client_; member in __anon012106440111::UpdateWaitHandler
208 if (client_ && client_->GetLastAttemptError(&last_attempt_error)) in HandleStatusUpdate()
308 if (client_->ResetStatus()) { in ProcessFlags()
326 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/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/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/core/logd/
DLogReader.cpp50 : LogWriter(client->getUid(), privileged), reader_(reader), client_(client) {} in SocketLogWriter()
59 return client_->sendDatav(iovec, 1 + (entry.len != 0)) == 0; in Write()
63 reader_->release(client_); in Release()
64 client_->decRef(); in Release()
67 void Shutdown() override { shutdown(client_->getSocket(), SHUT_RDWR); } in Shutdown()
69 std::string name() const override { return SocketClientToName(client_); } in name()
73 SocketClient* client_; member in SocketLogWriter
/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()