Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java97 long dispatchTime = SystemClock.uptimeMillis() + delay; in addEventToQueue() local
100 KeyEventHolder.obtain(event, policyFlags, dispatchTime); in addEventToQueue()
104 final KeyEventHolder holder = KeyEventHolder.obtain(event, policyFlags, dispatchTime); in addEventToQueue()
112 MESSAGE_PROCESS_QUEUED_EVENTS, mEventQueueEnd.dispatchTime)) { in scheduleProcessQueuedEvents()
119 while ((mEventQueueEnd != null) && (mEventQueueEnd.dispatchTime <= currentTime)) { in processQueuedEvents()
123 mEventQueueEnd.dispatchTime = currentTime + eventDelay; in processQueuedEvents()
156 public long dispatchTime; field in KeyboardInterceptor.KeyEventHolder
161 public static KeyEventHolder obtain(KeyEvent event, int policyFlags, long dispatchTime) { in obtain() argument
168 holder.dispatchTime = dispatchTime; in obtain()
176 dispatchTime = 0; in recycle()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DPersisterQueueTests.java94 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessOneItem() local
99 final long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessOneItem()
118 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessOneItem_Flush() local
123 final long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessOneItem_Flush()
142 final long dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems() local
149 final long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessTwoItems()
170 long dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems_OneAfterAnother() local
174 long processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessTwoItems_OneAfterAnother()
186 dispatchTime = SystemClock.uptimeMillis(); in testProcessTwoItems_OneAfterAnother()
195 processDuration = SystemClock.uptimeMillis() - dispatchTime; in testProcessTwoItems_OneAfterAnother()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastStats.java75 int skipCount, long dispatchTime) { in addBroadcast() argument
83 ae.mTotalDispatchTime += dispatchTime; in addBroadcast()
84 if (ae.mMaxDispatchTime < dispatchTime) { in addBroadcast()
85 ae.mMaxDispatchTime = dispatchTime; in addBroadcast()
DBroadcastRecord.java76 long dispatchTime; // when dispatch started on this set of receivers field in BroadcastRecord
158 TimeUtils.formatDuration(dispatchTime, now, pw); in dump()
165 TimeUtils.formatDuration(finishTime-dispatchTime, pw); in dump()
316 dispatchTime = from.dispatchTime; in BroadcastRecord()
DBroadcastQueue.java1014 r.dispatchTime = SystemClock.uptimeMillis(); in processNextBroadcastLocked()
1115 if (mService.mProcessesReady && !r.timeoutExempt && r.dispatchTime > 0) { in processNextBroadcastLocked()
1117 (now > r.dispatchTime + (2 * mConstants.TIMEOUT * numReceivers))) { in processNextBroadcastLocked()
1121 + " dispatchTime=" + r.dispatchTime in processNextBroadcastLocked()
1210 r.manifestCount, r.manifestSkipCount, r.finishTime-r.dispatchTime); in processNextBroadcastLocked()
1301 r.dispatchTime = r.receiverTime; in processNextBroadcastLocked()
DActivityManagerService.java13507 int skipCount, long dispatchTime) { in addBroadcastStatLocked() argument
13509 mCurBroadcastStats.addBroadcast(action, srcPackage, receiveCount, skipCount, dispatchTime); in addBroadcastStatLocked()