Home
last modified time | relevance | path

Searched refs:mSensors (Results 1 – 5 of 5) 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 …]
DSystemSensorManager.java167 public SparseBooleanArray mSensors = new SparseBooleanArray(); field in SystemSensorManager.ListenerDelegate
216 mSensors.put(sensor.getHandle(), true); in addSensor()
220 mSensors.delete(sensor.getHandle()); in removeSensor()
222 return mSensors.size(); in removeSensor()
225 return mSensors.get(sensor.getHandle()); in hasSensor()
/frameworks/native/include/gui/
DSensorManager.h68 mutable Vector<Sensor> mSensors; variable
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java867 int mSensors = 0; field in GpsLocationProvider.Listener