Searched refs:lastSentTime (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsQueryScheduler.java | 67 long minRemainingTtl, long lastSentTime, long sessionId) { in maybeRescheduleCurrentRun() argument 76 mLastScheduledQueryTaskArgs.config, now, minRemainingTtl, lastSentTime); in maybeRescheduleCurrentRun() 97 long lastSentTime, in scheduleNextRun() argument 105 nextRunConfig, now, minRemainingTtl, lastSentTime); in scheduleNextRun() 125 QueryTaskConfig queryTaskConfig, long now, long minRemainingTtl, long lastSentTime) { in calculateTimeToRun() argument 128 return lastSentTime + baseDelayInMs; in calculateTimeToRun() 133 return lastSentTime + baseDelayInMs; in calculateTimeToRun() 136 if (lastSentTime < now in calculateTimeToRun() 142 return Math.max(now + (long) (0.8 * minRemainingTtl), lastSentTime + baseDelayInMs); in calculateTimeToRun()
|
D | MdnsServiceTypeClient.java | 103 private long lastSentTime; field in MdnsServiceTypeClient 173 lastSentTime = now; in handleMessage() 180 lastSentTime, in handleMessage() 404 if (lastSentTime == 0) { in startSendAndReceive() 405 lastSentTime = now; in startSendAndReceive() 414 lastSentTime, in startSendAndReceive() 538 lastSentTime, currentSessionId + 1); in processResponse()
|