Searched refs:getCurrentTime (Results 1 – 5 of 5) sorted by relevance
86 mLastSendKeyTime = getCurrentTime(); in start()98 private long getCurrentTime() { in getCurrentTime() method in SendKeyAction118 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()128 if (getCurrentTime() - mLastSendKeyTime >= IRT_MS) { in processKeyEvent()130 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()192 mLastSendKeyTime = getCurrentTime(); in handleTimerEvent()
295 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local296 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()298 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
374 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local375 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()377 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
90 SystemClock.setCurrentTimeMillis(shadowLooper.getScheduler().getCurrentTime()); in runToEndOfTasks()
380 private long getCurrentTime() { in getCurrentTime() method in AppStandbyControllerTests