Searched refs:intervalInNanos (Results 1 – 4 of 4) sorted by relevance
68 void RecurrentTimer::registerTimerCallback(int64_t intervalInNanos, in registerTimerCallback() argument81 mCallbackInfoById[callbackId]->intervalInNanos, intervalInNanos); in registerTimerCallback()86 int64_t nextTimeInNanos = ceil(uptimeNanos() / intervalInNanos) * intervalInNanos; in registerTimerCallback()90 info->intervalInNanos = intervalInNanos; in registerTimerCallback()133 (nowNanos - callbackInfo->nextTimeInNanos) / callbackInfo->intervalInNanos + 1; in handleMessage()134 callbackInfo->nextTimeInNanos += intervalCount * callbackInfo->intervalInNanos; in handleMessage()
51 void registerTimerCallback(int64_t intervalInNanos, std::shared_ptr<Callback> callback);64 int64_t intervalInNanos; member
1769 float sampleRateHz = 1'000'000'000. / refreshInfo.intervalInNanos; in genFakeDataHelp()2267 void FakeVehicleHardware::refreshTimestampForInterval(int64_t intervalInNanos) { in refreshTimestampForInterval() argument2274 if (mActionByIntervalInNanos.find(intervalInNanos) == mActionByIntervalInNanos.end()) { in refreshTimestampForInterval()2276 intervalInNanos); in refreshTimestampForInterval()2280 ActionForInterval actionForInterval = mActionByIntervalInNanos[intervalInNanos]; in refreshTimestampForInterval()2301 int64_t intervalInNanos = static_cast<int64_t>(1'000'000'000. / sampleRateHz); in registerRefreshLocked() local2304 .intervalInNanos = intervalInNanos, in registerRefreshLocked()2308 if (mActionByIntervalInNanos.find(intervalInNanos) != mActionByIntervalInNanos.end()) { in registerRefreshLocked()2311 mActionByIntervalInNanos[intervalInNanos].propIdAreaIdsToRefresh.insert(propIdAreaId); in registerRefreshLocked()2317 [this, intervalInNanos] { refreshTimestampForInterval(intervalInNanos); }); in registerRefreshLocked()[all …]
149 int64_t intervalInNanos; member299 void refreshTimestampForInterval(int64_t intervalInNanos) EXCLUDES(mLock);