/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 252 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local 271 long eventTime = INITIAL_EVENT_TIME_MILLIS in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local 291 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local 336 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local 383 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local 430 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local 484 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() local 573 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_emergencyGestureEnabled_launchesFlow() local 627 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_tenInboundPresses_emergencyGestureEnabled_keyIntercepted() local 680 long eventTime = triggerEmergencyGesture(); in testInterceptPowerKeyDown_triggerEmergency_singleTaps_cooldownTriggered() local [all …]
|
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 50 std::chrono::nanoseconds eventTime) { in writeInputEvent() 65 std::chrono::nanoseconds eventTime) { in writeEvKeyEvent() 211 std::chrono::nanoseconds eventTime) { in writeKeyEvent() 234 std::chrono::nanoseconds eventTime) { in writeDpadKeyEvent() 261 std::chrono::nanoseconds eventTime) { in writeButtonEvent() 267 std::chrono::nanoseconds eventTime) { in writeRelativeEvent() 274 std::chrono::nanoseconds eventTime) { in writeScrollEvent() 320 float majorAxisSize, std::chrono::nanoseconds eventTime) { in writeTouchEvent() 365 bool VirtualTouchscreen::handleTouchUp(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchUp() 385 bool VirtualTouchscreen::handleTouchDown(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchDown() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | KeyCombinationManagerTests.java | 162 final long eventTime = SystemClock.uptimeMillis(); in testTriggerRule() local 178 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_NoRule() local 190 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Interval() local 201 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Condition() local 213 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_EarlyRelease() local 223 final long eventTime = SystemClock.uptimeMillis(); in testKeyInterceptTimeout() local 247 long eventTime = SystemClock.uptimeMillis(); in testAddRemove() local
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | BatteryController.java | 352 private void handleUEventNotification(int deviceId, long eventTime) { in handleUEventNotification() 367 final long eventTime = SystemClock.uptimeMillis(); in handlePollEvent() local 384 private void handleBluetoothBatteryLevelChange(long eventTime, String address, in handleBluetoothBatteryLevelChange() 402 final long eventTime = SystemClock.uptimeMillis(); in handleBluetoothMetadataChange() local 430 public void notifyStylusGestureStarted(int deviceId, long eventTime) { in notifyStylusGestureStarted() 576 final long eventTime = SystemClock.uptimeMillis(); in DeviceMonitor() local 580 protected void processChangesAndNotify(long eventTime, Consumer<Long> changes) { in processChangesAndNotify() 589 public void onConfiguration(long eventTime) { in onConfiguration() 593 private void configureDeviceMonitor(long eventTime) { in configureDeviceMonitor() 655 private void startBluetoothMetadataMonitoring(long eventTime) { in startBluetoothMetadataMonitoring() [all …]
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 40 NotifyConfigurationChangedArgs::NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime) in NotifyConfigurationChangedArgs() 45 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs() 66 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs() 150 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs() 160 NotifySensorArgs::NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifySensorArgs() 176 NotifyVibratorStateArgs::NotifyVibratorStateArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, in NotifyVibratorStateArgs() 182 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs() 188 int32_t id, nsecs_t eventTime, const PointerCaptureRequest& request) in NotifyPointerCaptureChangedArgs()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 63 EventEntry::EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags) in EventEntry() 73 ConfigurationChangedEntry::ConfigurationChangedEntry(int32_t id, nsecs_t eventTime) in ConfigurationChangedEntry() 82 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry() 92 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry() 107 PointerCaptureChangedEntry::PointerCaptureChangedEntry(int32_t id, nsecs_t eventTime, in PointerCaptureChangedEntry() 120 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry() 134 KeyEntry::KeyEntry(int32_t id, std::shared_ptr<InjectionState> injectionState, nsecs_t eventTime, in KeyEntry() 176 TouchModeEntry::TouchModeEntry(int32_t id, nsecs_t eventTime, bool inTouchMode, in TouchModeEntry() 189 nsecs_t eventTime, int32_t deviceId, uint32_t source, in MotionEntry() 253 SensorEntry::SensorEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in SensorEntry()
|
D | LatencyTracker.cpp | 45 static bool isMatureEvent(nsecs_t eventTime, nsecs_t now) { in isMatureEvent() 70 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | ClassifierTest.java | 94 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/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 88 boolean supportsSandman, long eventTime) { in PowerGroup() 101 DisplayManagerInternal displayManagerInternal, long eventTime) { in PowerGroup() 134 boolean setWakefulnessLocked(int newWakefulness, long eventTime, int uid, int reason, int opUid, in setWakefulnessLocked() 208 void wakeUpLocked(long eventTime, @PowerManager.WakeReason int reason, String details, int uid, in wakeUpLocked() 234 boolean dreamLocked(long eventTime, int uid, boolean allowWake) { in dreamLocked() 251 boolean dozeLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in dozeLocked() 278 boolean sleepLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in sleepLocked() 491 void onWakefulnessChangedLocked(int groupId, int wakefulness, long eventTime, int reason, in onWakefulnessChangedLocked()
|
D | WakefulnessSessionObserver.java | 181 long eventTime, int powerGroupId, @PowerManager.UserActivityEvent int event) { in notifyUserActivity() 198 long eventTime) { in onWakefulnessChangeStarted() 312 public void notifyUserActivity(long eventTime, @PowerManager.UserActivityEvent int event) { in notifyUserActivity() 323 public void onWakefulnessChangeStarted(int wakefulness, int changeReason, long eventTime) { in onWakefulnessChangeStarted()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowWakeUpPolicyInternal.java | 48 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown); in wakeUpFromKey() 58 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown); in wakeUpFromMotion()
|
D | WindowWakeUpPolicy.java | 116 boolean wakeUpFromKey(long eventTime, int keyCode, boolean isDown) { in wakeUpFromKey() 144 boolean wakeUpFromMotion(long eventTime, int source, boolean isDown) { in wakeUpFromMotion() 164 boolean wakeUpFromCameraCover(long eventTime) { in wakeUpFromCameraCover()
|
D | SingleKeyGestureDetector.java | 137 void onLongPress(long eventTime) {} in onLongPress() 149 void onVeryLongPress(long eventTime) {} in onVeryLongPress() 157 void onKeyUp(long eventTime, int pressCount, int displayId) {} in onKeyUp() 328 final long eventTime = event.getEventTime(); in interceptKeyUp() local
|
D | SideFpsEventHandler.java | 149 public boolean shouldConsumeSinglePress(long eventTime) { in shouldConsumeSinglePress() 176 private void goToSleep(long eventTime) { in goToSleep()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 53 MotionArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() function 185 KeyArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() function
|
D | NotifyArgs.h | 45 nsecs_t eventTime; member 60 nsecs_t eventTime; member 90 nsecs_t eventTime; member 147 nsecs_t eventTime; member 170 nsecs_t eventTime; member 191 nsecs_t eventTime; member 208 nsecs_t eventTime; member 223 nsecs_t eventTime; member
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorCursorDragTest.java | 579 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/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | GestureHelper.java | 200 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerDown() local 228 long eventTime; in movePointers() local 257 long eventTime = SystemClock.uptimeMillis(); in primaryPointerUp() local 272 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerUp() local 296 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()
|
/frameworks/native/include/input/ |
D | InputEventBuilders.h | 80 MotionEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument 206 KeyEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument
|
/frameworks/native/libs/input/tests/ |
D | VelocityControl_test.cpp | 38 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/ |
D | InputDispatcherPolicyInterface.h | 135 virtual bool isStaleEvent(nsecs_t currentTime, nsecs_t eventTime) { in isStaleEvent()
|
/frameworks/base/tests/Input/src/com/android/server/input/debug/ |
D | RotaryInputGraphViewTest.java | 55 final long eventTime = 0; in addValue_translatesRotaryInputGraphViewWithHighScrollValue() local
|
D | FocusEventDebugViewTest.java | 89 private MotionEvent createRotaryMotionEvent(float scrollAxisValue, long eventTime) { in createRotaryMotionEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | MotionEventHelper.java | 39 public MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent()
|
/frameworks/base/tests/MotionPrediction/src/test/motionprediction/ |
D | DrawingView.kt | 89 var eventTime = 0L in onDraw() variable
|