Home
last modified time | relevance | path

Searched refs:uptimeMillis (Results 1 – 25 of 141) sorted by relevance

123456

/packages/apps/Car/Hvac/src/com/android/car/hvac/
DDataStore.java90 mLastTemperatureSet.put(zone, SystemClock.uptimeMillis()); in setTemperature()
98 if (SystemClock.uptimeMillis() - mLastTemperatureSet.get(zone) < COALESCE_TIME_MS) { in shouldPropagateTempUpdate()
118 mLastDefrosterSet.put(zone, SystemClock.uptimeMillis()); in setDefrosterState()
124 if (SystemClock.uptimeMillis() - mLastDefrosterSet.get(zone) < COALESCE_TIME_MS) { in shouldPropagateDefrosterUpdate()
141 mLastFanSpeedSet = SystemClock.uptimeMillis(); in setFanSpeed()
148 if (SystemClock.uptimeMillis() - mLastFanSpeedSet < COALESCE_TIME_MS) { in shouldPropagateFanSpeedUpdate()
165 mLastAcSet = SystemClock.uptimeMillis(); in setAcState()
171 if (SystemClock.uptimeMillis() - mLastAcSet < COALESCE_TIME_MS) { in shouldPropagateAcUpdate()
188 mLastAirflowSet.put(zone, SystemClock.uptimeMillis()); in setAirflow()
194 if (SystemClock.uptimeMillis() - mLastAirflowSet.get(zone) < COALESCE_TIME_MS) { in shouldPropagateFanPositionUpdate()
[all …]
/packages/services/Telephony/src/com/android/phone/
DProfiler.java67 sTimeCallScreenRequested = SystemClock.uptimeMillis(); in callScreenRequested()
73 sTimeCallScreenOnCreate = SystemClock.uptimeMillis(); in callScreenOnCreate()
79 sTimeCallScreenCreated = SystemClock.uptimeMillis(); in callScreenCreated()
96 sTimeIncomingCallPanelRequested = SystemClock.uptimeMillis(); in incomingCallPanelRequested()
102 sTimeIncomingCallPanelOnCreate = SystemClock.uptimeMillis(); in incomingCallPanelOnCreate()
108 sTimeIncomingCallPanelCreated = SystemClock.uptimeMillis(); in incomingCallPanelCreated()
/packages/apps/Car/tests/RotaryIME/src/com/android/car/rotaryime/
DRotaryIme.java149 long uptimeMillis = SystemClock.uptimeMillis(); in sendDownUpKeyEvents() local
150 KeyEvent downEvent = new KeyEvent(uptimeMillis, uptimeMillis, KeyEvent.ACTION_DOWN, in sendDownUpKeyEvents()
153 KeyEvent upEvent = new KeyEvent(uptimeMillis, uptimeMillis, KeyEvent.ACTION_UP, in sendDownUpKeyEvents()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java80 when(mMockClock.uptimeMillis()).thenReturn(START_TIME); in setUp()
302 when(mMockClock.uptimeMillis()).thenReturn(START_TIME_ONE_SECOND); in getSuggestedAudioContext_withStillActiveContext_returnsPrevActiveContext()
321 when(mMockClock.uptimeMillis()) in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes()
339 when(mMockClock.uptimeMillis()).thenReturn(START_TIME_ONE_SECOND); in getSuggestedAudioContext_withActContextAndNewHigherPrioContext_returnPrevActContext()
355 when(mMockClock.uptimeMillis()).thenReturn(START_TIME_FOUR_SECOND); in getSuggestedAudioContext_afterActiveContextTimeout_returnsDefaultContext()
372 when(mMockClock.uptimeMillis()).thenReturn(START_TIME_FOUR_SECOND); in getSuggestedAudioContext_afterActiveContextTimeoutAndNewContext_returnsNewContext()
393 when(mMockClock.uptimeMillis()).thenReturn(START_TIME + volumeCounter * deltaTime); in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext()
399 when(mMockClock.uptimeMillis()) in getSuggestedAudioContext_afterMultipleQueriesAndNewContextCall_returnsNewContext()
416 when(mMockClock.uptimeMillis()).thenReturn(START_TIME_ONE_SECOND); in getSuggestedAudioContext_afterResetSelectedVolumeContext_returnsDefaultContext()
DCarAudioPlaybackCallbackTest.java74 when(mClock.uptimeMillis()).thenReturn(TIMER_START_TIME_MS); in setUp()
243 when(mClock.uptimeMillis()).thenReturn(TIMER_BEFORE_TIMEOUT_MS); in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts()
285 when(mClock.uptimeMillis()).thenReturn(TIMER_BEFORE_TIMEOUT_MS); in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts()
329 when(mClock.uptimeMillis()).thenReturn(TIMER_BEFORE_TIMEOUT_MS); in getAllActiveContextsForPrimaryZone_afterResetStillActiveContexts_returnsEmptyContext()
370 when(mClock.uptimeMillis()).thenReturn(TIMER_AFTER_TIMEOUT_MS); in getAllActiveContextsForPrimaryZone_withInactiveConfig_afterTimeout_returnsContext()
411 when(mClock.uptimeMillis()).thenReturn(TIMER_AFTER_TIMEOUT_MS); in getAllActiveContextsForPrimaryZone_withInactiveConfigs_afterTimeout_returnsEmpty()
/packages/apps/DevCamera/src/com/android/devcamera/
DMediaSaver.java71 long t0 = SystemClock.uptimeMillis(); in saveDepth()
87 long t1 = SystemClock.uptimeMillis(); in saveDepth()
114 long t0 = SystemClock.uptimeMillis(); in saveJpeg()
119 long t1 = SystemClock.uptimeMillis(); in saveJpeg()
126 long t2 = SystemClock.uptimeMillis(); in saveJpeg()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLatencyTracker.java37 mStartTime = SystemClock.uptimeMillis(); in LatencyTracker()
44 mStartTime = SystemClock.uptimeMillis(); in reset()
51 long now = SystemClock.uptimeMillis(); in getLatency()
/packages/apps/TV/common/src/com/android/tv/common/util/
DClock.java45 long uptimeMillis(); in uptimeMillis() method
74 public long uptimeMillis() {
75 return SystemClock.uptimeMillis();
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestHandler.java52 mTimeDelta = mTimer.getNow() - SystemClock.uptimeMillis(); in dispatchNextMessage()
68 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() argument
71 mTimer.scheduleAtTime(new TestTimer.Task(task), uptimeMillis + mTimeDelta); in sendMessageAtTime()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java32 final long startTime = SystemClock.uptimeMillis(); in atMost()
35 while (SystemClock.uptimeMillis() < endTime) { in atMost()
54 Log.d("Wait", "atMost: timed out: " + SystemClock.uptimeMillis()); in atMost()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java69 final long start = SystemClock.uptimeMillis(); in sendRequestAsByteArray()
101 long end = SystemClock.uptimeMillis(); in sendRequestAsByteArray()
269 final long startMillis = SystemClock.uptimeMillis();
281 long endMillis = SystemClock.uptimeMillis(); in close()
/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp39 using android::uptimeMillis;
113 int64_t currentUptime = uptimeMillis(); in connectToDaemon()
118 int64_t elapsedTime = uptimeMillis() - currentUptime; in connectToDaemon()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureService.java529 long nowUptimeMillis = mTimeSource.uptimeMillis(); in updateCurrentDistractionEventLocked()
541 private void scheduleAwarenessDispatchLocked(long uptimeMillis) { in scheduleAwarenessDispatchLocked() argument
548 long delayMs = mLastDispatchUptimeMillis + DISPATCH_THROTTLE_MS - uptimeMillis; in scheduleAwarenessDispatchLocked()
562 private boolean shouldThrottleDispatchEventLocked(long uptimeMillis) { in shouldThrottleDispatchEventLocked() argument
563 return uptimeMillis < mLastDispatchUptimeMillis + DISPATCH_THROTTLE_MS; in shouldThrottleDispatchEventLocked()
569 mLastDispatchUptimeMillis = mTimeSource.uptimeMillis(); in dispatchCurrentDistractionEventToClientsLocked()
DSystemTimeSource.java32 public long uptimeMillis() { in uptimeMillis() method in SystemTimeSource
33 return SystemClock.uptimeMillis(); in uptimeMillis()
/packages/services/Car/cpp/evs/manager/1.1/stats/
DCameraUsageStats.cpp43 const auto now = android::uptimeMillis(); in updateFrameStatsOnArrival()
57 const auto now = android::uptimeMillis(); in updateFrameStatsOnReturn()
184 const auto duration = android::uptimeMillis() - mTimeCreatedMs; in writeStats()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DAnimationTime.java33 sTime = SystemClock.uptimeMillis(); in update()
42 sTime = SystemClock.uptimeMillis(); in startTime()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingBlockCheck.java34 mBlockFlingTime = SystemClock.uptimeMillis(); in blockFling()
44 if (SystemClock.uptimeMillis() - mBlockFlingTime >= UNBLOCK_FLING_PAUSE_DURATION) { in onEvent()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java100 mLastActiveContextStartTime = mClock.uptimeMillis(); in CarVolume()
183 mLastActiveContextStartTime = mClock.uptimeMillis(); in setAudioContextStillActive()
235 if (hasExpired(contextStartTime, mClock.uptimeMillis(), mVolumeKeyEventTimeoutMs)) { in getAudioContextStillActive()
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/
DWait.java35 long endTime = SystemClock.uptimeMillis() + timeout; in atMost()
36 while (SystemClock.uptimeMillis() < endTime) { in atMost()
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java65 private long mStartTimeMillis = SystemClock.uptimeMillis();
180 final long timeInterval = SystemClock.uptimeMillis() - mStartTimeMillis; in pullStatsEvents()
216 mStartTimeMillis = SystemClock.uptimeMillis(); in resetStats()
/packages/apps/Launcher3/src/com/android/launcher3/
DAlarm.java45 long currentTime = SystemClock.uptimeMillis(); in setAlarm()
69 long currentTime = SystemClock.uptimeMillis(); in run()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java146 long mDownTime = SystemClock.uptimeMillis(); in touchDown()
153 final long eventTime = SystemClock.uptimeMillis(); in touchUp()
160 final long eventTime = SystemClock.uptimeMillis(); in touchMove()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java412 SystemClock.uptimeMillis()); in testConnectAudio_withOneDevice()
479 SystemClock.uptimeMillis()); in testConnectAudio_withMultipleDevices()
555 SystemClock.uptimeMillis()); in testConnectAudio_connectTwoAudioChannelsShouldFail()
620 SystemClock.uptimeMillis()); in testConnectAudio_firstConnectedAudioDevice()
633 SystemClock.uptimeMillis()); in testConnectAudio_firstConnectedAudioDevice()
740 SystemClock.uptimeMillis()); in testPhoneStateChange_oneDeviceSaveState()
753 SystemClock.uptimeMillis()); in testPhoneStateChange_oneDeviceSaveState()
823 SystemClock.uptimeMillis()); in testPhoneStateChange_multipleDevicesSaveState()
836 SystemClock.uptimeMillis()); in testPhoneStateChange_multipleDevicesSaveState()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/database/
DPhoneLookupHistoryDatabaseHelper.java71 long startTime = SystemClock.uptimeMillis(); in onCreate()
78 SystemClock.uptimeMillis() - startTime); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DFirmwareVersionDetailPreferenceController.java90 mHits[mHits.length - 1] = SystemClock.uptimeMillis(); in handlePreferenceTreeClick()
91 if (mHits[0] >= (SystemClock.uptimeMillis() - DELAY_TIMER_MILLIS)) { in handlePreferenceTreeClick()

123456