Searched refs:isStationary (Results 1 – 3 of 3) sorted by relevance
282 boolean isStationary = false; field in DeviceIdleControllerTest.StationaryListenerForTest285 public void onDeviceStationaryChanged(boolean isStationary) { in onDeviceStationaryChanged() argument286 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 …]
85 void onDeviceStationaryChanged(boolean isStationary); in onDeviceStationaryChanged() argument
1790 final boolean isStationary; in handleMessage()1792 isStationary = isStationaryLocked(); in handleMessage()1804 listener.onDeviceStationaryChanged(isStationary); in handleMessage()1808 newListener.onDeviceStationaryChanged(isStationary); in handleMessage()