Home
last modified time | relevance | path

Searched refs:SendImpulse (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dclient_tests.cpp69 using BASE::SendImpulse;
183 TEST_F(ClientChannelTest, SendImpulse) { in TEST_F() argument
184 EXPECT_CALL(*mock_channel(), SendImpulse(123, nullptr, 0)) in TEST_F()
186 EXPECT_TRUE(client_->SendImpulse(123)); in TEST_F()
188 EXPECT_CALL(*mock_channel(), SendImpulse(17, nullptr, 0)) in TEST_F()
190 auto status = client_->SendImpulse(17); in TEST_F()
195 EXPECT_CALL(*mock_channel(), SendImpulse(1, kTestPtr, 17)) in TEST_F()
197 EXPECT_TRUE(client_->SendImpulse(1, kTestPtr, 17)); in TEST_F()
351 ASSERT_FALSE(client_->SendImpulse(17)); in TEST_F()
356 EXPECT_CALL(*mock, SendImpulse(17, nullptr, 0)) in TEST_F()
[all …]
Dclient.cpp83 Status<void> Client::SendImpulse(int opcode) { in SendImpulse() function in android::pdx::Client
90 status = channel_->SendImpulse(opcode, nullptr, 0); in SendImpulse()
95 Status<void> Client::SendImpulse(int opcode, const void* buffer, in SendImpulse() function in android::pdx::Client
103 status = channel_->SendImpulse(opcode, buffer, length); in SendImpulse()
/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp132 auto status = SendImpulse(BufferHubRPC::ConsumerAcquire::Opcode); in AcquireAsync()
207 SendImpulse(BufferHubRPC::ConsumerRelease::Opcode)); in ReleaseAsync()
Dproducer_buffer.cpp156 return ReturnStatusOrError(SendImpulse(BufferHubRPC::ProducerPost::Opcode)); in PostAsync()
265 return ReturnStatusOrError(SendImpulse(BufferHubRPC::ProducerGain::Opcode)); in GainAsync()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h73 Status<void> SendImpulse(int opcode);
74 Status<void> SendImpulse(int opcode, const void* buffer, size_t length);
Dmock_client_channel.h20 MOCK_METHOD3(SendImpulse,
Dclient_channel.h40 virtual Status<void> SendImpulse(int opcode, const void* buffer,
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h50 Status<void> SendImpulse(int opcode, const void* buffer,
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp279 return ReturnStatusOrError(SendImpulse(TEST_OP_SET_TEST_CHANNEL)); in SetTestChannelAsync()
285 return ReturnStatusOrError(SendImpulse(TEST_OP_IMPULSE, buffer, length)); in SendAsync()
368 return ReturnStatusOrError(SendImpulse(TEST_OP_POLLHUP_FROM_SERVICE)); in SendPollHupEvent()
Dclient_channel.cpp162 Status<void> ClientChannel::SendImpulse(int opcode, const void* buffer, in SendImpulse() function in android::pdx::uds::ClientChannel