Home
last modified time | relevance | path

Searched refs:queries (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/DnsResolver/tests/
Dresolv_test_utils.cpp107 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()
Dresolv_gold_test.cpp224 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()
Dresolv_integration_test.cpp428 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/
DContactLoaderTest.java116 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/
Dresolv_tls_unit_test.cpp306 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 …]
DREADME-DoT.md28 `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
DDnsTlsQueryMap.cpp107 std::vector<DnsTlsQueryMap::Query> queries; in getAll() local
109 queries.push_back(q.second.query); in getAll()
111 return queries; in getAll()
DDnsTlsTransport.cpp76 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()
Dstats.proto83 // 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/
DSourceLatency.java122 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()
DContactsLatency.java36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ContactsLatency
50 for (String query : queries) { in testContacts()
DApplicationsLatency.java36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ApplicationsLatency
51 for (String query : queries) { in testApps()
DWebLatency.java38 private static final String[] queries = { field in WebLatency
61 checkSource("WEB", webComponent, queries); in testWebSuggestions()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestSearchViewManager.java25 import com.android.documentsui.queries.CommandInterceptor;
26 import com.android.documentsui.queries.SearchViewManager;
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DCommandInterceptorTest.java17 package com.android.documentsui.queries;
19 import static com.android.documentsui.queries.CommandInterceptor.COMMAND_PREFIX;
DSearchViewManagerTest.java17 package com.android.documentsui.queries;
54 import com.android.documentsui.queries.SearchViewManager.SearchManagerListener;
DSearchHistoryManagerTest.java17 package com.android.documentsui.queries;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java69 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;
DRootsMonitor.java33 import com.android.documentsui.queries.SearchViewManager;
DInjector.java36 import com.android.documentsui.queries.SearchViewManager;
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipData.java17 package com.android.documentsui.queries;
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java304 private ContentResolver resolverWithExpectedQueries(MockContentProvider.Query... queries) {
306 for (MockContentProvider.Query query : queries) {
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDebugFlags.java21 import com.android.documentsui.queries.CommandInterceptor;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.h57 int queries() const { return queries_; } in queries() function
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java35 import com.android.documentsui.queries.SearchViewManager;

12