Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java100 private AnyMotionDetectorForTest mAnyMotionDetector; field in DeviceIdleControllerTest
144 return mAnyMotionDetector; in getAnyMotionDetector()
257 mAnyMotionDetector = new AnyMotionDetectorForTest(); in setUp()
1742 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1746 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1755 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1766 mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1785 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1798 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
1806 assertFalse(mAnyMotionDetector.isMonitoring); in verifyStateConditions()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java289 private AnyMotionDetector mAnyMotionDetector; field in DeviceIdleController
1933 mAnyMotionDetector = mInjector.getAnyMotionDetector(mHandler, mSensorManager, this, in onBootPhase()
2772 mAnyMotionDetector.stop(); in resetIdleManagementLocked()
2944 if (mUseMotionSensor && mAnyMotionDetector.hasSensor()) { in stepIdleStateLocked()
2947 mAnyMotionDetector.checkForAnyMotion(); in stepIdleStateLocked()
2988 mAnyMotionDetector.stop(); in stepIdleStateLocked()