Home
last modified time | relevance | path

Searched refs:timeoutAfter (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DTimeToLiveHelper.java98 final long timeoutAfter = currentTime + record.getNotification().getTimeoutAfter(); in scheduleTimeoutLocked() local
103 if (currentEarliestTime == null || timeoutAfter < currentEarliestTime) { in scheduleTimeoutLocked()
107 mKeys.add(Pair.create(timeoutAfter, record.getKey())); in scheduleTimeoutLocked()
110 mKeys.add(Pair.create(timeoutAfter, record.getKey())); in scheduleTimeoutLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTimeToLiveHelperTest.java73 private NotificationRecord getRecord(String tag, int timeoutAfter) { in getRecord() argument
79 .setTimeoutAfter(timeoutAfter); in getRecord()