Home
last modified time | relevance | path

Searched refs:event1 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp32 LogEvent event1(1, 2000); in TEST() local
46 event1.write(nodes); in TEST()
47 event1.write("hello"); in TEST()
48 event1.write((int32_t)10); in TEST()
49 event1.write((int64_t)20); in TEST()
50 event1.write((float)1.1); in TEST()
51 event1.init(); in TEST()
53 const auto& items = event1.getValues(); in TEST()
55 EXPECT_EQ(1, event1.GetTagId()); in TEST()
57 const FieldValue& item0 = event1.getValues()[0]; in TEST()
[all …]
DLogEntryMatcher_test.cpp618 LogEvent event1(TAG_ID, 0); in TEST() local
620 event1.write(10.1f); in TEST()
621 event1.init(); in TEST()
622 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event1)); in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DEventMetricProducer_test.cpp46 LogEvent event1(1 /*tag id*/, bucketStartTimeNs + 1); in TEST() local
54 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST()
70 LogEvent event1(1, bucketStartTimeNs + 1); in TEST() local
78 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST()
103 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
104 EXPECT_TRUE(event1.write("111")); in TEST()
105 event1.init(); in TEST()
122 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST()
DCountMetricProducer_test.cpp64 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
65 event1.init(); in TEST()
75 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event1); in TEST()
126 LogEvent event1(1, bucketStartTimeNs + 1); in TEST() local
127 event1.init(); in TEST()
137 countProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST()
175 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
176 event1.write("111"); // uid in TEST()
177 event1.init(); in TEST()
197 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event1); in TEST()
[all …]
DDurationMetricProducer_test.cpp70 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
71 event1.init(); in TEST()
80 durationProducer.onMatchedLogEvent(1 /* start index*/, event1); in TEST()
107 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
108 event1.init(); in TEST()
125 durationProducer.onMatchedLogEvent(1 /* start index*/, event1); in TEST()
155 LogEvent event1(tagId, bucketStartTimeNs + 1); in TEST() local
156 event1.init(); in TEST()
172 durationProducer.onMatchedLogEvent(1 /* start index*/, event1); in TEST()
354 LogEvent event1(tagId, startTimeNs); in TEST() local
[all …]
DValueMetricProducer_test.cpp675 shared_ptr<LogEvent> event1 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 10); in TEST() local
676 event1->write(1); in TEST()
677 event1->write(10); in TEST()
678 event1->init(); in TEST()
679 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event1); in TEST()
859 shared_ptr<LogEvent> event1 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 10); in TEST() local
860 event1->write(1); in TEST()
861 event1->write(10); in TEST()
862 event1->init(); in TEST()
867 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event1); in TEST()
[all …]
DGaugeMetricProducer_test.cpp219 shared_ptr<LogEvent> event1 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 10); in TEST() local
220 event1->write(1); in TEST()
221 event1->write(10); in TEST()
222 event1->init(); in TEST()
223 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, *event1); in TEST()
598 std::shared_ptr<LogEvent> event1 = std::make_shared<LogEvent>(tagId, bucketStartTimeNs + 1); in TEST() local
599 event1->write("some value"); in TEST()
600 event1->write(13); in TEST()
601 event1->init(); in TEST()
603 gaugeProducer.onDataPulled({event1}, /** succeed */ true, bucketStartTimeNs); in TEST()
/frameworks/base/cmds/statsd/tests/shell/
DShellSubscriber_test.cpp139 std::shared_ptr<LogEvent> event1 = in TEST() local
141 event1->write(::android::view::DisplayStateEnum::DISPLAY_STATE_ON); in TEST()
142 event1->init(); in TEST()
143 pushedList.push_back(event1); in TEST()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java417 topBar.setStatusBarWindowTouchListener((v1, event1) -> { in connectNotificationsUI() argument
419 boolean consumed = openGestureDetector.onTouchEvent(event1); in connectNotificationsUI()
423 maybeCompleteAnimation(event1); in connectNotificationsUI()
1100 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX, in onScroll() argument
1123 public boolean onFling(MotionEvent event1, MotionEvent event2, in onFling() argument
1153 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX, in onScroll() argument
1160 mNotificationView.getHeight() - (event1.getRawY() - event2.getRawY()); in onScroll()
1189 public boolean onFling(MotionEvent event1, MotionEvent event2, in onFling() argument
1195 if (Math.abs(event1.getX() - event2.getX()) > SWIPE_MAX_OFF_PATH in onFling()
1229 public boolean onScroll(MotionEvent event1, MotionEvent event2, float distanceX,
[all …]