Searched refs:DnsTlsQueryMap (Results 1 – 7 of 7) sorted by relevance
28 DnsTlsQueryMap::DnsTlsQueryMap() { in DnsTlsQueryMap() function in android::net::DnsTlsQueryMap33 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 …]
49 using Response = DnsTlsQueryMap::Response;50 using Result = DnsTlsQueryMap::Result;70 DnsTlsQueryMap mQueries;89 bool sendQuery(const DnsTlsQueryMap::Query& q) REQUIRES(mLock);
8 * `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 each73 `DnsTlsQueryMap` assigns each new query the ID number one greater than the largest76 `DnsTlsQueryMap` will scan the ID space to find an available ID, or fail the query87 `DnsTlsQueryMap` imposes a retry limit of 3. `DnsTlsTransport` will retry the query up
35 class DnsTlsQueryMap {39 DnsTlsQueryMap();
178 bool DnsTlsTransport::sendQuery(const DnsTlsQueryMap::Query& q) { in sendQuery()
182 "DnsTlsQueryMap.cpp",
485 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()