Home
last modified time | relevance | path

Searched refs:queries (Results 1 – 25 of 47) 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_tls_unit_test.cpp317 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local
321 queries[i] = make_query(i, SIZE); in TEST_F()
322 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F()
327 EXPECT_EQ(queries[i], r.response); in TEST_F()
337 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local
343 queries[i] = make_query(i, SIZE); in TEST_F()
344 results.push_back(transport.query(makeSlice(queries[i]))); in TEST_F()
349 EXPECT_EQ(queries[i], r.response); in TEST_F()
389 std::vector<bytevec> queries(FakeSocketDelay::sDelay); in TEST_F() local
393 queries[i] = make_query(i, SIZE); in TEST_F()
[all …]
Dresolv_integration_test.cpp510 EXPECT_EQ(1U, dns.queries().size()) << dns.dumpQueries(); in TEST_F()
561 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F()
570 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F()
585 EXPECT_EQ(2U, dns.queries().size()) << dns.dumpQueries(); in TEST_F()
594 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F()
611 EXPECT_EQ(0U, dns.queries().size()); in TEST_F()
622 EXPECT_EQ(0U, dns.queries().size()); in TEST_F()
628 EXPECT_EQ(0U, dns.queries().size()); in TEST_F()
643 EXPECT_EQ(2U, dns.queries().size()); // OUCH! in TEST_F()
792 EXPECT_TRUE(dns.queries().empty()) << dns.dumpQueries(); in TEST_F()
[all …]
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()
/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/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java108 ArrayList<String> queries = new ArrayList<String>(); in newInstance() local
109 queries.add(createPtrServiceQuery(instanceName, serviceType)); in newInstance()
110 queries.add(createTxtServiceQuery(instanceName, serviceType, txtRecord)); in newInstance()
112 return new WifiP2pDnsSdServiceInfo(queries); in newInstance()
/packages/modules/DnsResolver/
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.cpp114 std::vector<DnsTlsQueryMap::Query> queries; in getAll() local
116 queries.push_back(q.second.query); in getAll()
118 return queries; in getAll()
DDnsTlsTransport.cpp198 auto queries = mQueries.getAll(); in doConnect() local
199 LOG(DEBUG) << "Initialization succeeded. Reissuing " << queries.size() << " queries."; in doConnect()
200 for(auto& q : queries) { in doConnect()
Dstats.proto83 // Currently defined type values for resources and queries.
201 // the cache can't handle that kind of queries.
384 * 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()
DApplicationsLatency.java36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ApplicationsLatency
51 for (String query : queries) { in testApps()
DContactsLatency.java36 private static final String[] queries = { "", "a", "s", "e", "r", "pub", "sanxjkashasrxae" }; field in ContactsLatency
50 for (String query : queries) { in testContacts()
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;
55 import com.android.documentsui.queries.SearchViewManager.SearchManagerListener;
DSearchHistoryManagerTest.java17 package com.android.documentsui.queries;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java68 import com.android.documentsui.queries.CommandInterceptor;
69 import com.android.documentsui.queries.SearchChipData;
70 import com.android.documentsui.queries.SearchFragment;
71 import com.android.documentsui.queries.SearchViewManager;
72 import com.android.documentsui.queries.SearchViewManager.SearchManagerListener;
DInjector.java36 import com.android.documentsui.queries.SearchViewManager;
DRootsMonitor.java33 import com.android.documentsui.queries.SearchViewManager;
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipData.java17 package com.android.documentsui.queries;
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDebugFlags.java21 import com.android.documentsui.queries.CommandInterceptor;
/packages/apps/Contacts/tests/src/com/android/contacts/
DDynamicShortcutsTests.java304 private ContentResolver resolverWithExpectedQueries(MockContentProvider.Query... queries) {
306 for (MockContentProvider.Query query : queries) {
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.h57 int queries() const { return queries_; } in queries() function

12