c$a.smali
.class public final Lcom/bumptech/glide/load/model/c$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/bumptech/glide/load/data/d;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/bumptech/glide/load/model/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/bumptech/glide/load/data/d<",
"Ljava/nio/ByteBuffer;",
">;"
}
.end annotation
# instance fields
.field public final a:Ljava/io/File;
# direct methods
.method public constructor <init>(Ljava/io/File;)V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/bumptech/glide/load/model/c$a;->a:Ljava/io/File;
return-void
.end method
# virtual methods
.method public final cancel()V
.registers 1
return-void
.end method
.method public final cleanup()V
.registers 1
return-void
.end method
.method public final getDataClass()Ljava/lang/Class;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"Ljava/nio/ByteBuffer;",
">;"
}
.end annotation
const-class v0, Ljava/nio/ByteBuffer;
return-object v0
.end method
.method public final getDataSource()Lcom/bumptech/glide/load/a;
.registers 2
sget-object v0, Lcom/bumptech/glide/load/a;->LOCAL:Lcom/bumptech/glide/load/a;
return-object v0
.end method
.method public final loadData(Lcom/bumptech/glide/j;Lcom/bumptech/glide/load/data/d$a;)V
.registers 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/bumptech/glide/j;",
"Lcom/bumptech/glide/load/data/d$a<",
"-",
"Ljava/nio/ByteBuffer;",
">;)V"
}
.end annotation
.line 1
:try_start_0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
.line 2
iget-object p1, p0, Lcom/bumptech/glide/load/model/c$a;->a:Ljava/io/File;
invoke-static {p1}, Lcom/bumptech/glide/util/a;->a(Ljava/io/File;)Ljava/nio/ByteBuffer;
move-result-object p1
.line 3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
.line 4
instance-of v4, p2, Lcom/bumptech/glide/load/engine/x;
if-eqz v4, :cond_37
.line 5
move-object v4, p2
check-cast v4, Lcom/bumptech/glide/load/engine/x;
.line 6
sget-object v5, Lcom/bumptech/glide/o$a;->a:Lcom/bumptech/glide/o;
.line 7
iget-object v5, v5, Lcom/bumptech/glide/o;->a:Lcom/shopee/glide/service/b;
if-eqz v5, :cond_33
.line 8
iget-object v6, v4, Lcom/bumptech/glide/load/engine/x;->b:Lcom/bumptech/glide/load/engine/i;
.line 9
iget-object v6, v6, Lcom/bumptech/glide/load/engine/i;->d:Ljava/lang/Object;
if-eqz v6, :cond_33
.line 10
invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v6
invoke-interface {v5, v6, v0, v1}, Lcom/shopee/glide/service/b;->r(Ljava/lang/String;J)V
.line 11
iget-object v0, v4, Lcom/bumptech/glide/load/engine/x;->b:Lcom/bumptech/glide/load/engine/i;
.line 12
iget-object v0, v0, Lcom/bumptech/glide/load/engine/i;->d:Ljava/lang/Object;
.line 13
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-interface {v5, v0, v2, v3}, Lcom/shopee/glide/service/b;->b(Ljava/lang/String;J)V
.line 14
:cond_33
invoke-virtual {v4, p1}, Lcom/bumptech/glide/load/engine/x;->b(Ljava/lang/Object;)V
goto :goto_3f
.line 15
:cond_37
invoke-interface {p2, p1}, Lcom/bumptech/glide/load/data/d$a;->b(Ljava/lang/Object;)V
:try_end_3a
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_3a} :catch_3b
goto :goto_3f
:catch_3b
move-exception p1
.line 16
invoke-interface {p2, p1}, Lcom/bumptech/glide/load/data/d$a;->onLoadFailed(Ljava/lang/Exception;)V
:goto_3f
return-void
.end method