/**
- Sensor manager implementation that communicates with the built-in
- system sensors.
- @hide
*/
public class SystemSensorManager extends SensorManager {
…
}
class ISensorServer : public IInterface
{
public:
DECLARE_META_INTERFACE(SensorServer);
virtual Vector getSensorList(const String16& opPackageName) = 0;
virtual sp createSensorEventConnection(const String8& packageName,
int mode, const String16& opPackageName) = 0;
virtual int32_t isDataInjectionEnabled() = 0;
};
/**
- Every hardware module must have a data structure named HAL_MODULE_INFO_SYM
- and the fields of this data structure must begin with hw_module_t
- followed by module specific information.
*/
struct sensors_module_t {
struct hw_module_t common;
/**
- Enumerate all availa