• Home
  • Raw
  • Download

Lines Matching refs:now

241             mBoottimeCollection.lastPollUptimeNs = mHandlerLooper->now();  in start()
331 mHandlerLooper->sendMessageAtTime(mHandlerLooper->now() + mPostSystemEventDurationNs.count(), in onBootFinished()
398 mHandlerLooper->now() + mPostSystemEventDurationNs.count(); in onUserStateChange()
417 mUserSwitchCollection.lastPollUptimeNs = mHandlerLooper->now(); in startUserSwitchCollection()
422 mHandlerLooper->sendMessageAtTime(mHandlerLooper->now() + mUserSwitchTimeoutNs.count(), thiz, in startUserSwitchCollection()
446 nsecs_t now = mHandlerLooper->now(); in onSuspendExit() local
447 mWakeUpCollection.lastPollUptimeNs = now; in onSuspendExit()
448 mHandlerLooper->sendMessageAtTime(now + mWakeUpDurationNs.count(), thiz, in onSuspendExit()
624 nsecs_t now = mHandlerLooper->now(); in startCustomCollection() local
628 .lastPollUptimeNs = now, in startCustomCollection()
634 mHandlerLooper->sendMessageAtTime(now + maxDuration.count(), thiz, in startCustomCollection()
687 mPeriodicCollection.lastPollUptimeNs = mHandlerLooper->now(); in switchToPeriodicLocked()
696 mHandlerLooper->now() + mPeriodicMonitor.pollingIntervalNs.count(); in switchToPeriodicLocked()
825 time_t now = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in collectLocked() local
845 result = processor->onBoottimeCollection(now, mUidStatsCollector, in collectLocked()
849 result = processor->onPeriodicCollection(now, mSystemState, mUidStatsCollector, in collectLocked()
855 result = processor->onUserSwitchCollection(now, userSwitchMetadata->from, in collectLocked()
861 result = processor->onWakeUpCollection(now, mUidStatsCollector, mProcStatCollector); in collectLocked()
864 result = processor->onCustomCollection(now, mSystemState, metadata->filterPackages, in collectLocked()
916 time_t now = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in processMonitorEvent() local
933 nsecs_t uptimeNs = mHandlerLooper->now(); in processMonitorEvent()
945 processor->onPeriodicMonitor(now, mProcDiskStatsCollector, requestCollection); in processMonitorEvent()
967 nsecs_t now = mHandlerLooper->now(); in sendResourceStats() local
969 if (now - std::get<nsecs_t>(*it) >= kPrevUnsentResourceStatsMaxDurationNs.count()) { in sendResourceStats()
1007 std::make_tuple(mHandlerLooper->now(), std::move(resourceStats))); in cacheUnsentResourceStatsLocked()