Add sensor support checks for composite sensors

Per the CDD, gravity, linear accel, and rotation vector are all
mandatory if the underlying physical sensors are present. If the sensor
HAL does not provide these sensor types, then the Android framework
should expose them, so this is not expected to have partner impact.

Fixes: 124314823
Test: atest SensorSupportTest
Change-Id: I33069be4917116566f9b386cb68002a3f98b933b
1 file changed