OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:DiskLruCache
(Results
1 - 7
of
7
) sorted by null
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DiskLruCache.java
53
* libcore/luni/src/main/java/libcore/io/
DiskLruCache
.java
55
* https://android.googlesource.com/platform/libcore/+/android-4.1.1_r1/luni/src/main/java/libcore/io/
DiskLruCache
.java
100
public final class
DiskLruCache
implements Closeable {
103
static final String MAGIC = "libcore.io.
DiskLruCache
";
117
* libcore.io.
DiskLruCache
132
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
274
synchronized (
DiskLruCache
.this) {
288
private
DiskLruCache
(File directory, int appVersion, int valueCount, long maxSize) {
307
public static
DiskLruCache
open(File directory, int appVersion, int valueCount, long maxSize)
317
DiskLruCache
cache = new DiskLruCache(directory, appVersion, valueCount, maxSize)
[
all
...]
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DiskLruCache.java
53
* libcore/luni/src/main/java/libcore/io/
DiskLruCache
.java
55
* https://android.googlesource.com/platform/libcore/+/android-4.1.1_r1/luni/src/main/java/libcore/io/
DiskLruCache
.java
100
public final class
DiskLruCache
implements Closeable {
103
static final String MAGIC = "libcore.io.
DiskLruCache
";
117
* libcore.io.
DiskLruCache
132
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
274
synchronized (
DiskLruCache
.this) {
288
private
DiskLruCache
(File directory, int appVersion, int valueCount, long maxSize) {
307
public static
DiskLruCache
open(File directory, int appVersion, int valueCount, long maxSize)
317
DiskLruCache
cache = new DiskLruCache(directory, appVersion, valueCount, maxSize)
[
all
...]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DiskLruCache.java
53
* libcore/luni/src/main/java/libcore/io/
DiskLruCache
.java
55
* https://android.googlesource.com/platform/libcore/+/android-4.1.1_r1/luni/src/main/java/libcore/io/
DiskLruCache
.java
100
public final class
DiskLruCache
implements Closeable {
103
static final String MAGIC = "libcore.io.
DiskLruCache
";
117
* libcore.io.
DiskLruCache
132
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
274
synchronized (
DiskLruCache
.this) {
288
private
DiskLruCache
(File directory, int appVersion, int valueCount, long maxSize) {
307
public static
DiskLruCache
open(File directory, int appVersion, int valueCount, long maxSize)
317
DiskLruCache
cache = new DiskLruCache(directory, appVersion, valueCount, maxSize)
[
all
...]
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DiskLruCache.java
17
package com.bumptech.glide.
disklrucache
;
85
public final class
DiskLruCache
implements Closeable {
89
static final String MAGIC = "libcore.io.
DiskLruCache
";
100
* libcore.io.
DiskLruCache
115
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
162
synchronized (
DiskLruCache
.this) {
176
private
DiskLruCache
(File directory, int appVersion, int valueCount, long maxSize) {
195
public static
DiskLruCache
open(File directory, int appVersion, int valueCount, long maxSize)
217
DiskLruCache
cache = new
DiskLruCache
(directory, appVersion, valueCount, maxSize)
[
all
...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java
88
public final class
DiskLruCache
implements Closeable {
92
static final String MAGIC = "libcore.io.
DiskLruCache
";
104
* libcore.io.
DiskLruCache
119
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
170
synchronized (
DiskLruCache
.this) {
187
DiskLruCache
(FileSystem fileSystem, File directory, int appVersion, int valueCount, long maxSize,
225
Platform.get().logW("
DiskLruCache
" + directory + " is corrupt: "
245
public static
DiskLruCache
create(FileSystem fileSystem, File directory, int appVersion,
256
new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp
DiskLruCache
", true));
258
return new
DiskLruCache
(fileSystem, directory, appVersion, valueCount, maxSize, executor)
[
all
...]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DiskLruCache.java
90
public final class
DiskLruCache
implements Closeable {
94
static final String MAGIC = "libcore.io.
DiskLruCache
";
106
* libcore.io.
DiskLruCache
121
* constant string "libcore.io.
DiskLruCache
", the disk cache's version,
172
synchronized (
DiskLruCache
.this) {
189
DiskLruCache
(FileSystem fileSystem, File directory, int appVersion, int valueCount, long maxSize,
227
Platform.get().logW("
DiskLruCache
" + directory + " is corrupt: "
247
public static
DiskLruCache
create(FileSystem fileSystem, File directory, int appVersion,
258
new LinkedBlockingQueue<Runnable>(), Util.threadFactory("OkHttp
DiskLruCache
", true));
260
return new
DiskLruCache
(fileSystem, directory, appVersion, valueCount, maxSize, executor)
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DiskLruCacheTest.java
40
import static com.squareup.okhttp.internal.
DiskLruCache
.JOURNAL_FILE;
41
import static com.squareup.okhttp.internal.
DiskLruCache
.JOURNAL_FILE_BACKUP;
42
import static com.squareup.okhttp.internal.
DiskLruCache
.MAGIC;
43
import static com.squareup.okhttp.internal.
DiskLruCache
.VERSION_1;
62
private
DiskLruCache
cache;
63
private final Deque<
DiskLruCache
> toClose = new ArrayDeque<>();
70
cache = new
DiskLruCache
(fileSystem, cacheDir, appVersion, 2, maxSize, executor);
156
DiskLruCache
.Editor creator = cache.edit("k1");
163
DiskLruCache
.Snapshot snapshot = cache.get("k1");
169
DiskLruCache
.Editor creator = cache.edit("k1")
[
all
...]
Completed in 86 milliseconds