/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.cpp | 107 std::vector<test::DNSResponder::QueryInfo> queries = dns.queries(); in GetNumQueries() local 109 for (const auto& p : queries) { in GetNumQueries() 119 std::vector<test::DNSResponder::QueryInfo> queries = dns.queries(); in GetNumQueriesForProtocol() local 121 for (const auto& p : queries) { in GetNumQueriesForProtocol() 130 std::vector<test::DNSResponder::QueryInfo> queries = dns.queries(); in GetNumQueriesForType() local 132 for (const auto& p : queries) { in GetNumQueriesForType()
|
D | resolv_gold_test.cpp | 224 size_t queries; in VerifyResolver() local 233 queries = goldtest.config().addrinfo().family() == AF_UNSPEC ? 2U : 1U; in VerifyResolver() 239 queries = 1U; in VerifyResolver() 247 EXPECT_EQ(GetNumQueries(dns, name.c_str()), queries); in VerifyResolver() 248 if (protocol == DnsProtocol::TLS) EXPECT_TRUE(tls.waitForQueries(queries)); in VerifyResolver()
|
D | resolv_integration_test.cpp | 428 EXPECT_EQ(1U, dns.queries().size()) << dns.dumpQueries(); in TEST_F() 479 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F() 488 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F() 503 EXPECT_EQ(2U, dns.queries().size()) << dns.dumpQueries(); in TEST_F() 512 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F() 529 EXPECT_EQ(0U, dns.queries().size()); in TEST_F() 540 EXPECT_EQ(0U, dns.queries().size()); in TEST_F() 546 EXPECT_EQ(0U, dns.queries().size()); in TEST_F() 561 EXPECT_EQ(2U, dns.queries().size()); // OUCH! in TEST_F() 710 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 116 ContactQueries queries = new ContactQueries(); in testLoadContactWithContactIdUri() local 118 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri() 144 ContactQueries queries = new ContactQueries(); in testLoadContactWithOldStyleUri() local 145 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri() 146 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri() 174 ContactQueries queries = new ContactQueries(); in testLoadContactWithRawContactIdUri() local 176 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri() 177 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri() 199 ContactQueries queries = new ContactQueries(); in testLoadContactWithContactLookupUri() local 201 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactLookupUri() [all …]
|
/packages/modules/DnsResolver/ |
D | resolv_tls_unit_test.cpp | 306 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local 310 queries[i] = make_query(i, SIZE); in TEST_F() 311 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F() 316 EXPECT_EQ(queries[i], r.response); in TEST_F() 326 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local 332 queries[i] = make_query(i, SIZE); in TEST_F() 333 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F() 338 EXPECT_EQ(queries[i], r.response); in TEST_F() 378 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local 382 queries[i] = make_query(i, SIZE); in TEST_F() [all …]
|
D | README-DoT.md | 28 `DnsTlsSocket` interleaves all queries onto a single socket, and reports all 30 know anything about which queries correspond to which responses, and does not retain 50 `DnsTlsSocket` can receive queries on any thread, and send them over a 68 `DnsTlsDispatcher` accepts queries that have colliding ID numbers and still sends them on 85 If there are any pending queries, `DnsTlsTransport` will retry them. 94 outstanding queries for 5 minutes will be destroyed at the next query on a different
|
D | DnsTlsQueryMap.cpp | 107 std::vector<DnsTlsQueryMap::Query> queries; in getAll() local 109 queries.push_back(q.second.query); in getAll() 111 return queries; in getAll()
|
D | DnsTlsTransport.cpp | 76 auto queries = mQueries.getAll(); in doConnect() local 77 LOG(DEBUG) << "Initialization succeeded. Reissuing " << queries.size() << " queries."; in doConnect() 78 for(auto& q : queries) { in doConnect()
|
D | stats.proto | 83 // Currently defined type values for resources and queries. 200 // the cache can't handle that kind of queries. 383 * result one or more queries to the recursive DNS resolvers. Those are individually logged
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 122 public void checkSource(String src, ComponentName componentName, String[] queries) { in checkSource() argument 124 int count = queries.length; in checkSource() 125 for (int i = 0; i < queries.length; i++) { in checkSource() 126 long t = checkSource(src, componentName, queries[i]); in checkSource()
|
D | ContactsLatency.java | 36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ContactsLatency 50 for (String query : queries) { in testContacts()
|
D | ApplicationsLatency.java | 36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ApplicationsLatency 51 for (String query : queries) { in testApps()
|
D | WebLatency.java | 38 private static final String[] queries = { field in WebLatency 61 checkSource("WEB", webComponent, queries); in testWebSuggestions()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestSearchViewManager.java | 25 import com.android.documentsui.queries.CommandInterceptor; 26 import com.android.documentsui.queries.SearchViewManager;
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | CommandInterceptorTest.java | 17 package com.android.documentsui.queries; 19 import static com.android.documentsui.queries.CommandInterceptor.COMMAND_PREFIX;
|
D | SearchViewManagerTest.java | 17 package com.android.documentsui.queries; 54 import com.android.documentsui.queries.SearchViewManager.SearchManagerListener;
|
D | SearchHistoryManagerTest.java | 17 package com.android.documentsui.queries;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | BaseActivity.java | 69 import com.android.documentsui.queries.CommandInterceptor; 70 import com.android.documentsui.queries.SearchChipData; 71 import com.android.documentsui.queries.SearchFragment; 72 import com.android.documentsui.queries.SearchViewManager; 73 import com.android.documentsui.queries.SearchViewManager.SearchManagerListener;
|
D | RootsMonitor.java | 33 import com.android.documentsui.queries.SearchViewManager;
|
D | Injector.java | 36 import com.android.documentsui.queries.SearchViewManager;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipData.java | 17 package com.android.documentsui.queries;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | DynamicShortcutsTests.java | 304 private ContentResolver resolverWithExpectedQueries(MockContentProvider.Query... queries) { 306 for (MockContentProvider.Query query : queries) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DebugFlags.java | 21 import com.android.documentsui.queries.CommandInterceptor;
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.h | 57 int queries() const { return queries_; } in queries() function
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | MenuManager.java | 35 import com.android.documentsui.queries.SearchViewManager;
|