Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java87 mLastSendKeyTime = getCurrentTime(); in start()
99 private long getCurrentTime() { in getCurrentTime() method in SendKeyAction
119 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()
129 if (getCurrentTime() - mLastSendKeyTime >= IRT_MS) { in processKeyEvent()
131 mLastSendKeyTime = getCurrentTime(); in processKeyEvent()
206 mLastSendKeyTime = getCurrentTime(); in handleTimerEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DAccessControllerMetricsStats.java90 (queryStartTime > 0) ? (getCurrentTime() - queryStartTime) : 0; in setLocationQueryTime()
100 (onDeviceLookupStartTime > 0) ? (getCurrentTime() - onDeviceLookupStartTime) : 0; in setOnDeviceLookupTime()
110 (queryStartTime > 0) ? (getCurrentTime() - queryStartTime) : 0; in setTotalCheckingTime()
183 public long getCurrentTime() { in getCurrentTime() method in AccessControllerMetricsStats
DControllerMetricsStats.java272 long totalTimeMillis = getCurrentTime() - mSatelliteOnTimeMillis; in captureTotalServiceUpTimeSec()
293 mSatelliteOnTimeMillis = getCurrentTime(); in onSatelliteEnabled()
336 mBatteryChargedStartTimeSec = (int) (getCurrentTime() / 1000); in updateSatelliteBatteryChargeTime()
340 (int) (getCurrentTime() / 1000) in updateSatelliteBatteryChargeTime()
381 long currentTime = getCurrentTime();
398 public long getCurrentTime() { in getCurrentTime() method in ControllerMetricsStats
DCarrierRoamingSatelliteSessionStats.java86 mConnectionStartTimeList.add(getCurrentTime()); in onConnectionStart()
99 mConnectionEndTimeList.add(getCurrentTime()); in onConnectionEnd()
297 private long getCurrentTime() { in getCurrentTime() method in CarrierRoamingSatelliteSessionStats
/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java105 public long getCurrentTime() { in getCurrentTime() method in ScreenUndimDetector.InternalClock
149 final long now = mClock.getCurrentTime(); in recordScreenPolicy()
172 mUndimOccurredTime = mClock.getCurrentTime(); in recordScreenPolicy()
277 mInteractionAfterUndimTime = mClock.getCurrentTime(); in userActivity()
290 long now = mClock.getCurrentTime(); in checkAndLogUndim()
/frameworks/base/packages/SystemUI/tests/utils/src/android/animation/
DAnimatorTestRule.java198 long desiredTime = getCurrentTime();
225 long currentTime = getCurrentTime();
287 public long getCurrentTime() {
375 return getCurrentTime();
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DShortcutKeyTestBase.java142 final long downTime = mPhoneWindowManager.getCurrentTime(); in sendKeyCombination()
162 final long nextDownTime = mPhoneWindowManager.getCurrentTime(); in sendKeyCombination()
174 final long eventTime = mPhoneWindowManager.getCurrentTime(); in sendKeyCombination()
DTestPhoneWindowManager.java438 long getCurrentTime() { in getCurrentTime() method in TestPhoneWindowManager
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DTimerProvider.cpp112 const nsecs_t now = getCurrentTime(); in setDeadlineWithoutRequestingTimeout()
147 nsecs_t TimerProvider::getCurrentTime() { in getCurrentTime() function in android::TimerProvider
DTimerProvider.h58 virtual nsecs_t getCurrentTime();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySource.java310 getCurrentTime(), in getIdentifierDisclosureIssue()
318 getCurrentTime(), in getIdentifierDisclosureIssue()
350 private String getCurrentTime() { in getCurrentTime() method in CellularNetworkSecuritySafetySource
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DTestUtils.java91 SystemClock.setCurrentTimeMillis(shadowLooper.getScheduler().getCurrentTime()); in runToEndOfTasks()
/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp64 nanoseconds getCurrentTime() override { return nanoseconds(systemTime(SYSTEM_TIME_MONOTONIC)); } in getCurrentTime() function in android::__anone364152d0111::__anone364152d0210
307 const auto currentTime = mLogger.getCurrentTime(); in reportCompletedSessions()
DInputDeviceMetricsCollector.h61 virtual std::chrono::nanoseconds getCurrentTime() = 0;
/frameworks/native/services/inputflinger/tests/
DTimerProvider_test.cpp38 nsecs_t getCurrentTime() override { return mCurrentTime; } in getCurrentTime() function in android::__anond345721c0111::TestTimerProvider
DInputDeviceMetricsCollector_test.cpp136 nanoseconds getCurrentTime() override { return mCurrentTime; } in getCurrentTime() function in android::InputDeviceMetricsCollectorTest
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DScreenUndimDetectorTest.java78 public long getCurrentTime() { in getCurrentTime() method in ScreenUndimDetectorTest.TestClock
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DControllerMetricsStatsTest.java587 doReturn(MODEM_ENABLED_TIME).when(mSpyControllerMetricsStats).getCurrentTime(); in testOnSatelliteEnabled()
594 verify(mSpyControllerMetricsStats).getCurrentTime(); in testOnSatelliteEnabled()
/frameworks/base/services/
Dart-wear-profile21586 PLcom/android/server/power/ScreenUndimDetector$InternalClock;->getCurrentTime()J