Sensor HAL test needs to find first equipped accelerometer

The sensor HAL test won't find the accelerometer if the HAL
supports several... and the equipped one isn't listed in the HAL
first.

BUG=TBS
Change-Id: I96b36c02f49ecd3779fd0b3d869febc8a9067630
Tracked-on: https://jira01.devtools.intel.com/browse/BP-154
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Reviewed-on: https://android.intel.com/444226
Reviewed-by: Musca, Constantin <constantin.musca@intel.com>
Tested-by: Musca, Constantin <constantin.musca@intel.com>
Reviewed-by: Serban, Mihai <mihai.serban@intel.com>
1 file changed