a.smali

.class public final synthetic Lcom/mmc/player/videocache/exocache/a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field public final synthetic a:I

.field public final synthetic b:Ljava/lang/Object;


# direct methods
.method public synthetic constructor <init>(Ljava/lang/Object;I)V
    .registers 3

    iput p2, p0, Lcom/mmc/player/videocache/exocache/a;->a:I

    iput-object p1, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 14

    iget v0, p0, Lcom/mmc/player/videocache/exocache/a;->a:I

    const/4 v1, 0x0

    const/16 v2, 0x8

    const-string v3, "this$0"

    const/4 v4, 0x0

    const/4 v5, 0x1

    packed-switch v0, :pswitch_data_1b8

    goto/16 :goto_18b

    :pswitch_e
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mmsplayer/autoplay/strategy/d;

    check-cast v0, Lcom/shopee/sz/mmsplayer/autoplay/strategy/a;

    invoke-virtual {v0}, Lcom/shopee/sz/mmsplayer/autoplay/strategy/a;->i()V

    return-void

    :pswitch_18
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediauicomponent/widget/tooltip/f;

    .line 1
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 2
    iget-object v1, v0, Lcom/shopee/sz/mediauicomponent/widget/tooltip/f;->c:Lcom/shopee/sz/mediauicomponent/widget/tooltip/e;

    sget-object v2, Lcom/shopee/sz/mediauicomponent/widget/tooltip/e$c;->b:Lcom/shopee/sz/mediauicomponent/widget/tooltip/e$c;

    invoke-virtual {v1, v2}, Lcom/shopee/sz/mediauicomponent/widget/tooltip/e;->b(Lcom/shopee/sz/mediauicomponent/widget/tooltip/e;)I

    move-result v1

    if-ltz v1, :cond_2a

    goto :goto_2d

    .line 3
    :cond_2a
    invoke-virtual {v0}, Lcom/shopee/sz/mediauicomponent/widget/tooltip/f;->a()Z

    :goto_2d
    return-void

    .line 4
    :pswitch_2e
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/fragment/c0;

    invoke-static {v0}, Lcom/shopee/sz/mediasdk/ui/fragment/c0;->e4(Lcom/shopee/sz/mediasdk/ui/fragment/c0;)V

    return-void

    :pswitch_36
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;

    invoke-virtual {v0}, Lcom/shopee/sz/mediasdk/ui/activity/preview/SSZMediaTemplateFullscreenPreviewActivity;->c()V

    return-void

    :pswitch_3e
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/sticker/framwork/stickerpicker/e;

    .line 5
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/sticker/framwork/stickerpicker/e;->l:Lcom/shopee/sz/mediasdk/widget/loading/SSZMediaLoadingView;

    invoke-virtual {v0, v2}, Lcom/shopee/sz/mediasdk/widget/loading/SSZMediaLoadingView;->setVisibility(I)V

    return-void

    .line 6
    :pswitch_48
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/mediasdk/function/detect/e;

    sget-object v1, Lcom/shopee/sz/mediasdk/function/detect/e;->i:Lcom/shopee/sz/mediasdk/function/detect/e$a;

    .line 7
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 8
    iget-object v0, v0, Lcom/shopee/sz/mediasdk/function/detect/e;->b:Lkotlin/n;

    invoke-virtual {v0}, Lkotlin/n;->getValue()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/os/HandlerThread;

    .line 9
    invoke-virtual {v0}, Landroid/os/HandlerThread;->quit()Z

    return-void

    .line 10
    :pswitch_5d
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Lcom/shopee/sz/endpoint/endpointservice/model/Endpoint;->a(Ljava/lang/String;)V

    return-void

    :pswitch_65
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface;

    invoke-static {v0}, Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface$DefaultImpls;->a(Lcom/shopee/shopeetracker/eventhandler/sender/EventSenderInterface;)V

    return-void

    :pswitch_6d
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;

    .line 11
    iget-object v6, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->l:Lcom/shopee/mms/mmsgenericuploader/log/a;

    const-string v1, "mCallList:"

    .line 12
    invoke-static {v1}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 13
    iget-object v2, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    .line 14
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object v12

    const-string v7, "debug"

    const-string v8, "MMSGU_SliceUploader"

    const-string v9, "SliceUploader"

    const-string v10, "cancel"

    .line 15
    invoke-virtual/range {v6 .. v12}, Lcom/shopee/mms/mmsgenericuploader/log/a;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    iget-object v1, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->i:Ljava/util/ArrayList;

    if-eqz v1, :cond_b1

    .line 17
    invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_9d
    :goto_9d
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_af

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lokhttp3/Call;

    if-eqz v2, :cond_9d

    .line 18
    invoke-interface {v2}, Lokhttp3/Call;->cancel()V

    goto :goto_9d

    .line 19
    :cond_af
    iput-boolean v5, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->j:Z

    .line 20
    :cond_b1
    iget-object v1, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->g:Lcom/shopee/mms/mmsgenericuploader/ussupload/s$b;

    if-eqz v1, :cond_b7

    .line 21
    iput-object v4, v0, Lcom/shopee/mms/mmsgenericuploader/ussupload/m;->g:Lcom/shopee/mms/mmsgenericuploader/ussupload/s$b;

    :cond_b7
    return-void

    .line 22
    :pswitch_b8
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/mms/mmsgenericuploader/signaling/h;

    .line 23
    iget-object v6, v0, Lcom/shopee/mms/mmsgenericuploader/signaling/h;->m:Lcom/shopee/mms/mmsgenericuploader/log/a;

    .line 24
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Thread;->getName()Ljava/lang/String;

    move-result-object v12

    const-string v7, "debug"

    const-string v8, "MMSGU_PreUpload"

    const-string v9, "PreUploadClient"

    const-string v10, "cancel"

    const-string v11, "cancel"

    .line 25
    invoke-virtual/range {v6 .. v12}, Lcom/shopee/mms/mmsgenericuploader/log/a;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 26
    iput-boolean v5, v0, Lcom/shopee/mms/mmsgenericuploader/signaling/h;->i:Z

    .line 27
    iput-object v4, v0, Lcom/shopee/mms/mmsgenericuploader/signaling/h;->b:Lcom/shopee/mms/mmsgenericuploader/signaling/h$a;

    .line 28
    iget-object v0, v0, Lcom/shopee/mms/mmsgenericuploader/signaling/h;->j:Lokhttp3/Call;

    if-eqz v0, :cond_de

    .line 29
    invoke-interface {v0}, Lokhttp3/Call;->cancel()V

    :cond_de
    return-void

    .line 30
    :pswitch_df
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/renderv3/vaf/virtualview/view/nlayout/gxcontainer/slider/GXSliderImpl;

    invoke-static {v0}, Lcom/shopee/leego/renderv3/vaf/virtualview/view/nlayout/gxcontainer/slider/GXSliderImpl$exposureAreaListener$1;->a(Lcom/shopee/leego/renderv3/vaf/virtualview/view/nlayout/gxcontainer/slider/GXSliderImpl;)V

    return-void

    :pswitch_e7
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/leego/render/v2/DRERecyclerView;

    invoke-static {v0}, Lcom/shopee/leego/render/v2/DRERecyclerView;->z(Lcom/shopee/leego/render/v2/DRERecyclerView;)V

    return-void

    :pswitch_ef
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/design/tooltip/b;

    .line 31
    invoke-static {v0, v3}, Lcom/shopee/sz/loadtask/datasource/a;->y(Ljava/lang/Object;Ljava/lang/String;)V

    .line 32
    iget-object v1, v0, Lcom/shopee/design/tooltip/b;->c:Lcom/shopee/design/tooltip/a;

    sget-object v2, Lcom/shopee/design/tooltip/a$c;->b:Lcom/shopee/design/tooltip/a$c;

    invoke-virtual {v1, v2}, Lcom/shopee/design/tooltip/a;->b(Lcom/shopee/design/tooltip/a;)I

    move-result v1

    if-ltz v1, :cond_101

    goto :goto_104

    .line 33
    :cond_101
    invoke-virtual {v0, v5}, Lcom/shopee/design/tooltip/b;->c(Z)Z

    :goto_104
    return-void

    .line 34
    :pswitch_105
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/subaccount/ui/chatroom/toagent/v;

    invoke-static {v0}, Lcom/shopee/app/ui/subaccount/ui/chatroom/toagent/v;->f(Lcom/shopee/app/ui/subaccount/ui/chatroom/toagent/v;)V

    return-void

    :pswitch_10d
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/react/b;

    .line 35
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/react/b;->getReactApplication()Lcom/shopee/app/react/r;

    move-result-object v0

    new-instance v1, Lcom/shopee/app/ui/home/react/a;

    invoke-direct {v1}, Lcom/shopee/app/ui/home/react/a;-><init>()V

    invoke-virtual {v0, v1}, Lcom/shopee/app/react/r;->n(Lcom/garena/reactpush/v0/j;)V

    return-void

    .line 36
    :pswitch_11e
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;

    invoke-static {v0}, Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;->h(Lcom/shopee/app/ui/home/native_home/cell/FoodOrderStatusRNContainerCell;)V

    return-void

    :pswitch_126
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/ui/home/handler/o;

    .line 37
    invoke-virtual {v0}, Lcom/shopee/app/ui/home/handler/o;->f()V

    return-void

    .line 38
    :pswitch_12e
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/diskusagemanager/js/d;

    .line 39
    new-instance v2, Ljava/io/File;

    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v3

    invoke-virtual {v3}, Lcom/shopee/app/application/n2;->getFilesDir()Ljava/io/File;

    move-result-object v3

    const-string v5, "disk_threshold_logic_check.js"

    invoke-direct {v2, v3, v5}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    .line 40
    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-eqz v3, :cond_171

    .line 41
    invoke-virtual {v0}, Lcom/shopee/app/diskusagemanager/js/d;->c()Lcom/shopee/app/diskusagemanager/js/j;

    move-result-object v3

    invoke-virtual {v3, v2}, Lcom/shopee/app/diskusagemanager/js/j;->a(Ljava/io/File;)Ljava/lang/Object;

    move-result-object v2

    invoke-static {v2}, Lcom/chinanetcenter/wcs/android/entity/c;->g(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_157

    sget-object v2, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    :cond_157
    const-string v3, "[Disk Usage Manager] JS script: read cached file success: "

    .line 42
    invoke-static {v3, v2}, Landroidx/biometric/h0;->d(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    new-array v1, v1, [Ljava/lang/Object;

    .line 43
    invoke-static {v2, v1}, Lcom/garena/android/appkit/logging/a;->z(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 44
    iget-object v5, v0, Lcom/shopee/app/diskusagemanager/js/d;->g:Lkotlinx/coroutines/CoroutineScope;

    new-instance v8, Lcom/shopee/app/diskusagemanager/js/b;

    invoke-direct {v8, v0, v4}, Lcom/shopee/app/diskusagemanager/js/b;-><init>(Lcom/shopee/app/diskusagemanager/js/d;Lkotlin/coroutines/d;)V

    const/4 v7, 0x0

    const/4 v9, 0x3

    const/4 v10, 0x0

    const/4 v6, 0x0

    invoke-static/range {v5 .. v10}, Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/f;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/p;ILjava/lang/Object;)Lkotlinx/coroutines/Job;

    goto :goto_178

    :cond_171
    new-array v0, v1, [Ljava/lang/Object;

    const-string v1, "[Disk Usage Manager] JS script: no cached file found"

    .line 45
    invoke-static {v1, v0}, Lcom/garena/android/appkit/logging/a;->z(Ljava/lang/String;[Ljava/lang/Object;)V

    :goto_178
    return-void

    .line 46
    :pswitch_179
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/app/camera/ImageSearchHint;

    sget v1, Lcom/shopee/app/camera/ImageSearchHint;->f:I

    .line 47
    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    return-void

    .line 48
    :pswitch_183
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/mmc/player/videocache/exocache/ExoCacheIO;

    invoke-static {v0}, Lcom/mmc/player/videocache/exocache/ExoCacheIO;->a(Lcom/mmc/player/videocache/exocache/ExoCacheIO;)V

    return-void

    :goto_18b
    iget-object v0, p0, Lcom/mmc/player/videocache/exocache/a;->b:Ljava/lang/Object;

    check-cast v0, Lcom/shopee/sz/sargeras/camera/d/a0;

    .line 49
    iput-boolean v5, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->g:Z

    .line 50
    iget v2, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->h:I

    if-lez v2, :cond_19c

    new-array v3, v5, [I

    aput v2, v3, v1

    .line 51
    invoke-static {v5, v3, v1}, Landroid/opengl/GLES20;->glDeleteTextures(I[II)V

    :cond_19c
    const/4 v1, -0x1

    .line 52
    iput v1, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->h:I

    .line 53
    iget-object v1, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->i:Landroid/graphics/SurfaceTexture;

    if-eqz v1, :cond_1a6

    .line 54
    invoke-virtual {v1}, Landroid/graphics/SurfaceTexture;->release()V

    .line 55
    :cond_1a6
    iget-object v1, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->f:Lcom/shopee/sz/sargeras/render/a;

    if-eqz v1, :cond_1ad

    .line 56
    invoke-virtual {v1}, Lcom/shopee/sz/sargeras/render/a;->f()V

    .line 57
    :cond_1ad
    iget-object v0, v0, Lcom/shopee/sz/sargeras/camera/d/a0;->a:Landroid/os/Handler;

    invoke-virtual {v0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Looper;->quit()V

    return-void

    nop

    :pswitch_data_1b8
    .packed-switch 0x0
        :pswitch_183
        :pswitch_179
        :pswitch_12e
        :pswitch_126
        :pswitch_11e
        :pswitch_10d
        :pswitch_105
        :pswitch_ef
        :pswitch_e7
        :pswitch_df
        :pswitch_b8
        :pswitch_6d
        :pswitch_65
        :pswitch_5d
        :pswitch_48
        :pswitch_3e
        :pswitch_36
        :pswitch_2e
        :pswitch_18
        :pswitch_e
    .end packed-switch
.end method