For a high level map of where the Android Sensors HAL fits in and what its responsibilities are take a look at the slides from my Design West presentation in 2012 Integrating Sensors Into Android Hardware.
The slides detail how the widely available SensorBase class can be used to read Input Event based sensor drivers, and how the HAL implements the get_sensors_list function to let the SensorService know what sensors this particular device has.