commit | 5883dff464f8fb3484eab3cf6a9d61dea54d77d6 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Wed Feb 26 09:47:05 2020 -0800 |
committer | Felipe Leme <felipeal@google.com> | Thu Feb 27 16:21:16 2020 -0800 |
tree | bb65a607ef297f6848c090e1b82a79314e76af89 | |
parent | 8e891541b7808def337f19d9c5f6eedbf947697e [diff] |
Added UserHalService.HalCallback.STATUS_CONCURRENT_OPERATION. This status is called when a UserHalService method is called before the HAL returned from a previous call to the same method. Also fixed mPendingCallbacks thread-safety on UserHalService. Test: atest CarServiceUnitTest:com.android.car.hal.UserHalServiceTest#testGetUserInfo_secondCallFailWhilePending Test: atest CarServiceUnitTest:com.android.car.hal.UserHalServiceTest Bug: 146207078 Bug: 150399261 Change-Id: I4970ca32f64b5166ec6eabfd039afb18d50facf1
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.