Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dres_cache.cpp715 uint32_t ttl, rec_result = rr.ttl; in answer_getNegativeTTL() local
732 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL()
733 if (ttl < rec_result) { in answer_getNegativeTTL()
734 rec_result = ttl; in answer_getNegativeTTL()
760 uint32_t result, ttl; in answer_getTTL() local
774 ttl = rr.ttl; in answer_getTTL()
775 if (n == 0 || ttl < result) { in answer_getTTL()
776 result = ttl; in answer_getTTL()
1295 uint32_t ttl; in resolv_cache_add() local
1337 ttl = answer_getTTL(answer, answerlen); in resolv_cache_add()
[all …]
Dresolv_cache_unit_test.cpp81 const unsigned ttl) { in makeAnswer() argument
91 .ttl = ttl, in makeAnswer()
257 std::chrono::seconds ttl = 10s) { in makeCacheEntry() argument
260 ce.answer = makeAnswer(ce.query, rdata, static_cast<unsigned>(ttl.count())); in makeCacheEntry()
Dres_debug.cpp170 (rr.ttl >> 16) & 0xff, ns_rr_class(rr), rr.ttl & 0xffff); in do_section()
Dresolv_unit_test.cpp70 const std::string& rdata, unsigned ttl = kAnswerRecordTtlSec) { in MakeAnswerRecord() argument
75 .ttl = ttl, in MakeAnswerRecord()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h65 unsigned ttl; member
75 uint32_t ttl; member
180 void setTtl(unsigned ttl);
Ddns_responder.cpp308 ttl = ntohl(intfields.ttl); in readIntFields()
321 intfields.ttl = htonl(ttl); in writeIntFields()
555 void DNSResponder::setTtl(unsigned ttl) { in setTtl() argument
556 answer_record_ttl_sec_ = ttl; in setTtl()
795 .ttl = answer_record_ttl_sec_, // seconds in addAnswerRecords()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DTcpKeepalivePacketDataParcelable.aidl12 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DTcpKeepalivePacketDataParcelable.aidl12 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DTcpKeepalivePacketDataParcelable.aidl12 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DTcpKeepalivePacketDataParcelable.aidl29 int ttl;
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp4848 .ttl = 0, // no cache in TEST_P()
4858 .ttl = 0, // no cache in TEST_P()
4868 .ttl = 0, // no cache in TEST_P()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...