Home
last modified time | relevance | path

Searched refs:addMapping (Results 1 – 11 of 11) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java147 private static void addMapping(Map<String, String> map, String column) { in addMapping() method in DownloadProvider
153 private static void addMapping(Map<String, String> map, String column, String rawColumn) { in addMapping() method in DownloadProvider
164 addMapping(map, DownloadManager.COLUMN_ID, in addMapping() method
166 addMapping(map, DownloadManager.COLUMN_LOCAL_FILENAME, in addMapping() method
168 addMapping(map, DownloadManager.COLUMN_MEDIAPROVIDER_URI); in addMapping() method
169 addMapping(map, DownloadManager.COLUMN_DESTINATION); in addMapping() method
170 addMapping(map, DownloadManager.COLUMN_TITLE); in addMapping() method
171 addMapping(map, DownloadManager.COLUMN_DESCRIPTION); in addMapping() method
172 addMapping(map, DownloadManager.COLUMN_URI); in addMapping() method
173 addMapping(map, DownloadManager.COLUMN_STATUS); in addMapping() method
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp464 dns.addMapping(v4_host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
549 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
550 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
604 dns.addMapping(hostname, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
605 dns.addMapping(hostname, ns_type::ns_t_aaaa, "2001:db8::42"); in TEST_F()
644 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
850 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
944 mdnsv4.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F()
945 mdnsv6.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F()
1016 mdnsv4.addMapping(illegalHostname, ns_type::ns_t_a, v4addr); in TEST_F()
[all …]
Dresolv_private_dns_test.cpp284 dns.addMapping(r.host_name, r.type, r.addr); in SetUp()
285 dot_backend.addMapping(r.host_name, r.type, r.addr); in SetUp()
286 doh_backend.addMapping(r.host_name, r.type, r.addr); in SetUp()
479 dns.addMapping(r.host_name, r.type, r.addr); in TEST_P()
480 dot_backend.addMapping(r.host_name, r.type, r.addr); in TEST_P()
481 doh_backend.addMapping(r.host_name, r.type, r.addr); in TEST_P()
540 dns.addMapping(r.host_name, r.type, r.addr); in TEST_P()
541 dot_backend.addMapping(r.host_name, r.type, r.addr); in TEST_P()
542 doh_backend.addMapping(r.host_name, r.type, r.addr); in TEST_P()
606 dns.addMapping(r.host_name, r.type, r.addr); in TEST_P()
[all …]
Dresolv_integration_test.cpp257 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
859 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
860 dns2.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
861 dns3.addMapping(host_name_normal, ns_type::ns_t_a, "1.2.3.5"); in TEST_F()
1428 dns.addMapping(hostName, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
1482 dns1.addMapping(hostName, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
1483 dns2.addMapping(hostName, ns_type::ns_t_a, "1.2.3.5"); in TEST_F()
1942 dns3.addMapping(kHelloExampleCom, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
2326 dns.addMapping(host_name, ns_type::ns_t_a, ADDR4); in TEST_F()
2327 dns.addMapping(host_name, ns_type::ns_t_aaaa, ADDR6); in TEST_F()
[all …]
Dresolv_callback_unit_test.cpp151 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()
Dresolv_gold_test.cpp363 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()
364 dns.addMapping(kHelloExampleCom, ns_type::ns_t_aaaa, kHelloExampleComAddrV6); in TEST_F()
Ddnsresolver_binder_test.cpp307 dns.addMapping("hi.example.com.", ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.cpp153 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers()
154 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
Ddns_responder.h172 void addMapping(const std::string& name, ns_type type, const std::string& addr);
Ddns_responder.cpp495 void DNSResponder::addMapping(const std::string& name, ns_type type, const std::string& addr) { in addMapping() function in test::DNSResponder
/packages/modules/DnsResolver/tests/fuzzer/
Dresolv_fuzzer_utils.cpp33 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()