/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 147 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/ |
D | resolv_unit_test.cpp | 461 dns.addMapping(v4_host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 546 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F() 547 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 601 dns.addMapping(hostname, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 602 dns.addMapping(hostname, ns_type::ns_t_aaaa, "2001:db8::42"); in TEST_F() 641 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 847 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 865 dns.addMapping("cnames.example.com.", ns_type::ns_t_cname, "acname.example.com."); in TEST_F() 866 dns.addMapping("acname.example.com.", ns_type::ns_t_cname, "hello.example.com."); in TEST_F() 931 dns.addMapping(testHostName.c_str(), ns_type::ns_t_cname, config.cname); in TEST_F() [all …]
|
D | resolv_gold_test.cpp | 363 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()
|
D | resolv_callback_unit_test.cpp | 148 dns.addMapping(kHelloExampleCom, ns_type::ns_t_a, kHelloExampleComAddrV4); in TEST_F()
|
D | resolv_integration_test.cpp | 259 dns.addMapping(r.host_name, r.type, r.addr); in StartDns() 842 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 843 dns2.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 844 dns3.addMapping(host_name_normal, ns_type::ns_t_a, "1.2.3.5"); in TEST_F() 1234 dns.addMapping(hostName, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 1288 dns1.addMapping(hostName, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 1289 dns2.addMapping(hostName, ns_type::ns_t_a, "1.2.3.5"); in TEST_F() 1715 dns3.addMapping(kHelloExampleCom, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 2111 dns.addMapping(host_name, ns_type::ns_t_a, ADDR4); in TEST_F() 2112 dns.addMapping(host_name, ns_type::ns_t_aaaa, ADDR6); in TEST_F() [all …]
|
D | dnsresolver_binder_test.cpp | 366 dns.addMapping("hi.example.com.", ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 168 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers() 169 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
|
D | dns_responder.h | 171 void addMapping(const std::string& name, ns_type type, const std::string& addr);
|
D | dns_responder.cpp | 500 void DNSResponder::addMapping(const std::string& name, ns_type type, const std::string& addr) { in addMapping() function in test::DNSResponder
|