Add different sensor types to the the sensor HAL test

The sensor HAL test is extended to allow the selection of a
particular sensor type. Additional sensor types are easy to add.
The default (for compatibility) continues to be the accelerometer.
Orientation and Light sensors are added with this commit.

Change-Id: If17624a610d9de1c71e437c0d680de48308b82e3
Signed-off-by: Bruce Beare <>
1 file changed