Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java282 boolean isStationary = false; field in DeviceIdleControllerTest.StationaryListenerForTest
285 public void onDeviceStationaryChanged(boolean isStationary) { in onDeviceStationaryChanged() argument
286 if (isStationary == motionExpected) { in onDeviceStationaryChanged()
287 fail("Unexpected device stationary status: " + isStationary); in onDeviceStationaryChanged()
289 this.isStationary = isStationary; in onDeviceStationaryChanged()
1809 assertTrue(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOff()
1814 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOff()
1848 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()
1864 assertTrue(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()
1870 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()
[all …]
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java85 void onDeviceStationaryChanged(boolean isStationary); in onDeviceStationaryChanged() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java1790 final boolean isStationary; in handleMessage()
1792 isStationary = isStationaryLocked(); in handleMessage()
1804 listener.onDeviceStationaryChanged(isStationary); in handleMessage()
1808 newListener.onDeviceStationaryChanged(isStationary); in handleMessage()