/frameworks/base/cmds/statsd/src/metrics/ |
MetricProducer.h | 99 void onConditionChanged(const bool condition, const int64_t eventTime) { 101 onConditionChangedLocked(condition, eventTime); 104 void onSlicedConditionMayChange(bool overallCondition, const int64_t eventTime) { 106 onSlicedConditionMayChangeLocked(overallCondition, eventTime); 181 virtual void onConditionChangedLocked(const bool condition, const int64_t eventTime) = 0; 183 const int64_t eventTime) = 0; 193 * Flushes the current bucket if the eventTime is after the current bucket's end time. This will 196 virtual void flushIfNeededLocked(const int64_t& eventTime){}; 201 virtual void flushLocked(const int64_t& eventTime) { 202 flushIfNeededLocked(eventTime); [all...] |
DurationMetricProducer.cpp | 183 const int64_t eventTime) { 222 currentUnSlicedPartCondition, eventTime); 237 condIt.second->onConditionChanged(true, eventTime); 243 condIt.second->onConditionChanged(false, eventTime); 256 const int64_t eventTime) { 301 condIt->second->onConditionChanged(false, eventTime); 316 currentUnSlicedPartCondition, eventTime); 326 whatIt.second.begin()->second->clone(eventTime); 329 newTracker->onConditionChanged(true, eventTime); 341 const int64_t eventTime) { [all...] |
DurationMetricProducer.h | 72 void onConditionChangedLocked(const bool conditionMet, const int64_t eventTime) override; 75 void onSlicedConditionMayChangeLocked(bool overallCondition, const int64_t eventTime) override; 77 void onSlicedConditionMayChangeLocked_opt1(bool overallCondition, const int64_t eventTime); 78 void onSlicedConditionMayChangeLocked_opt2(bool overallCondition, const int64_t eventTime); 88 void flushIfNeededLocked(const int64_t& eventTime);
|
EventMetricProducer.h | 56 void onConditionChangedLocked(const bool conditionMet, const int64_t eventTime) override; 59 void onSlicedConditionMayChangeLocked(bool overallCondition, const int64_t eventTime) override;
|
/frameworks/native/libs/input/ |
InputTransport.cpp | 253 nsecs_t eventTime) { 257 "downTime=%" PRId64 ", eventTime=%" PRId64, 260 downTime, eventTime); 280 msg.body.key.eventTime = eventTime; 300 nsecs_t eventTime, 308 "xPrecision=%f, yPrecision=%f, downTime=%" PRId64 ", eventTime=%" PRId64 ", " 312 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount); 343 msg.body.motion.eventTime = eventTime; [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowVelocityTracker.java | 83 long minTime = newestMovement.eventTime - HORIZON_MS; 89 if (!nextOldestMovement.hasPointer(pointerId) || nextOldestMovement.eventTime < minTime) { 108 long duration = movement.eventTime - oldestMovement.eventTime; 163 public long eventTime; 178 eventTime = event.getEventTime();
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
DurationTracker.h | 87 virtual unique_ptr<DurationTracker> clone(const int64_t eventTime) = 0; 90 const int64_t eventTime, const ConditionKey& conditionKey) = 0; 91 virtual void noteStop(const HashableDimensionKey& key, const int64_t eventTime, 93 virtual void noteStopAll(const int64_t eventTime) = 0; 126 void startAnomalyAlarm(const int64_t eventTime) { 130 predictAnomalyTimestampNs(*anomalyTracker, eventTime);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
GestureBot.java | 134 final long eventTime = SystemClock.uptimeMillis(); 135 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, 0, x, y); 141 final long eventTime = SystemClock.uptimeMillis(); 142 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_MOVE, button, x, 148 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, int button, 161 return MotionEvent.obtain(downTime, eventTime, action, 1,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysPanel.java | 78 * @param eventTime timestamp of touch point 80 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime); 88 * @param eventTime timestamp of touch point 90 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime); 98 * @param eventTime timestamp of touch point 100 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime);
|
MoreKeysKeyboardView.java | 159 public void onDownEvent(final int x, final int y, final int pointerId, final long eventTime) { 165 public void onMoveEvent(final int x, final int y, final int pointerId, final long eventTime) { 178 public void onUpEvent(final int x, final int y, final int pointerId, final long eventTime) { 263 final long eventTime = me.getEventTime(); 271 onDownEvent(x, y, pointerId, eventTime); 275 onUpEvent(x, y, pointerId, eventTime); 278 onMoveEvent(x, y, pointerId, eventTime);
|
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/ |
SampleClusterServiceImpl.java | 176 long eventTime = SystemClock.uptimeMillis(); 177 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN); 180 eventTime = SystemClock.uptimeMillis(); 181 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP); 185 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) { 194 eventTime,
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
LogcatItem.java | 176 final Date eventTime = event.getEventTime(); 177 if (eventTime.after(overlapStart) && eventTime.before(overlapStop) && 186 final Date eventTime = event.getEventTime(); 187 if (eventTime.after(overlapStart) && eventTime.before(overlapStop)) {
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 259 long eventTime = SystemClock.uptimeMillis(); 261 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 266 eventTime = SystemClock.uptimeMillis(); 268 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, 273 eventTime = SystemClock.uptimeMillis(); 274 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); 299 long eventTime = SystemClock.uptimeMillis(); 301 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 306 eventTime = SystemClock.uptimeMillis(); 308 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
CtsMouseUtil.java | 56 final long eventTime = SystemClock.uptimeMillis(); 61 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, x, y, 0);
|
/packages/apps/TV/src/com/android/tv/receiver/ |
AbstractGlobalKeyReceiver.java | 82 long eventTime = event.getEventTime(); 83 if (action == KeyEvent.ACTION_UP && sLastEventTime != eventTime) { 85 sLastEventTime = eventTime;
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 83 const nsecs_t eventTime = 4; 86 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); 114 EXPECT_EQ(eventTime, keyEvent->getEventTime()); 150 const nsecs_t eventTime = 4; 172 downTime, eventTime, pointerCount, 201 EXPECT_EQ(eventTime, motionEvent->getEventTime());
|
StructLayout_test.cpp | 38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); 51 CHECK_OFFSET(InputMessage::Body::Motion, eventTime, 8);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceScript.java | 285 long eventTime = Long.parseLong(args[1]); 293 MonkeyKeyEvent e = new MonkeyKeyEvent(downTime, eventTime, action, code, repeat, 309 long eventTime = Long.parseLong(args[1]); 329 .setEventTime(eventTime) 346 long eventTime = Long.parseLong(args[1]); 370 mScriptStartTime = eventTime; 378 .setEventTime(eventTime) 389 .setEventTime(eventTime) 407 long scriptElapsedTime = eventTime - mScriptStartTime; 507 long eventTime = SystemClock.uptimeMillis() [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 139 long eventTime = SystemClock.uptimeMillis(); 140 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime, 142 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, 144 final MotionEvent event3 = MotionEvent.obtain(downTime, eventTime,
|
/cts/tests/tests/view/src/android/view/cts/ |
TouchDelegateTest.java | 149 final long eventTime = SystemClock.uptimeMillis(); 150 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, 161 final long eventTime = SystemClock.uptimeMillis(); 175 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, pointerCount,
|
/frameworks/native/include/input/ |
InputTransport.h | 64 nsecs_t eventTime __attribute__((aligned(8))); 83 nsecs_t eventTime __attribute__((aligned(8))); 222 nsecs_t eventTime); 248 nsecs_t eventTime, 367 nsecs_t eventTime; 373 eventTime = msg.body.motion.eventTime; 384 eventTime = other.eventTime; 416 lastResample.eventTime = 0 [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShadowCardDrag.java | 57 public void onDown(long eventTime, float x, float y) { 58 lastEventTime = eventTime; 66 public void onMove(long eventTime, float x, float y) { 67 final long deltaT = eventTime - lastEventTime; 96 lastEventTime = eventTime;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
InteractionController.java | 189 final long eventTime = SystemClock.uptimeMillis(); 190 KeyEvent downEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, 194 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, 317 final long eventTime = SystemClock.uptimeMillis(); 319 mDownTime, eventTime, MotionEvent.ACTION_UP, x, y, 1); 329 final long eventTime = SystemClock.uptimeMillis(); 331 mDownTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 1); 546 final long eventTime = SystemClock.uptimeMillis() [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_power_PowerManagerService.cpp | 145 void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { 152 if (eventTime > now) { 153 eventTime = now; 156 if (gLastEventTime[eventType] + MIN_TIME_BETWEEN_USERACTIVITIES > eventTime) { 159 gLastEventTime[eventType] = eventTime; 169 nanoseconds_to_milliseconds(eventTime), eventType, 0);
|
/frameworks/support/compat/src/androidTest/java/androidx/core/view/ |
DragStartHelperTest.java | 96 final long eventTime = SystemClock.uptimeMillis(); 99 eventTime, eventTime, action, xy[0] + offsetX, xy[1] + offsetY, 0); 108 final long eventTime = SystemClock.uptimeMillis(); 124 return MotionEvent.obtain(eventTime, eventTime, action, 1, props, coords, 0,
|