commit | b225b80c119f875132eb6ca2e9341aa6961de575 | [log] [tgz] |
---|---|---|
author | Howard <hhhao@google.com> | Mon Dec 19 12:04:18 2022 -0800 |
committer | Howard Hao <hhhao@google.com> | Thu Jan 12 21:38:13 2023 +0000 |
tree | a7ff10bbbe0d598a4f961320cddb13665b95d66b | |
parent | 42673429d209ce94ffe2c097d96151130238c169 [diff] |
Change CarTelemetrydPublisher byte[] representation to String. CarTelemetrydPublisher and VehiclePropertyPublisher both have byte[] data types, but this type is not in PersistableBundle or Lua, so a different representation is required. Changes from int[] representation to String in CarTelemetrydPublisher to match VehiclePropertyPublisher. String is more space efficient representation. Bug: 241587738 Test: atest CarServiceUnitTest:CarTelemetrydPublisherTest Change-Id: I57043ceeb121f459229f74da4e634041cbc0a900 Merged-In: I57043ceeb121f459229f74da4e634041cbc0a900 (cherry picked from commit d04590a4ecedd634e576b280311ae3d074c0470b)
Source code for Android Automotive OS.
car_product/ - AAOS product car-builtin-lib/ - A helper library for CarService to access hidden framework APIs car-lib/ - Car API car-lib-module/ - Car API module cpp/ - Native services experimental/ - Experimental Car API and services packages/ - Apps and services for cars service/ - Car service module service-builint - Platform builtin component that runs CarService module tests/ - Tests and sample apps tools/ - Helper scripts
Native (C++) code format is required to be compatible with .clang-format file. The formatter is already integrated to repo
tool. To run manually, use:
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.