Home
last modified time | relevance | path

Searched refs:calculateStartAndDuration (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp86 std::tuple<int64_t, int64_t> calculateStartAndDuration(struct tm currentTm) { in calculateStartAndDuration() function
109 std::tuple<int64_t, int64_t> calculateStartAndDuration(const time_t& currentTime) { in calculateStartAndDuration() function
112 return calculateStartAndDuration(currentGmt); in calculateStartAndDuration()
192 const auto [startTime, durationInSeconds] = calculateStartAndDuration(curGmt); in onPeriodicCollection()
530 calculateStartAndDuration(mLastUserPackageIoMonitorTime); in getIoOveruseStats()
DIoOveruseMonitor.h63 std::tuple<int64_t, int64_t> calculateStartAndDuration(const time_t& currentTime);
/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp282 const auto [startTime, durationInSeconds] = calculateStartAndDuration(currentTime); in TEST_F()
375 const auto [nextDayStartTime, nextDayDuration] = calculateStartAndDuration(currentTime); in TEST_F()
425 const auto [startTime, durationInSeconds] = calculateStartAndDuration(currentTime); in TEST_F()
499 const auto [startTime, durationInSeconds] = calculateStartAndDuration(currentTime); in TEST_F()
721 const auto [startTime, durationInSeconds] = calculateStartAndDuration(currentTime); in TEST_F()