2019-02-04 20:08:30 +00:00
|
|
|
.class final Lokio/j$3;
|
|
|
|
.super Lokio/a;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "Okio.java"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lokio/j;->d(Ljava/net/Socket;)Lokio/a;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-05-04 02:59:52 +00:00
|
|
|
.field final synthetic bwD:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>(Ljava/net/Socket;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iput-object p1, p0, Lokio/j$3;->bwD:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-direct {p0}, Lokio/a;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-05-04 02:59:52 +00:00
|
|
|
.method protected final Cm()V
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 5
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
const-string v0, "Failed to close timed out socket "
|
|
|
|
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_start_0
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v1, p0, Lokio/j$3;->bwD:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v1}, Ljava/net/Socket;->close()V
|
2019-02-04 20:08:30 +00:00
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.catch Ljava/lang/AssertionError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
2019-05-03 18:53:54 +00:00
|
|
|
move-exception v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v1}, Lokio/j;->a(Ljava/lang/AssertionError;)Z
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result v2
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
if-eqz v2, :cond_0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
sget-object v2, Lokio/j;->logger:Ljava/util/logging/Logger;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lokio/j$3;->bwD:Ljava/net/Socket;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-05-03 18:53:54 +00:00
|
|
|
throw v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:catch_1
|
2019-05-03 18:53:54 +00:00
|
|
|
move-exception v1
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
sget-object v2, Lokio/j;->logger:Ljava/util/logging/Logger;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
sget-object v3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
2019-05-04 02:59:52 +00:00
|
|
|
iget-object v0, p0, Lokio/j$3;->bwD:Ljava/net/Socket;
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
move-result-object v0
|
2019-02-04 20:29:01 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-virtual {v2, v3, v0, v1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
2019-02-04 20:29:01 +00:00
|
|
|
|
|
|
|
return-void
|
2019-02-04 20:08:30 +00:00
|
|
|
.end method
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
.method protected final e(Ljava/io/IOException;)Ljava/io/IOException;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 2
|
|
|
|
.param p1 # Ljava/io/IOException;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
new-instance v0, Ljava/net/SocketTimeoutException;
|
|
|
|
|
|
|
|
const-string v1, "timeout"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/InterruptedIOException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-object v0
|
|
|
|
.end method
|