Searched refs:mSensors (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
H A DSensorManager.cpp59 mSensors.clear();
91 mSensors = mSensorServer->getSensorList();
92 size_t count = mSensors.size();
95 mSensorList[i] = mSensors.array() + i;
112 return mSensors.size();
131 for (size_t i=0 ; i<mSensors.size() ; i++) {
/frameworks/base/core/java/android/hardware/
H A DLegacySensorManager.java208 private int mSensors; field in class:LegacySensorManager.LegacyListener
213 mSensors = 0;
217 if ((mSensors & legacyType) != 0) {
220 boolean alreadyHasOrientationSensor = hasOrientationSensor(mSensors);
221 mSensors |= legacyType;
229 if ((mSensors & legacyType) == 0) {
232 mSensors &= ~legacyType;
233 if (hasOrientationSensor(legacyType) && hasOrientationSensor(mSensors)) {
240 return mSensors != 0;
266 if ((mSensors
[all...]
/frameworks/native/include/gui/
H A DSensorManager.h68 mutable Vector<Sensor> mSensors; member in class:android::SensorManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeService.java76 private SensorManager mSensors; field in class:DozeService
131 mSensors = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE);
482 mSensor = mSensors.getDefaultSensor(type);
503 mRegistered = mSensors.requestTriggerSensor(this, mSensor);
506 final boolean rt = mSensors.cancelTriggerSensor(this, mSensor);
578 final Sensor sensor = mSensors.getDefaultSensor(Sensor.TYPE_PROXIMITY);
588 mSensors.registerListener(this, sensor, SensorManager.SENSOR_DELAY_NORMAL, 0, mHandler);
615 mSensors.unregisterListener(this);

Completed in 88 milliseconds