AdLoader$1.smali
.class Lcom/mopub/network/AdLoader$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mopub/network/MultiAdRequest$Listener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mopub/network/AdLoader;-><init>(Ljava/lang/String;Lcom/mopub/common/AdFormat;Ljava/lang/String;Landroid/content/Context;Lcom/mopub/network/AdLoader$Listener;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mopub/network/AdLoader;
# direct methods
.method constructor <init>(Lcom/mopub/network/AdLoader;)V
.registers 2
.line 84
iput-object p1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onErrorResponse(Lcom/mopub/volley/VolleyError;)V
.registers 7
.line 87
sget-object v0, Lcom/mopub/common/logging/MoPubLog$AdLogEvent;->RESPONSE_RECEIVED:Lcom/mopub/common/logging/MoPubLog$AdLogEvent;
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Object;
invoke-virtual {p1}, Lcom/mopub/volley/VolleyError;->getMessage()Ljava/lang/String;
move-result-object v3
const/4 v4, 0x0
aput-object v3, v2, v4
invoke-static {v0, v2}, Lcom/mopub/common/logging/MoPubLog;->log(Lcom/mopub/common/logging/MoPubLog$MPLogEventType;[Ljava/lang/Object;)V
.line 89
iget-object v0, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
# setter for: Lcom/mopub/network/AdLoader;->mFailed:Z
invoke-static {v0, v1}, Lcom/mopub/network/AdLoader;->access$002(Lcom/mopub/network/AdLoader;Z)Z
.line 90
iget-object v0, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
# setter for: Lcom/mopub/network/AdLoader;->mRunning:Z
invoke-static {v0, v4}, Lcom/mopub/network/AdLoader;->access$102(Lcom/mopub/network/AdLoader;Z)Z
.line 91
iget-object v0, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
# invokes: Lcom/mopub/network/AdLoader;->deliverError(Lcom/mopub/volley/VolleyError;)V
invoke-static {v0, p1}, Lcom/mopub/network/AdLoader;->access$200(Lcom/mopub/network/AdLoader;Lcom/mopub/volley/VolleyError;)V
return-void
.end method
.method public onSuccessResponse(Lcom/mopub/network/MultiAdResponse;)V
.registers 5
.line 96
iget-object v0, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
# getter for: Lcom/mopub/network/AdLoader;->lock:Ljava/lang/Object;
invoke-static {v0}, Lcom/mopub/network/AdLoader;->access$300(Lcom/mopub/network/AdLoader;)Ljava/lang/Object;
move-result-object v0
monitor-enter v0
.line 97
:try_start_7
iget-object v1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
const/4 v2, 0x0
# setter for: Lcom/mopub/network/AdLoader;->mRunning:Z
invoke-static {v1, v2}, Lcom/mopub/network/AdLoader;->access$102(Lcom/mopub/network/AdLoader;Z)Z
.line 98
iget-object v1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
iput-object p1, v1, Lcom/mopub/network/AdLoader;->mMultiAdResponse:Lcom/mopub/network/MultiAdResponse;
.line 99
iget-object p1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
iget-object p1, p1, Lcom/mopub/network/AdLoader;->mMultiAdResponse:Lcom/mopub/network/MultiAdResponse;
invoke-virtual {p1}, Lcom/mopub/network/MultiAdResponse;->hasNext()Z
move-result p1
if-eqz p1, :cond_28
.line 100
iget-object p1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
iget-object v1, p0, Lcom/mopub/network/AdLoader$1;->this$0:Lcom/mopub/network/AdLoader;
iget-object v1, v1, Lcom/mopub/network/AdLoader;->mMultiAdResponse:Lcom/mopub/network/MultiAdResponse;
invoke-virtual {v1}, Lcom/mopub/network/MultiAdResponse;->next()Lcom/mopub/network/AdResponse;
move-result-object v1
# invokes: Lcom/mopub/network/AdLoader;->deliverResponse(Lcom/mopub/network/AdResponse;)V
invoke-static {p1, v1}, Lcom/mopub/network/AdLoader;->access$400(Lcom/mopub/network/AdLoader;Lcom/mopub/network/AdResponse;)V
.line 102
:cond_28
monitor-exit v0
return-void
:catchall_2a
move-exception p1
monitor-exit v0
:try_end_2c
.catchall {:try_start_7 .. :try_end_2c} :catchall_2a
throw p1
.end method