Extract SensorsHidlTestBase and reformat

Bug: 111070257
Test: Builds
Change-Id: I35956b9dab56e97d716aa6605dab328cdd5446d3
4 files changed