commit | a87edb158556cd209bac9c034e26c6575d75625d | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Wed Feb 09 19:32:18 2022 -0800 |
committer | Rui Qiu <ruiqiu@google.com> | Fri Feb 25 16:13:53 2022 -0800 |
tree | ddb5f04bc13d254e5257b9450023aeccf2b214eb | |
parent | 6a3f1917ab7b1524c35ec7a64509578fdd735357 [diff] |
Notify client when script reaches a terminal state CarTelemetryManager will allow clients to register a listener to receive report ready notfications. This will help them decide when is a good time to call getFinishedReport(). Before this change they need to pull the report periodically and they do not know whether they will get a report or not. Bug: 216535837 Test: atest com.android.car.telemetry Test: atest CarServiceTest:CarTelemetryManagerTest Test: manual kitchensink test to verify notification is sent Change-Id: I5ba92781e71471ce218f23355c18119cb60bbfc9 Merged-In: I5ba92781e71471ce218f23355c18119cb60bbfc9 (cherry picked from commit b35c99a614e401caa1ff1f8117113edcf6c9e3bf)
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.