Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1741 assertFalse(mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
1745 assertFalse(mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
1754 mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
1763 mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
1774 mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
1781 assertTrue(mDeviceIdleController.mMotionListener.isActive() in verifyStateConditions()
1794 assertTrue(mDeviceIdleController.mMotionListener.isActive() in verifyStateConditions()
1805 assertFalse(mDeviceIdleController.mMotionListener.isActive()); in verifyStateConditions()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java690 success = mSensorManager.requestTriggerSensor(mMotionListener, mMotionSensor); in registerLocked()
693 mMotionListener, mMotionSensor, SensorManager.SENSOR_DELAY_NORMAL); in registerLocked()
705 mSensorManager.cancelTriggerSensor(mMotionListener, mMotionSensor); in unregisterLocked()
707 mSensorManager.unregisterListener(mMotionListener); in unregisterLocked()
712 @VisibleForTesting final MotionListener mMotionListener = new MotionListener(); field in DeviceIdleController
3322 if (mMotionSensor != null && !mMotionListener.active) { in startMonitoringMotionLocked()
3323 mMotionListener.registerLocked(); in startMonitoringMotionLocked()
3329 if (mMotionSensor != null && mMotionListener.active) { in stopMonitoringMotionLocked()
3330 mMotionListener.unregisterLocked(); in stopMonitoringMotionLocked()
4318 pw.print(" mMotionActive="); pw.println(mMotionListener.active); in dump()