Home
last modified time | relevance | path

Searched refs:MetricsManager (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp62 MetricsManager::MetricsManager(const ConfigKey& key, const StatsdConfig& config, in MetricsManager() function in android::os::statsd::MetricsManager
151 MetricsManager::~MetricsManager() { in ~MetricsManager()
155 void MetricsManager::initLogSourceWhiteList() { in initLogSourceWhiteList()
171 bool MetricsManager::isConfigValid() const { in isConfigValid()
175 void MetricsManager::notifyAppUpgrade(const int64_t& eventTimeNs, const string& apk, const int uid, in notifyAppUpgrade()
190 void MetricsManager::notifyAppRemoved(const int64_t& eventTimeNs, const string& apk, in notifyAppRemoved()
205 void MetricsManager::onUidMapReceived(const int64_t& eventTimeNs) { in onUidMapReceived()
215 void MetricsManager::dumpStates(FILE* out, bool verbose) { in dumpStates()
229 void MetricsManager::dropData(const int64_t dropTimeNs) { in dropData()
235 void MetricsManager::onDumpReport(const int64_t dumpTimeStampNs, in onDumpReport()
[all …]
DMetricsManager.h38 class MetricsManager : public virtual android::RefBase {
40 MetricsManager(const ConfigKey& configKey, const StatsdConfig& config, const int64_t timeBaseNs,
46 virtual ~MetricsManager();
/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp61 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST()
144 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST()
255 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
394 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST()
493 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST()
602 sp<MetricsManager> metricsManager = processor->mMetricsManagers.begin()->second; in TEST()
DMetricActivation_e2e_test.cpp270 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
484 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
807 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
1142 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
1339 sp<MetricsManager> metricsManager = processor.mMetricsManagers.begin()->second; in TEST()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.h139 std::unordered_map<ConfigKey, sp<MetricsManager>> mMetricsManagers;
190 MetricsManager& metricsManager);
DStatsLogProcessor.cpp313 sp<MetricsManager> newMetricsManager = in OnConfigUpdatedLocked()
314 new MetricsManager(key, config, mTimeBaseNs, timestampNs, mUidMap, mPullerManager, in OnConfigUpdatedLocked()
541 int64_t timestampNs, const ConfigKey& key, MetricsManager& metricsManager) { in flushIfNecessaryLocked()
639 const sp<MetricsManager>& metricsManager = pair.second; in WriteActiveConfigsToProtoOutputStreamLocked()
/frameworks/base/cmds/statsd/
DAndroid.bp99 "src/metrics/MetricsManager.cpp",
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp47 class MockMetricsManager : public MetricsManager {
50 : MetricsManager(ConfigKey(1, 12345), StatsdConfig(), 1000, 1000, new UidMap(), in MockMetricsManager()