Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/external/
DStatsPullerManagerImpl.cpp240 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()
[all …]