Home
last modified time | relevance | path

Searched refs:dispatchTime (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DKeyboardInterceptor.java103 long dispatchTime = SystemClock.uptimeMillis() + delay; in addEventToQueue() local
106 KeyEventHolder.obtain(event, policyFlags, dispatchTime); in addEventToQueue()
110 final KeyEventHolder holder = KeyEventHolder.obtain(event, policyFlags, dispatchTime); in addEventToQueue()
118 MESSAGE_PROCESS_QUEUED_EVENTS, mEventQueueEnd.dispatchTime)) { in scheduleProcessQueuedEvents()
125 while ((mEventQueueEnd != null) && (mEventQueueEnd.dispatchTime <= currentTime)) { in processQueuedEvents()
129 mEventQueueEnd.dispatchTime = currentTime + eventDelay; in processQueuedEvents()
162 public long dispatchTime; field in KeyboardInterceptor.KeyEventHolder
167 public static KeyEventHolder obtain(KeyEvent event, int policyFlags, long dispatchTime) { in obtain() argument
174 holder.dispatchTime = dispatchTime; in obtain()
182 dispatchTime = 0; in recycle()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DPersisterQueueTests.java93 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessOneItem() local
98 final long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessOneItem()
116 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessOneItem_Flush() local
121 final long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessOneItem_Flush()
140 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems() local
167 long dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems_OneAfterAnother() local
171 long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessTwoItems_OneAfterAnother()
183 dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems_OneAfterAnother()
192 processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessTwoItems_OneAfterAnother()
306 final long dispatchTime = SystemClock.uptimeMillis(); in testFlushWaitSynchronously() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastStats.java77 int skipCount, long dispatchTime) { in addBroadcast() argument
85 ae.mTotalDispatchTime += dispatchTime; in addBroadcast()
86 if (ae.mMaxDispatchTime < dispatchTime) { in addBroadcast()
87 ae.mMaxDispatchTime = dispatchTime; in addBroadcast()
H A DBroadcastQueueImpl.java622 r.dispatchTime - r.enqueueTime, in finishReceiverLocked()
623 r.receiverTime - r.dispatchTime, in finishReceiverLocked()
898 r.dispatchTime - r.enqueueTime, in deliverToRegisteredReceiverLocked()
899 r.receiverTime - r.dispatchTime, filter.getPriority(), in deliverToRegisteredReceiverLocked()
1010 r.dispatchTime = SystemClock.uptimeMillis(); in processNextBroadcastLocked()
1119 + " dispatchTime=" + r.dispatchTime in processNextBroadcastLocked()
1182 if (r.dispatchTime == 0) { in processNextBroadcastLocked()
1185 r.dispatchTime = now; in processNextBroadcastLocked()
1192 r.dispatchTime - r.enqueueTime, in processNextBroadcastLocked()
1193 now - r.dispatchTime, 0, in processNextBroadcastLocked()
[all …]
H A DBroadcastRecord.java137 @UptimeMillisLong long dispatchTime; // when broadcast dispatch started field in BroadcastRecord
326 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
328 TimeUtils.formatDuration(dispatchTime - enqueueTime, pw); in dump()
333 TimeUtils.formatDuration(finishTime-dispatchTime, pw); in dump()
551 dispatchTime = from.dispatchTime; in BroadcastRecord()
1250 return (terminalCount == 0 && dispatchTime <= 0); in allReceiversPending()
H A DBroadcastQueueModernImpl.java946 r.dispatchTime = SystemClock.uptimeMillis(); in scheduleReceiverWarmLocked()
2043 final long dispatchTime = SystemClock.uptimeMillis() - r.enqueueTime; in notifyFinishBroadcast() local
2045 manifestCount, manifestSkipCount, dispatchTime); in notifyFinishBroadcast() local
H A DActivityManagerService.java15387 int skipCount, long dispatchTime) { in addBroadcastStatLocked() argument
15389 mCurBroadcastStats.addBroadcast(action, srcPackage, receiveCount, skipCount, dispatchTime); in addBroadcastStatLocked()