Searched refs:cache_mode (Results 1 – 2 of 2) sorted by relevance
287 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in dns_open_proxy() local288 const bool use_proxy = (cache_mode == NULL || strcmp(cache_mode, "local") != 0); in dns_open_proxy()
1460 const char* cache_mode = getenv("ANDROID_DNS_MODE"); in _res_cache_get_max_entries() local1461 if (cache_mode == NULL || strcmp(cache_mode, "local") != 0) { in _res_cache_get_max_entries()