Lines Matching refs:int64_t

79     Activation(const ActivationType& activationType, int64_t ttlNs)  in Activation()
86 const int64_t ttl_ns;
87 int64_t start_ns;
96 int64_t dropTimeNs;
101 int64_t bucketStartTimeNs;
103 int64_t bucketEndTimeNs;
134 MetricProducer(int64_t metricId, const ConfigKey& key, int64_t timeBaseNs,
141 const unordered_map<int, unordered_map<int, int64_t>>& stateGroupMap,
159 const std::unordered_map<int64_t, int>& oldAtomMatchingTrackerMap, in onConfigUpdated() argument
160 const std::unordered_map<int64_t, int>& newAtomMatchingTrackerMap, in onConfigUpdated()
163 const std::unordered_map<int64_t, int>& conditionTrackerMap, in onConfigUpdated()
165 const std::unordered_map<int64_t, int>& metricToActivationMap, in onConfigUpdated()
183 void notifyAppUpgrade(int64_t eventTimeNs) { in notifyAppUpgrade()
193 void notifyAppRemoved(int64_t eventTimeNs) { in notifyAppRemoved()
201 virtual void onStatsdInitCompleted(int64_t eventTimeNs) { in onStatsdInitCompleted()
223 void onConditionChanged(const bool condition, int64_t eventTime) { in onConditionChanged()
228 void onSlicedConditionMayChange(bool overallCondition, int64_t eventTime) { in onSlicedConditionMayChange()
238 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
244 void onDumpReport(const int64_t dumpTimeNs, const bool include_current_partial_bucket, in onDumpReport()
255 const std::unordered_map<int64_t, int>& oldAtomMatchingTrackerMap,
256 const std::unordered_map<int64_t, int>& newAtomMatchingTrackerMap,
259 const std::unordered_map<int64_t, int>& conditionTrackerMap,
261 const std::unordered_map<int64_t, int>& metricToActivationMap,
268 void clearPastBuckets(const int64_t dumpTimeNs) { in clearPastBuckets()
294 void dropData(const int64_t dropTimeNs) { in dropData()
299 void loadActiveMetric(const ActiveMetric& activeMetric, int64_t currentTimeNs) { in loadActiveMetric()
304 void activate(int activationTrackerIndex, int64_t elapsedTimestampNs) { in activate()
319 void flushIfExpire(int64_t elapsedTimestampNs);
321 void writeActiveMetricToProtoOutputStream(int64_t currentTimeNs, const DumpReportReason reason,
324 virtual void enforceRestrictedDataTtl(sqlite3* db, int64_t wallClockNs){}; in enforceRestrictedDataTtl()
340 inline int64_t getMetricId() const { in getMetricId()
351 inline int64_t getCurrentBucketNum() const { in getCurrentBucketNum()
368 const int64_t updateTimeNs) { in addAnomalyTracker()
376 virtual void addAnomalyTracker(sp<AnomalyTracker>& anomalyTracker, int64_t updateTimeNs) { in addAnomalyTracker()
391 virtual void flushIfNeededLocked(int64_t eventTime){}; in flushIfNeededLocked()
403 virtual void flushCurrentBucketLocked(int64_t eventTimeNs, int64_t nextBucketStartTimeNs){}; in flushCurrentBucketLocked()
408 void flushLocked(int64_t eventTimeNs) { in flushLocked()
413 virtual void notifyAppUpgradeInternalLocked(const int64_t eventTimeNs) { in notifyAppUpgradeInternalLocked()
441 virtual void onConditionChangedLocked(const bool condition, int64_t eventTime) = 0;
443 const int64_t eventTime) = 0;
444 virtual void onDumpReportLocked(const int64_t dumpTimeNs,
449 virtual void clearPastBucketsLocked(const int64_t dumpTimeNs) = 0;
453 virtual void dropDataLocked(const int64_t dropTimeNs) = 0;
454 void loadActiveMetricLocked(const ActiveMetric& activeMetric, int64_t currentTimeNs);
455 void activateLocked(int activationTrackerIndex, int64_t elapsedTimestampNs);
467 bool evaluateActiveStateLocked(int64_t elapsedTimestampNs);
469 virtual void onActiveStateChangedLocked(const int64_t eventTimeNs, const bool isActive) { in onActiveStateChangedLocked()
481 int64_t getCurrentBucketEndTimeNs() const { in getCurrentBucketEndTimeNs()
485 int64_t getBucketNumFromEndTimeNs(const int64_t endNs) { in getBucketNumFromEndTimeNs()
502 DropEvent buildDropEvent(const int64_t dropTimeNs, const BucketDropReason reason) const;
510 const int64_t mMetricId;
522 int64_t mTimeBaseNs;
526 int64_t mCurrentBucketStartTimeNs;
530 int64_t mCurrentBucketNum;
532 int64_t mBucketSizeNs;
576 const std::unordered_map<int32_t, std::unordered_map<int, int64_t>> mStateGroupMap;