/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 70 final int ttl = 64; in testFromTcpKeepaliveStableParcelable() local 82 testInfo.ttl = ttl; in testFromTcpKeepaliveStableParcelable() 98 assertEquals(testInfo.ttl, resultData.ipTtl); in testFromTcpKeepaliveStableParcelable() 108 assertEquals(packet[8], ttl); in testFromTcpKeepaliveStableParcelable() 144 final int ttl = 64; in testToTcpKeepaliveStableParcelable() local 155 testInfo.ttl = ttl; in testToTcpKeepaliveStableParcelable() 169 assertEquals(resultData.ttl, ttl); in testToTcpKeepaliveStableParcelable() 187 final int ttl = 64; in testParseTcpKeepalivePacketData() local 198 testParcel.ttl = ttl; in testParseTcpKeepalivePacketData()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/ |
D | KeepalivePacketDataUtil.java | 88 parcel.ttl = pkt.getIpTtl(); in toStableParcelable() 115 tcpDetails.tos, tcpDetails.ttl); in fromStableParcelable() 135 buf.put((byte) tcpDetails.ttl); // TTL in buildV4Packet() 195 final int ttl; in parseTcpKeepalivePacketData() local 203 ttl = buffer.get(8); in parseTcpKeepalivePacketData() 220 p.ttl = ttl; in parseTcpKeepalivePacketData()
|
/packages/modules/DnsResolver/ |
D | res_cache.cpp | 731 uint32_t ttl, rec_result = rr.ttl; in answer_getNegativeTTL() local 748 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL() 749 if (ttl < rec_result) { in answer_getNegativeTTL() 750 rec_result = ttl; in answer_getNegativeTTL() 776 uint32_t result, ttl; in answer_getTTL() local 790 ttl = rr.ttl; in answer_getTTL() 791 if (n == 0 || ttl < result) { in answer_getTTL() 792 result = ttl; in answer_getTTL() 1331 uint32_t ttl; in resolv_cache_add() local 1373 ttl = answer_getTTL(answer, answerlen); in resolv_cache_add() [all …]
|
D | res_debug.cpp | 170 (rr.ttl >> 16) & 0xff, ns_rr_class(rr), rr.ttl & 0xffff); in do_section()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/ |
D | PreferenceSliceBuilderImpl.java | 219 public void setTtl(long ttl) { in setTtl() argument 220 long expiry = ttl == INFINITY ? INFINITY : System.currentTimeMillis() + ttl; in setTtl() 225 public void setTtl(@Nullable Duration ttl) { in setTtl() argument 226 setTtl(ttl == null ? INFINITY : ttl.toMillis()); in setTtl()
|
D | PreferenceSliceBuilder.java | 94 public PreferenceSliceBuilder(@NonNull Context context, @NonNull Uri uri, long ttl) { in PreferenceSliceBuilder() argument 96 mImpl.setTtl(ttl); in PreferenceSliceBuilder() 110 @Nullable Duration ttl) { in PreferenceSliceBuilder() argument 112 mImpl.setTtl(ttl); in PreferenceSliceBuilder()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 65 unsigned ttl; member 75 uint32_t ttl; member 184 void setTtl(unsigned ttl);
|
D | dns_responder.cpp | 338 ttl = ntohl(intfields.ttl); in readIntFields() 351 intfields.ttl = htonl(ttl); in writeIntFields() 585 void DNSResponder::setTtl(unsigned ttl) { in setTtl() argument 586 answer_record_ttl_sec_ = ttl; in setTtl() 825 .ttl = answer_record_ttl_sec_, // seconds in addAnswerRecords()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_cache_unit_test.cpp | 80 const unsigned ttl) { in makeAnswer() argument 90 .ttl = ttl, in makeAnswer() 256 std::chrono::seconds ttl = 10s) { in makeCacheEntry() argument 259 ce.answer = makeAnswer(ce.query, rdata, static_cast<unsigned>(ttl.count())); in makeCacheEntry()
|
D | resolv_unit_test.cpp | 70 const std::string& rdata, unsigned ttl = kAnswerRecordTtlSec) { in MakeAnswerRecord() argument 75 .ttl = ttl, in MakeAnswerRecord()
|
/packages/modules/adb/client/ |
D | mdnsresponder_client.cpp | 60 const char* hostname, const sockaddr* address, uint32_t ttl, 373 const char* hostname, const sockaddr* address, uint32_t ttl, in register_service_ip() argument 375 D("%s: sdref=%p flags=0x%08x error_code=%u ttl=%u", __func__, sdref, flags, error_code, ttl); in register_service_ip()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 12 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 29 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 12 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 29 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 29 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 29 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 12 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 29 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 30 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 31 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 31 int ttl;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | TcpKeepalivePacketDataParcelable.aidl | 30 int ttl;
|
/packages/modules/Connectivity/Tethering/bpf_progs/ |
D | offload.c | 407 if (ip->ttl <= 1) TC_PUNT(LOW_TTL); in do_forward4() 577 const __be16 old_ttl_proto = *(__be16 *)&ip->ttl; in do_forward4() 580 bpf_skb_store_bytes(skb, ETH_IP4_OFFSET(ttl), &new_ttl_proto, sz2, 0); in do_forward4()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 203 tcpDetails.ttl = Os.getsockoptInt(fd, IPPROTO_IP, IP_TTL); in switchToRepairMode()
|