j.smali
.class public final Lcom/bumptech/glide/load/engine/cache/j;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/bumptech/glide/load/engine/cache/j$b;
}
.end annotation
# instance fields
.field public final a:Lcom/bumptech/glide/util/j;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/util/j<",
"Lcom/bumptech/glide/load/i;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final b:Lcom/bumptech/glide/util/pool/a$c;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/core/util/e<",
"Lcom/bumptech/glide/load/engine/cache/j$b;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 4
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
new-instance v0, Lcom/bumptech/glide/util/j;
const-wide/16 v1, 0x3e8
invoke-direct {v0, v1, v2}, Lcom/bumptech/glide/util/j;-><init>(J)V
iput-object v0, p0, Lcom/bumptech/glide/load/engine/cache/j;->a:Lcom/bumptech/glide/util/j;
.line 3
new-instance v0, Lcom/bumptech/glide/load/engine/cache/j$a;
invoke-direct {v0}, Lcom/bumptech/glide/load/engine/cache/j$a;-><init>()V
const/16 v1, 0xa
.line 4
invoke-static {v1, v0}, Lcom/bumptech/glide/util/pool/a;->a(ILcom/bumptech/glide/util/pool/a$b;)Landroidx/core/util/e;
move-result-object v0
check-cast v0, Lcom/bumptech/glide/util/pool/a$c;
iput-object v0, p0, Lcom/bumptech/glide/load/engine/cache/j;->b:Lcom/bumptech/glide/util/pool/a$c;
return-void
.end method
# virtual methods
.method public final a(Lcom/bumptech/glide/load/i;)Ljava/lang/String;
.registers 10
.line 1
iget-object v0, p0, Lcom/bumptech/glide/load/engine/cache/j;->a:Lcom/bumptech/glide/util/j;
monitor-enter v0
.line 2
:try_start_3
iget-object v1, p0, Lcom/bumptech/glide/load/engine/cache/j;->a:Lcom/bumptech/glide/util/j;
invoke-virtual {v1, p1}, Lcom/bumptech/glide/util/j;->a(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
.line 3
monitor-exit v0
:try_end_c
.catchall {:try_start_3 .. :try_end_c} :catchall_69
if-nez v1, :cond_5c
.line 4
iget-object v0, p0, Lcom/bumptech/glide/load/engine/cache/j;->b:Lcom/bumptech/glide/util/pool/a$c;
invoke-virtual {v0}, Lcom/bumptech/glide/util/pool/a$c;->acquire()Ljava/lang/Object;
move-result-object v0
const-string v1, "Argument must not be null"
.line 5
invoke-static {v0, v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
.line 6
check-cast v0, Lcom/bumptech/glide/load/engine/cache/j$b;
.line 7
:try_start_1b
iget-object v1, v0, Lcom/bumptech/glide/load/engine/cache/j$b;->a:Ljava/security/MessageDigest;
invoke-interface {p1, v1}, Lcom/bumptech/glide/load/i;->updateDiskCacheKey(Ljava/security/MessageDigest;)V
.line 8
iget-object v1, v0, Lcom/bumptech/glide/load/engine/cache/j$b;->a:Ljava/security/MessageDigest;
invoke-virtual {v1}, Ljava/security/MessageDigest;->digest()[B
move-result-object v1
.line 9
sget-object v2, Lcom/bumptech/glide/util/m;->b:[C
monitor-enter v2
:try_end_29
.catchall {:try_start_1b .. :try_end_29} :catchall_55
const/4 v3, 0x0
.line 10
:goto_2a
:try_start_2a
array-length v4, v1
if-ge v3, v4, :cond_46
.line 11
aget-byte v4, v1, v3
and-int/lit16 v4, v4, 0xff
mul-int/lit8 v5, v3, 0x2
.line 12
sget-object v6, Lcom/bumptech/glide/util/m;->a:[C
ushr-int/lit8 v7, v4, 0x4
aget-char v7, v6, v7
aput-char v7, v2, v5
add-int/lit8 v5, v5, 0x1
and-int/lit8 v4, v4, 0xf
.line 13
aget-char v4, v6, v4
aput-char v4, v2, v5
add-int/lit8 v3, v3, 0x1
goto :goto_2a
.line 14
:cond_46
new-instance v1, Ljava/lang/String;
invoke-direct {v1, v2}, Ljava/lang/String;-><init>([C)V
.line 15
monitor-exit v2
:try_end_4c
.catchall {:try_start_2a .. :try_end_4c} :catchall_52
.line 16
iget-object v2, p0, Lcom/bumptech/glide/load/engine/cache/j;->b:Lcom/bumptech/glide/util/pool/a$c;
invoke-virtual {v2, v0}, Lcom/bumptech/glide/util/pool/a$c;->release(Ljava/lang/Object;)Z
goto :goto_5c
:catchall_52
move-exception p1
.line 17
:try_start_53
monitor-exit v2
:try_end_54
.catchall {:try_start_53 .. :try_end_54} :catchall_52
:try_start_54
throw p1
:try_end_55
.catchall {:try_start_54 .. :try_end_55} :catchall_55
:catchall_55
move-exception p1
.line 18
iget-object v1, p0, Lcom/bumptech/glide/load/engine/cache/j;->b:Lcom/bumptech/glide/util/pool/a$c;
invoke-virtual {v1, v0}, Lcom/bumptech/glide/util/pool/a$c;->release(Ljava/lang/Object;)Z
throw p1
.line 19
:cond_5c
:goto_5c
iget-object v2, p0, Lcom/bumptech/glide/load/engine/cache/j;->a:Lcom/bumptech/glide/util/j;
monitor-enter v2
.line 20
:try_start_5f
iget-object v0, p0, Lcom/bumptech/glide/load/engine/cache/j;->a:Lcom/bumptech/glide/util/j;
invoke-virtual {v0, p1, v1}, Lcom/bumptech/glide/util/j;->d(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 21
monitor-exit v2
return-object v1
:catchall_66
move-exception p1
monitor-exit v2
:try_end_68
.catchall {:try_start_5f .. :try_end_68} :catchall_66
throw p1
:catchall_69
move-exception p1
.line 22
:try_start_6a
monitor-exit v0
:try_end_6b
.catchall {:try_start_6a .. :try_end_6b} :catchall_69
throw p1
.end method