Searched refs:getDeviceTimeOffset (Results 1 – 6 of 6) sorted by relevance
55 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(2000L); in testCheckTimeDiff_small()66 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(15000L); in testCheckTimeDiff_large()81 when(mMockDevice.getDeviceTimeOffset(Mockito.any())).thenReturn(15000L); in testCheckTimeDiff_multiFailure()90 verify(mMockDevice, times(2)).getDeviceTimeOffset(Mockito.any()); in testCheckTimeDiff_multiFailure()
35 long difference = device.getDeviceTimeOffset(new Date()); in postExecutionCheck()
111 long timeOffset = device.getDeviceTimeOffset(null); in waitForDeviceDatetime()
1247 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer()1278 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_timeOffset()1310 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_fails()1917 assertEquals(10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset()1936 assertEquals(-10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset_delay()1954 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate()1985 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate_lowApi()2008 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate_NoAction()
1462 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException; in getDeviceTimeOffset() method
2363 offset = getDeviceTimeOffset(null); in isNewer()4811 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in getDeviceTimeOffset() method in NativeDevice4831 long timeOffset = getDeviceTimeOffset(date); in setDate()