Lines Matching refs:ConfigKey
41 const std::function<bool(const ConfigKey&)>& sendBroadcast,
48 void OnConfigUpdated(const int64_t timestampNs, const ConfigKey& key,
50 void OnConfigRemoved(const ConfigKey& key);
52 size_t GetMetricsSize(const ConfigKey& key) const;
56 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs,
61 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs,
105 int64_t getLastReportTimeNs(const ConfigKey& key);
115 void noteOnDiskData(const ConfigKey& key);
129 std::unordered_map<ConfigKey, sp<MetricsManager>> mMetricsManagers;
131 std::unordered_map<ConfigKey, long> mLastBroadcastTimes;
137 std::unordered_map<ConfigKey, long> mLastByteSizeTimes;
140 std::set<ConfigKey> mOnDiskDataConfigs;
153 const int64_t currentTimestampNs, const ConfigKey& key, const StatsdConfig& config);
165 void WriteDataToDiskLocked(const ConfigKey& key, const int64_t timestampNs,
170 const ConfigKey& key, const int64_t dumpTimeStampNs,
179 void flushIfNecessaryLocked(int64_t timestampNs, const ConfigKey& key,
191 void resetConfigsLocked(const int64_t timestampNs, const std::vector<ConfigKey>& configs);
195 std::function<bool(const ConfigKey& key)> mSendBroadcast;