Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libpdx/
Dclient.cpp125 Transaction::Transaction(Client& client) : client_{client} {} in Transaction()
128 if (state_allocated_ && client_.GetChannel()) in ~Transaction()
129 client_.GetChannel()->FreeTransactionState(state_); in ~Transaction()
133 if (!state_allocated_ && client_.GetChannel()) { in EnsureStateAllocated()
134 state_ = client_.GetChannel()->AllocateTransactionState(); in EnsureStateAllocated()
144 *ret = client_.CheckReconnect(); in SendTransaction()
153 auto status = client_.GetChannel()->SendWithInt( in SendTransaction()
168 auto status = client_.CheckReconnect(); in SendTransaction()
179 *ret = client_.GetChannel()->SendWithInt( in SendTransaction()
189 auto status = client_.CheckReconnect(); in SendTransaction()
[all …]
Dclient_tests.cpp93 : client_{SimpleClient::Create( in ClientChannelTest()
97 return static_cast<MockClientChannel*>(client_->GetChannel()); in mock_channel()
100 std::unique_ptr<SimpleClient> client_; member in __anon65037a690111::ClientChannelTest
110 client_ = SimpleClient::Create(std::move(factory), kTimeout); in ClientChannelFactoryTest()
114 return static_cast<MockClientChannel*>(client_->GetChannel()); in mock_channel()
134 std::unique_ptr<SimpleClient> client_; member in __anon65037a690111::ClientChannelFactoryTest
143 ClientTransactionTest() : transaction_{*client_} {} in ClientTransactionTest()
151 ASSERT_NE(client_.get(), nullptr); in TEST_F()
152 EXPECT_TRUE(client_->IsInitialized()); in TEST_F()
153 EXPECT_TRUE(client_->IsConnected()); in TEST_F()
[all …]
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp18 const int ret = dvrDisplayManagerCreate(&client_); in SetUp()
20 ASSERT_NE(nullptr, client_); in SetUp()
24 dvrDisplayManagerDestroy(client_); in TearDown()
25 client_ = nullptr; in TearDown()
28 DvrDisplayManager* client_ = nullptr; member in android::dvr::__anonff833ad00111::DvrNamedBufferTest
35 dvrDisplayManagerSetupNamedBuffer(client_, buffer_name, 10, 0, &buffer1); in TEST_F()
41 dvrDisplayManagerSetupNamedBuffer(client_, buffer_name, 10, 0, &buffer2); in TEST_F()
102 int ret1 = dvrDisplayManagerSetupNamedBuffer(client_, buffer_name1, 10, 0, in TEST_F()
109 int ret2 = dvrDisplayManagerSetupNamedBuffer(client_, buffer_name2, 10, 0, in TEST_F()
139 int e1 = dvrDisplayManagerSetupNamedBuffer(client_, buffer_name, 10, usage, in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_tests.cpp115 client_ = TestClient::Create(status.take()); in SetUp()
120 client_.reset(); in TearDown()
125 std::shared_ptr<TestClient> client_; member in __anonff9ab74c0111::ClientChannelTest
154 threads.emplace_back(worker, client_, data); in TEST_F()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp237 client_ = nullptr; in removeClient()
241 if (enable && client_ != nullptr) { in enableCallback()
250 client_.promote()->onHotplug(kDefaultDisplayId, in enableCallback()
821 if (client_ == nullptr) { in createClient()
829 client_ = client; in createClient()
Dvr_hwc.h297 wp<VrComposerClient> client_; variable
/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h293 Client& client_; variable