Searched refs:ttl (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tests/net/java/android/net/ |
D | TcpKeepalivePacketDataTest.java | 50 final int ttl = 64; in testV4TcpKeepalivePacket() local 62 testInfo.ttl = ttl; in testV4TcpKeepalivePacket() 78 assertEquals(testInfo.ttl, resultData.ipTtl); in testV4TcpKeepalivePacket() 88 assertEquals(packet[8], ttl); in testV4TcpKeepalivePacket() 124 final int ttl = 64; in testParcel() local 135 testInfo.ttl = ttl; in testParcel() 149 assertEquals(resultData.ttl, ttl); in testParcel()
|
/frameworks/libs/net/common/tests/unit/src/com/android/module/util/ |
D | DnsPacketTest.java | 46 int dtype, int dclass, int ttl, byte[] rr) { in assertRecordParses() argument 50 assertEquals(record.ttl, ttl); in assertRecordParses()
|
/frameworks/libs/net/common/framework/com/android/net/module/util/ |
D | DnsPacket.java | 110 public final long ttl; field in DnsPacket.DnsRecord 135 ttl = Integer.toUnsignedLong(buf.getInt()); in DnsRecord() 140 ttl = 0; in DnsRecord()
|
/frameworks/base/services/net/java/android/net/ |
D | TcpKeepalivePacketData.java | 74 ipTtl = tcpDetails.ttl; in TcpKeepalivePacketData() 125 buf.put((byte) tcpDetails.ttl); // TTL in buildV4Packet() 250 parcel.ttl = ipTtl; in toStableParcelable()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | URLFetcher.java | 171 } else if (cachePolicy.ttl == 0) { in getExpirationTimeMillisFromHTTPHeader() 176 return cachePolicy.ttl; in getExpirationTimeMillisFromHTTPHeader()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkValidator.java | 185 long ttl = 0; 191 ttl = b.getLong(KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG); 195 return Math.min(ttl, MAX_VALIDATION_CACHE_TTL);
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | FrameworkResourcesServiceNameResolver.java | 230 final long ttl = mTemporaryServiceExpiration - SystemClock.elapsedRealtime(); in dumpShort() local 231 pw.print(" (expires in "); TimeUtils.formatDuration(ttl, pw); pw.print("), "); in dumpShort()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkValidatorTest.java | 483 private void setCacheTtlInCarrierConfig(long ttl) { in setCacheTtlInCarrierConfig() argument 488 bundle.putLong(CarrierConfigManager.KEY_DATA_SWITCH_VALIDATION_MIN_GAP_LONG, ttl); in setCacheTtlInCarrierConfig()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 203 tcpDetails.ttl = Os.getsockoptInt(fd, IPPROTO_IP, IP_TTL); in switchToRepairMode()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 7506 field public static final String HINT_TTL = "ttl";
|
/frameworks/base/api/ |
D | current.txt | 7506 field public static final String HINT_TTL = "ttl";
|