Searched refs:mTtl (Results 1 – 2 of 2) sorted by relevance
36 private final Duration mTtl; field in MdnsAdvertisingOptions43 this.mTtl = ttl; in MdnsAdvertisingOptions()75 return mTtl; in getTtl()87 && Objects.equals(mTtl, otherOptions.mTtl); in equals()93 return Objects.hash(mIsOnlyUpdate, mTtl); in hashCode()98 return "MdnsAdvertisingOptions{" + "mIsOnlyUpdate=" + mIsOnlyUpdate + ", mTtl=" + mTtl in toString()108 private Duration mTtl; field in MdnsAdvertisingOptions.Builder125 this.mTtl = ttl; in setTtl()133 return new MdnsAdvertisingOptions(mIsOnlyUpdate, mTtl); in build()
68 private final Duration mTtl; field in AdvertisingRequest87 mTtl = ttl; in AdvertisingRequest()122 return mTtl; in getTtl()131 .append(", ttl: ").append(mTtl); in toString()146 && Objects.equals(mTtl, otherRequest.mTtl); in equals()152 return Objects.hash(mServiceInfo, mProtocolType, mAdvertisingConfig, mTtl); in hashCode()165 dest.writeLong(mTtl == null ? -1L : mTtl.getSeconds()); in writeToParcel()179 private Duration mTtl; field in AdvertisingRequest.Builder222 mTtl = null; in setTtl()231 mTtl = Duration.ofSeconds(ttlSeconds); in setTtl()[all …]