History log of /frameworks/native/libs/vr/libpdx_uds/client_channel_tests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5a244ed36c8e45fd95b89ff916caf083fb182ec1 10-Jun-2017 Alex Vakulenko <avakulenko@google.com> libudx: Move ServiceDispatcher from libpdx_uds to libpdx

The two separate implementations of ServiceDispatcher for UDS and ServiceFS
are practically identical. Moved the implementation into the base libpdx lib,
and removed the transport-specific versions.

Bug: None
Test: `m -j32` succeeds; pdx_tests, pdx_servicefs_tests, pdx_uds_tests pass
Change-Id: I2344f4f23bc3da27eb7b192344844b87660e8610
/frameworks/native/libs/vr/libpdx_uds/client_channel_tests.cpp
fd22b3e5ad1aae1fc3de54801f33466db3c9b3fe 18-Apr-2017 Alex Vakulenko <avakulenko@google.com> libpdx_uds: Serialize access to connection socket between threads

Added a mutex to allow only one client thread to perform atomic
send-request/receive-responce actions.

Also added a unit test that perfroms multiple parallel client requests
to the same service to ensure it can handle multithreaded access
correctly.

Bug: 37443070
Test: `libpdx_uds_tests` pass
Change-Id: Ica516f7806f9146fb530b5cb371d2ee89146fed7
/frameworks/native/libs/vr/libpdx_uds/client_channel_tests.cpp