commit | 08a65d5df74747c27c9bf60aa7634c15ea07462f | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Wed Jul 07 16:35:17 2021 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Mon Jul 12 16:39:06 2021 -0700 |
tree | 0b579b7258c58cd94e368843cf79b4dbec1b2f14 | |
parent | 033041eab02b5e1843ac20afa7f25c45c8812403 [diff] |
Add removing subscribers and re-organize publishers - Remove AbstractPublisher's callbacks and directly implement addDataSubscriber() and other methods in child classes. It gives more flexibility. - Make VehiclePropertyPublisher thread-safe. - Add more tests. Bug: 189143814 Test: atest CarServiceUnitTest:VehiclePropertyPublisherTest Change-Id: I061653477716badb83efbdd0f6b4fd7110997b5b
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.