Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java50 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/
DDnsPacketTest.java46 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/
DDnsPacket.java110 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/
DTcpKeepalivePacketData.java74 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/
DURLFetcher.java171 } else if (cachePolicy.ttl == 0) { in getExpirationTimeMillisFromHTTPHeader()
176 return cachePolicy.ttl; in getExpirationTimeMillisFromHTTPHeader()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java185 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/
DFrameworkResourcesServiceNameResolver.java230 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/
DCellularNetworkValidatorTest.java483 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/
DTcpKeepaliveController.java203 tcpDetails.ttl = Os.getsockoptInt(fd, IPPROTO_IP, IP_TTL); in switchToRepairMode()
/frameworks/base/non-updatable-api/
Dcurrent.txt7506 field public static final String HINT_TTL = "ttl";
/frameworks/base/api/
Dcurrent.txt7506 field public static final String HINT_TTL = "ttl";