Home
last modified time | relevance | path

Searched refs:hasRestrictedMetricsDelegate (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/src/
DStatsLogProcessor.cpp475 if (event->isRestricted() && !pair.second->hasRestrictedMetricsDelegate()) { in OnLogEvent()
564 if (it->second->hasRestrictedMetricsDelegate() != in OnConfigUpdatedLocked()
569 if (!modularUpdate && it->second->hasRestrictedMetricsDelegate()) { in OnConfigUpdatedLocked()
587 if (newMetricsManager->hasRestrictedMetricsDelegate()) { in OnConfigUpdatedLocked()
597 } else if (it != mMetricsManagers.end() && it->second->hasRestrictedMetricsDelegate()) { in OnConfigUpdatedLocked()
608 if (configValid && it->second->hasRestrictedMetricsDelegate()) { in OnConfigUpdatedLocked()
627 it->second->hasRestrictedMetricsDelegate()) { in OnConfigUpdatedLocked()
668 if (it != mMetricsManagers.end() && it->second->hasRestrictedMetricsDelegate()) { in onDumpReport()
764 if (it->second->hasRestrictedMetricsDelegate()) { in onConfigMetricsReportLocked()
868 if (isAtLeastU() && it->second->hasRestrictedMetricsDelegate()) { in OnConfigRemoved()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.h163 inline bool hasRestrictedMetricsDelegate() const { in hasRestrictedMetricsDelegate() function
168 return hasRestrictedMetricsDelegate() ? mRestrictedMetricsDelegatePackageName.value() : ""; in getRestrictedMetricsDelegate()
DMetricsManager.cpp483 if (hasRestrictedMetricsDelegate()) { in onDumpReport()
908 if (!hasRestrictedMetricsDelegate()) { in enforceRestrictedDataTtls()
924 if (!hasRestrictedMetricsDelegate()) { in validateRestrictedMetricsDelegate()
934 if (!hasRestrictedMetricsDelegate()) { in flushRestrictedData()
/packages/modules/StatsD/statsd/tests/
DStatsLogProcessor_test.cpp2231 EXPECT_FALSE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2246 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2262 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2282 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2298 EXPECT_TRUE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()
2310 EXPECT_FALSE(processor->mMetricsManagers[mConfigKey]->hasRestrictedMetricsDelegate()); in TEST_F()