OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DiskBasedCache
(Results
1 - 3
of
3
) sorted by null
/external/volley/src/test/java/com/android/volley/toolbox/
DiskBasedCacheTest.java
37
import com.android.volley.toolbox.
DiskBasedCache
.CacheHeader;
38
import com.android.volley.toolbox.
DiskBasedCache
.CountingInputStream;
76
cache = new
DiskBasedCache
(temporaryFolder.getRoot(), MAX_SIZE);
137
Cache copy = new
DiskBasedCache
(temporaryFolder.getRoot(), MAX_SIZE);
215
(int) (
DiskBasedCache
.HYSTERESIS_FACTOR * MAX_SIZE)
240
(int) (
DiskBasedCache
.HYSTERESIS_FACTOR * MAX_SIZE)
309
DiskBasedCache
.writeInt(fos, 0); // overwrite magic
353
DiskBasedCache
.streamToBytes(cis, -1);
362
DiskBasedCache
.streamToBytes(cis, 2);
371
DiskBasedCache
.streamToBytes(cis, 0x100000000L); // int value is
[
all
...]
/external/volley/src/main/java/com/android/volley/toolbox/
Volley.java
90
RequestQueue queue = new RequestQueue(new
DiskBasedCache
(cacheDir), network);
DiskBasedCache.java
50
public class
DiskBasedCache
implements Cache {
74
* Constructs an instance of the
DiskBasedCache
at the specified directory.
81
public
DiskBasedCache
(File rootDirectory, int maxCacheSizeInBytes) {
87
* Constructs an instance of the
DiskBasedCache
at the specified directory using the default
92
public
DiskBasedCache
(File rootDirectory) {
148
* Initializes the
DiskBasedCache
by scanning for all files currently in the specified root
Completed in 3188 milliseconds