k.smali
.class Lf/b/b/b/i1/k;
.super Ljava/lang/Object;
.source ""
# interfaces
.implements Lf/b/b/b/i1/p;
# annotations
.annotation build Landroid/annotation/TargetApi;
value = 0x12
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lf/b/b/b/i1/k$d;,
Lf/b/b/b/i1/k$c;,
Lf/b/b/b/i1/k$e;,
Lf/b/b/b/i1/k$b;,
Lf/b/b/b/i1/k$a;,
Lf/b/b/b/i1/k$f;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lf/b/b/b/i1/u;",
">",
"Ljava/lang/Object;",
"Lf/b/b/b/i1/p<",
"TT;>;"
}
.end annotation
# instance fields
.field public final a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lf/b/b/b/i1/n$b;",
">;"
}
.end annotation
.end field
.field private final b:Lf/b/b/b/i1/v;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/i1/v<",
"TT;>;"
}
.end annotation
.end field
.field private final c:Lf/b/b/b/i1/k$a;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/i1/k$a<",
"TT;>;"
}
.end annotation
.end field
.field private final d:Lf/b/b/b/i1/k$b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/i1/k$b<",
"TT;>;"
}
.end annotation
.end field
.field private final e:I
.field private final f:Z
.field private final g:Z
.field private final h:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private final i:Lf/b/b/b/s1/m;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/s1/m<",
"Lf/b/b/b/i1/l;",
">;"
}
.end annotation
.end field
.field private final j:Lcom/google/android/exoplayer2/upstream/d0;
.field final k:Lf/b/b/b/i1/a0;
.field final l:Ljava/util/UUID;
.field final m:Lf/b/b/b/i1/k$e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/i1/k<",
"TT;>.e;"
}
.end annotation
.end field
.field private n:I
.field private o:I
.field private p:Landroid/os/HandlerThread;
.field private q:Lf/b/b/b/i1/k$c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf/b/b/b/i1/k<",
"TT;>.c;"
}
.end annotation
.end field
.field private r:Lf/b/b/b/i1/u;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
.field private s:Lf/b/b/b/i1/p$a;
.field private t:[B
.field private u:[B
.field private v:Lf/b/b/b/i1/v$b;
.field private w:Lf/b/b/b/i1/v$e;
# direct methods
.method public constructor <init>(Ljava/util/UUID;Lf/b/b/b/i1/v;Lf/b/b/b/i1/k$a;Lf/b/b/b/i1/k$b;Ljava/util/List;IZZ[BLjava/util/HashMap;Lf/b/b/b/i1/a0;Landroid/os/Looper;Lf/b/b/b/s1/m;Lcom/google/android/exoplayer2/upstream/d0;)V
.registers 16
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/UUID;",
"Lf/b/b/b/i1/v<",
"TT;>;",
"Lf/b/b/b/i1/k$a<",
"TT;>;",
"Lf/b/b/b/i1/k$b<",
"TT;>;",
"Ljava/util/List<",
"Lf/b/b/b/i1/n$b;",
">;IZZ[B",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;",
"Lf/b/b/b/i1/a0;",
"Landroid/os/Looper;",
"Lf/b/b/b/s1/m<",
"Lf/b/b/b/i1/l;",
">;",
"Lcom/google/android/exoplayer2/upstream/d0;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
if-eq p6, v0, :cond_9
const/4 v0, 0x3
if-ne p6, v0, :cond_c
:cond_9
invoke-static {p9}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
:cond_c
iput-object p1, p0, Lf/b/b/b/i1/k;->l:Ljava/util/UUID;
iput-object p3, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
iput-object p4, p0, Lf/b/b/b/i1/k;->d:Lf/b/b/b/i1/k$b;
iput-object p2, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
iput p6, p0, Lf/b/b/b/i1/k;->e:I
iput-boolean p7, p0, Lf/b/b/b/i1/k;->f:Z
iput-boolean p8, p0, Lf/b/b/b/i1/k;->g:Z
if-eqz p9, :cond_20
iput-object p9, p0, Lf/b/b/b/i1/k;->u:[B
const/4 p1, 0x0
goto :goto_29
:cond_20
invoke-static {p5}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
check-cast p5, Ljava/util/List;
invoke-static {p5}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
:goto_29
iput-object p1, p0, Lf/b/b/b/i1/k;->a:Ljava/util/List;
iput-object p10, p0, Lf/b/b/b/i1/k;->h:Ljava/util/HashMap;
iput-object p11, p0, Lf/b/b/b/i1/k;->k:Lf/b/b/b/i1/a0;
iput-object p13, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
iput-object p14, p0, Lf/b/b/b/i1/k;->j:Lcom/google/android/exoplayer2/upstream/d0;
const/4 p1, 0x2
iput p1, p0, Lf/b/b/b/i1/k;->n:I
new-instance p1, Lf/b/b/b/i1/k$e;
invoke-direct {p1, p0, p12}, Lf/b/b/b/i1/k$e;-><init>(Lf/b/b/b/i1/k;Landroid/os/Looper;)V
iput-object p1, p0, Lf/b/b/b/i1/k;->m:Lf/b/b/b/i1/k$e;
return-void
.end method
.method static synthetic f(Lf/b/b/b/i1/k;Ljava/lang/Object;Ljava/lang/Object;)V
.registers 3
invoke-direct {p0, p1, p2}, Lf/b/b/b/i1/k;->u(Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method
.method static synthetic g(Lf/b/b/b/i1/k;Ljava/lang/Object;Ljava/lang/Object;)V
.registers 3
invoke-direct {p0, p1, p2}, Lf/b/b/b/i1/k;->o(Ljava/lang/Object;Ljava/lang/Object;)V
return-void
.end method
.method static synthetic h(Lf/b/b/b/i1/k;)Lcom/google/android/exoplayer2/upstream/d0;
.registers 1
iget-object p0, p0, Lf/b/b/b/i1/k;->j:Lcom/google/android/exoplayer2/upstream/d0;
return-object p0
.end method
.method private i(Z)V
.registers 10
.annotation runtime Lorg/checkerframework/checker/nullness/qual/RequiresNonNull;
value = {
"sessionId"
}
.end annotation
iget-boolean v0, p0, Lf/b/b/b/i1/k;->g:Z
if-eqz v0, :cond_5
return-void
:cond_5
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, [B
iget v1, p0, Lf/b/b/b/i1/k;->e:I
const/4 v2, 0x1
const/4 v3, 0x2
if-eqz v1, :cond_3f
if-eq v1, v2, :cond_3f
if-eq v1, v3, :cond_31
const/4 v0, 0x3
if-eq v1, v0, :cond_1b
goto/16 :goto_91
:cond_1b
iget-object v1, p0, Lf/b/b/b/i1/k;->u:[B
invoke-static {v1}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v1, p0, Lf/b/b/b/i1/k;->t:[B
invoke-static {v1}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
invoke-direct {p0}, Lf/b/b/b/i1/k;->y()Z
move-result v1
if-eqz v1, :cond_91
iget-object v1, p0, Lf/b/b/b/i1/k;->u:[B
invoke-direct {p0, v1, v0, p1}, Lf/b/b/b/i1/k;->w([BIZ)V
goto :goto_91
:cond_31
iget-object v1, p0, Lf/b/b/b/i1/k;->u:[B
if-eqz v1, :cond_3b
invoke-direct {p0}, Lf/b/b/b/i1/k;->y()Z
move-result v1
if-eqz v1, :cond_91
:cond_3b
:goto_3b
invoke-direct {p0, v0, v3, p1}, Lf/b/b/b/i1/k;->w([BIZ)V
goto :goto_91
:cond_3f
iget-object v1, p0, Lf/b/b/b/i1/k;->u:[B
if-nez v1, :cond_47
invoke-direct {p0, v0, v2, p1}, Lf/b/b/b/i1/k;->w([BIZ)V
goto :goto_91
:cond_47
iget v1, p0, Lf/b/b/b/i1/k;->n:I
const/4 v2, 0x4
if-eq v1, v2, :cond_52
invoke-direct {p0}, Lf/b/b/b/i1/k;->y()Z
move-result v1
if-eqz v1, :cond_91
:cond_52
invoke-direct {p0}, Lf/b/b/b/i1/k;->j()J
move-result-wide v4
iget v1, p0, Lf/b/b/b/i1/k;->e:I
if-nez v1, :cond_79
const-wide/16 v6, 0x3c
cmp-long v1, v4, v6
if-gtz v1, :cond_79
const/16 v1, 0x58
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v1, "Offline license has expired or will expire soon. Remaining seconds: "
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "DefaultDrmSession"
invoke-static {v2, v1}, Lf/b/b/b/s1/r;->b(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_3b
:cond_79
const-wide/16 v0, 0x0
cmp-long p1, v4, v0
if-gtz p1, :cond_88
new-instance p1, Lf/b/b/b/i1/z;
invoke-direct {p1}, Lf/b/b/b/i1/z;-><init>()V
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
goto :goto_91
:cond_88
iput v2, p0, Lf/b/b/b/i1/k;->n:I
iget-object p1, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
sget-object v0, Lf/b/b/b/i1/g;->a:Lf/b/b/b/i1/g;
invoke-virtual {p1, v0}, Lf/b/b/b/s1/m;->b(Lf/b/b/b/s1/m$a;)V
:cond_91
:goto_91
return-void
.end method
.method private j()J
.registers 6
sget-object v0, Lf/b/b/b/u;->d:Ljava/util/UUID;
iget-object v1, p0, Lf/b/b/b/i1/k;->l:Ljava/util/UUID;
invoke-virtual {v0, v1}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_10
const-wide v0, 0x7fffffffffffffffL
return-wide v0
:cond_10
invoke-static {p0}, Lf/b/b/b/i1/c0;->b(Lf/b/b/b/i1/p;)Landroid/util/Pair;
move-result-object v0
invoke-static {v0}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Landroid/util/Pair;
iget-object v1, v0, Landroid/util/Pair;->first:Ljava/lang/Object;
check-cast v1, Ljava/lang/Long;
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v1
iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast v0, Ljava/lang/Long;
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v3
invoke-static {v1, v2, v3, v4}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
return-wide v0
.end method
.method private l()Z
.registers 3
.annotation runtime Lorg/checkerframework/checker/nullness/qual/EnsuresNonNullIf;
expression = {
"sessionId"
}
result = true
.end annotation
iget v0, p0, Lf/b/b/b/i1/k;->n:I
const/4 v1, 0x3
if-eq v0, v1, :cond_b
const/4 v1, 0x4
if-ne v0, v1, :cond_9
goto :goto_b
:cond_9
const/4 v0, 0x0
goto :goto_c
:cond_b
:goto_b
const/4 v0, 0x1
:goto_c
return v0
.end method
.method static synthetic m(Ljava/lang/Exception;Lf/b/b/b/i1/l;)V
.registers 2
invoke-interface {p1, p0}, Lf/b/b/b/i1/l;->r(Ljava/lang/Exception;)V
return-void
.end method
.method private n(Ljava/lang/Exception;)V
.registers 4
new-instance v0, Lf/b/b/b/i1/p$a;
invoke-direct {v0, p1}, Lf/b/b/b/i1/p$a;-><init>(Ljava/lang/Throwable;)V
iput-object v0, p0, Lf/b/b/b/i1/k;->s:Lf/b/b/b/i1/p$a;
iget-object v0, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
new-instance v1, Lf/b/b/b/i1/b;
invoke-direct {v1, p1}, Lf/b/b/b/i1/b;-><init>(Ljava/lang/Exception;)V
invoke-virtual {v0, v1}, Lf/b/b/b/s1/m;->b(Lf/b/b/b/s1/m$a;)V
iget p1, p0, Lf/b/b/b/i1/k;->n:I
const/4 v0, 0x4
if-eq p1, v0, :cond_19
const/4 p1, 0x1
iput p1, p0, Lf/b/b/b/i1/k;->n:I
:cond_19
return-void
.end method
.method private o(Ljava/lang/Object;Ljava/lang/Object;)V
.registers 4
iget-object v0, p0, Lf/b/b/b/i1/k;->v:Lf/b/b/b/i1/v$b;
if-ne p1, v0, :cond_59
invoke-direct {p0}, Lf/b/b/b/i1/k;->l()Z
move-result p1
if-nez p1, :cond_b
goto :goto_59
:cond_b
const/4 p1, 0x0
iput-object p1, p0, Lf/b/b/b/i1/k;->v:Lf/b/b/b/i1/v$b;
instance-of p1, p2, Ljava/lang/Exception;
if-eqz p1, :cond_18
check-cast p2, Ljava/lang/Exception;
invoke-direct {p0, p2}, Lf/b/b/b/i1/k;->p(Ljava/lang/Exception;)V
return-void
:cond_18
:try_start_18
check-cast p2, [B
iget p1, p0, Lf/b/b/b/i1/k;->e:I
const/4 v0, 0x3
if-ne p1, v0, :cond_33
iget-object p1, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
iget-object v0, p0, Lf/b/b/b/i1/k;->u:[B
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, [B
invoke-interface {p1, v0, p2}, Lf/b/b/b/i1/v;->j([B[B)[B
iget-object p1, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
sget-object p2, Lf/b/b/b/i1/g;->a:Lf/b/b/b/i1/g;
:goto_2f
invoke-virtual {p1, p2}, Lf/b/b/b/s1/m;->b(Lf/b/b/b/s1/m$a;)V
goto :goto_59
:cond_33
iget-object p1, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
invoke-interface {p1, v0, p2}, Lf/b/b/b/i1/v;->j([B[B)[B
move-result-object p1
iget p2, p0, Lf/b/b/b/i1/k;->e:I
const/4 v0, 0x2
if-eq p2, v0, :cond_46
if-nez p2, :cond_4d
iget-object p2, p0, Lf/b/b/b/i1/k;->u:[B
if-eqz p2, :cond_4d
:cond_46
if-eqz p1, :cond_4d
array-length p2, p1
if-eqz p2, :cond_4d
iput-object p1, p0, Lf/b/b/b/i1/k;->u:[B
:cond_4d
const/4 p1, 0x4
iput p1, p0, Lf/b/b/b/i1/k;->n:I
iget-object p1, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
sget-object p2, Lf/b/b/b/i1/h;->a:Lf/b/b/b/i1/h;
:try_end_54
.catch Ljava/lang/Exception; {:try_start_18 .. :try_end_54} :catch_55
goto :goto_2f
:catch_55
move-exception p1
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->p(Ljava/lang/Exception;)V
:cond_59
:goto_59
return-void
.end method
.method private p(Ljava/lang/Exception;)V
.registers 3
instance-of v0, p1, Landroid/media/NotProvisionedException;
if-eqz v0, :cond_a
iget-object p1, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
invoke-interface {p1, p0}, Lf/b/b/b/i1/k$a;->a(Lf/b/b/b/i1/k;)V
goto :goto_d
:cond_a
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
:goto_d
return-void
.end method
.method private q()V
.registers 3
iget v0, p0, Lf/b/b/b/i1/k;->e:I
if-nez v0, :cond_12
iget v0, p0, Lf/b/b/b/i1/k;->n:I
const/4 v1, 0x4
if-ne v0, v1, :cond_12
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
const/4 v0, 0x0
invoke-direct {p0, v0}, Lf/b/b/b/i1/k;->i(Z)V
:cond_12
return-void
.end method
.method private u(Ljava/lang/Object;Ljava/lang/Object;)V
.registers 4
iget-object v0, p0, Lf/b/b/b/i1/k;->w:Lf/b/b/b/i1/v$e;
if-ne p1, v0, :cond_32
iget p1, p0, Lf/b/b/b/i1/k;->n:I
const/4 v0, 0x2
if-eq p1, v0, :cond_10
invoke-direct {p0}, Lf/b/b/b/i1/k;->l()Z
move-result p1
if-nez p1, :cond_10
goto :goto_32
:cond_10
const/4 p1, 0x0
iput-object p1, p0, Lf/b/b/b/i1/k;->w:Lf/b/b/b/i1/v$e;
instance-of p1, p2, Ljava/lang/Exception;
if-eqz p1, :cond_1f
iget-object p1, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
check-cast p2, Ljava/lang/Exception;
invoke-interface {p1, p2}, Lf/b/b/b/i1/k$a;->b(Ljava/lang/Exception;)V
return-void
:cond_1f
:try_start_1f
iget-object p1, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
check-cast p2, [B
invoke-interface {p1, p2}, Lf/b/b/b/i1/v;->k([B)V
:try_end_26
.catch Ljava/lang/Exception; {:try_start_1f .. :try_end_26} :catch_2c
iget-object p1, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
invoke-interface {p1}, Lf/b/b/b/i1/k$a;->c()V
return-void
:catch_2c
move-exception p1
iget-object p2, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
invoke-interface {p2, p1}, Lf/b/b/b/i1/k$a;->b(Ljava/lang/Exception;)V
:cond_32
:goto_32
return-void
.end method
.method private v(Z)Z
.registers 5
.annotation runtime Lorg/checkerframework/checker/nullness/qual/EnsuresNonNullIf;
expression = {
"sessionId"
}
result = true
.end annotation
invoke-direct {p0}, Lf/b/b/b/i1/k;->l()Z
move-result v0
const/4 v1, 0x1
if-eqz v0, :cond_8
return v1
:cond_8
:try_start_8
iget-object v0, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
invoke-interface {v0}, Lf/b/b/b/i1/v;->f()[B
move-result-object v0
iput-object v0, p0, Lf/b/b/b/i1/k;->t:[B
iget-object v2, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
invoke-interface {v2, v0}, Lf/b/b/b/i1/v;->d([B)Lf/b/b/b/i1/u;
move-result-object v0
iput-object v0, p0, Lf/b/b/b/i1/k;->r:Lf/b/b/b/i1/u;
iget-object v0, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
sget-object v2, Lf/b/b/b/i1/i;->a:Lf/b/b/b/i1/i;
invoke-virtual {v0, v2}, Lf/b/b/b/s1/m;->b(Lf/b/b/b/s1/m$a;)V
const/4 v0, 0x3
iput v0, p0, Lf/b/b/b/i1/k;->n:I
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
invoke-static {v0}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_27
.catch Landroid/media/NotProvisionedException; {:try_start_8 .. :try_end_27} :catch_2d
.catch Ljava/lang/Exception; {:try_start_8 .. :try_end_27} :catch_28
return v1
:catch_28
move-exception p1
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
goto :goto_39
:catch_2d
move-exception v0
if-eqz p1, :cond_36
iget-object p1, p0, Lf/b/b/b/i1/k;->c:Lf/b/b/b/i1/k$a;
invoke-interface {p1, p0}, Lf/b/b/b/i1/k$a;->a(Lf/b/b/b/i1/k;)V
goto :goto_39
:cond_36
invoke-direct {p0, v0}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
:goto_39
const/4 p1, 0x0
return p1
.end method
.method private w([BIZ)V
.registers 7
:try_start_0
iget-object v0, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
iget-object v1, p0, Lf/b/b/b/i1/k;->a:Ljava/util/List;
iget-object v2, p0, Lf/b/b/b/i1/k;->h:Ljava/util/HashMap;
invoke-interface {v0, p1, v1, p2, v2}, Lf/b/b/b/i1/v;->l([BLjava/util/List;ILjava/util/HashMap;)Lf/b/b/b/i1/v$b;
move-result-object p1
iput-object p1, p0, Lf/b/b/b/i1/k;->v:Lf/b/b/b/i1/v$b;
iget-object p1, p0, Lf/b/b/b/i1/k;->q:Lf/b/b/b/i1/k$c;
invoke-static {p1}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast p1, Lf/b/b/b/i1/k$c;
const/4 p2, 0x1
iget-object v0, p0, Lf/b/b/b/i1/k;->v:Lf/b/b/b/i1/v$b;
invoke-static {v0}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p1, p2, v0, p3}, Lf/b/b/b/i1/k$c;->b(ILjava/lang/Object;Z)V
:try_end_1c
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_1c} :catch_1d
goto :goto_21
:catch_1d
move-exception p1
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->p(Ljava/lang/Exception;)V
:goto_21
return-void
.end method
.method private y()Z
.registers 4
.annotation runtime Lorg/checkerframework/checker/nullness/qual/RequiresNonNull;
value = {
"sessionId",
"offlineLicenseKeySetId"
}
.end annotation
:try_start_0
iget-object v0, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
iget-object v1, p0, Lf/b/b/b/i1/k;->t:[B
iget-object v2, p0, Lf/b/b/b/i1/k;->u:[B
invoke-interface {v0, v1, v2}, Lf/b/b/b/i1/v;->g([B[B)V
:try_end_9
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_9} :catch_b
const/4 v0, 0x1
return v0
:catch_b
move-exception v0
const-string v1, "DefaultDrmSession"
const-string v2, "Error trying to restore keys."
invoke-static {v1, v2, v0}, Lf/b/b/b/s1/r;->d(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
invoke-direct {p0, v0}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
const/4 v0, 0x0
return v0
.end method
# virtual methods
.method public a()V
.registers 5
iget v0, p0, Lf/b/b/b/i1/k;->o:I
const/4 v1, 0x0
const/4 v2, 0x1
if-ltz v0, :cond_8
const/4 v0, 0x1
goto :goto_9
:cond_8
const/4 v0, 0x0
:goto_9
invoke-static {v0}, Lf/b/b/b/s1/e;->f(Z)V
iget v0, p0, Lf/b/b/b/i1/k;->o:I
add-int/2addr v0, v2
iput v0, p0, Lf/b/b/b/i1/k;->o:I
if-ne v0, v2, :cond_3e
iget v0, p0, Lf/b/b/b/i1/k;->n:I
const/4 v3, 0x2
if-ne v0, v3, :cond_19
const/4 v1, 0x1
:cond_19
invoke-static {v1}, Lf/b/b/b/s1/e;->f(Z)V
new-instance v0, Landroid/os/HandlerThread;
const-string v1, "DrmRequestHandler"
invoke-direct {v0, v1}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V
iput-object v0, p0, Lf/b/b/b/i1/k;->p:Landroid/os/HandlerThread;
invoke-virtual {v0}, Landroid/os/HandlerThread;->start()V
new-instance v0, Lf/b/b/b/i1/k$c;
iget-object v1, p0, Lf/b/b/b/i1/k;->p:Landroid/os/HandlerThread;
invoke-virtual {v1}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, p0, v1}, Lf/b/b/b/i1/k$c;-><init>(Lf/b/b/b/i1/k;Landroid/os/Looper;)V
iput-object v0, p0, Lf/b/b/b/i1/k;->q:Lf/b/b/b/i1/k$c;
invoke-direct {p0, v2}, Lf/b/b/b/i1/k;->v(Z)Z
move-result v0
if-eqz v0, :cond_3e
invoke-direct {p0, v2}, Lf/b/b/b/i1/k;->i(Z)V
:cond_3e
return-void
.end method
.method public b()Z
.registers 2
iget-boolean v0, p0, Lf/b/b/b/i1/k;->f:Z
return v0
.end method
.method public c()Ljava/util/Map;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
if-nez v0, :cond_6
const/4 v0, 0x0
goto :goto_c
:cond_6
iget-object v1, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
invoke-interface {v1, v0}, Lf/b/b/b/i1/v;->c([B)Ljava/util/Map;
move-result-object v0
:goto_c
return-object v0
.end method
.method public final d()Lf/b/b/b/i1/u;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
iget-object v0, p0, Lf/b/b/b/i1/k;->r:Lf/b/b/b/i1/u;
return-object v0
.end method
.method public final e()Lf/b/b/b/i1/p$a;
.registers 3
iget v0, p0, Lf/b/b/b/i1/k;->n:I
const/4 v1, 0x1
if-ne v0, v1, :cond_8
iget-object v0, p0, Lf/b/b/b/i1/k;->s:Lf/b/b/b/i1/p$a;
goto :goto_9
:cond_8
const/4 v0, 0x0
:goto_9
return-object v0
.end method
.method public final getState()I
.registers 2
iget v0, p0, Lf/b/b/b/i1/k;->n:I
return v0
.end method
.method public k([B)Z
.registers 3
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
invoke-static {v0, p1}, Ljava/util/Arrays;->equals([B[B)Z
move-result p1
return p1
.end method
.method public r(I)V
.registers 3
const/4 v0, 0x2
if-eq p1, v0, :cond_4
goto :goto_7
:cond_4
invoke-direct {p0}, Lf/b/b/b/i1/k;->q()V
:goto_7
return-void
.end method
.method public release()V
.registers 4
iget v0, p0, Lf/b/b/b/i1/k;->o:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Lf/b/b/b/i1/k;->o:I
if-nez v0, :cond_4d
const/4 v0, 0x0
iput v0, p0, Lf/b/b/b/i1/k;->n:I
iget-object v0, p0, Lf/b/b/b/i1/k;->m:Lf/b/b/b/i1/k$e;
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Lf/b/b/b/i1/k$e;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V
iget-object v0, p0, Lf/b/b/b/i1/k;->q:Lf/b/b/b/i1/k$c;
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Lf/b/b/b/i1/k$c;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V
iput-object v1, p0, Lf/b/b/b/i1/k;->q:Lf/b/b/b/i1/k$c;
iget-object v0, p0, Lf/b/b/b/i1/k;->p:Landroid/os/HandlerThread;
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Landroid/os/HandlerThread;
invoke-virtual {v0}, Landroid/os/HandlerThread;->quit()Z
iput-object v1, p0, Lf/b/b/b/i1/k;->p:Landroid/os/HandlerThread;
iput-object v1, p0, Lf/b/b/b/i1/k;->r:Lf/b/b/b/i1/u;
iput-object v1, p0, Lf/b/b/b/i1/k;->s:Lf/b/b/b/i1/p$a;
iput-object v1, p0, Lf/b/b/b/i1/k;->v:Lf/b/b/b/i1/v$b;
iput-object v1, p0, Lf/b/b/b/i1/k;->w:Lf/b/b/b/i1/v$e;
iget-object v0, p0, Lf/b/b/b/i1/k;->t:[B
if-eqz v0, :cond_48
iget-object v2, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
invoke-interface {v2, v0}, Lf/b/b/b/i1/v;->h([B)V
iput-object v1, p0, Lf/b/b/b/i1/k;->t:[B
iget-object v0, p0, Lf/b/b/b/i1/k;->i:Lf/b/b/b/s1/m;
sget-object v1, Lf/b/b/b/i1/a;->a:Lf/b/b/b/i1/a;
invoke-virtual {v0, v1}, Lf/b/b/b/s1/m;->b(Lf/b/b/b/s1/m$a;)V
:cond_48
iget-object v0, p0, Lf/b/b/b/i1/k;->d:Lf/b/b/b/i1/k$b;
invoke-interface {v0, p0}, Lf/b/b/b/i1/k$b;->a(Lf/b/b/b/i1/k;)V
:cond_4d
return-void
.end method
.method public s()V
.registers 2
const/4 v0, 0x0
invoke-direct {p0, v0}, Lf/b/b/b/i1/k;->v(Z)Z
move-result v0
if-eqz v0, :cond_b
const/4 v0, 0x1
invoke-direct {p0, v0}, Lf/b/b/b/i1/k;->i(Z)V
:cond_b
return-void
.end method
.method public t(Ljava/lang/Exception;)V
.registers 2
invoke-direct {p0, p1}, Lf/b/b/b/i1/k;->n(Ljava/lang/Exception;)V
return-void
.end method
.method public x()V
.registers 5
iget-object v0, p0, Lf/b/b/b/i1/k;->b:Lf/b/b/b/i1/v;
invoke-interface {v0}, Lf/b/b/b/i1/v;->e()Lf/b/b/b/i1/v$e;
move-result-object v0
iput-object v0, p0, Lf/b/b/b/i1/k;->w:Lf/b/b/b/i1/v$e;
iget-object v0, p0, Lf/b/b/b/i1/k;->q:Lf/b/b/b/i1/k$c;
invoke-static {v0}, Lf/b/b/b/s1/m0;->h(Ljava/lang/Object;)Ljava/lang/Object;
check-cast v0, Lf/b/b/b/i1/k$c;
iget-object v1, p0, Lf/b/b/b/i1/k;->w:Lf/b/b/b/i1/v$e;
invoke-static {v1}, Lf/b/b/b/s1/e;->e(Ljava/lang/Object;)Ljava/lang/Object;
const/4 v2, 0x0
const/4 v3, 0x1
invoke-virtual {v0, v2, v1, v3}, Lf/b/b/b/i1/k$c;->b(ILjava/lang/Object;Z)V
return-void
.end method