Searched refs:getDeviceTimeOffset (Results 1 – 5 of 5) sorted by relevance
1372 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer()1404 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_timeOffset()1437 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testIsNewer_fails()1967 assertEquals(10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset()1986 assertEquals(-10000L, mTestDevice.getDeviceTimeOffset(date)); in testGetDeviceTimeOffset_delay()2004 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate()2035 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate_lowApi()2058 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in testSetDate_NoAction()
49 EasyMock.expect(mMockDevice.getDeviceTimeOffset(EasyMock.anyObject())).andReturn(2000L); in testCheckTimeDiff_small()61 EasyMock.expect(mMockDevice.getDeviceTimeOffset(EasyMock.anyObject())).andReturn(15000L); in testCheckTimeDiff_large()76 EasyMock.expect(mMockDevice.getDeviceTimeOffset(EasyMock.anyObject())) in testCheckTimeDiff_multiFailure()
1844 offset = getDeviceTimeOffset(null); in isNewer()4046 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in getDeviceTimeOffset() method in NativeDevice4067 long timeOffset = getDeviceTimeOffset(date); in setDate()
35 long difference = device.getDeviceTimeOffset(new Date()); in postExecutionCheck()
1311 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException; in getDeviceTimeOffset() method