Searched refs:isStationary (Results 1 – 3 of 3) sorted by relevance
272 boolean isStationary = false; field in DeviceIdleControllerTest.StationaryListenerForTest275 public void onDeviceStationaryChanged(boolean isStationary) { in onDeviceStationaryChanged() argument276 if (isStationary == motionExpected) { in onDeviceStationaryChanged()277 fail("Unexpected device stationary status: " + isStationary); in onDeviceStationaryChanged()279 this.isStationary = isStationary; in onDeviceStationaryChanged()1679 assertTrue(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOff()1684 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOff()1718 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()1734 assertTrue(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()1740 assertFalse(stationaryListener.isStationary); in testStationaryDetection_QuickDozeOn_NoMotion()[all …]
1542 final boolean isStationary; in handleMessage()1544 isStationary = isStationaryLocked(); in handleMessage()1555 listener.onDeviceStationaryChanged(isStationary); in handleMessage()1559 newListener.onDeviceStationaryChanged(isStationary); in handleMessage()1758 void onDeviceStationaryChanged(boolean isStationary); in onDeviceStationaryChanged() argument
476 isStationary -> {477 mIsDeviceStationary = isStationary;