Home
last modified time | relevance | path

Searched refs:ageMillis (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/native/libs/input/
H A DVelocityTracker.cpp706 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
708 if (ageMillis < 0) { in chooseWeight()
711 if (ageMillis < 10) { in chooseWeight()
712 return 0.5f + ageMillis * 0.05; in chooseWeight()
714 if (ageMillis < 50) { in chooseWeight()
717 if (ageMillis < 60) { in chooseWeight()
718 return 0.5f + (60 - ageMillis) * 0.05; in chooseWeight()
728 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() local
730 if (ageMillis < 50) { in chooseWeight()
733 if (ageMillis < 100) { in chooseWeight()
[all …]
/aosp12/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
H A DEnvironment.java147 long ageMillis = elapsedRealtimeMillis - mResultElapsedRealtimeMillis; in getResultAge() local
148 return Duration.ofMillis(ageMillis); in getResultAge()
/aosp12/frameworks/base/services/core/java/com/android/server/timedetector/
H A DTimeDetectorStrategyImpl.java592 long ageMillis = elapsedRealtimeMillis - utcTime.getReferenceTimeMillis(); in scoreTelephonySuggestion() local
595 int bucketIndex = (int) (ageMillis / TELEPHONY_BUCKET_SIZE_MILLIS); in scoreTelephonySuggestion()
862 long ageMillis = elapsedRealtimeMillis - referenceTimeMillis; in validateSuggestionUtcTime() local
863 return ageMillis <= MAX_UTC_TIME_AGE_MILLIS; in validateSuggestionUtcTime()
/aosp12/packages/modules/StatsD/service/java/com/android/server/stats/
H A DStatsCompanionService.java773 long ageMillis = now - timeMillis; in binderDied() local
774 if (ageMillis > MILLIS_IN_A_DAY) { in binderDied()
779 long ageMillis = now - timeMillis; in binderDied() local
780 if (ageMillis > MILLIS_IN_A_DAY * 7) { in binderDied()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallLogManagerTest.java1040 long creationTimeMillis, long ageMillis, Uri callHandle, in makeFakeCall() argument
1044 ageMillis, callHandle, phoneAccountHandle, callVideoState, postDialDigits, in makeFakeCall()
1049 long creationTimeMillis, long ageMillis, Uri callHandle, in makeFakeCall() argument
1059 when(fakeCall.getAgeMillis()).thenReturn(ageMillis); in makeFakeCall()
/aosp12/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java739 long ageMillis = System.currentTimeMillis()
745 ageMillis > UsageStatistics.VIEW_TIMEOUT_MILLIS) {
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...