Home
last modified time | relevance | path

Searched refs:uptime (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DSecurityTestCase.java296 String uptime = null; in getDeviceUptime() local
303 uptime = getDevice().executeShellCommand("cat /proc/uptime").trim(); in getDeviceUptime()
304 } while (uptime.isEmpty()); in getDeviceUptime()
305 return Long.parseLong(uptime.substring(0, uptime.indexOf('.'))); in getDeviceUptime()
318 long uptime = getDeviceUptime(); in updateKernelStartTime() local
319 kernelStartTime = (System.currentTimeMillis() / 1000) - uptime; in updateKernelStartTime()
/cts/tests/tests/os/src/android/os/cts/
DHandlerTest.java166 long uptime = SystemClock.uptimeMillis() + RUNTIME; in testSendEmptyMessageAtTime() local
167 assertTrue(mHandler1.sendEmptyMessageAtTime(MESSAGE_WHAT, uptime)); in testSendEmptyMessageAtTime()