/frameworks/base/core/tests/coretests/src/android/widget/ |
D | EditorTouchStateTest.java | 76 MotionEvent event3 = downEvent(event3Time, event3Time, 22f, 33f); in testUpdate_singleTap() local 77 mTouchState.update(event3, mConfig); in testUpdate_singleTap() 97 MotionEvent event3 = downEvent(event3Time, event3Time, 22f, 33f); in testUpdate_doubleTap_sameArea() local 98 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_sameArea() 119 MotionEvent event3 = downEvent(event3Time, event3Time, 200f, 300f); in testUpdate_doubleTap_notSameArea() local 120 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_notSameArea() 151 MotionEvent event3 = downEvent(event3Time, event3Time, 22f, 33f); in testUpdate_doubleTap_delayAfterFirstDownEvent() local 152 mTouchState.update(event3, mConfig); in testUpdate_doubleTap_delayAfterFirstDownEvent() 172 MotionEvent event3 = upEvent(event1Time, event3Time, 200f, 31f); in testUpdate_quickTapAfterDrag() local 173 mTouchState.update(event3, mConfig); in testUpdate_quickTapAfterDrag() [all …]
|
D | EditorCursorDragTest.java | 276 MotionEvent event3 = moveEvent(tv, event1Time, event3Time, 100f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag() local 277 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_quickTapAfterDrag() 331 MotionEvent event3 = mouseUpEvent(tv, event1Time, event3Time, 120f, 30f); in testEditor_onTouchEvent_mouseDrag() local 332 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_mouseDrag() 360 MotionEvent event3 = moveEvent(tv, event1Time, event3Time, 120f, 30f); in testEditor_onTouchEvent_cursorDrag() local 361 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_cursorDrag() 395 MotionEvent event3 = downEvent(tv, event3Time, event3Time, 20f, 30f); in testEditor_onTouchEvent_selectionDrag() local 396 mInstrumentation.runOnMainSync(() -> editor.onTouchEvent(event3)); in testEditor_onTouchEvent_selectionDrag()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 125 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 126 makeLogEvent(&event3, bucketStartTimeNs + bucketSizeNs + 2, tagId); in TEST() 128 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST() 311 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P() local 312 makeLogEvent(&event3, bucketStartTimeNs + 62 * NS_PER_SEC + 10, tagId, /*uid=*/"333"); in TEST_P() 313 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST_P() 368 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P() local 369 makeLogEvent(&event3, bucketStartTimeNs + 121 * NS_PER_SEC + 10, tagId, /*uid=*/"333"); in TEST_P() 370 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST_P() 409 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local [all …]
|
D | DurationMetricProducer_test.cpp | 138 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 139 makeLogEvent(&event3, bucketStartTimeNs + bucketSizeNs + 1, tagId); in TEST() 159 durationProducer.onMatchedLogEvent(1 /* start index*/, event3); in TEST() 188 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 189 makeLogEvent(&event3, bucketStartTimeNs + bucketSizeNs + 1, tagId); in TEST() 208 durationProducer.onMatchedLogEvent(1 /* start index*/, event3); in TEST()
|
D | GaugeMetricProducer_test.cpp | 276 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P() local 277 CreateTwoValueLogEvent(&event3, tagId, bucketStartTimeNs + 65 * NS_PER_SEC, 1, 10); in TEST_P() 278 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST_P()
|
D | ValueMetricProducer_test.cpp | 747 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST_P() local 748 CreateRepeatedValueLogEvent(&event3, tagId, bucket2StartTimeNs + 5 * NS_PER_SEC, 10); in TEST_P() 749 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST_P() 981 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 982 CreateRepeatedValueLogEvent(&event3, tagId, bucketStartTimeNs + 30, 30); in TEST() 983 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST() 1041 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 1042 CreateRepeatedValueLogEvent(&event3, tagId, in TEST() 1064 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST() 1537 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local [all …]
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 458 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 459 makeWakeLockEvent(&event3, /*atomId=*/1, /*timestamp=*/0, uids, "wl1", /*acquire=*/0); in TEST() 465 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST() 567 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 568 makeWakeLockEvent(&event3, /*atomId=*/1, /*timestamp=*/0, uids1, uid1_wl1, in TEST() 576 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST() 695 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 696 makeWakeLockEvent(&event3, /*atomId=*/1, /*timestamp=*/0, uids2, "wl2", /*acquire=*/1); in TEST() 705 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST()
|
/frameworks/base/cmds/statsd/tests/state/ |
D | StateTracker_test.cpp | 269 std::unique_ptr<LogEvent> event3 = CreateReleaseWakelockEvent( in TEST() local 271 mgr.onLogEvent(*event3); in TEST() 320 std::unique_ptr<LogEvent> event3 = in TEST() local 323 mgr.onLogEvent(*event3); in TEST() 493 std::unique_ptr<LogEvent> event3 = CreateUidProcessStateChangedEvent( in TEST() local 518 mgr.onLogEvent(*event3); in TEST()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 256 final ContentCaptureEvent event3 = new ContentCaptureEvent(17, TYPE_VIEW_DISAPPEARED) in testMergeEvent_typeViewDisappeared() local 262 event2.mergeEvent(event3); in testMergeEvent_typeViewDisappeared()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 678 LogEvent event3(/*uid=*/0, /*pid=*/0); in TEST() local 679 makeFloatLogEvent(&event3, TAG_ID, 0, 10.1f); in TEST() 681 EXPECT_TRUE(matchesSimple(uidMap, *simpleMatcher, event3)); in TEST()
|