Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp3207 uint32_t lastEnabled = mEnabled, changed = 0; local
3211 if (lastEnabled > mEnabled) {
3214 mEnabledCached = lastEnabled;
3220 LOGV_IF(ENG_VERBOSE, "HAL:last enable : lastEnabled = %d", lastEnabled);
3231 ((lastEnabled & (1 << what)) != (mEnabled & (1 << what)))) {
3241 ((lastEnabled & (1 << what)) != (mEnabled & (1 << what)))) {
3247 if ((lastEnabled & (1 << what)) != (mEnabled & (1 << what))) {
3255 if ((en && !(lastEnabled & VIRTUAL_SENSOR_ALL_MASK))
3257 (en && !(lastEnabled & VIRTUAL_SENSOR_9AXES_MASK))
3276 if ((en && !(lastEnabled & VIRTUAL_SENSOR_9AXES_MASK))
[all …]
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp2874 uint32_t lastEnabled = mEnabled, changed = 0; in enable() local
2883 LOGV_IF(ENG_VERBOSE, "HAL:last enable : lastEnabled = %d", lastEnabled); in enable()
2894 ((lastEnabled & (1 << what)) != (mEnabled & (1 << what)))) { in enable()
2904 ((lastEnabled & (1 << what)) != (mEnabled & (1 << what)))) { in enable()
2909 if ((lastEnabled & (1 << what)) != (mEnabled & (1 << what))) { in enable()
2916 if ((en && !(lastEnabled & VIRTUAL_SENSOR_ALL_MASK)) in enable()
2918 (en && !(lastEnabled & VIRTUAL_SENSOR_9AXES_MASK)) in enable()
2937 if ((en && !(lastEnabled & VIRTUAL_SENSOR_9AXES_MASK)) in enable()
2950 if ((en && !(lastEnabled & VIRTUAL_SENSOR_ALL_MASK)) in enable()
2952 (en && !(lastEnabled & VIRTUAL_SENSOR_9AXES_MASK)) in enable()