commit | 9743335ae9a1b67ca5b9bf75427b3319871fbe23 | [log] [tgz] |
---|---|---|
author | Ashutosh Agarwal <radsaggi@google.com> | Mon Oct 04 18:14:58 2021 +0000 |
committer | Ashutosh Agarwal <radsaggi@google.com> | Fri Oct 08 10:57:32 2021 +0000 |
tree | 318ca5702f1309f3bb7ba2e6300cfd1a5bd861c2 | |
parent | 8cc1b685f0e54691a48fef3ead8df9ee2b143089 [diff] |
[RESTRICT AUTOMERGE] Create TimeHalService in CarServices. This Service registers a BroadcastReceiver for Intent.ACTION_TIME_CHANGED, and writes an update to VHAL Property EPOCH_TIME, if supported by the VHAL. Bug: 202377994 Bug: 157504928 Test: atest CarServiceUnitTest:TimeHalServiceTest Change-Id: Ide99a1c1d8847cef33d7ea13d46ac2073229aff3
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.