Lines Matching refs:installed
164 * Returns the currently-installed {@code HttpResponseCache}, or null if
165 * there is no cache installed or it is not a {@code HttpResponseCache}.
168 ResponseCache installed = ResponseCache.getDefault();
169 return installed instanceof HttpResponseCache ? (HttpResponseCache) installed : null;
178 * @return the newly-installed cache
184 HttpResponseCache installed = getInstalled();
185 if (installed != null) {
186 // don't close and reopen if an equivalent cache is already installed
187 DiskLruCache installedCache = installed.delegate.getCache();
191 return installed;
193 IoUtils.closeQuietly(installed);