2020-11-12 02:11:44 +00:00
|
|
|
.class public final Lf/a/g/j;
|
2020-11-13 01:15:36 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "CacheDataSourceFactory.kt"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-11-13 01:15:36 +00:00
|
|
|
.implements Lf/h/a/c/h1/j$a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-11-13 01:15:36 +00:00
|
|
|
.field public final a:Lf/h/a/c/h1/o;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
.field public final b:J
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-13 01:15:36 +00:00
|
|
|
.method public constructor <init>(Lf/h/a/c/h1/o;J)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "defaultDatasourceFactory"
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-object p1, p0, Lf/a/g/j;->a:Lf/h/a/c/h1/o;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-wide p2, p0, Lf/a/g/j;->b:J
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-11-13 01:15:36 +00:00
|
|
|
.method public a()Lf/h/a/c/h1/j;
|
|
|
|
.locals 8
|
|
|
|
|
|
|
|
sget-object v0, Lf/a/g/l;->b:Lf/a/g/l;
|
|
|
|
|
|
|
|
sget-object v0, Lf/a/g/l;->a:Lkotlin/Lazy;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
move-object v2, v0
|
|
|
|
|
|
|
|
check-cast v2, Lf/h/a/c/h1/y/r;
|
|
|
|
|
|
|
|
new-instance v0, Lf/h/a/c/h1/y/c;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lf/a/g/j;->a:Lf/h/a/c/h1/o;
|
|
|
|
|
|
|
|
new-instance v3, Lf/h/a/c/h1/n;
|
|
|
|
|
|
|
|
iget-object v4, v1, Lf/h/a/c/h1/o;->a:Landroid/content/Context;
|
|
|
|
|
|
|
|
iget-object v5, v1, Lf/h/a/c/h1/o;->c:Lf/h/a/c/h1/j$a;
|
|
|
|
|
|
|
|
invoke-interface {v5}, Lf/h/a/c/h1/j$a;->a()Lf/h/a/c/h1/j;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
|
|
|
invoke-direct {v3, v4, v5}, Lf/h/a/c/h1/n;-><init>(Landroid/content/Context;Lf/h/a/c/h1/j;)V
|
|
|
|
|
|
|
|
iget-object v1, v1, Lf/h/a/c/h1/o;->b:Lf/h/a/c/h1/x;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v3, v1}, Lf/h/a/c/h1/n;->b(Lf/h/a/c/h1/x;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v4, Lcom/google/android/exoplayer2/upstream/FileDataSource;
|
|
|
|
|
|
|
|
invoke-direct {v4}, Lcom/google/android/exoplayer2/upstream/FileDataSource;-><init>()V
|
|
|
|
|
|
|
|
new-instance v5, Lcom/google/android/exoplayer2/upstream/cache/CacheDataSink;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-wide v6, p0, Lf/a/g/j;->b:J
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct {v5, v2, v6, v7}, Lcom/google/android/exoplayer2/upstream/cache/CacheDataSink;-><init>(Lcom/google/android/exoplayer2/upstream/cache/Cache;J)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
const/4 v7, 0x0
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
const/4 v6, 0x3
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
move-object v1, v0
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct/range {v1 .. v7}, Lf/h/a/c/h1/y/c;-><init>(Lcom/google/android/exoplayer2/upstream/cache/Cache;Lf/h/a/c/h1/j;Lf/h/a/c/h1/j;Lf/h/a/c/h1/h;ILf/h/a/c/h1/y/c$a;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|