/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsRecord.java | 65 private final long receiptTimeMillis; field in MdnsRecord 81 receiptTimeMillis = SystemClock.elapsedRealtime(); in MdnsRecord() 112 protected MdnsRecord(String[] name, int type, int cls, long receiptTimeMillis, in MdnsRecord() argument 117 this.receiptTimeMillis = receiptTimeMillis; in MdnsRecord() 152 return receiptTimeMillis; in getReceiptTime() 199 if (receiptTimeMillis == RECEIPT_TIME_NOT_SENT) { in getRemainingTTL() 203 long age = now - receiptTimeMillis; in getRemainingTTL() 266 if (receiptTimeMillis == RECEIPT_TIME_NOT_SENT) { in getStatus() 269 final long age = now - receiptTimeMillis; in getStatus()
|
D | MdnsPointerRecord.java | 48 public MdnsPointerRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, in MdnsPointerRecord() argument 50 super(name, TYPE_PTR, MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, in MdnsPointerRecord()
|
D | MdnsKeyRecord.java | 50 public MdnsKeyRecord(@NonNull String[] name, long receiptTimeMillis, boolean cacheFlush, in MdnsKeyRecord() argument 52 super(name, TYPE_KEY, MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, in MdnsKeyRecord()
|
D | MdnsTextRecord.java | 51 public MdnsTextRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, long ttlMillis, in MdnsTextRecord() argument 53 super(name, TYPE_TXT, MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, in MdnsTextRecord()
|
D | MdnsInetAddressRecord.java | 69 public MdnsInetAddressRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, in MdnsInetAddressRecord() argument 72 MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, ttlMillis); in MdnsInetAddressRecord()
|
D | MdnsServiceRecord.java | 58 public MdnsServiceRecord(String[] name, long receiptTimeMillis, boolean cacheFlush, in MdnsServiceRecord() argument 61 super(name, TYPE_SRV, MdnsConstants.QCLASS_INTERNET, receiptTimeMillis, cacheFlush, in MdnsServiceRecord()
|
D | MdnsNsecRecord.java | 46 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/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsResponseTests.java | 98 private MdnsResponse makeCompleteResponse(int recordsTtlMillis, int receiptTimeMillis) { in makeCompleteResponse() argument 104 response.addPointerRecord(new MdnsPointerRecord(serviceType, receiptTimeMillis, in makeCompleteResponse() 106 response.setServiceRecord(new MdnsServiceRecord(serviceName, receiptTimeMillis, in makeCompleteResponse() 109 response.setTextRecord(new MdnsTextRecord(serviceName, receiptTimeMillis, in makeCompleteResponse() 112 hostname, receiptTimeMillis, true /* cacheFlush */, in makeCompleteResponse() 115 hostname, receiptTimeMillis, true /* cacheFlush */, in makeCompleteResponse()
|
D | MdnsServiceTypeClientTests.java | 2229 long receiptTimeMillis) { in createResponse() argument 2240 receiptTimeMillis, in createResponse() 2249 receiptTimeMillis, in createResponse() 2263 receiptTimeMillis, in createResponse() 2277 receiptTimeMillis, in createResponse()
|