Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DAdvertisingRequest.java51 final long ttlSeconds = in.readLong();
52 final Duration ttl = ttlSeconds < 0 ? null : Duration.ofSeconds(ttlSeconds);
225 final long ttlSeconds = ttl.getSeconds(); in setTtl() local
226 if (ttlSeconds < 0 || ttlSeconds > 0xffffffffL) { in setTtl()
228 "ttlSeconds exceeds the allowed range (value = " + ttlSeconds in setTtl()
231 mTtl = Duration.ofSeconds(ttlSeconds); in setTtl()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java622 int ttlSeconds = 10; in onServiceUpdated() local
631 ttlSeconds); in onServiceUpdated() local
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java782 final long ttlSeconds = ttl.toSeconds(); in checkTtl() local
794 if (ttlSeconds < minTtlSeconds || ttlSeconds > maxTtlSeconds) { in checkTtl()
796 + ttlSeconds + ", allowedRange = [" + minTtlSeconds in checkTtl()