Home
last modified time | relevance | path

Searched refs:getPowerUsage (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorFusion.cpp175 float SensorFusion::getPowerUsage(int mode) const { in getPowerUsage() function in android::SensorFusion
176 float power = mAcc.getPowerUsage() + in getPowerUsage()
177 ((mode != FUSION_NOMAG) ? mMag.getPowerUsage() : 0) + in getPowerUsage()
178 ((mode != FUSION_NOGYRO) ? mGyro.getPowerUsage() : 0); in getPowerUsage()
DRotationVectorSensor.cpp40 .power = mSensorFusion.getPowerUsage(), in RotationVectorSensor()
126 .power = mSensorFusion.getPowerUsage(), in GyroDriftSensor()
DOrientationSensor.cpp41 .power = mSensorFusion.getPowerUsage(), in OrientationSensor()
DSensorFusion.h90 float getPowerUsage(int mode=FUSION_9AXIS) const;
DLinearAccelerationSensor.cpp43 .power = gsensor.getPowerUsage(), in LinearAccelerationSensor()
DCorrectedGyroSensor.cpp49 .power = mSensorFusion.getPowerUsage(), in CorrectedGyroSensor()
DGravitySensor.cpp48 .power = mSensorFusion.getPowerUsage(), in GravitySensor()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp37 a.getPowerUsage() == b.getPowerUsage () && in sensorsMatch()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp45 dst.power = src.getPowerUsage(); in convertSensor()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h79 float getPowerUsage() const;
/frameworks/native/libs/sensor/
DSensor.cpp375 float Sensor::getPowerUsage() const { in getPowerUsage() function in android::Sensor
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp174 env->SetFloatField(sensor, sensorOffsets.power, nativeSensor.getPowerUsage()); in translateNativeSensorToJavaSensor()