Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DLinearAccelerationSensor.cpp33 mGravitySensor(list, count) { in LinearAccelerationSensor()
34 const Sensor &gsensor = mGravitySensor.getSensor(); in LinearAccelerationSensor()
52 bool result = mGravitySensor.process(outEvent, event); in process()
65 return mGravitySensor.activate(ident, enabled); in activate()
69 return mGravitySensor.setDelay(ident, handle, ns); in setDelay()
DLinearAccelerationSensor.h36 GravitySensor mGravitySensor; variable
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java106 private Sensor mGravitySensor; field in WirelessChargerDetector
149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
156 pw.println(" mGravitySensor=" + mGravitySensor); in dump()
257 if (!mDetectionInProgress && mGravitySensor != null) { in startDetectionLocked()
258 if (mSensorManager.registerListener(mListener, mGravitySensor, in startDetectionLocked()