Home
last modified time | relevance | path

Searched refs:postTime (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java68 private final long postTime; field in StatusBarNotification
77 String overrideGroupKey, long postTime) { in StatusBarNotification() argument
89 this.postTime = postTime; in StatusBarNotification()
101 long postTime) { in StatusBarNotification() argument
113 this.postTime = postTime; in StatusBarNotification()
131 this.postTime = in.readLong(); in StatusBarNotification()
200 out.writeLong(this.postTime); in writeToParcel()
252 notification, this.user, this.overrideGroupKey, this.postTime); in cloneShallow()
365 return postTime; in getPostTime()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionFrameTracerTest.cpp112 nsecs_t postTime = 20; in BLASTTransactionSendsFrameTracerEvents() local
118 traceTimestamp(layerId, bufferId, frameNumber, postTime, in BLASTTransactionSendsFrameTracerEvents()
120 layer->setBuffer(buffer, fence, postTime, /*desiredPresentTime*/ 30, false, mClientCache, in BLASTTransactionSendsFrameTracerEvents()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleDataTest.java934 private void setPostTime(BubbleEntry entry, long postTime) { in setPostTime() argument
935 when(entry.getStatusBarNotification().getPostTime()).thenReturn(postTime); in setPostTime()
944 NotificationListenerService.Ranking ranking, long postTime) { in createBubbleEntry() argument
962 when(sbn.getPostTime()).thenReturn(postTime); in createBubbleEntry()
973 private void sendUpdatedEntryAtTime(BubbleEntry entry, long postTime) { in sendUpdatedEntryAtTime() argument
974 sendUpdatedEntryAtTime(entry, postTime, true /* visuallyInterruptive */); in sendUpdatedEntryAtTime()
977 private void sendUpdatedEntryAtTime(BubbleEntry entry, long postTime, in sendUpdatedEntryAtTime() argument
979 setPostTime(entry, postTime); in sendUpdatedEntryAtTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DNotificationGroupManagerLegacy.java279 long batchStartTime = postBatchHistory.last().postTime - POST_BATCH_MAX_AGE; in trimPostBatchHistory()
280 while (!postBatchHistory.isEmpty() && postBatchHistory.first().postTime < batchStartTime) { in trimPostBatchHistory()
887 public final long postTime; field in NotificationGroupManagerLegacy.PostRecord
892 this.postTime = entry.getSbn().getPostTime(); in PostRecord()
898 int postTimeComparison = Long.compare(this.postTime, o.postTime); in compareTo()
909 return postTime == that.postTime && key.equals(that.key); in equals()
914 return Objects.hash(postTime, key); in hashCode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DSbnBuilder.java177 public SbnBuilder setPostTime(long postTime) { in setPostTime() argument
178 mPostTime = postTime; in setPostTime()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp505 const int32_t postToAcquireMs = msBetween(timeRecords[0].frameTime.postTime, in flushAvailableRecordsToStatsLocked()
511 const int32_t postToPresentMs = msBetween(timeRecords[0].frameTime.postTime, in flushAvailableRecordsToStatsLocked()
571 uid_t uid, nsecs_t postTime, int32_t gameMode) { in setPostTime() argument
576 postTime); in setPostTime()
603 .postTime = postTime, in setPostTime()
604 .latchTime = postTime, in setPostTime()
605 .acquireTime = postTime, in setPostTime()
606 .desiredTime = postTime, in setPostTime()
DTimeStats.h82 uid_t uid, nsecs_t postTime, int32_t gameMode) = 0;
178 nsecs_t postTime = 0; member
248 nsecs_t postTime, int32_t gameMode) override;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java184 public NotificationEntryBuilder setPostTime(long postTime) { in setPostTime() argument
185 mSbnBuilder.setPostTime(postTime); in setPostTime()
/frameworks/native/services/surfaceflinger/
DLayer.cpp135 mDrawingState.postTime = -1; in Layer()
1197 nsecs_t postTime) { in setFrameTimelineVsyncForBufferTransaction() argument
1198 mDrawingState.postTime = postTime; in setFrameTimelineVsyncForBufferTransaction()
1210 mDrawingState.bufferSurfaceFrameTX->setActualQueueTime(postTime); in setFrameTimelineVsyncForBufferTransaction()
1213 createSurfaceFrameForBuffer(info, postTime, mTransactionName); in setFrameTimelineVsyncForBufferTransaction()
1218 nsecs_t postTime) { in setFrameTimelineVsyncForBufferlessTransaction() argument
1220 mDrawingState.postTime = postTime; in setFrameTimelineVsyncForBufferlessTransaction()
1237 auto surfaceFrame = createSurfaceFrameForTransaction(info, postTime); in setFrameTimelineVsyncForBufferlessTransaction()
1243 it->second = createSurfaceFrameForTransaction(info, postTime); in setFrameTimelineVsyncForBufferlessTransaction()
1265 const FrameTimelineInfo& info, nsecs_t postTime) { in createSurfaceFrameForTransaction() argument
[all …]
DBufferStateLayer.cpp419 const sp<Fence>& acquireFence, nsecs_t postTime, in setBuffer() argument
457 mOwnerUid, postTime, getGameMode()); in setBuffer()
473 addFrameEvent(acquireFence, postTime, isAutoTimestamp ? 0 : desiredPresentTime); in setBuffer()
475 setFrameTimelineVsyncForBufferTransaction(info, postTime); in setBuffer()
482 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, frameNumber, postTime, in setBuffer()
DLayer.h258 nsecs_t postTime; member
824 void setFrameTimelineVsyncForBufferTransaction(const FrameTimelineInfo& info, nsecs_t postTime);
826 nsecs_t postTime);
835 const FrameTimelineInfo& info, nsecs_t postTime);
DSurfaceFlinger.h348 int64_t desiredPresentTime, bool isAutoTimestamp, int64_t postTime,
528 int64_t postTime, uint32_t permissions, bool hasListenerCallbacks, in TransactionState()
540 postTime(postTime), in TransactionState()
559 const int64_t postTime; member
835 const client_cache_t& uncacheBuffer, const int64_t postTime,
DBufferStateLayer.h59 const sp<Fence>& acquireFence, nsecs_t postTime, nsecs_t desiredPresentTime,
DSurfaceFlinger.cpp3538 transaction.postTime, transaction.permissions, in flushTransactionQueues()
3723 const int64_t postTime = systemTime(); in setTransactionState() local
3732 uncacheBuffer, postTime, in setTransactionState()
3757 const int64_t postTime, uint32_t permissions, in applyTransactionState() argument
3779 postTime, permissions, listenerCallbacksWithSurfaces); in applyTransactionState()
3902 int64_t desiredPresentTime, bool isAutoTimestamp, int64_t postTime, uint32_t permissions, in setClientStateLocked() argument
4238 if (layer->setBuffer(buffer, s.acquireFence, postTime, desiredPresentTime, isAutoTimestamp, in setClientStateLocked()
4244 layer->setFrameTimelineVsyncForBufferlessTransaction(frameTimelineInfo, postTime); in setClientStateLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java713 private StatusBarNotification generateSbn(String pkg, int uid, long postTime, int userId) { in generateSbn() argument
719 nb.build(), new UserHandle(userId), null, postTime); in generateSbn()