Home
last modified time | relevance | path

Searched defs:eventTime (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java517 long eventTime = INITIAL_EVENT_TIME_MILLIS + POWER_DOUBLE_TAP_MAX_TIME_MS - 1; in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
535 long eventTime = INITIAL_EVENT_TIME_MILLIS in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local
553 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
596 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
641 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
685 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
737 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_walletAndEmergencyEnabled_bothLaunch() local
773 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsWalletPowerGesture() local
796 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_walletGestureOn_quickAccessWalletServiceUnavailable() local
814 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_walletGestureOn_userSetupIncomplete() local
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DKeyCombinationManagerTests.java163 final long eventTime = SystemClock.uptimeMillis(); in testTriggerRule() local
179 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_NoRule() local
191 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Interval() local
202 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Condition() local
214 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_EarlyRelease() local
224 final long eventTime = SystemClock.uptimeMillis(); in testKeyInterceptTimeout() local
248 long eventTime = SystemClock.uptimeMillis(); in testAddRemove() local
DPhoneWindowManagerTests.java279 int eventTime = 0; in powerPress_hubOrDreamOrSleep_goesToSleepFromDream() local
306 int eventTime = 0; in powerPress_hubOrDreamOrSleep_hubAvailableLocks() local
332 int eventTime = 0; in powerPress_hubOrDreamOrSleep_hubNotAvailableDreams() local
356 int eventTime = 0; in powerPress_dreamOrAwakeOrSleep_awakeFromDream() local
381 int eventTime = 0; in powerPress_dreamOrAwakeOrSleep_canNotDreamGoToSleep() local
403 int eventTime = 0; in powerPress_dreamOrAwakeOrSleep_dreamFromActive() local
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java353 private void handleUEventNotification(int deviceId, long eventTime) { in handleUEventNotification()
368 final long eventTime = SystemClock.uptimeMillis(); in handlePollEvent() local
385 private void handleBluetoothBatteryLevelChange(long eventTime, String address, in handleBluetoothBatteryLevelChange()
403 final long eventTime = SystemClock.uptimeMillis(); in handleBluetoothMetadataChange() local
431 public void notifyStylusGestureStarted(int deviceId, long eventTime) { in notifyStylusGestureStarted()
577 final long eventTime = SystemClock.uptimeMillis(); in DeviceMonitor() local
581 protected void processChangesAndNotify(long eventTime, Consumer<Long> changes) { in processChangesAndNotify()
590 public void onConfiguration(long eventTime) { in onConfiguration()
594 private void configureDeviceMonitor(long eventTime) { in configureDeviceMonitor()
656 private void startBluetoothMetadataMonitoring(long eventTime) { in startBluetoothMetadataMonitoring()
[all …]
/frameworks/native/libs/input/
DVirtualInputDevice.cpp287 std::chrono::nanoseconds eventTime) { in writeInputEvent()
302 std::chrono::nanoseconds eventTime) { in writeEvKeyEvent()
448 std::chrono::nanoseconds eventTime) { in writeKeyEvent()
471 std::chrono::nanoseconds eventTime) { in writeDpadKeyEvent()
501 std::chrono::nanoseconds eventTime) { in writeButtonEvent()
507 std::chrono::nanoseconds eventTime) { in writeRelativeEvent()
514 std::chrono::nanoseconds eventTime) { in writeScrollEvent()
598 float majorAxisSize, std::chrono::nanoseconds eventTime) { in writeTouchEvent()
643 bool VirtualTouchscreen::handleTouchUp(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchUp()
663 bool VirtualTouchscreen::handleTouchDown(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchDown()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DChronometerStateTest.kt99 val eventTime = 1000L in textUpdates_isEventInFutureFalse_timeInPast() constant
119 val eventTime = 15_000L in <lambda>() constant
140 val eventTime = 15_000L in <lambda>() constant
158 val eventTime = 15_000L in <lambda>() constant
205 val eventTime = 50_000L in <lambda>() constant
232 val eventTime = 50_000L in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/util/
DUserTouchActivityNotifierTest.kt44 var eventTime = 0L in secondEventTriggersRateLimited() variable
56 var eventTime = 0L in overridingActionNotifies() variable
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/classifier/
DClassifierTest.java94 protected MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent()
102 protected MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent()
111 protected MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent()
117 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local
122 private MotionEvent appendMotionEvent(int actionType, float x, float y, long eventTime) { in appendMotionEvent()
150 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendTrackpadMotionEvent() local
156 int pointerCount, long eventTime) { in appendTrackpadMotionEvent()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp63 EventEntry::EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags) in EventEntry()
73 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry()
83 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry()
98 PointerCaptureChangedEntry::PointerCaptureChangedEntry(int32_t id, nsecs_t eventTime, in PointerCaptureChangedEntry()
111 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry()
125 KeyEntry::KeyEntry(int32_t id, std::shared_ptr<InjectionState> injectionState, nsecs_t eventTime, in KeyEntry()
167 TouchModeEntry::TouchModeEntry(int32_t id, nsecs_t eventTime, bool inTouchMode, in TouchModeEntry()
180 nsecs_t eventTime, int32_t deviceId, uint32_t source, in MotionEntry()
244 SensorEntry::SensorEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in SensorEntry()
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp40 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs()
61 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
145 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs()
155 NotifySensorArgs::NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifySensorArgs()
171 NotifyVibratorStateArgs::NotifyVibratorStateArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, in NotifyVibratorStateArgs()
177 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs()
183 int32_t id, nsecs_t eventTime, const PointerCaptureRequest& request) in NotifyPointerCaptureChangedArgs()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowWakeUpPolicyInternal.java48 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown); in wakeUpFromKey()
62 long eventTime, int source, boolean isDown, boolean deviceGoingToSleep); in wakeUpFromMotion()
DWindowWakeUpPolicy.java118 boolean wakeUpFromKey(int displayId, long eventTime, int keyCode, boolean isDown) { in wakeUpFromKey()
159 int displayId, long eventTime, int source, boolean isDown, in wakeUpFromMotion()
185 boolean wakeUpFromCameraCover(long eventTime) { in wakeUpFromCameraCover()
DSideFpsEventHandler.java149 public boolean shouldConsumeSinglePress(long eventTime) { in shouldConsumeSinglePress()
176 private void goToSleep(long eventTime) { in goToSleep()
DSingleKeyGestureDetector.java139 void onLongPress(long eventTime) {} in onLongPress()
151 void onVeryLongPress(long eventTime) {} in onVeryLongPress()
161 void onKeyUp(long eventTime, int pressCount, int displayId, int deviceId, int metaState) {} in onKeyUp()
336 final long eventTime = event.getEventTime(); in interceptKeyUp() local
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java109 boolean supportsSandman, long eventTime, PowerManagerFlags featureFlags) { in PowerGroup()
147 DisplayManagerInternal displayManagerInternal, long eventTime, in PowerGroup()
192 boolean setWakefulnessLocked(int newWakefulness, long eventTime, int uid, int reason, int opUid, in setWakefulnessLocked()
272 void wakeUpLocked(long eventTime, @PowerManager.WakeReason int reason, String details, int uid, in wakeUpLocked()
298 boolean dreamLocked(long eventTime, int uid, boolean allowWake) { in dreamLocked()
315 boolean dozeLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in dozeLocked()
342 boolean sleepLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in sleepLocked()
606 void onWakefulnessChangedLocked(int groupId, int wakefulness, long eventTime, int reason, in onWakefulnessChangedLocked()
DWakefulnessSessionObserver.java249 long eventTime, int powerGroupId, @PowerManager.UserActivityEvent int event) { in notifyUserActivity()
263 public void onScreenPolicyUpdate(long eventTime, int powerGroupId, int newPolicy) { in onScreenPolicyUpdate()
280 long eventTime) { in onWakefulnessChangeStarted()
417 public void notifyUserActivity(long eventTime, @PowerManager.UserActivityEvent int event) { in notifyUserActivity()
428 public void onScreenPolicyUpdate(long eventTime, int newPolicy) { in onScreenPolicyUpdate()
443 public void onWakefulnessChangeStarted(int wakefulness, int changeReason, long eventTime) { in onWakefulnessChangeStarted()
606 @PolicyReason int reasonToBeChecked, long eventTime) { in checkAndLogDimIfQualified()
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h55 MotionArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() function
194 KeyArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() function
DNotifyArgs.h45 nsecs_t eventTime; member
75 nsecs_t eventTime; member
132 nsecs_t eventTime; member
155 nsecs_t eventTime; member
176 nsecs_t eventTime; member
193 nsecs_t eventTime; member
208 nsecs_t eventTime; member
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java579 long eventTime = handleDownTime; in testCursorDrag_multiTouch() local
666 long eventTime = downTime; in dragDownUntilLineChange() local
688 View view, int action, long downTime, long eventTime, float x, float y) { in obtainTouchEvent()
701 View view, int action, long downTime, long eventTime, int pointerId, float x, float y) { in obtainTouchEventWithPointerId()
719 View view, int action, long downTime, long eventTime, float x, float y) { in obtainMouseEvent()
728 private MotionEvent downEvent(View view, long downTime, long eventTime, float x, float y) { in downEvent()
732 private MotionEvent moveEvent(View view, long downTime, long eventTime, float x, float y) { in moveEvent()
736 private MotionEvent upEvent(View view, long downTime, long eventTime, float x, float y) { in upEvent()
740 private MotionEvent mouseDownEvent(View view, long downTime, long eventTime, float x, float y) { in mouseDownEvent()
744 private MotionEvent mouseMoveEvent(View view, long downTime, long eventTime, float x, float y) { in mouseMoveEvent()
[all …]
/frameworks/native/include/input/
DInputEventBuilders.h78 InputMessageBuilder& eventTime(nsecs_t eventTime) { in eventTime() function
271 MotionEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument
399 KeyEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument
/frameworks/native/libs/input/tests/
DVelocityControl_test.cpp38 void moveWithoutCheckingResult(nsecs_t eventTime, float deltaX, float deltaY) { in moveWithoutCheckingResult()
42 void moveAndCheckRatio(nsecs_t eventTime, const float deltaX, const float deltaY, in moveAndCheckRatio()
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherPolicyInterface.h134 virtual bool isStaleEvent(nsecs_t currentTime, nsecs_t eventTime) { in isStaleEvent()
/frameworks/base/services/core/java/com/android/server/display/plugin/
DPluginEventStorage.java49 long eventTime = System.currentTimeMillis(); in onValueUpdated() local
65 private <T> void updateCurrentTimeFrame(PluginType<T> type, long eventTime) { in updateCurrentTimeFrame()
/frameworks/base/tests/Input/src/com/android/server/input/debug/
DRotaryInputGraphViewTest.java55 final long eventTime = 0; in addValue_translatesRotaryInputGraphViewWithHighScrollValue() local
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/accessibility/
DMotionEventHelper.java39 public MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent()

123456