Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java86 mLastSendKeyTime = getCurrentTime(); in start()
98 private long getCurrentTime() { in getCurrentTime() method in SendKeyAction
118 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()
128 if (getCurrentTime() - mLastSendKeyTime >= IRT_MS) { in processKeyEvent()
130 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()
192 mLastSendKeyTime = getCurrentTime(); in handleTimerEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java310 private long getCurrentTime() { in getCurrentTime() method in AppStandbyControllerTests
371 mLastParoleChangeTime = getCurrentTime(); in onParoleStateChanged()
389 startTime = getCurrentTime(); in testCharging()
401 startTime = getCurrentTime(); in testCharging()
422 startTime = getCurrentTime(); in testCharging()
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp373 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local
374 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()
376 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
DExecutionBurstController.cpp293 auto& getCurrentTime = std::chrono::high_resolution_clock::now; in getPacketBlocking() local
294 const auto timeToStopPolling = getCurrentTime() + kPollingTimeWindow; in getPacketBlocking()
296 while (getCurrentTime() < timeToStopPolling) { in getPacketBlocking()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java90 SystemClock.setCurrentTimeMillis(shadowLooper.getScheduler().getCurrentTime()); in runToEndOfTasks()