commit | 4e8a48e48c1fe2869ce6efb77321e5b80dc0f24b | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Tue Nov 09 17:14:26 2021 -0800 |
committer | Rui Qiu <ruiqiu@google.com> | Thu Nov 11 22:42:56 2021 +0000 |
tree | 06090597fe3877bc0deda1c6e5352837a10298fa | |
parent | 0066532db6dc07f35c5cc017d9d534285d24b731 [diff] |
Use AtomicFile in CarTelemetryService All usages of File are replaced with AtomicFile, with the exception of simple deletion, because AtomicFile uses the same method underneath. Bug: 205049095 Test: atest CarServiceUnitTest:ResultStoreTest Test: atest CarServiceUnitTest:MetricsConfigStoreTest Test: atest CarServiceUnitTest:StatsPublisherTest Test: atest CarServiceUnitTest:CarTelemetryServiceTest Change-Id: Ib74202b5d69cfb158d502a579e9d953a34ffb75b Merged-In: Ib74202b5d69cfb158d502a579e9d953a34ffb75b (cherry picked from commit 3f1dce5dc692b717d960b7a9d7afe669c194fa05)
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.