zzfy.smali
.class final Lcom/google/android/gms/internal/gtm/zzfy;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/android/gms/internal/gtm/zzfw;
# direct methods
.method private constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/google/android/gms/internal/gtm/zzfx;)V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static INVOKESTATIC_com_google_android_gms_internal_gtm_zzfy_com_shopee_app_asm_fix_threadpool_ExecutorFix_newScheduledThreadPool(ILjava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
.registers 3
.line 1
sget-object v0, Lcom/shopee/app/asm/fix/threadpool/config/a;->a:Lcom/shopee/app/asm/fix/threadpool/config/a;
invoke-virtual {v0}, Lcom/shopee/app/asm/fix/threadpool/config/a;->f()Z
move-result v0
if-eqz v0, :cond_f
.line 2
sget-object p1, Lcom/shopee/app/asm/fix/threadpool/pool/d;->a:Lcom/shopee/app/asm/fix/threadpool/pool/d;
invoke-virtual {p1, p0}, Lcom/shopee/app/asm/fix/threadpool/pool/d;->e(I)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p0
return-object p0
.line 3
:cond_f
invoke-static {}, Lcom/garena/android/appkit/logging/a;->C()Z
move-result v0
if-eqz v0, :cond_1f
const/4 v0, 0x0
.line 4
invoke-static {v0, p1}, Lcom/garena/android/appkit/logging/a;->t0(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
move-result-object p1
invoke-static {p0, p1}, Ljava/util/concurrent/Executors;->newScheduledThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p0
return-object p0
.line 5
:cond_1f
# invokes: Ljava/util/concurrent/Executors;->newScheduledThreadPool(I)Ljava/util/concurrent/ScheduledExecutorService;
invoke-static {p0}, Lcom/google/android/gms/internal/gtm/zzfy;->access$000(I)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p0
return-object p0
.end method
.method public static synthetic access$000(I)Ljava/util/concurrent/ScheduledExecutorService;
.registers 1
invoke-static {p0}, Ljava/util/concurrent/Executors;->newScheduledThreadPool(I)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final zza(I)Ljava/util/concurrent/ExecutorService;
.registers 10
.line 1
invoke-static {}, Ljava/util/concurrent/Executors;->defaultThreadFactory()Ljava/util/concurrent/ThreadFactory;
move-result-object v7
new-instance p1, Ljava/util/concurrent/ThreadPoolExecutor;
sget-object v5, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v6, Ljava/util/concurrent/LinkedBlockingQueue;
.line 2
invoke-direct {v6}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
const/4 v1, 0x1
const/4 v2, 0x1
const-wide/16 v3, 0x3c
move-object v0, p1
invoke-direct/range {v0 .. v7}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
const/4 v0, 0x1
.line 3
invoke-virtual {p1, v0}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
.line 4
invoke-static {p1}, Ljava/util/concurrent/Executors;->unconfigurableExecutorService(Ljava/util/concurrent/ExecutorService;)Ljava/util/concurrent/ExecutorService;
move-result-object p1
return-object p1
.end method
.method public final zzb(II)Ljava/util/concurrent/ScheduledExecutorService;
.registers 3
const/4 p1, 0x1
const-string p2, "com/google/android/gms/internal/gtm/zzfy"
.line 1
invoke-static {p1, p2}, Lcom/google/android/gms/internal/gtm/zzfy;->INVOKESTATIC_com_google_android_gms_internal_gtm_zzfy_com_shopee_app_asm_fix_threadpool_ExecutorFix_newScheduledThreadPool(ILjava/lang/String;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p1
.line 2
invoke-static {p1}, Ljava/util/concurrent/Executors;->unconfigurableScheduledExecutorService(Ljava/util/concurrent/ScheduledExecutorService;)Ljava/util/concurrent/ScheduledExecutorService;
move-result-object p1
return-object p1
.end method