/frameworks/base/cmds/statsd/tests/condition/ |
D | ConditionTimer_test.cpp | 37 timer.onConditionChanged(true, ct_start_time + 5); in TEST() 56 timer.onConditionChanged(false, ct_start_time + 5); in TEST()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 651 valueProducer->onConditionChanged(true, bucketStartTimeNs + 8); in TEST() 680 valueProducer->onConditionChanged(false, bucket2StartTimeNs + 1); in TEST() 692 valueProducer->onConditionChanged(true, bucket3StartTimeNs + 1); in TEST() 877 valueProducer->onConditionChanged(true, bucketStartTimeNs + 1); in TEST_P() 879 valueProducer->onConditionChanged(false, bucket2StartTimeNs - 100); in TEST_P() 1188 valueProducer->onConditionChanged(true, bucketStartTimeNs + 8); in TEST() 1201 valueProducer->onConditionChanged(false, bucket2StartTimeNs + 1); in TEST() 1260 valueProducer->onConditionChanged(true, bucketStartTimeNs + 8); in TEST() 1274 valueProducer->onConditionChanged(false, bucket2StartTimeNs + 1); in TEST() 1284 valueProducer->onConditionChanged(true, bucket2StartTimeNs + 25); in TEST() [all …]
|
D | EventMetricProducer_test.cpp | 107 eventProducer.onConditionChanged(true /*condition*/, bucketStartTimeNs); in TEST() 110 eventProducer.onConditionChanged(false /*condition*/, bucketStartTimeNs + 2); in TEST()
|
D | CountMetricProducer_test.cpp | 163 countProducer.onConditionChanged(true, bucketStartTimeNs); in TEST() 171 countProducer.onConditionChanged(false /*new condition*/, bucketStartTimeNs + 2); in TEST()
|
D | DurationMetricProducer_test.cpp | 160 durationProducer.onConditionChanged(true /* condition */, bucketStartTimeNs + bucketSizeNs + 2); in TEST() 209 durationProducer.onConditionChanged(true /* condition */, bucketStartTimeNs + bucketSizeNs + 2); in TEST()
|
D | GaugeMetricProducer_test.cpp | 457 gaugeProducer.onConditionChanged(true, conditionChangeNs); in TEST() 482 gaugeProducer.onConditionChanged(false, bucket2StartTimeNs + 10); in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | DurationMetricProducer.cpp | 247 whatIt.second->onConditionChanged(currentUnSlicedPartCondition, eventTime); in onSlicedConditionMayChangeLocked_opt1() 259 whatIt.second->onConditionChanged(true, eventTime); in onSlicedConditionMayChangeLocked_opt1() 263 whatIt.second->onConditionChanged(false, eventTime); in onSlicedConditionMayChangeLocked_opt1() 314 whatIt.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 321 whatIt.second->onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 337 whatIt.second->onConditionChanged(conditionMet, eventTime); in onConditionChangedLocked()
|
D | ValueMetricProducer.cpp | 172 mConditionTimer.onConditionChanged(mIsActive && mCondition == ConditionState::kTrue, in ValueMetricProducer() 455 mConditionTimer.onConditionChanged(mIsActive, eventTimeNs); in onActiveStateChangedLocked() 477 mConditionTimer.onConditionChanged(mCondition, eventTimeNs); in onConditionChangedLocked() 518 mConditionTimer.onConditionChanged(mCondition, eventTimeNs); in onConditionChangedLocked()
|
D | MetricProducer.h | 173 void onConditionChanged(const bool condition, const int64_t eventTime) { in onConditionChanged() function
|
D | MetricsManager.cpp | 567 mAllMetricProducers[metricIndex]->onConditionChanged(conditionCache[i], in onLogEvent()
|
/frameworks/base/cmds/statsd/src/condition/ |
D | ConditionTimer.h | 65 void onConditionChanged(bool newCondition, int64_t timestampNs) { in onConditionChanged() function
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.h | 45 void onConditionChanged(bool condition, const int64_t timestamp) override;
|
D | MaxDurationTracker.h | 55 void onConditionChanged(bool condition, const int64_t timestamp) override;
|
D | DurationTracker.h | 99 virtual void onConditionChanged(bool condition, const int64_t timestamp) = 0;
|
D | MaxDurationTracker.cpp | 246 void MaxDurationTracker::onConditionChanged(bool condition, const int64_t timestamp) { in onConditionChanged() function in android::os::statsd::MaxDurationTracker
|
D | OringDurationTracker.cpp | 300 void OringDurationTracker::onConditionChanged(bool condition, const int64_t timestamp) { in onConditionChanged() function in android::os::statsd::OringDurationTracker
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ConditionProviders.java | 314 mCallback.onConditionChanged(c.id, c); in notifyConditions() 453 void onConditionChanged(Uri id, Condition condition); in onConditionChanged() method
|
D | ZenModeConditions.java | 115 public void onConditionChanged(Uri id, Condition condition) { in onConditionChanged() method in ZenModeConditions
|
/frameworks/base/services/ |
D | art-profile | 22361 HSPLcom/android/server/notification/ZenModeConditions;->onConditionChanged(Landroid/net/Uri;Landroi…
|