Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsRecord.java198 public long getRemainingTTL(final long now) { in getRemainingTTL() method in MdnsRecord
240 writer.writeUInt32(MILLISECONDS.toSeconds(getRemainingTTL(now))); in write()
DEnqueueMdnsQueryCallable.java205 ptrRecord.getRemainingTTL(now), // Put the remaining ttl. in call()
DMdnsResponse.java361 long remainingTtl = serviceRecord.getRemainingTTL(now); in getMinRemainingTtl()
DMdnsServiceTypeClient.java699 .getRemainingTTL(clock.elapsedRealtime()) == 0) { in tryRemoveServiceAfterTtlExpires()
776 response.getServiceRecord().getRemainingTTL(now); in getMinRemainingTtl()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java338 && mdnsRecord.getRemainingTTL(now) <= mdnsRecord.getTtl() / 2; in isRecordRenewalNeeded()