commit | 8c194ae7c2f0c3d0ceb7e987bc8b748567eeda3a | [log] [tgz] |
---|---|---|
author | kanant <kanant@google.com> | Mon Aug 31 17:08:20 2020 -0700 |
committer | kanant <kanant@google.com> | Wed Sep 02 11:02:05 2020 -0700 |
tree | 7faf8e153f393c69e8171ac8cfdfb872fe6ac052 | |
parent | d7daea7d01ca3f9b5302bd32ef021ed9443816c3 [diff] |
Removing default VehicleHal's default constructor. The main goal of this CL is to remove the default constructor (used by tests only) in VehicleHal. To do that I had to move MockedPowerHalService to com.android.car.hal package (same package as its base class, PowerHalService) since HalClient is a package protected class (class required by other constructors and not available to com.android.car.power package). Fixes: 165939111 Test: atest CarServiceUnitTest Test: atest CarServicesTest Change-Id: I33233bc2a9622f8a0e10b33b5d97e9883d8d276a
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.