Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImpl.java611 final long age = now - when; in shouldSuppressHeadsUpWhenAwakeForOldWhen() local
613 if (age < MAX_HUN_WHEN_AGE_MS) { in shouldSuppressHeadsUpWhenAwakeForOldWhen()
623 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "when <= 0"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
628 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "full-screen intent"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
633 if (log) mLogger.logMaybeHeadsUpDespiteOldWhen(entry, when, age, "foreground service"); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
637 if (log) mLogger.logNoHeadsUpOldWhen(entry, when, age); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp44 std::chrono::duration age = std::chrono::nanoseconds(now) - std::chrono::nanoseconds(eventTime); in isMatureEvent() local
45 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/native/libs/input/
DVelocityTracker.cpp629 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() local
630 if (age > HORIZON) { in getEstimator()
638 time.push_back(-age * 0.000000001f); in getEstimator()
1164 nsecs_t age = newestMovement.eventTime - movement.eventTime; in getEstimator() local
1165 if (age > HORIZON) { in getEstimator()
/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.java644 private void touch(String name, long age) throws Exception { in touch() argument
647 file.setLastModified(System.currentTimeMillis() - age); in touch()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java408 final long age = currentTimeMillis - session.createdMillis; in freeStageDirs() local
409 if (age >= MAX_SESSION_AGE_ON_LOW_STORAGE_MILLIS) { in freeStageDirs()
507 final long age = System.currentTimeMillis() - session.createdMillis; in expireSessionsLocked() local
513 } else if (age >= MAX_AGE_MILLIS) { in expireSessionsLocked()
/frameworks/base/core/java/android/os/
DFileUtils.java849 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local
850 if (age > minAgeMs) { in deleteOlderFiles()
/frameworks/proto_logging/stats/enums/app/
Dsettings_enums.proto980 // FIELD: Custom type for the %age battery saver is triggered.
/frameworks/proto_logging/stats/
Datoms.proto12129 // The age of the app- more than three months old, or more than six months
12137 optional Age age = 5; field
20639 // 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";