120 lines
3.7 KiB
Smali
120 lines
3.7 KiB
Smali
.class public interface abstract Lcom/google/android/exoplayer2/upstream/cache/Cache;
|
|
.super Ljava/lang/Object;
|
|
.source "Cache.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;,
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$Listener;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract addListener(Ljava/lang/String;Lcom/google/android/exoplayer2/upstream/cache/Cache$Listener;)Ljava/util/NavigableSet;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"Lcom/google/android/exoplayer2/upstream/cache/Cache$Listener;",
|
|
")",
|
|
"Ljava/util/NavigableSet<",
|
|
"Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract commitFile(Ljava/io/File;)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getCacheSpace()J
|
|
.end method
|
|
|
|
.method public abstract getCachedBytes(Ljava/lang/String;JJ)J
|
|
.end method
|
|
|
|
.method public abstract getCachedSpans(Ljava/lang/String;)Ljava/util/NavigableSet;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
")",
|
|
"Ljava/util/NavigableSet<",
|
|
"Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract getContentLength(Ljava/lang/String;)J
|
|
.end method
|
|
|
|
.method public abstract getKeys()Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract isCached(Ljava/lang/String;JJ)Z
|
|
.end method
|
|
|
|
.method public abstract releaseHoleSpan(Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;)V
|
|
.end method
|
|
|
|
.method public abstract removeListener(Ljava/lang/String;Lcom/google/android/exoplayer2/upstream/cache/Cache$Listener;)V
|
|
.end method
|
|
|
|
.method public abstract removeSpan(Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract setContentLength(Ljava/lang/String;J)V
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract startFile(Ljava/lang/String;JJ)Ljava/io/File;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract startReadWrite(Ljava/lang/String;J)Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/InterruptedException;,
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract startReadWriteNonBlocking(Ljava/lang/String;J)Lcom/google/android/exoplayer2/upstream/cache/CacheSpan;
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/exoplayer2/upstream/cache/Cache$CacheException;
|
|
}
|
|
.end annotation
|
|
.end method
|