102 lines
3.0 KiB
Smali
102 lines
3.0 KiB
Smali
.class public final Lcom/vungle/ads/ServiceLocator$buildCreators$2;
|
|
.super Lcom/vungle/ads/ServiceLocator$Creator;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/vungle/ads/ServiceLocator;->buildCreators()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/vungle/ads/ServiceLocator$Creator<",
|
|
"Lcom/vungle/ads/internal/task/JobRunner;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/vungle/ads/ServiceLocator;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/vungle/ads/ServiceLocator;)V
|
|
.locals 3
|
|
|
|
iput-object p1, p0, Lcom/vungle/ads/ServiceLocator$buildCreators$2;->this$0:Lcom/vungle/ads/ServiceLocator;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 74
|
|
invoke-direct {p0, p1, v2, v0, v1}, Lcom/vungle/ads/ServiceLocator$Creator;-><init>(Lcom/vungle/ads/ServiceLocator;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public create()Lcom/vungle/ads/internal/task/JobRunner;
|
|
.locals 4
|
|
|
|
.line 76
|
|
new-instance v0, Lcom/vungle/ads/internal/task/VungleJobRunner;
|
|
|
|
iget-object v1, p0, Lcom/vungle/ads/ServiceLocator$buildCreators$2;->this$0:Lcom/vungle/ads/ServiceLocator;
|
|
|
|
const-class v2, Lcom/vungle/ads/internal/task/JobCreator;
|
|
|
|
.line 77
|
|
invoke-static {v1, v2}, Lcom/vungle/ads/ServiceLocator;->access$getOrBuild(Lcom/vungle/ads/ServiceLocator;Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/vungle/ads/internal/task/JobCreator;
|
|
|
|
iget-object v2, p0, Lcom/vungle/ads/ServiceLocator$buildCreators$2;->this$0:Lcom/vungle/ads/ServiceLocator;
|
|
|
|
const-class v3, Lcom/vungle/ads/internal/executor/Executors;
|
|
|
|
.line 78
|
|
invoke-static {v2, v3}, Lcom/vungle/ads/ServiceLocator;->access$getOrBuild(Lcom/vungle/ads/ServiceLocator;Ljava/lang/Class;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Lcom/vungle/ads/internal/executor/Executors;
|
|
|
|
invoke-interface {v2}, Lcom/vungle/ads/internal/executor/Executors;->getJobExecutor()Lcom/vungle/ads/internal/executor/VungleThreadPoolExecutor;
|
|
|
|
move-result-object v2
|
|
|
|
.line 79
|
|
new-instance v3, Lcom/vungle/ads/internal/task/JobRunnerThreadPriorityHelper;
|
|
|
|
invoke-direct {v3}, Lcom/vungle/ads/internal/task/JobRunnerThreadPriorityHelper;-><init>()V
|
|
|
|
.line 76
|
|
invoke-direct {v0, v1, v2, v3}, Lcom/vungle/ads/internal/task/VungleJobRunner;-><init>(Lcom/vungle/ads/internal/task/JobCreator;Ljava/util/concurrent/Executor;Lcom/vungle/ads/internal/task/ThreadPriorityHelper;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic create()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 74
|
|
invoke-virtual {p0}, Lcom/vungle/ads/ServiceLocator$buildCreators$2;->create()Lcom/vungle/ads/internal/task/JobRunner;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|