summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-12-17 12:22:29 -0800
committerFelipe Leme <felipeal@google.com>2018-12-18 10:03:37 -0800
commitb9687849bbc70f11ccd52d0d10dcbcd07f2ffeb2 (patch)
tree8d37a64d01fe14ab4525d077125fe5f60424b2b9 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentc0cd1d7f334b0e7f18b812fbe7b6fae6d599f9ee (diff)
Optimizes the Content Capture workflow by calling the service directly.
Initially, the ContentCaptureManager (in the app) was calling the IContentCaptureManager (on system server) for everything, even to pass the list of captured events, which caused 2 IPCs for each batch of events (i.e., from app to system_server, then from system_service to service). This CL optimizes the workflow by getting rid of the "middle man" and sending the events from the app to the service directly, which the system_server only calling the service to notify when the view starts and finishes (and passing the UID in the former so the servier can validate the sendEvents() calls). Bug: 119220549 Test: atest CtsContentCaptureServiceTestCases Change-Id: I6c08dccf755605320ac37cbc9424132e5455a594
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions