Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsRecord.java66 private final long ttlMillis; field in MdnsRecord
85 ttlMillis = 0L; in MdnsRecord()
87 ttlMillis = SECONDS.toMillis(reader.readUInt32()); in MdnsRecord()
113 boolean cacheFlush, long ttlMillis) { in MdnsRecord() argument
118 this.ttlMillis = ttlMillis; in MdnsRecord()
162 return ttlMillis; in getTtl()
200 return ttlMillis; in getRemainingTTL()
204 if (age > ttlMillis) { in getRemainingTTL()
208 return ttlMillis - age; in getRemainingTTL()
270 if (age > ttlMillis) { in getStatus()
[all …]
DMdnsPointerRecord.java49 long ttlMillis, String[] pointer) { in MdnsPointerRecord() argument
51 ttlMillis); in MdnsPointerRecord()
DMdnsKeyRecord.java51 long ttlMillis, @Nullable byte[] rData) { in MdnsKeyRecord() argument
53 ttlMillis); in MdnsKeyRecord()
DMdnsTextRecord.java51 public MdnsTextRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, long ttlMillis, in MdnsTextRecord() argument
54 ttlMillis); in MdnsTextRecord()
DMdnsInetAddressRecord.java70 long ttlMillis, InetAddress address) { in MdnsInetAddressRecord() argument
72 MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, ttlMillis); in MdnsInetAddressRecord()
DMdnsServiceRecord.java59 long ttlMillis, int servicePriority, int serviceWeight, int servicePort, in MdnsServiceRecord() argument
62 ttlMillis); in MdnsServiceRecord()
DMdnsNsecRecord.java46 public MdnsNsecRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, long ttlMillis, in MdnsNsecRecord() argument
48 super(name, TYPE_NSEC, DnsResolver.CLASS_IN, receiptTimeMillis, cacheFlush, ttlMillis); in MdnsNsecRecord()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DGenericDocumentParcel.java116 @Param(id = 5) long ttlMillis, in GenericDocumentParcel()
125 ttlMillis, in GenericDocumentParcel()
143 long ttlMillis, in GenericDocumentParcel() argument
152 mTtlMillis = ttlMillis; in GenericDocumentParcel()
418 public Builder setTtlMillis(long ttlMillis) { in setTtlMillis() argument
419 if (ttlMillis < 0) { in setTtlMillis()
422 mTtlMillis = ttlMillis; in setTtlMillis()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DGenericDocument.java1219 public BuilderType setTtlMillis(long ttlMillis) { in setTtlMillis() argument
1220 if (ttlMillis < 0) { in setTtlMillis()
1223 mDocumentParcelBuilder.setTtlMillis(ttlMillis); in setTtlMillis()