j.smali
.class Lcom/bumptech/glide/load/engine/b/j;
.super Ljava/lang/Object;
# instance fields
.field private final a:Lcom/bumptech/glide/g/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/bumptech/glide/g/e",
"<",
"Lcom/bumptech/glide/load/b;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method constructor <init>()V
.registers 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Lcom/bumptech/glide/g/e;
const/16 v1, 0x3e8
invoke-direct {v0, v1}, Lcom/bumptech/glide/g/e;-><init>(I)V
iput-object v0, p0, Lcom/bumptech/glide/load/engine/b/j;->a:Lcom/bumptech/glide/g/e;
return-void
.end method
# virtual methods
.method public a(Lcom/bumptech/glide/load/b;)Ljava/lang/String;
.registers 5
iget-object v1, p0, Lcom/bumptech/glide/load/engine/b/j;->a:Lcom/bumptech/glide/g/e;
monitor-enter v1
:try_start_3
iget-object v0, p0, Lcom/bumptech/glide/load/engine/b/j;->a:Lcom/bumptech/glide/g/e;
invoke-virtual {v0, p1}, Lcom/bumptech/glide/g/e;->b(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
monitor-exit v1
:try_end_c
.catchall {:try_start_3 .. :try_end_c} :catchall_2a
if-nez v0, :cond_29
:try_start_e
const-string/jumbo v1, "SHA-256"
invoke-static {v1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest;
move-result-object v1
invoke-interface {p1, v1}, Lcom/bumptech/glide/load/b;->a(Ljava/security/MessageDigest;)V
invoke-virtual {v1}, Ljava/security/MessageDigest;->digest()[B
move-result-object v1
invoke-static {v1}, Lcom/bumptech/glide/g/h;->a([B)Ljava/lang/String;
:try_end_1f
.catch Ljava/io/UnsupportedEncodingException; {:try_start_e .. :try_end_1f} :catch_2d
.catch Ljava/security/NoSuchAlgorithmException; {:try_start_e .. :try_end_1f} :catch_32
move-result-object v0
:goto_20
iget-object v1, p0, Lcom/bumptech/glide/load/engine/b/j;->a:Lcom/bumptech/glide/g/e;
monitor-enter v1
:try_start_23
iget-object v2, p0, Lcom/bumptech/glide/load/engine/b/j;->a:Lcom/bumptech/glide/g/e;
invoke-virtual {v2, p1, v0}, Lcom/bumptech/glide/g/e;->b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
monitor-exit v1
:try_end_29
.catchall {:try_start_23 .. :try_end_29} :catchall_37
:cond_29
return-object v0
:catchall_2a
move-exception v0
:try_start_2b
monitor-exit v1
:try_end_2c
.catchall {:try_start_2b .. :try_end_2c} :catchall_2a
throw v0
:catch_2d
move-exception v1
invoke-virtual {v1}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V
goto :goto_20
:catch_32
move-exception v1
invoke-virtual {v1}, Ljava/security/NoSuchAlgorithmException;->printStackTrace()V
goto :goto_20
:catchall_37
move-exception v0
:try_start_38
monitor-exit v1
:try_end_39
.catchall {:try_start_38 .. :try_end_39} :catchall_37
throw v0
.end method