Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DHeadsUpEntryTest.java82 assertThat(mHeadsUpEntry.getPostTime()).isNotEqualTo(0); in headsUpEntry_shouldInitializePostTime()
83 assertThat(currentTme).isAtMost(mHeadsUpEntry.getPostTime()); in headsUpEntry_shouldInitializePostTime()
88 long currentPostTime = mHeadsUpEntry.getPostTime(); in updatePostTime_shouldUpdatePostTime()
91 assertThat(currentPostTime).isAtMost(mHeadsUpEntry.getPostTime()); in updatePostTime_shouldUpdatePostTime()
/aosp12/packages/apps/Dialer/java/com/android/dialer/notification/
H A DNotificationThrottler.java122 return Long.compare(left.getPostTime(), right.getPostTime()); in getSortedMatchingNotifications()
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DAlertEntry.java51 long getPostTime() { in getPostTime() method in AlertEntry
H A DCarHeadsUpNotificationManager.java201 System.currentTimeMillis() - currentActiveHeadsUpNotification.getPostTime(); in maybeRemoveHeadsUp()
282 currentActiveHeadsUpNotification.getPostTime() < mDuration; in canUpdate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputNotificationRebuilder.java137 sbn.getPostTime()); in rebuildWithRemoteInputInserted()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DSbnBuilder.java60 mPostTime = source.getPostTime(); in SbnBuilder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleSpaceUtils.java281 + sbn.getPostTime()); in augmentTileFromNotification()
286 .setLastInteractionTimestamp(sbn.getPostTime()) in augmentTileFromNotification()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DDataManagerTest.java265 when(mGenericSbn.getPostTime()).thenReturn(System.currentTimeMillis()); in setUp()
270 when(mConvoSbn.getPostTime()).thenReturn(System.currentTimeMillis()); in setUp()
682 assertEquals(mConvoSbn.getPostTime(), result.getLastEventTimestamp()); in testGetConversation()
1146 when(mGenericSbn.getPostTime()).thenReturn(100L + i); in testUncacheOldestCachedShortcut()
1211 assertEquals(mGenericSbn.getPostTime(), result.get(0).getLastEventTimestamp()); in testGetRecentConversations()
1269 assertEquals(mGenericSbn.getPostTime(), in testGetLastInteraction()
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/notification/
H A DNotificationEntry.java136 sbn.getPostTime()); in cloneStatusBarNotificationLight()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java216 mCreationTimeMs = sbn.getPostTime(); in NotificationRecord()
1008 if (n.when != 0 && n.when <= getSbn().getPostTime()) { in calculateRankingTimeMs()
1016 return getSbn().getPostTime(); in calculateRankingTimeMs()
H A DNotificationManagerService.java4150 sbn.getUser(), sbn.getOverrideGroupKey(), sbn.getPostTime());
/aosp12/packages/apps/Settings/src/com/android/settings/notification/history/
H A DNotificationSbnAdapter.java119 holder.setPostedTime(sbn.getPostTime()); in onBindViewHolder()
H A DNotificationStation.java419 info.timestamp = sbn.getPostTime(); in createFromSbn()
529 .append(String.valueOf(sbn.getPostTime())); in generateExtraText()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubbleDataTest.java1004 when(entry.getStatusBarNotification().getPostTime()).thenReturn(postTime); in setPostTime()
1031 when(sbn.getPostTime()).thenReturn(postTime); in createBubbleEntry()
/aosp12/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java364 public long getPostTime() { in getPostTime() method in StatusBarNotification
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java1166 if (DEBUG) Log.d(TAG, "Last event from notification: " + sbn.getPostTime()); in onNotificationPosted()
1168 .setLastEventTimestamp(sbn.getPostTime()) in onNotificationPosted()
1179 eventHistory.addEvent(new Event(sbn.getPostTime(), Event.TYPE_NOTIFICATION_POSTED)); in onNotificationPosted()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A DShadeListBuilder.java535 if (entry.getSbn().getPostTime() in groupNotifs()
536 > existingSummary.getSbn().getPostTime()) { in groupNotifs()
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java117 mActiveNotifs.put(notif.getTag(), notif.getPostTime()); in init()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubble.java445 mLastUpdated = entry.getStatusBarNotification().getPostTime(); in setEntry()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
H A DNotificationGroupManagerLegacy.java902 this.postTime = entry.getSbn().getPostTime(); in PostRecord()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt14286 HSPLandroid/service/notification/StatusBarNotification;->getPostTime()J
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt38766 method public long getPostTime();
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt27096 method public long getPostTime();
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt14276 HSPLandroid/service/notification/StatusBarNotification;->getPostTime()J