Home
last modified time | relevance | path

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

/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureService.java192 private float mRequiredAwareness = STATIONARY_REQUIRED_AWARENESS; field in DriverDistractionExperimentalFeatureService
337 writer.println("Current Required Awareness: " + mRequiredAwareness); in dump()
492 float oldValue = mRequiredAwareness; in handleSpeedEventLocked()
494 mRequiredAwareness = MOVING_REQUIRED_AWARENESS; in handleSpeedEventLocked()
496 mRequiredAwareness = STATIONARY_REQUIRED_AWARENESS; in handleSpeedEventLocked()
499 if (Float.compare(oldValue, mRequiredAwareness) != 0) { in handleSpeedEventLocked()
500 logd("Required awareness updated: " + mRequiredAwareness); in handleSpeedEventLocked()
501 addTransitionLogLocked(oldValue, mRequiredAwareness, "Required awareness"); in handleSpeedEventLocked()
513 if (mRequiredAwareness == 0) { in updateCurrentDistractionEventLocked()
521 / mRequiredAwareness, 1.0f); in updateCurrentDistractionEventLocked()