Searched refs:uptime (Results 1 – 2 of 2) sorted by relevance
296 String uptime = null; in getDeviceUptime() local303 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() local319 kernelStartTime = (System.currentTimeMillis() / 1000) - uptime; in updateKernelStartTime()
166 long uptime = SystemClock.uptimeMillis() + RUNTIME; in testSendEmptyMessageAtTime() local167 assertTrue(mHandler1.sendEmptyMessageAtTime(MESSAGE_WHAT, uptime)); in testSendEmptyMessageAtTime()