HomeSort by relevance Sort by last modified time
    Searched refs:currentTimeSec (Results 1 - 3 of 3) sorted by null

  /frameworks/base/cmds/statsd/tests/anomaly/
AlarmTracker_test.cpp 47 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10;
49 subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec));
51 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet);
54 currentTimeSec = startMillis / MS_PER_SEC + 7000;
55 firedAlarmSet = subscriberAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec));
57 tracker.informAlarmsFired(currentTimeSec * NS_PER_SEC, firedAlarmSet);
  /frameworks/base/cmds/statsd/src/anomaly/
AlarmTracker.cpp 63 int64_t AlarmTracker::findNextAlarmSec(int64_t currentTimeSec) {
64 if (currentTimeSec <= mAlarmSec) {
68 ((currentTimeSec - mAlarmSec) * MS_PER_SEC - 1) / mAlarmConfig.period_millis() + 1;
  /frameworks/base/cmds/statsd/src/
StatsService.cpp 798 int64_t currentTimeSec = getElapsedRealtimeSec();
800 mAnomalyAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec));
803 mProcessor->onAnomalyAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet);
814 int64_t currentTimeSec = getElapsedRealtimeSec();
816 mPeriodicAlarmMonitor->popSoonerThan(static_cast<uint32_t>(currentTimeSec));
819 mProcessor->onPeriodicAlarmFired(currentTimeSec * NS_PER_SEC, alarmSet);
    [all...]

Completed in 98 milliseconds