g$1.smali
.class final Lsg/bigo/b/d/b/a/g$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/b/d/b/a/g;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Lsg/bigo/b/d/b/a/g;
.field private b:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lsg/bigo/b/d/b/a/g;)V
.registers 2
.line 539
iput-object p1, p0, Lsg/bigo/b/d/b/a/g$1;->a:Lsg/bigo/b/d/b/a/g;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private declared-synchronized a()V
.registers 12
monitor-enter p0
.line 553
:try_start_1
iget-object v0, p0, Lsg/bigo/b/d/b/a/g$1;->b:Ljava/util/List;
if-eqz v0, :cond_bd
iget-object v0, p0, Lsg/bigo/b/d/b/a/g$1;->b:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_f
goto/16 :goto_bd
.line 556
:cond_f
iget-object v0, p0, Lsg/bigo/b/d/b/a/g$1;->b:Ljava/util/List;
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
.line 557
invoke-static {v0}, Lsg/bigo/b/d/b/a/h;->a(Ljava/lang/String;)Lsg/bigo/b/d/b/a/h$a;
move-result-object v2
if-eqz v2, :cond_55
.line 1267
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v3
.line 1268
iget-wide v5, v2, Lsg/bigo/b/d/b/a/h$a;->c:J
sub-long/2addr v5, v3
invoke-static {v5, v6}, Ljava/lang/Math;->abs(J)J
move-result-wide v3
const-wide/32 v5, 0xf731400
const/4 v7, 0x1
cmp-long v8, v3, v5
if-lez v8, :cond_32
goto :goto_4e
.line 1272
:cond_32
iget v3, v2, Lsg/bigo/b/d/b/a/h$a;->b:I
const/16 v4, 0xa
if-ge v3, v4, :cond_4d
.line 1273
iget-object v3, v2, Lsg/bigo/b/d/b/a/h$a;->a:Ljava/lang/String;
const-string v4, "http"
invoke-static {v3, v4}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v3
if-eqz v3, :cond_4e
iget-object v3, v2, Lsg/bigo/b/d/b/a/h$a;->a:Ljava/lang/String;
const-string v4, "https"
invoke-static {v3, v4}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v3
if-nez v3, :cond_4d
goto :goto_4e
:cond_4d
const/4 v7, 0x0
:cond_4e
:goto_4e
if-nez v7, :cond_55
.line 559
invoke-direct {p0}, Lsg/bigo/b/d/b/a/g$1;->a()V
:try_end_53
.catchall {:try_start_1 .. :try_end_53} :catchall_bf
.line 560
monitor-exit p0
return-void
:cond_55
if-nez v2, :cond_59
const/4 v2, 0x0
goto :goto_5b
.line 567
:cond_59
:try_start_59
iget v2, v2, Lsg/bigo/b/d/b/a/h$a;->b:I
.line 570
:goto_5b
new-instance v3, Lokhttp3/t$a;
invoke-direct {v3}, Lokhttp3/t$a;-><init>()V
const-string v4, "http"
.line 571
invoke-virtual {v3, v4}, Lokhttp3/t$a;->a(Ljava/lang/String;)Lokhttp3/t$a;
move-result-object v4
invoke-virtual {v4, v0}, Lokhttp3/t$a;->b(Ljava/lang/String;)Lokhttp3/t$a;
move-result-object v5
const-string v6, "ping"
const/4 v7, 0x0
const/4 v8, 0x4
const/4 v9, 0x0
const/4 v10, 0x0
.line 2044
invoke-virtual/range {v5 .. v10}, Lokhttp3/t$a;->a(Ljava/lang/String;IIZZ)V
const-string v4, "http"
.line 572
invoke-static {v4, v0}, Lsg/bigo/b/d/b/a/h;->a(Ljava/lang/String;Ljava/lang/String;)I
move-result v0
if-lez v0, :cond_80
const v4, 0xffff
if-le v0, v4, :cond_86
:cond_80
const-string v0, "http"
.line 574
invoke-static {v0}, Lokhttp3/t;->a(Ljava/lang/String;)I
move-result v0
.line 576
:cond_86
invoke-virtual {v3, v0}, Lokhttp3/t$a;->a(I)Lokhttp3/t$a;
.line 577
invoke-virtual {v3}, Lokhttp3/t$a;->b()Lokhttp3/t;
move-result-object v0
.line 578
new-instance v3, Lokhttp3/ac$a;
invoke-direct {v3}, Lokhttp3/ac$a;-><init>()V
invoke-virtual {v3, v0}, Lokhttp3/ac$a;->a(Lokhttp3/t;)Lokhttp3/aa$a;
move-result-object v3
new-instance v4, Lsg/bigo/b/d/b/a/h$a;
invoke-direct {v4}, Lsg/bigo/b/d/b/a/h$a;-><init>()V
.line 2267
const-class v5, Ljava/lang/Object;
invoke-virtual {v3, v5, v4}, Lokhttp3/aa$a;->a(Ljava/lang/Class;Ljava/lang/Object;)Lokhttp3/aa$a;
move-result-object v3
.line 578
invoke-virtual {v3}, Lokhttp3/aa$a;->a()Lokhttp3/aa;
move-result-object v3
.line 579
iget-object v4, p0, Lsg/bigo/b/d/b/a/g$1;->a:Lsg/bigo/b/d/b/a/g;
invoke-static {v4}, Lsg/bigo/b/d/b/a/g;->a(Lsg/bigo/b/d/b/a/g;)Lsg/bigo/b/d/b/a/g$a;
move-result-object v4
invoke-virtual {v4}, Lsg/bigo/b/d/b/a/g$a;->c()Lokhttp3/x;
move-result-object v4
.line 2427
invoke-static {v4, v3, v1}, Lokhttp3/z;->a(Lokhttp3/x;Lokhttp3/aa;Z)Lokhttp3/z;
move-result-object v1
.line 579
new-instance v3, Lsg/bigo/b/d/b/a/g$1$1;
invoke-direct {v3, p0, v0, v2}, Lsg/bigo/b/d/b/a/g$1$1;-><init>(Lsg/bigo/b/d/b/a/g$1;Lokhttp3/t;I)V
invoke-interface {v1, v3}, Lokhttp3/e;->a(Lokhttp3/f;)V
:try_end_bb
.catchall {:try_start_59 .. :try_end_bb} :catchall_bf
.line 595
monitor-exit p0
return-void
.line 554
:cond_bd
:goto_bd
monitor-exit p0
return-void
:catchall_bf
move-exception v0
monitor-exit p0
throw v0
.end method
.method static synthetic a(Lsg/bigo/b/d/b/a/g$1;)V
.registers 1
.line 539
invoke-direct {p0}, Lsg/bigo/b/d/b/a/g$1;->a()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 2
.line 544
invoke-static {}, Lsg/bigo/common/p;->b()Z
move-result v0
if-nez v0, :cond_7
return-void
.line 548
:cond_7
invoke-static {}, Lsg/bigo/b/d/b/a/h;->a()Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lsg/bigo/b/d/b/a/g$1;->b:Ljava/util/List;
.line 549
invoke-direct {p0}, Lsg/bigo/b/d/b/a/g$1;->a()V
return-void
.end method