Searched refs:newId (Results 1 – 5 of 5) sorted by relevance
/system/netd/resolv/ |
D | DnsTlsQueryMap.cpp | 36 int32_t newId = getFreeId(); in recordQuery() local 37 if (newId < 0) { in recordQuery() 41 Query q = { .newId = static_cast<uint16_t>(newId), .query = query }; in recordQuery() 44 std::tie(it, inserted) = mQueries.emplace(newId, q); in recordQuery() 57 void DnsTlsQueryMap::markTried(uint16_t newId) { in markTried() argument 59 auto it = mQueries.find(newId); in markTried()
|
D | DnsTlsQueryMap.h | 39 uint16_t newId; member 71 void markTried(uint16_t newId);
|
D | DnsTlsTransport.cpp | 55 bool sent = mSocket->query(q.newId, netdutils::drop(q.query, 2)); in sendQuery() 57 mQueries.markTried(q.newId); in sendQuery()
|
D | dns_tls_test.cpp | 837 EXPECT_EQ(0, f0->query.newId); in TEST() 838 EXPECT_EQ(1, f1->query.newId); in TEST() 839 EXPECT_EQ(2, f2->query.newId); in TEST() 847 EXPECT_EQ(0, all[0].newId); in TEST() 848 EXPECT_EQ(1, all[1].newId); in TEST() 849 EXPECT_EQ(2, all[2].newId); in TEST() 894 EXPECT_EQ(i, futures[i]->query.newId); in TEST() 916 EXPECT_EQ(40000, f->query.newId); in TEST()
|
/system/tools/aidl/ |
D | aidl.cpp | 346 int newId = kMinUserSetMethodId; in check_and_assign_method_ids() local 348 assert(newId <= kMaxUserSetMethoId); in check_and_assign_method_ids() 350 item->SetId(newId++); in check_and_assign_method_ids()
|