Home
last modified time | relevance | path

Searched refs:mAllowedLogSources (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/statsd/src/state/
DStateManager.cpp48 mAllowedLogSources.find(event.GetUid()) != mAllowedLogSources.end()) { in onLogEvent()
97 mAllowedLogSources.clear(); in updateLogSources()
100 mAllowedLogSources.insert(uids.begin(), uids.end()); in updateLogSources()
DStateManager.h98 std::set<int32_t> mAllowedLogSources; variable
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp200 mAllowedLogSources.clear(); in initLogSourceWhiteList()
201 mAllowedLogSources.insert(mAllowedUid.begin(), mAllowedUid.end()); in initLogSourceWhiteList()
205 mAllowedLogSources.insert(uids.begin(), uids.end()); in initLogSourceWhiteList()
208 for (const auto& uid : mAllowedLogSources) { in initLogSourceWhiteList()
314 for (const auto& source : mAllowedLogSources) { in dumpStates()
378 if (mAllowedLogSources.find(event.GetUid()) == mAllowedLogSources.end()) { in checkLogCredentials()
DMetricsManager.h187 std::set<int32_t> mAllowedLogSources; variable
/frameworks/base/cmds/statsd/tests/
DMetricsManager_test.cpp712 ASSERT_EQ(metricsManager.mAllowedLogSources.size(), 3); in TEST()
713 EXPECT_TRUE(isSubset({AID_SYSTEM}, metricsManager.mAllowedLogSources)); in TEST()
714 EXPECT_TRUE(isSubset(app1Uids, metricsManager.mAllowedLogSources)); in TEST()