Combine several HALs into small_hals.
This includes:
- light
- memtrack
- vibrator
Good candidates since they are:
- class hal
- user/group system
- single threaded and not called frequently
Note that light HAL is "shutdown critical" and thus small_hals needs to
be as well, and therefore we have a bit more things running during
shutdown.
With this, we get 1.6 MB less private dirty pages.
Bug: 135293492
Test: incremental build prompts cleanspec to delete files
Test: grepping logs for light/memtrack/vibrator
Test: confirm HALs are in lshal
Test: manually feel vibration of phone
Test: manually change display brightness
Test: play HDR video in landscape mode and check
/sys/class/backlight/panel0-backlight/hbm_mode is on. Check it is
off after playback stopped.
Change-Id: Idd4cbd6b22e58b36a72f08440d93bf77521008b2
10 files changed