/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 277 final int y, final long eventTime, final boolean isKeyRepeat) { in callListenerOnCodeInput() argument 293 sTypingTimeRecorder.onCodeInput(code, eventTime); in callListenerOnCodeInput() 414 private static boolean needsToSuppressKeyPreviewPopup(final long eventTime) { in needsToSuppressKeyPreviewPopup() argument 416 return sTypingTimeRecorder.needsToSuppressKeyPreviewPopup(eventTime); in needsToSuppressKeyPreviewPopup() 419 private void setPressedKeyGraphics(@Nullable final Key key, final long eventTime) { in setPressedKeyGraphics() argument 431 final boolean noKeyPreview = sInGesture || needsToSuppressKeyPreviewPopup(eventTime); in setPressedKeyGraphics() 472 private Key onDownKey(final int x, final int y, final long eventTime) { in onDownKey() argument 473 mDownTime = eventTime; in onDownKey() 535 public void onUpdateBatchInput(final InputPointers aggregatedPointers, final long eventTime) { in onUpdateBatchInput() argument 551 public void onEndBatchInput(final InputPointers aggregatedPointers, final long eventTime) { in onEndBatchInput() argument [all …]
|
D | MoreKeysKeyboardView.java | 159 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) { in onDownEvent() argument 165 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime) { in onMoveEvent() argument 178 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) { in onUpEvent() argument 263 final long eventTime = me.getEventTime(); in onTouchEvent() local 271 onDownEvent(x, y, pointerId, eventTime); in onTouchEvent() 275 onUpEvent(x, y, pointerId, eventTime); in onTouchEvent() 278 onMoveEvent(x, y, pointerId, eventTime); in onTouchEvent()
|
D | MoreKeysPanel.java | 80 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime); in onMoveEvent() argument 90 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime); in onDownEvent() argument 100 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime); in onUpEvent() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | TypingTimeRecorder.java | 32 public boolean isInFastTyping(final long eventTime) { in isInFastTyping() argument 33 final long elapsedTimeSinceLastLetterTyping = eventTime - mLastLetterTypingTime; in isInFastTyping() 41 public void onCodeInput(final int code, final long eventTime) { in onCodeInput() argument 48 || eventTime - mLastTypingTime < mStaticTimeThresholdAfterFastTyping) { in onCodeInput() 49 mLastLetterTypingTime = eventTime; in onCodeInput() 52 if (eventTime - mLastLetterTypingTime < mStaticTimeThresholdAfterFastTyping) { in onCodeInput() 54 mLastLetterTypingTime = eventTime; in onCodeInput() 57 mLastTypingTime = eventTime; in onCodeInput() 60 public void onEndBatchInput(final long eventTime) { in onEndBatchInput() argument 61 mLastBatchInputTime = eventTime; in onEndBatchInput() [all …]
|
D | NonDistinctMultitouchHelper.java | 50 final long eventTime = me.getEventTime(); in processMotionEvent() local 60 injectMotionEvent(action, me.getX(index), me.getY(index), downTime, eventTime, in processMotionEvent() 74 injectMotionEvent(MotionEvent.ACTION_UP, x, y, downTime, eventTime, in processMotionEvent() 89 injectMotionEvent(MotionEvent.ACTION_DOWN, x, y, downTime, eventTime, in processMotionEvent() 93 injectMotionEvent(MotionEvent.ACTION_UP, x, y, downTime, eventTime, in processMotionEvent() 105 final long downTime, final long eventTime, final PointerTracker tracker, in injectMotionEvent() argument 108 downTime, eventTime, action, x, y, 0 /* metaState */); in injectMotionEvent()
|
D | PointerTrackerQueue.java | 30 public void onPhantomUpEvent(long eventTime); in onPhantomUpEvent() argument 95 public void releaseAllPointersOlderThan(final Element pointer, final long eventTime) { in releaseAllPointersOlderThan() argument 109 element.onPhantomUpEvent(eventTime); in releaseAllPointersOlderThan() 139 public void releaseAllPointers(final long eventTime) { in releaseAllPointers() argument 140 releaseAllPointersExcept(null, eventTime); in releaseAllPointers() 143 public void releaseAllPointersExcept(final Element pointer, final long eventTime) { in releaseAllPointersExcept() argument 164 element.onPhantomUpEvent(eventTime); in releaseAllPointersExcept()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/ |
D | SourceNoiseHandlerTest.java | 288 long eventTime = System.currentTimeMillis(); in impressionNoiseParamGeneration() local 292 .setEventTime(eventTime) in impressionNoiseParamGeneration() 293 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(30)) in impressionNoiseParamGeneration() 306 .setEventTime(eventTime) in impressionNoiseParamGeneration() 307 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(30)) in impressionNoiseParamGeneration() 320 .setEventTime(eventTime) in impressionNoiseParamGeneration() 321 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(30)) in impressionNoiseParamGeneration() 334 .setEventTime(eventTime) in impressionNoiseParamGeneration() 335 .setExpiryTime(eventTime + TimeUnit.DAYS.toMillis(30)) in impressionNoiseParamGeneration() 336 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(30)) in impressionNoiseParamGeneration() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | PointerTrackerQueueTests.java | 56 public void onPhantomUpEvent(long eventTime) { in onPhantomUpEvent() argument 58 mPhantomUpEventTime = eventTime + sPhantomUpCount; in onPhantomUpEvent() 181 final long eventTime = 123; in testReleaseAllPointers() local 183 mQueue.releaseAllPointers(eventTime); in testReleaseAllPointers() 187 assertEquals(eventTime + 1, mElement1.mPhantomUpEventTime); in testReleaseAllPointers() 188 assertEquals(eventTime + 2, mElement2.mPhantomUpEventTime); in testReleaseAllPointers() 189 assertEquals(eventTime + 3, mElement3.mPhantomUpEventTime); in testReleaseAllPointers() 190 assertEquals(eventTime + 4, mElement4.mPhantomUpEventTime); in testReleaseAllPointers() 200 final long eventTime = 123; in testReleaseAllPointersOlderThanFirst() local 202 mQueue.releaseAllPointersOlderThan(mElement1, eventTime); in testReleaseAllPointersOlderThanFirst() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportWindowCalcDelegateTest.java | 384 long eventTime = System.currentTimeMillis(); in noiseReportingTimeByIndex_event() local 390 .setEventTime(eventTime) in noiseReportingTimeByIndex_event() 391 .setExpiryTime(eventTime + TimeUnit.DAYS.toMillis(30)) in noiseReportingTimeByIndex_event() 392 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(10)) in noiseReportingTimeByIndex_event() 395 eventTime + TimeUnit.DAYS.toMillis(10), in noiseReportingTimeByIndex_event() 399 eventTime + TimeUnit.DAYS.toMillis(10), in noiseReportingTimeByIndex_event() 407 .setEventTime(eventTime) in noiseReportingTimeByIndex_event() 408 .setExpiryTime(eventTime + TimeUnit.DAYS.toMillis(30)) in noiseReportingTimeByIndex_event() 409 .setEventReportWindow(eventTime + TimeUnit.DAYS.toMillis(7)) in noiseReportingTimeByIndex_event() 412 eventTime + TimeUnit.DAYS.toMillis(7), in noiseReportingTimeByIndex_event() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 72 final long eventTime = event.getEventTime(); in onHoverEnter() local 73 mKeyboardView.onDownEvent(x, y, pointerId, eventTime); in onHoverEnter() 83 final long eventTime = event.getEventTime(); in onHoverMove() local 84 mKeyboardView.onMoveEvent(x, y, pointerId, eventTime); in onHoverMove() 101 final long eventTime = event.getEventTime(); in onHoverExit() local 109 mKeyboardView.onUpEvent(x, y, pointerId, eventTime); in onHoverExit()
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 66 const int64_t eventTime, const ConditionKey& conditionKey, in noteStart() argument 92 duration.lastStartTime = eventTime; in noteStart() 93 startAnomalyAlarm(eventTime); in noteStart() 100 void MaxDurationTracker::noteStop(const HashableDimensionKey& key, const int64_t eventTime, in noteStop() argument 116 stopAnomalyAlarm(eventTime); in noteStop() 118 int64_t durationTime = eventTime - duration.lastStartTime; in noteStop() 120 (long long)duration.lastStartTime, (long long)eventTime, in noteStop() 126 startAnomalyAlarm(eventTime); in noteStop() 167 void MaxDurationTracker::noteStopAll(const int64_t eventTime) { in noteStopAll() argument 173 noteStop(key, eventTime, true); in noteStopAll()
|
D | DurationTracker.h | 105 virtual void noteStart(const HashableDimensionKey& key, bool condition, int64_t eventTime, 107 virtual void noteStop(const HashableDimensionKey& key, int64_t eventTime, 109 virtual void noteStopAll(const int64_t eventTime) = 0; 172 void startAnomalyAlarm(const int64_t eventTime) { in startAnomalyAlarm() argument 176 predictAnomalyTimestampNs(*anomalyTracker, eventTime); in startAnomalyAlarm()
|
D | MaxDurationTracker.h | 39 void noteStart(const HashableDimensionKey& key, bool condition, int64_t eventTime, 41 void noteStop(const HashableDimensionKey& key, int64_t eventTime, const bool stopAll) override; 42 void noteStopAll(const int64_t eventTime) override;
|
D | OringDurationTracker.h | 37 void noteStart(const HashableDimensionKey& key, bool condition, int64_t eventTime, 39 void noteStop(const HashableDimensionKey& key, int64_t eventTime, const bool stopAll) override; 40 void noteStopAll(const int64_t eventTime) override;
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/ |
D | BasePermissionEventStorageTest.kt | 180 val todayEvent = parkingEvent.copy(eventTime = System.currentTimeMillis()) in removeOldData_removesOnlyOldData() 182 podcastEvent.copy(eventTime = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(6)) in removeOldData_removesOnlyOldData() 184 parkingEvent.copy(eventTime = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(8)) in removeOldData_removesOnlyOldData() 204 musicEvent.copy(eventTime = musicEvent.eventTime + TimeUnit.DAYS.toMillis(1)) in updateEventsBySystemTimeDelta_oneDayForward_shiftsData() 218 musicEvent.copy(eventTime = musicEvent.eventTime - TimeUnit.DAYS.toMillis(1)) in updateEventsBySystemTimeDelta_oneDayBackward_shiftsData() 253 return this.copy(eventTime = this.eventTime + timeDelta) in copyWithTimeDelta()
|
D | PermissionChangeStorageImplTest.kt | 105 val laterInTheDayGrant = mapChange.copy(eventTime = (mapChange.eventTime + FIVE_HOURS_MS)) in serialize_roundsTimeDownToDate() 160 val laterInTheDayEvent = mapChange.copy(eventTime = (mapChange.eventTime + FIVE_HOURS_MS)) in serialize_afterStoresExactTimeChangedToFalse_roundsTimeDownToDate()
|
D | TestPermissionEvent.kt | 28 override val eventTime: Long, constant in com.android.permissioncontroller.tests.mocking.permission.service.TestPermissionEvent 30 ) : PermissionEvent(packageName, eventTime)
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 154 final long eventTime = SystemClock.uptimeMillis(); in touchUp() local 155 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, 0, x, y); in touchUp() 161 final long eventTime = SystemClock.uptimeMillis(); in touchMove() local 162 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_MOVE, button, x, in touchMove() 168 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, int button, in getMotionEvent() argument 181 return MotionEvent.obtain(downTime, eventTime, action, 1, in getMotionEvent()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManager.java | 81 long eventTime = mClock.millis(); in getAggregateEncryptionKeys() local 87 coordinatorOrigin, eventTime)); in getAggregateEncryptionKeys() 97 coordinatorOrigin, aggregationCoordinatorUrl, eventTime); in getAggregateEncryptionKeys() 108 dao.deleteExpiredAggregateEncryptionKeys(eventTime)); in getAggregateEncryptionKeys()
|
/packages/apps/TV/src/com/android/tv/receiver/ |
D | AbstractGlobalKeyReceiver.java | 82 long eventTime = event.getEventTime(); in handleIntent() local 83 if (action == KeyEvent.ACTION_UP && sLastEventTime != eventTime) { in handleIntent() 85 sLastEventTime = eventTime; in handleIntent()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 190 Time eventTime = new Time(); in performInstanceExpansion() local 291 eventTime.setTimezone(eventTimezone); in performInstanceExpansion() 292 eventTime.set(dtstartMillis); in performInstanceExpansion() 293 eventTime.setAllDay(allDay); in performInstanceExpansion() 330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion() 335 eventTime.setTimezone(Time.TIMEZONE_UTC); in performInstanceExpansion() 337 eventTime.setTimezone(localTimezone); in performInstanceExpansion() 350 eventTime, initialValues); in performInstanceExpansion() 407 eventTime.setTimezone(Time.TIMEZONE_UTC); in performInstanceExpansion() 409 eventTime.setTimezone(localTimezone); in performInstanceExpansion() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | PermissionChange.kt | 25 data class PermissionChange(override val packageName: String, override val eventTime: Long) : constant in com.android.permissioncontroller.permission.data.PermissionChange 26 PermissionEvent(packageName, eventTime)
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | DurationMetricProducer.h | 99 void onConditionChangedLocked(const bool conditionMet, int64_t eventTime) override; 105 void onSlicedConditionMayChangeLocked(bool overallCondition, int64_t eventTime) override; 109 void onSlicedConditionMayChangeLocked_opt1(const int64_t eventTime); 119 void flushIfNeededLocked(int64_t eventTime);
|
D | DurationMetricProducer.cpp | 368 void DurationMetricProducer::onSlicedConditionMayChangeLocked_opt1(const int64_t eventTime) { in onSlicedConditionMayChangeLocked_opt1() argument 403 whatIt.second->onConditionChanged(currentUnSlicedPartCondition, eventTime); in onSlicedConditionMayChangeLocked_opt1() 415 whatIt.second->onConditionChanged(true, eventTime); in onSlicedConditionMayChangeLocked_opt1() 419 whatIt.second->onConditionChanged(false, eventTime); in onSlicedConditionMayChangeLocked_opt1() 440 const int64_t eventTime) { in onSlicedConditionMayChangeLocked() argument 447 flushIfNeededLocked(eventTime); in onSlicedConditionMayChangeLocked() 453 onSlicedConditionMayChangeInternalLocked(eventTime); in onSlicedConditionMayChangeLocked() 484 const int64_t eventTime) { in onConditionChangedLocked() argument 492 flushIfNeededLocked(eventTime); in onConditionChangedLocked() 494 whatIt.second->onConditionChanged(conditionMet, eventTime); in onConditionChangedLocked() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v33/ |
D | PermissionDecision.kt | 32 override val eventTime: Long, constant in com.android.permissioncontroller.permission.data.v33.PermissionDecision 35 ) : PermissionEvent(packageName, eventTime)
|