Home
last modified time | relevance | path

Searched refs:onConditionChanged (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/cmds/statsd/tests/condition/
DConditionTimer_test.cpp37 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/
DValueMetricProducer_test.cpp651 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 …]
DEventMetricProducer_test.cpp107 eventProducer.onConditionChanged(true /*condition*/, bucketStartTimeNs); in TEST()
110 eventProducer.onConditionChanged(false /*condition*/, bucketStartTimeNs + 2); in TEST()
DCountMetricProducer_test.cpp163 countProducer.onConditionChanged(true, bucketStartTimeNs); in TEST()
171 countProducer.onConditionChanged(false /*new condition*/, bucketStartTimeNs + 2); in TEST()
DDurationMetricProducer_test.cpp160 durationProducer.onConditionChanged(true /* condition */, bucketStartTimeNs + bucketSizeNs + 2); in TEST()
209 durationProducer.onConditionChanged(true /* condition */, bucketStartTimeNs + bucketSizeNs + 2); in TEST()
DGaugeMetricProducer_test.cpp457 gaugeProducer.onConditionChanged(true, conditionChangeNs); in TEST()
482 gaugeProducer.onConditionChanged(false, bucket2StartTimeNs + 10); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DDurationMetricProducer.cpp247 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()
DValueMetricProducer.cpp172 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()
DMetricProducer.h173 void onConditionChanged(const bool condition, const int64_t eventTime) { in onConditionChanged() function
DMetricsManager.cpp567 mAllMetricProducers[metricIndex]->onConditionChanged(conditionCache[i], in onLogEvent()
/frameworks/base/cmds/statsd/src/condition/
DConditionTimer.h65 void onConditionChanged(bool newCondition, int64_t timestampNs) { in onConditionChanged() function
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.h45 void onConditionChanged(bool condition, const int64_t timestamp) override;
DMaxDurationTracker.h55 void onConditionChanged(bool condition, const int64_t timestamp) override;
DDurationTracker.h99 virtual void onConditionChanged(bool condition, const int64_t timestamp) = 0;
DMaxDurationTracker.cpp246 void MaxDurationTracker::onConditionChanged(bool condition, const int64_t timestamp) { in onConditionChanged() function in android::os::statsd::MaxDurationTracker
DOringDurationTracker.cpp300 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/
DConditionProviders.java314 mCallback.onConditionChanged(c.id, c); in notifyConditions()
453 void onConditionChanged(Uri id, Condition condition); in onConditionChanged() method
DZenModeConditions.java115 public void onConditionChanged(Uri id, Condition condition) { in onConditionChanged() method in ZenModeConditions
/frameworks/base/services/
Dart-profile22361 HSPLcom/android/server/notification/ZenModeConditions;->onConditionChanged(Landroid/net/Uri;Landroi…