/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | TestState.java | 110 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/ |
D | RotaryInputGraphView.java | 198 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/ |
D | NotificationInterruptStateProviderImpl.java | 635 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/ |
D | LatencyTracker.cpp | 46 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/ |
D | LayerTransaction_test.cpp | 100 uint64_t age; in TEST_F() local 105 &age, ×tamps); in TEST_F()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerTest.java | 227 int age = NotificationRecordLogger.getAgeInMinutes(postTimeMs, whenMs); in testGetAgeInMinutes() local 228 assertThat(age).isEqualTo(3); in testGetAgeInMinutes()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 614 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/ |
D | critical_event_log.proto | 29 // Max age of events that are included in this proto.
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 803 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/ |
D | PackageInstallerService.java | 455 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/ |
D | FileUtils.java | 955 final long age = System.currentTimeMillis() - file.lastModified(); in deleteOlderFiles() local 956 if (age > minAgeMs) { in deleteOlderFiles()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 549 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/ |
D | settings_enums.proto | 965 // FIELD: Custom type for the %age battery saver is triggered.
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 12998 // 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/ |
D | android-22.txt | 55434 field public static final java.lang.String MAX_AGE_ATTR = "max-age";
|