e$6.smali
.class final Lsg/bigo/bigohttp/dns/e$6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/bigohttp/dns/e;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic a:Ljava/util/List;
.field final synthetic b:Ljava/util/List;
.field final synthetic c:Lsg/bigo/bigohttp/dns/e;
# direct methods
.method constructor <init>(Lsg/bigo/bigohttp/dns/e;Ljava/util/List;Ljava/util/List;)V
.registers 4
.line 470
iput-object p1, p0, Lsg/bigo/bigohttp/dns/e$6;->c:Lsg/bigo/bigohttp/dns/e;
iput-object p2, p0, Lsg/bigo/bigohttp/dns/e$6;->a:Ljava/util/List;
iput-object p3, p0, Lsg/bigo/bigohttp/dns/e$6;->b:Ljava/util/List;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.registers 9
.line 473
iget-object v0, p0, Lsg/bigo/bigohttp/dns/e$6;->a:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v0
if-lez v0, :cond_95
.line 475
iget-object v0, p0, Lsg/bigo/bigohttp/dns/e$6;->b:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_e
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz v1, :cond_26
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/net/InetAddress;
.line 476
iget-object v4, p0, Lsg/bigo/bigohttp/dns/e$6;->a:Ljava/util/List;
invoke-interface {v4, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_e
const/4 v0, 0x1
goto :goto_27
:cond_26
const/4 v0, 0x0
:goto_27
if-eqz v0, :cond_95
.line 482
iget-object v0, p0, Lsg/bigo/bigohttp/dns/e$6;->a:Ljava/util/List;
invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/net/InetAddress;
invoke-virtual {v0}, Ljava/net/InetAddress;->getHostName()Ljava/lang/String;
move-result-object v0
.line 485
iget-object v1, p0, Lsg/bigo/bigohttp/dns/e$6;->c:Lsg/bigo/bigohttp/dns/e;
invoke-static {v1}, Lsg/bigo/bigohttp/dns/e;->d(Lsg/bigo/bigohttp/dns/e;)Ljava/util/HashMap;
move-result-object v1
invoke-virtual {v1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Long;
if-eqz v1, :cond_58
.line 487
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v4
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
move-result-wide v6
sub-long/2addr v4, v6
invoke-static {}, Lsg/bigo/bigohttp/dns/e;->g()I
move-result v1
int-to-long v6, v1
cmp-long v1, v4, v6
if-gez v1, :cond_56
goto :goto_57
:cond_56
const/4 v2, 0x0
:goto_57
move v3, v2
:cond_58
if-eqz v3, :cond_73
.line 490
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "ips for:"
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " conflict, but already reported, ignore\uff01"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "HttpDns"
invoke-static {v1, v0}, Lsg/bigo/bigohttp/e;->c(Ljava/lang/String;Ljava/lang/String;)V
return-void
.line 492
:cond_73
iget-object v1, p0, Lsg/bigo/bigohttp/dns/e$6;->c:Lsg/bigo/bigohttp/dns/e;
invoke-static {v1}, Lsg/bigo/bigohttp/dns/e;->d(Lsg/bigo/bigohttp/dns/e;)Ljava/util/HashMap;
move-result-object v1
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v2
invoke-virtual {v1, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 493
iget-object v1, p0, Lsg/bigo/bigohttp/dns/e$6;->b:Ljava/util/List;
iget-object v2, p0, Lsg/bigo/bigohttp/dns/e$6;->a:Ljava/util/List;
.line 1033
invoke-static {}, Lsg/bigo/bigohttp/c;->b()Lsg/bigo/bigohttp/d;
move-result-object v3
if-eqz v3, :cond_95
.line 1103
iget-object v3, v3, Lsg/bigo/bigohttp/d;->l:Lsg/bigo/bigohttp/dns/DnsEventListener;
if-eqz v3, :cond_95
.line 1039
invoke-interface {v3, v0, v1, v2}, Lsg/bigo/bigohttp/dns/DnsEventListener;->onLinkdDnsResolveDiffFromSystem(Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V
:cond_95
return-void
.end method