Home
last modified time | relevance | path

Searched refs:DnsTlsQueryMap (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DnsResolver/
DDnsTlsQueryMap.cpp28 DnsTlsQueryMap::DnsTlsQueryMap() { in DnsTlsQueryMap() function in android::net::DnsTlsQueryMap
33 std::unique_ptr<DnsTlsQueryMap::QueryFuture> DnsTlsQueryMap::recordQuery( in recordQuery()
60 void DnsTlsQueryMap::expire(QueryPromise* p) { in expire()
65 void DnsTlsQueryMap::markTried(uint16_t newId) { in markTried()
73 void DnsTlsQueryMap::cleanup() { in cleanup()
86 int32_t DnsTlsQueryMap::getFreeId() { in getFreeId()
112 std::vector<DnsTlsQueryMap::Query> DnsTlsQueryMap::getAll() { in getAll()
114 std::vector<DnsTlsQueryMap::Query> queries; in getAll()
121 bool DnsTlsQueryMap::empty() { in empty()
126 void DnsTlsQueryMap::clear() { in clear()
[all …]
DDnsTlsTransport.h49 using Response = DnsTlsQueryMap::Response;
50 using Result = DnsTlsQueryMap::Result;
70 DnsTlsQueryMap mQueries;
89 bool sendQuery(const DnsTlsQueryMap::Query& q) REQUIRES(mLock);
DREADME-DoT.md8 * `DnsTlsQueryMap`
24 `DnsTlsQueryMap` and `DnsTlsSessionCache` are helper classes owned by `DnsTlsTransport`.
25 `DnsTlsQueryMap` handles ID renumbering and query-response pairing.
69 a single socket. To avoid confusion at the server, `DnsTlsQueryMap` assigns each
73 `DnsTlsQueryMap` assigns each new query the ID number one greater than the largest
76 `DnsTlsQueryMap` will scan the ID space to find an available ID, or fail the query
87 `DnsTlsQueryMap` imposes a retry limit of 3. `DnsTlsTransport` will retry the query up
DDnsTlsQueryMap.h35 class DnsTlsQueryMap {
39 DnsTlsQueryMap();
DDnsTlsTransport.cpp178 bool DnsTlsTransport::sendQuery(const DnsTlsQueryMap::Query& q) { in sendQuery()
DAndroid.bp182 "DnsTlsQueryMap.cpp",
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp485 Experiments::getInstance()->getFlag(DOT_MAXTRIES_FLAG, DnsTlsQueryMap::kMaxTries)); in TEST_F()
582 Experiments::getInstance()->getFlag(DOT_MAXTRIES_FLAG, DnsTlsQueryMap::kMaxTries)); in TEST_F()
913 DnsTlsQueryMap map; in TEST()
959 EXPECT_EQ(DnsTlsQueryMap::Response::success, r0.code); in TEST()
960 EXPECT_EQ(DnsTlsQueryMap::Response::success, r1.code); in TEST()
961 EXPECT_EQ(DnsTlsQueryMap::Response::success, r2.code); in TEST()
978 DnsTlsQueryMap map; in TEST()
979 std::vector<std::unique_ptr<DnsTlsQueryMap::QueryFuture>> futures(UINT16_MAX + 1); in TEST()
996 EXPECT_EQ(DnsTlsQueryMap::Response::success, result.code); in TEST()