Lines Matching refs:receiverInfo
240 ReceiverInfo receiverInfo; in RegisterReceiver() local
241 receiverInfo.receiver = receiver; in RegisterReceiver()
252 receiverInfo.intervalNs = roundedIntervalNs; in RegisterReceiver()
253 receiverInfo.nextPullTimeNs = nextPullTimeNs; in RegisterReceiver()
254 receivers.push_back(receiverInfo); in RegisterReceiver()
291 for (ReceiverInfo& receiverInfo : pair.second) { in OnAlarmFired()
292 if (receiverInfo.nextPullTimeNs <= currentTimeNs) { in OnAlarmFired()
293 receivers.push_back(&receiverInfo); in OnAlarmFired()
295 if (receiverInfo.nextPullTimeNs < minNextPullTimeNs) { in OnAlarmFired()
296 minNextPullTimeNs = receiverInfo.nextPullTimeNs; in OnAlarmFired()
309 for (const auto& receiverInfo : pullInfo.second) { in OnAlarmFired() local
310 sp<PullDataReceiver> receiverPtr = receiverInfo->receiver.promote(); in OnAlarmFired()
314 receiverInfo->nextPullTimeNs = in OnAlarmFired()
315 (currentTimeNs - receiverInfo->nextPullTimeNs) / in OnAlarmFired()
316 receiverInfo->intervalNs * receiverInfo->intervalNs + in OnAlarmFired()
317 receiverInfo->intervalNs + receiverInfo->nextPullTimeNs; in OnAlarmFired()
318 if (receiverInfo->nextPullTimeNs < minNextPullTimeNs) { in OnAlarmFired()
319 minNextPullTimeNs = receiverInfo->nextPullTimeNs; in OnAlarmFired()