Searched refs:hwSensor (Results 1 – 7 of 7) sorted by relevance
64 sensor_t hwSensor; in getSensor() local65 hwSensor.name = "Rotation Vector Sensor"; in getSensor()66 hwSensor.vendor = "AOSP"; in getSensor()67 hwSensor.version = 3; in getSensor()68 hwSensor.handle = '_rov'; in getSensor()69 hwSensor.type = SENSOR_TYPE_ROTATION_VECTOR; in getSensor()70 hwSensor.maxRange = 1; in getSensor()71 hwSensor.resolution = 1.0f / (1<<24); in getSensor()72 hwSensor.power = mSensorFusion.getPowerUsage(); in getSensor()73 hwSensor.minDelay = mSensorFusion.getMinDelay(); in getSensor()[all …]
78 sensor_t hwSensor; in getSensor() local79 hwSensor.name = "Gravity Sensor"; in getSensor()80 hwSensor.vendor = "AOSP"; in getSensor()81 hwSensor.version = 3; in getSensor()82 hwSensor.handle = '_grv'; in getSensor()83 hwSensor.type = SENSOR_TYPE_GRAVITY; in getSensor()84 hwSensor.maxRange = GRAVITY_EARTH * 2; in getSensor()85 hwSensor.resolution = mAccelerometer.getResolution(); in getSensor()86 hwSensor.power = mSensorFusion.getPowerUsage(); in getSensor()87 hwSensor.minDelay = mSensorFusion.getMinDelay(); in getSensor()[all …]
63 sensor_t hwSensor; in getSensor() local64 hwSensor.name = "Linear Acceleration Sensor"; in getSensor()65 hwSensor.vendor = "AOSP"; in getSensor()66 hwSensor.version = gsensor.getVersion(); in getSensor()67 hwSensor.handle = '_lin'; in getSensor()68 hwSensor.type = SENSOR_TYPE_LINEAR_ACCELERATION; in getSensor()69 hwSensor.maxRange = gsensor.getMaxValue(); in getSensor()70 hwSensor.resolution = gsensor.getResolution(); in getSensor()71 hwSensor.power = gsensor.getPowerUsage(); in getSensor()72 hwSensor.minDelay = gsensor.getMinDelay(); in getSensor()[all …]
70 sensor_t hwSensor; in getSensor() local71 hwSensor.name = "Corrected Gyroscope Sensor"; in getSensor()72 hwSensor.vendor = "AOSP"; in getSensor()73 hwSensor.version = 1; in getSensor()74 hwSensor.handle = '_cgy'; in getSensor()75 hwSensor.type = SENSOR_TYPE_GYROSCOPE; in getSensor()76 hwSensor.maxRange = mGyro.getMaxValue(); in getSensor()77 hwSensor.resolution = mGyro.getResolution(); in getSensor()78 hwSensor.power = mSensorFusion.getPowerUsage(); in getSensor()79 hwSensor.minDelay = mGyro.getMinDelay(); in getSensor()[all …]
77 sensor_t hwSensor; in getSensor() local78 hwSensor.name = "Orientation Sensor"; in getSensor()79 hwSensor.vendor = "AOSP"; in getSensor()80 hwSensor.version = 1; in getSensor()81 hwSensor.handle = '_ypr'; in getSensor()82 hwSensor.type = SENSOR_TYPE_ORIENTATION; in getSensor()83 hwSensor.maxRange = 360.0f; in getSensor()84 hwSensor.resolution = 1.0f/256.0f; // FIXME: real value here in getSensor()85 hwSensor.power = mSensorFusion.getPowerUsage(); in getSensor()86 hwSensor.minDelay = mSensorFusion.getMinDelay(); in getSensor()[all …]
43 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion) in Sensor() argument45 mName = hwSensor->name; in Sensor()46 mVendor = hwSensor->vendor; in Sensor()47 mVersion = hwSensor->version; in Sensor()48 mHandle = hwSensor->handle; in Sensor()49 mType = hwSensor->type; in Sensor()51 mMaxValue = hwSensor->maxRange; // FIXME: maxValue in Sensor()52 mResolution = hwSensor->resolution; in Sensor()53 mPower = hwSensor->power; in Sensor()54 mMinDelay = hwSensor->minDelay; in Sensor()[all …]
56 Sensor(struct sensor_t const* hwSensor, int halVersion = 0);