Lines Matching refs:nextPullTimeNs
324 int64_t nextPullTimeNs, int64_t intervalNs) { in RegisterReceiver() argument
346 receiverInfo.nextPullTimeNs = nextPullTimeNs; in RegisterReceiver()
350 if (nextPullTimeNs < mNextPullTimeNs) { in RegisterReceiver()
352 mNextPullTimeNs = nextPullTimeNs; in RegisterReceiver()
386 if (receiverInfo.nextPullTimeNs <= elapsedTimeNs) { in OnAlarmFired()
389 if (receiverInfo.nextPullTimeNs < minNextPullTimeNs) { in OnAlarmFired()
390 minNextPullTimeNs = receiverInfo.nextPullTimeNs; in OnAlarmFired()
428 (elapsedTimeNs - receiverInfo->nextPullTimeNs) / receiverInfo->intervalNs; in OnAlarmFired()
429 receiverInfo->nextPullTimeNs += (numBucketsAhead + 1) * receiverInfo->intervalNs; in OnAlarmFired()
430 if (receiverInfo->nextPullTimeNs < minNextPullTimeNs) { in OnAlarmFired()
431 minNextPullTimeNs = receiverInfo->nextPullTimeNs; in OnAlarmFired()