commit | 6987e9cc0b39e213bedb8b2710be043fde7e0b56 | [log] [tgz] |
---|---|---|
author | Max Dashouk <mdashouk@google.com> | Mon Sep 20 13:19:30 2021 -0700 |
committer | Max Dashouk <mdashouk@google.com> | Mon Sep 20 17:10:09 2021 -0700 |
tree | ba7650893871ccf28a2867d796276ec4f5964d62 | |
parent | ebeabdc43456f73f22c4461e33d667fdbc60ca36 [diff] |
Add internal ScriptExecutor API to invoke scripts for large inputs. Adds a functional test which checks that there are no issues when a script is invoked with large >1MB "publishedData" input. More tests will be added once "publishedData" parser is implemented on the native side. Makes Binder API calls to ScriptExecutor service one-way by declaring the whole interface oneway. Test: atest ScriptExecutorUnitTest:ScriptExecutorTest Test: atest CarServiceUnitTest:CarTelemetryServiceTest Test: atest CarServiceUnitTest:DataBrokerTest Bug: 200073528 Change-Id: I1c79b7add6b26a96b9b57807ca63df8348926cd4
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.