Home
last modified time | relevance | path

Searched refs:getDeviceTimeOffset (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java1372 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()
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DTimeStatusCheckerTest.java49 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()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1844 offset = getDeviceTimeOffset(null); in isNewer()
4046 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException { in getDeviceTimeOffset() method in NativeDevice
4067 long timeOffset = getDeviceTimeOffset(date); in setDate()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DTimeStatusChecker.java35 long difference = device.getDeviceTimeOffset(new Date()); in postExecutionCheck()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DINativeDevice.java1311 public long getDeviceTimeOffset(Date date) throws DeviceNotAvailableException; in getDeviceTimeOffset() method