commit | eab06e480ecfa1dc28ba1f185024397d9107f988 | [log] [tgz] |
---|---|---|
author | Kai <kwangsudo@google.com> | Mon Dec 30 15:25:53 2019 -0800 |
committer | Kai <kwangsudo@google.com> | Fri Jan 17 11:54:59 2020 -0800 |
tree | 0e5515d43800b6b74d7f48e7ac028137db9044e2 | |
parent | 80d02f645322f31eb04c15e1444648a130297435 [diff] |
Handle error codes from VHAL. Add PropertyNotAvailableException mapping to Status.Not_available. Add PropertyNotAvailableAndRetryException mapping to TRY_AGAIN. Add PropertyAccessDeniedSecurityException mapping to Access_denied. Add CarInternalErrorException mapping to Internal_error. Bug: 146499582 Bug: 120910759 Test: Custom google VHAL to reply selected statusCode. Change-Id: Id48f1a985bdf568f2dddde1b9f1b8cbdd65d3e4c
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.