/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_tls_unit_test.cpp | 317 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 …]
|
D | resolv_integration_test.cpp | 510 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 …]
|
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()
|
/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/Wifi/framework/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceInfo.java | 108 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/ |
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 | 114 std::vector<DnsTlsQueryMap::Query> queries; in getAll() local 116 queries.push_back(q.second.query); in getAll() 118 return queries; in getAll()
|
D | DnsTlsTransport.cpp | 198 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()
|
D | stats.proto | 83 // 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/ |
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 | 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 | 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 | 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; 55 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 | 68 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;
|
D | Injector.java | 36 import com.android.documentsui.queries.SearchViewManager;
|
D | RootsMonitor.java | 33 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/DocumentsUI/src/com/android/documentsui/base/ |
D | DebugFlags.java | 21 import com.android.documentsui.queries.CommandInterceptor;
|
/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/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.h | 57 int queries() const { return queries_; } in queries() function
|