Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSensorManager.cpp59 mSensors.clear(); in sensorManagerDied()
91 mSensors = mSensorServer->getSensorList(); in assertStateLocked()
92 size_t count = mSensors.size(); in assertStateLocked()
95 mSensorList[i] = mSensors.array() + i; in assertStateLocked()
112 return mSensors.size(); in getSensorList()
122 for (size_t i=0 ; i<mSensors.size() ; i++) { in getDefaultSensor()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java208 private int mSensors; field in LegacySensorManager.LegacyListener
213 mSensors = 0; in LegacyListener()
217 if ((mSensors & legacyType) != 0) { in registerSensor()
220 boolean alreadyHasOrientationSensor = hasOrientationSensor(mSensors); in registerSensor()
221 mSensors |= legacyType; in registerSensor()
229 if ((mSensors & legacyType) == 0) { in unregisterSensor()
232 mSensors &= ~legacyType; in unregisterSensor()
233 if (hasOrientationSensor(legacyType) && hasOrientationSensor(mSensors)) { in unregisterSensor()
240 return mSensors != 0; in hasSensors()
266 if ((mSensors & SensorManager.SENSOR_ORIENTATION_RAW)!=0) { in onSensorChanged()
[all …]
/frameworks/native/include/gui/
DSensorManager.h68 mutable Vector<Sensor> mSensors; variable