Home
last modified time | relevance | path

Searched refs:timeDelta (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocationEventLog.java220 protected LogEvent createLogEvent(long timeDelta, int event, Object... args) { in createLogEvent() argument
223 return new UserSwitchedEvent(timeDelta, (Integer) args[0], (Integer) args[1]); in createLogEvent()
225 return new LocationEnabledEvent(timeDelta, (Integer) args[0], (Boolean) args[1]); in createLogEvent()
227 return new LocationAdasEnabledEvent(timeDelta, (Integer) args[0], in createLogEvent()
230 return new ProviderEnabledEvent(timeDelta, (String) args[0], (Integer) args[1], in createLogEvent()
233 return new ProviderMockedEvent(timeDelta, (String) args[0], (Boolean) args[1]); in createLogEvent()
235 return new ProviderClientRegisterEvent(timeDelta, (String) args[0], true, in createLogEvent()
238 return new ProviderClientRegisterEvent(timeDelta, (String) args[0], false, in createLogEvent()
241 return new ProviderClientForegroundEvent(timeDelta, (String) args[0], true, in createLogEvent()
244 return new ProviderClientForegroundEvent(timeDelta, (String) args[0], false, in createLogEvent()
[all …]
DLocalEventLog.java48 FillerEvent(long timeDelta) { in FillerEvent() argument
49 Preconditions.checkArgument(timeDelta >= 0); in FillerEvent()
50 mTimeDelta = (int) timeDelta; in FillerEvent()
83 protected LogEvent(long timeDelta) { in LogEvent() argument
84 Preconditions.checkArgument(timeDelta >= 0); in LogEvent()
85 mTimeDelta = (int) timeDelta; in LogEvent()
127 protected abstract LogEvent createLogEvent(long timeDelta, int event, Object... args); in createLogEvent() argument
158 long timeDelta = Math.min(FillerEvent.MAX_TIME_DELTA, delta); in addLogEvent() local
159 addLogEventInternal(new FillerEvent(timeDelta)); in addLogEvent()
160 delta -= timeDelta; in addLogEvent()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java136 final float timeDelta = (frameTimeNanos - mLastFrameTimeNanos)
149 final float amount = timeDelta * mRate / scale;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DSwipe.java160 final long timeDelta = time - mBaseTime; in onMove() local
191 if (timeDelta > MAX_TIME_TO_START_SWIPE_MS) { in onMove()
197 if (timeDelta > MAX_TIME_TO_CONTINUE_SWIPE_MS) { in onMove()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java1170 long timeDelta = sample.time - meanTime; in getSlopeOf() local
1172 sampleVariance += timeDelta * timeDelta; in getSlopeOf()
1173 sampleCovariance += timeDelta * temperatureDelta; in getSlopeOf()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java635 final long timeDelta = -123; in timeChangeMovesRtcAlarm() local
636 mNowRtcTest += timeDelta; in timeChangeMovesRtcAlarm()
640 triggerElapsed1 - timeDelta); in timeChangeMovesRtcAlarm()