Home
last modified time | relevance | path

Searched refs:age (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTestState.java110 public T getPrevious(int age) { in getPrevious() argument
112 if (age < size) { in getPrevious()
113 return mValues.get(size - 1 - age); in getPrevious()
114 } else if (age == size) { in getPrevious()
117 throw new IndexOutOfBoundsException("age=" + age + " is too big."); in getPrevious()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputGraphView.java198 final int age = (int) (mostRecentTime - value.mTime);
206 final float coordX = leftX + ((float) (MAX_SHOWN_TIME_INTERVAL - age)
224 if (age != 0 && (age - prevAge) <= MAX_GESTURE_TIME) {
230 prevAge = age;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java635 final long age = now - when; in shouldSuppressHeadsUpWhenAwakeForOldWhen() local
637 if (age < MAX_HUN_WHEN_AGE_MS) { in shouldSuppressHeadsUpWhenAwakeForOldWhen()
647 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "when <= 0"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
652 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "full-screen intent"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
657 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "foreground service"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
662 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "user initiated job"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
666 if (log) mLogger.logNoHeadsUpOldWhen(entry, when, age); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp46 std::chrono::duration age = std::chrono::nanoseconds(now) - std::chrono::nanoseconds(eventTime); in isMatureEvent() local
47 return age > ANR_TIMEOUT; in isMatureEvent()
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp100 uint64_t age; in TEST_F() local
105 &age, &timestamps); in TEST_F()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerTest.java227 int age = NotificationRecordLogger.getAgeInMinutes(postTimeMs, whenMs); in testGetAgeInMinutes() local
228 assertThat(age).isEqualTo(3); in testGetAgeInMinutes()
/frameworks/native/libs/input/
DVelocityTracker.cpp614 nsecs_t age = newestMovement.eventTime - movement.eventTime; in solveUnweightedLeastSquaresDeg2() local
615 float xi = -age * SECONDS_PER_NANO; in solveUnweightedLeastSquaresDeg2()
682 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getVelocity() local
685 time.push_back(-age * 0.000000001f); in getVelocity()
/frameworks/base/proto/src/criticalevents/
Dcritical_event_log.proto29 // Max age of events that are included in this proto.
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java803 private void touch(String name, long age) throws Exception { in touch() argument
806 file.setLastModified(System.currentTimeMillis() - age); in touch()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java455 final long age = currentTimeMillis - session.createdMillis; in freeStageDirs() local
456 if (age >= MAX_SESSION_AGE_ON_LOW_STORAGE_MILLIS) { in freeStageDirs()
554 final long age = System.currentTimeMillis() - session.createdMillis; in expireSessionsLocked() local
560 } else if (age >= MAX_AGE_MILLIS) { in expireSessionsLocked()
/frameworks/base/core/java/android/os/
DFileUtils.java955 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local
956 if (age > minAgeMs) { in deleteOlderFiles()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java549 final long age = System.currentTimeMillis() - file.lastModified(); in cleanupOldBugreports() local
552 if (count > MIN_KEEP_COUNT && age > MIN_KEEP_AGE) { in cleanupOldBugreports()
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto965 // FIELD: Custom type for the %age battery saver is triggered.
/frameworks/proto_logging/stats/
Datoms.proto12998 // The age of the app- more than three months old, or more than six months
13006 optional Age age = 5; field
21793 // The age (millis) of the dropped dropbox entry.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55434 field public static final java.lang.String MAX_AGE_ATTR = "max-age";