Home
last modified time | relevance | path

Searched refs:getWhen (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java128 long updatedWhen = msg.getWhen() - milliSeconds; in moveTimeForward()
159 if (now >= msg.getWhen()) { in messageQueueNext()
185 return messageList != null && currentTime() >= messageList.getWhen(); in isIdle()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsTestBase.java143 delay = Math.max(msg.getWhen(), delay); in getLongestDelay()
203 long updatedWhen = msg.getWhen() - milliSeconds; in moveTimeForward()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DCommonVisualInterruptionSuppressors.kt170 systemClock.currentTimeMillis() - entry.sbn.notification.getWhen() in whenAge()
175 entry.sbn.notification.getWhen() <= 0L -> false in whenAge()
318 entry.sbn.notification.getWhen() > avalancheProvider.startTime in shouldSuppress()
DNotificationInterruptStateProviderImpl.java633 final long when = notification.getWhen(); in shouldSuppressHeadsUpWhenAwakeForOldWhen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java99 return (int) (n2.getWhen() - n1.getWhen());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DGroupWhenCoordinator.kt92 .mapNotNull { child -> child.sbn.notification.getWhen().takeIf { it > 0 } } in <lambda>()
DHeadsUpCoordinator.kt300 -posted.entry.sbn.notification.getWhen() in <lambda>()
322 { -it.sbn.notification.getWhen() }, in <lambda>()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java114 if (msg.getWhen() > 0) { in messageDispatched()
115 final long delay = Math.max(0L, session.systemUptimeMillis - msg.getWhen()); in messageDispatched()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java147 if (msg.getWhen() > mLastVibe + INTERVAL) { in handleMessage()
148 mLastVibe = msg.getWhen(); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java1246 o1.getRepresentativeEntry().getSbn().getNotification().getWhen(),
1247 o2.getRepresentativeEntry().getSbn().getNotification().getWhen());
1260 o1.getRepresentativeEntry().getSbn().getNotification().getWhen(),
1261 o2.getRepresentativeEntry().getSbn().getNotification().getWhen());
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java222 long updatedWhen = msg.getWhen() - milliSeconds;
/frameworks/base/core/java/android/os/
DMessage.java376 public long getWhen() { in getWhen() method in Message
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt110 entry.sbn.notification.getWhen(), in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java583 pw.println(prefix + "when=" + notification.when + "/" + notification.getWhen()); in dumpNotification()
1096 if (n.hasAppProvidedWhen() && n.getWhen() <= getSbn().getPostTime()){ in calculateRankingTimeMs()
1097 return n.getWhen(); in calculateRankingTimeMs()
DNotificationRecordLogger.java545 p.r.getSbn().getPostTime(), p.r.getSbn().getNotification().getWhen()); in NotificationReported()
DNotificationAttentionHelper.java1569 && record.getNotification().getWhen() > mLastAvalancheTriggerTimestamp) { in isAvalancheExempted()
DNotificationManagerService.java8110 if (Flags.rejectOldNotifications() && n.hasAppProvidedWhen() && n.getWhen() > 0
8111 && (System.currentTimeMillis() - n.getWhen()) > NOTIFICATION_MAX_AGE_AT_POST) {
8112 Slog.d(TAG, "Ignored enqueue for old " + n.getWhen() + " notification " + r.getKey());
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java1784 assertThat(n.getWhen()).isEqualTo(0); in testGetWhen_zero()
1788 assertThat(n.getWhen()).isEqualTo(n.creationTime); in testGetWhen_zero()
1799 assertThat(n.getWhen()).isEqualTo(9); in testGetWhen_devProvidedNonZero()
1803 assertThat(n.getWhen()).isEqualTo(9); in testGetWhen_devProvidedNonZero()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java1320 delay = Math.max(msg.getWhen(), delay); in getLongestDelay()
1380 long updatedWhen = msg.getWhen() - milliSeconds; in moveTimeForward()
/frameworks/base/core/java/android/app/
DNotification.java6083 contentView.setLong(R.id.chronometer, "setBase", mN.getWhen() in bindHeaderChronometerAndTime()
6091 contentView.setLong(R.id.time, "setTime", mN.getWhen()); in bindHeaderChronometerAndTime()
6097 contentView.setLong(R.id.time, "setTime", mN.getWhen() != 0 ? mN.getWhen() : in bindHeaderChronometerAndTime()
7742 public long getWhen() { in getWhen() method in Notification.Builder
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1865 if (cb != null && msg.getWhen() <= whenMax) { in processPostDelayedCallbacksWithin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java2792 mPublicLayout.setNotificationWhen(mEntry.getSbn().getNotification().getWhen());
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt12218 HSPLandroid/os/Message;->getWhen()J
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21879 method public long getWhen();

12