Home
last modified time | relevance | path

Searched refs:mMagAccuracy (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.cpp125 mMagAccuracy = SENSOR_STATUS_UNRELIABLE; in HubConnection()
665 if (mMagAccuracy != SENSOR_STATUS_UNRELIABLE) in magAccuracyUpdate()
666 mMagAccuracyRestore = mMagAccuracy; in magAccuracyUpdate()
667 mMagAccuracy = SENSOR_STATUS_UNRELIABLE; in magAccuracyUpdate()
668 } else if (mMagAccuracy == SENSOR_STATUS_UNRELIABLE) { in magAccuracyUpdate()
670 mMagAccuracy = mMagAccuracyRestore; in magAccuracyUpdate()
673 return mMagAccuracy; in magAccuracyUpdate()
915 mMagAccuracy = highAccuracy ? SENSOR_STATUS_ACCURACY_HIGH : SENSOR_STATUS_ACCURACY_MEDIUM; in processSample()
929 sv->status = mMagAccuracy; in processSample()
948 ev->data[4] = (4 - mMagAccuracy) * heading_accuracy; in processSample()
Dhubconnection.h242 uint8_t mMagAccuracy; member